1. 30 Sep, 2012 19 commits
    • Chong Yidong's avatar
      Update docs for a bunch of 24.3 changes. · 48de8b12
      Chong Yidong authored
      * doc/emacs/killing.texi (Rectangles): Document copy-rectangle-as-kill.
      
      * doc/emacs/search.texi (Special Isearch): Document the lax space search
      feature and M-s SPC.
      (Regexp Search): Move main search-whitespace-regexp description to
      Special Isearch.
      (Replace): Document replace-lax-whitespace.
      
      * doc/emacs/basic.texi (Position Info): Document C-u M-=.
      (Moving Point): Document move-to-column.
      
      * doc/emacs/display.texi (Useless Whitespace): Add delete-trailing-lines.
      
      * doc/emacs/misc.texi (emacsclient Options): Document the effect of
      initial-buffer-choice on client frames.  Document server-auth-dir.
      Do not document server-host, which is bad security practice.
      
      * doc/emacs/building.texi (Lisp Libraries): Docstring lookups can trigger
      autoloading.  Document help-enable-auto-load.
      
      * doc/emacs/mini.texi (Yes or No Prompts): New node.
      
      * doc/emacs/ack.texi (Acknowledgments): Remove obsolete packages.
      
      * doc/lispref/commands.texi (Click Events): Define "mouse position list".
      Remove mention of unimplemented horizontal scroll bars.
      (Drag Events, Motion Events): Refer to "mouse position list".
      (Accessing Mouse): Document posnp.
      
      * doc/lispref/errors.texi (Standard Errors): Tweak arith-error description.
      Tweak markup.  Remove domain-error and friends, which seem to be
      unused after the floating-point code revamp.
      
      * doc/lispref/functions.texi (Obsolete Functions): Obsolescence also affects
      documentation commands.  Various clarifications.
      (Declare Form): New node.
      
      * doc/lispref/loading.texi (Autoload):
      * doc/lispref/help.texi (Documentation Basics): The special sequences can
      trigger autoloading.
      
      * doc/lispref/macros.texi (Defining Macros): Move description of `declare' to
      Declare Form node.
      
      * doc/lispref/numbers.texi (Integer Basics): Copyedits.
      (Float Basics): Consider IEEE floating point always available.
      (Random Numbers): Document actual limits.
      (Arithmetic Operations): Clarify division by zero.  Don't mention
      the machine-independence of negative division since it does not
      happen in practice.
      
      * doc/lispref/os.texi (Idle Timers): Minor clarifications.
      (User Identification): Add system-users and system-groups.
      
      * doc/lispref/strings.texi (String Basics): Copyedits.
      
      * lisp/minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
      
      * lisp/server.el (server-host): Document the security implications.
      (server-auth-key): Doc fix.
      
      * lisp/startup.el (initial-buffer-choice): Doc fix.
      
      * src/fns.c (Frandom): Doc fix.
      48de8b12
    • Martin Rudalics's avatar
      Handle window-height and window-width alist entries in `display-buffer'. · 5938d519
      Martin Rudalics authored
      In buffer display functions handle window-height/window-width
      alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
      * window.el (window--display-buffer): New argument ALIST.  Obey
      window-height and window-width alist entries.
      (window--try-to-split-window): New argument ALIST.  Bind
      window-combination-limit to t when the window's size shall be
      changed and window-combination-limit equals `window-size'.
      (display-buffer-in-atom-window)
      (display-buffer-in-major-side-window)
      (display-buffer-in-side-window, display-buffer-same-window)
      (display-buffer-reuse-window, display-buffer-pop-up-frame)
      (display-buffer-pop-up-window, display-buffer-below-selected)
      (display-buffer-at-bottom, display-buffer-in-previous-window)
      (display-buffer-use-some-window): Adjust all callers of
      window--display-buffer and window--try-to-split-window.
      (fit-frame-to-buffer): New option.
      (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
      is non-nil.
      (display-buffer-in-major-side-window): Evaluate window-height /
      window-width alist entries.
      
      * help.el (temp-buffer-resize-frames)
      (temp-buffer-resize-regexps): Remove options.
      (temp-buffer-resize-mode): Adjust doc-string.
      (resize-temp-buffer-window): Don't consult
      temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
      temp-buffer-resize-frames.
      
      * dired.el (dired-mark-pop-up): Call
      display-buffer-below-selected with a fit-window-to-buffer alist
      entry.
      
      * window.c (Vwindow_combination_limit): New default value.
      (Qwindow_size): New symbol replacing Qtemp_buffer_resize.
      5938d519
    • Chong Yidong's avatar
      Minor code tweak for delete-trailing-whitespace. · a97dc380
      Chong Yidong authored
      * lisp/simple.el (delete-trailing-whitespace): Avoid an unnecessary
      restriction change.
      a97dc380
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      c4c0c2df
    • Paul Eggert's avatar
    • Eli Zaretskii's avatar
      Fix compilation failure introduced in 2012-09-30T06:19:33Z!eggert@cs.ucla.edu. · 84f72efd
      Eli Zaretskii authored
       src/profiler.c (Fprofiler_cpu_stop): Use timer_settime only if
       HAVE_TIMER_SETTIME is defined.
      84f72efd
    • Paul Eggert's avatar
      Profiler improvements: more-accurate timers, overflow checks. · d89460ed
      Paul Eggert authored
      * profiler.c: Don't include stdio.h, limits.h, sys/time.h,
      signal.h, setjmp.h.  Include systime.h instead.
      (saturated_add): New function.
      (record_backtrace, current_sample_interval): Use EMACS_INT, not size_t.
      (record_backtrace, handle_profiler_signal): Saturate on fixnum overflow.
      (profiler_timer, profiler_timer_ok) [HAVE_TIMER_SETTIME]:
      New static vars.
      (enum profiler_cpu_running): New enumn.
      (profiler_cpu_running): Now of that enum type, not bool.
      All uses changed to store the new value.
      (handle_profiler_signal): Rename from sigprof_handler_1,
      for consistency with other handlers.  Do not check whether
      cpu_log is a hash-table if garbage collecting, since it
      doesn't matter in that case.
      (deliver_profiler_signal): Rename from sigprof_handler,
      for consistency with other handlers.
      (setup_cpu_timer): New function, with much of what used to be in
      Fprofiler_cpu_start.  Check for out-of-range argument.
      Prefer timer_settime if available, and prefer
      thread cputime clocks, then process cputime clocks, then
      monotonic clocks, to the old realtime clock.  Use make_timeval
      to round more-correctly when falling back to setitimer.
      (Fprofiler_cpu_start): Use it.
      (Fprofiler_cpu_stop): Prefer timer_settime if available.
      Don't assume that passing NULL as the 2nd argument of setitimer
      is the same as passing a pointer to all-zero storage.
      Ignore SIGPROF afterwards.
      (malloc_probe): Saturate at MOST_POSITIVE_FIXNUM.
      * sysdep.c (emacs_sigaction_init): Also mask out SIGPROF in
      non-fatal signal handlers.  Ignore SIGPROF on startup.
      * syssignal.h (PROFILER_CPU_SUPPORT): Define this macro here, not
      in profiler.c, since sysdep.c now uses it.
      d89460ed
    • Paul Eggert's avatar
      Merge from gnulib. · 65788e2e
      Paul Eggert authored
      65788e2e
    • Stefan Monnier's avatar
      * lisp/winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here. · 34cf6f39
      Stefan Monnier authored
      (minor-mode-map-alist): Remove redundant code.
      34cf6f39
    • Stefan Monnier's avatar
      * lisp/vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently · e01c13fe
      Stefan Monnier authored
      visited in a buffer.
      (cvs-insert-visited-file): New function.
      (find-file-hook): Use it.
      * lisp/vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
      e01c13fe
    • Stefan Monnier's avatar
      * lisp/vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to · 02661b3a
      Stefan Monnier authored
      chose face.
      (log-edit-empty-buffer-p): Don't require a space after a header.
      02661b3a
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      * lisp/url/url-handlers.el (url-file-handler): Don't assume any url-FOO · 23855148
      Stefan Monnier authored
      function is a good handler for FOO.
      (url-copy-file, url-file-local-copy, url-insert-file-contents)
      (url-file-name-completion, url-file-name-all-completions)
      (url-handlers-create-wrapper): Explicitly register as handler.
      23855148
    • Stefan Monnier's avatar
    • Stefan Monnier's avatar
      * lisp/textmodes/text-mode.el (paragraph-indent-minor-mode): Make it · 4ffb41a9
      Stefan Monnier authored
      a proper minor-mode.
      4ffb41a9
    • Stefan Monnier's avatar
    • Glenn Morris's avatar
      Comment fix · 630d468c
      Glenn Morris authored
      630d468c
    • Paul Eggert's avatar
  2. 29 Sep, 2012 16 commits
  3. 28 Sep, 2012 5 commits