1. 27 Oct, 2012 1 commit
    • Chong Yidong's avatar
      More Emacs 24.3 documentation updates. · 05b621a6
      Chong Yidong authored
      * doc/emacs/building.texi (Compilation): Document compilation-always-kill.
      
      * doc/emacs/files.texi (Misc File Ops): Symbolic links on Windows only work
      on Vista and later.
      
      * doc/emacs/frames.texi (Mouse Avoidance): Mention new variable
      mouse-avoidance-banish-position.
      
      * doc/emacs/mule.texi (Recognize Coding): Remove an unreferenced vindex.
      
      * doc/emacs/package.texi (Package Menu): Document the "new" status.
      
      * doc/emacs/programs.texi (Which Function): Which Function mode now works in
      all major modes by default.
      
      * doc/emacs/search.texi (Symbol Search): New node.
      
      * doc/emacs/windows.texi (Window Choice): Don't refer to the obsolete
      special-display feature.
      
      * commands.texi (Event Input Misc): Remove last-input-char.
      (Command Loop Info): Remove last-command-char.
      
      * display.texi (Fringe Bitmaps): Add exclamation-mark bitmap.
      
      * frames.texi (Initial Parameters): Don't mention the obsolete
      special-display feature.
      
      * hooks.texi (Standard Hooks): Remove obsolete hooks.
      
      * markers.texi (Information from Markers): Remove obsolete
      function buffer-has-markers-at.
      
      * minibuf.texi (High-Level Completion): Don't mention removed
      function iswitchb-read-buffer.
      
      * text.texi (Yanking): Document yank-handled-properties.
      
      * windows.texi (Choosing Window): Don't mention the obsolete
      special display feature.
      (Choosing Window Options): Remove obsolete special-display
      variables, and the functions special-display-p and
      special-display-popup-frame.
      
      * subr.el (insert-buffer-substring-as-yank): Doc fix.
      05b621a6
  2. 24 Oct, 2012 3 commits
    • Chong Yidong's avatar
      Document some Emacs 24.3 changes. · cd996018
      Chong Yidong authored
      * doc/emacs/dired.texi (Dired Deletion, Marks vs Flags): Document Emacs 24.3
      changes to the mark and unmark commands.
      (Comparison in Dired): Document chages to dired-diff.  Remove M-=,
      which is no longer bound to dired-backup-diff.
      
      * doc/emacs/mule.texi (Text Coding): set-buffer-file-coding-system can now
      be invoked from the mode line.
      
      * lisp/dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
      Doc fix.
      cd996018
    • Paul Eggert's avatar
      Update manual for new time stamp format. · 72ec96fb
      Paul Eggert authored
      These instances were missed the first time around.
      Problem reported by Glenn Morris in <http://bugs.gnu.org/12706#25>.
      * doc/lispintro/emacs-lisp-intro.texi (Files List):
      * doc/lispref/buffers.texi (Modification Time):
      * doc/lispref/files.texi (Testing Accessibility, File Attributes):
      * doc/lispref/intro.texi (Version Info):
      * doc/lispref/os.texi (Time of Day):
      * doc/misc/emacs-mime.texi (time-date): 
      Update for new time stamp format (HIGH LOW MICROSEC PICOSEC).
      * doc/misc/emacs-mime.texi (time-date): 
      Also, fix bogus time stamp and modernize a bit.
      72ec96fb
    • Chong Yidong's avatar
      Improve documentation of easy-menu-define. · 75e8f9d2
      Chong Yidong authored
      * lisp/emacs-lisp/easymenu.el (easy-menu-define): Doc fix.
      
      * doc/lispref/keymaps.texi (Toolkit Differences): Node deleted.
      (Easy Menu): New node.
      
      Fixes: debbugs:12628
      75e8f9d2
  3. 23 Oct, 2012 4 commits
    • Stefan Monnier's avatar
      Cleanup uses of "-hooks". · d1069532
      Stefan Monnier authored
      * doc/emacs/custom.texi (Hooks):
      * doc/lispref/hooks.texi (Standard Hooks): Clarify that -hooks is deprecated.
      
      * lisp/gnus/nndiary.el (nndiary-request-create-group-functions)
      (nndiary-request-update-info-functions)
      (nndiary-request-accept-article-functions):
      * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-functions):
      * lisp/cedet/semantic/db-file.el (semanticdb-save-database-functions):
      * lisp/cedet/semantic/lex.el (semantic-lex-reset-functions):
      * lisp/cedet/semantic/edit.el (semantic-change-functions)
      (semantic-edits-new-change-functions)
      (semantic-edits-delete-change-functions)
      (semantic-edits-reparse-change-functions):
      * lisp/htmlfontify.el (hfy-post-html-hook):
      * lisp/filesets.el (filesets-cache-fill-content-hook):
      * lisp/arc-mode.el (archive-extract-hook):
      * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hook):
      * lisp/net/rcirc.el (rcirc-sentinel-functions)
      (rcirc-receive-message-functions, rcirc-activity-functions)
      (rcirc-print-functions):
      * lisp/net/dbus.el (dbus-event-error-functions):
      * lisp/emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-style-functions)
      (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
      
      * lisp/term/sun.el (sun-raw-prefix-hooks):
      * lisp/mail/sendmail.el (mail-yank-hooks):
      * lisp/mh-e/mh-letter.el (mh-yank-hooks): Use make-obsolete-variable.
      d1069532
    • Paul Eggert's avatar
      Fix outdated timestamp documentation in Elisp manual. · c4132fd4
      Paul Eggert authored
      * doc/lispref/files.texi (File Attributes):
      * doc/lispref/text.texi (Undo):
      Time stamp resolution is now 1 picosecond, not 1 second.
      * etc/NEWS: Document increased precision in undo list.
      
      Fixes: debbugs:12706
      c4132fd4
    • Chong Yidong's avatar
      Make unused variable font-list-limit obsolete, and move it out of C. · 49238e7f
      Chong Yidong authored
      * display.texi (Font Lookup): Remove font-list-limit.
      
      * lisp/startup.el (command-line):
      * lisp/cus-start.el: Don't refer to font-list-limit.
      
      * lisp/faces.el (font-list-limit): Define as an obsolete variable.
      
      * xfaces.c (Vfont_list_limit): Move unused variable to faces.el.
      49238e7f
    • Chong Yidong's avatar
      * doc/lispref/keymaps.texi (Key Sequences): Avoid referring to Edit Macro mode. · 1fb3aa3f
      Chong Yidong authored
      * doc/emacs/kmacro.texi (Edit Keyboard Macro): Fix typo.
      
      Fixes: debbugs:12529
      1fb3aa3f
  4. 22 Oct, 2012 3 commits
  5. 15 Oct, 2012 1 commit
    • Chong Yidong's avatar
      More documentation fixes for changes to defun, defmacro, etc. · d18a0d24
      Chong Yidong authored
      * doc/lispref/functions.texi (Anonymous Functions): Explicitly list the
      docstring, declare, and interactive arguments to lambda.
      (Defining Functions): Likewise for defun.
      (Inline Functions): Likewise for defsubst.
      (Declare Form): Tweak description.
      
      * doc/lispref/macros.texi (Defining Macros):  defmacro is now a macro.
      Explicitly list the docstring and declare arguments.
      
      * emacs-lisp/byte-run.el (defsubst): Doc fix.
      d18a0d24
  6. 13 Oct, 2012 1 commit
    • Chong Yidong's avatar
      Document 24.3 ImageMagick changes. · 73f2b4ab
      Chong Yidong authored
      * doc/emacs/files.texi (File Conveniences): ImageMagick enabled by default.
      
      * doc/lispref/display.texi (ImageMagick Images): ImageMagick enabled by default.
      73f2b4ab
  7. 10 Oct, 2012 1 commit
  8. 05 Oct, 2012 2 commits
  9. 03 Oct, 2012 1 commit
  10. 01 Oct, 2012 1 commit
  11. 30 Sep, 2012 2 commits
    • Paul Eggert's avatar
      file-attributes has a new optional arg FOLLOW-SYMLINKS. · e7a2937b
      Paul Eggert authored
      * doc/lispref/files.texi (File Attributes): Describe it.
      (Magic File Names): Use it.
      * etc/NEWS: Document the change.
      * lisp/files.el (remote-file-name-inhibit-cache):
      * lisp/time.el (display-time-file-nonempty-p): Use it.
      * lisp/files.el (after-find-file): Don't chase links before calling
      file-exists-p, as file-exists-p already does the right thing.
      * src/dired.c (directory_files_internal, Ffile_attributes):
      New arg follow_symlinks.  All uses changed.
      e7a2937b
    • 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
  12. 25 Sep, 2012 1 commit
  13. 23 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Doc updates for read-only-mode. · e109c4a6
      Chong Yidong authored
      * buffers.texi (Misc Buffer): Replace toggle-read-only with
      read-only-mode.
      
      * files.texi (Visiting): Likewise.
      
      * backups.texi (Auto-Saving): Refer to Minor Mode Conventions for
      calling conventions.
      
      * buffers.texi (Read Only Buffers): Document read-only-mode.
      
      * keymaps.texi (Alias Menu Items): Replace toggle-read-only with
      read-only-mode.
      e109c4a6
  14. 22 Sep, 2012 4 commits
    • Chong Yidong's avatar
      Misc doc fixes. · c88b867f
      Chong Yidong authored
      * searching.texi (Replacing Match): Minor clarification.
      
      * lisp/repeat.el (repeat): Doc fix.
      
      * lisp/simple.el (shell-command-on-region): Doc fix.
      
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
      
      * cmds.c (Fforward_char, Fbackward_char): Doc fix.
      
      * editfns.c (Fline_beginning_position): Doc fix.
      (Fline_end_position): Doc fix.
      
      * minibuf.c (Finternal_complete_buffer): Doc fix.
      
      * search.c (Freplace_match): Doc fix.
      
      Fixes: debbugs:12325 debbugs:12391 debbugs:12416 debbugs:12414 debbugs:10909 debbugs:12348
      c88b867f
    • Eli Zaretskii's avatar
      287d7455
    • Eli Zaretskii's avatar
      Fix bugs #12447 and #12326 with infloop causes by idle timers, update docs. · df9685f3
      Eli Zaretskii authored
       src/keyboard.c (timer_check_2): Move calculation of 'timers' and
       'idle_timers' from here ...
       (timer_check): ... to here.  Use Fcopy_sequence to copy the timer
       lists, to avoid infloops when the timer does something stupid,
       like reinvoke itself with the same or smaller time-out.
      
       lisp/emacs-lisp/timer.el (run-with-idle-timer)
       (timer-activate-when-idle): Warn against reinvoking an idle timer
       from within its own timer action.
      
       doc/lispref/os.texi (Idle Timers): Warn against reinvoking an idle timer
       from within its own timer action.
      df9685f3
    • Chong Yidong's avatar
      * frames.texi (Pop-Up Menus): Minor clarification for x-popup-menu. · 47133380
      Chong Yidong authored
      Fixes: debbugs:11148
      47133380
  15. 21 Sep, 2012 1 commit
  16. 18 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Doc fixes for defface and friends. · ed1f0bd3
      Chong Yidong authored
      * lisp/cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
      
      * lisp/custom.el (defface): Doc fix.
      
      * doc/lispref/customize.texi (Customization): Define customization more
      carefully.
      (Common Keywords): Add xref to Constant Variables.
      
      * doc/lispref/display.texi (Faces): Discuss anonymous faces.
      (Face Attributes): Tweak intro.
      (Defining Faces): Move after the Face Attributes node.  Copyedits.
      (Displaying Faces): Describe role of inheritance.
      
      * doc/lispref/variables.texi (Defining Variables): Link to defcustom's node
      instead of the higher-level Customization chapter.
      
      Fixes: debbugs:11440
      ed1f0bd3
  17. 12 Sep, 2012 2 commits
    • Stefan Monnier's avatar
      Remove unread-command-char. · bfeae2cf
      Stefan Monnier authored
      * src/keyboard.c (read_char, requeued_events_pending_p, Finput_pending_p)
      (Fdiscard_input, quit_throw_to_read_char, init_keyboard)
      (syms_of_keyboard): Remove support for unread-command-char.
      * lisp/emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
      (debugger-env-macro): Remove support for unread-command-char.
      
      * lisp/ehelp.el (with-electric-help): Accept functions in
      electric-help-form-to-execute.
      (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
      And replace unread-command-char -> unread-command-events.
      
      * lisp/subr.el (set-temporary-overlay-map): Minimize slightly the impact of
      the temporary map re-appearing on emulation-mode-map-alists.
      
      * lisp/emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
      since 22.1.
      bfeae2cf
    • Glenn Morris's avatar
      1bfe3177
  18. 11 Sep, 2012 1 commit
    • Paul Eggert's avatar
      Simplify, document, and port floating-point. · c990426a
      Paul Eggert authored
      The porting part of this patch fixes bugs on non-IEEE platforms
      with frexp, ldexp, logb.
      * admin/CPP-DEFINES (HAVE_CBRT, HAVE_LOGB, logb): Remove.
      * configure.ac (logb, cbrt): Do not check for these functions,
      as they are not being used.
      * doc/lispref/numbers.texi (Float Basics, Arithmetic Operations, Math Functions):
      Document that / and mod (with floating point arguments), along
      with asin, acos, log, log10, expt and sqrt, return special values
      instead of signaling exceptions.
      (Float Basics): Document that logb operates on the absolute value
      of its argument.
      (Math Functions): Document that (log ARG BASE) also returns NaN if
      BASE is negative.  Document that (expt X Y) returns NaN if X is a
      finite negative number and Y a finite non-integer.
      * etc/NEWS: Document NaNs versus signaling-error change.
      * src/data.c, src/lisp.h (Qdomain_error, Qsingularity_error, Qunderflow_error):
      Now static.
      * src/floatfns.c: Simplify discussion of functions that Emacs doesn't
      support, by removing commented-out code and briefly listing the
      C89 functions excluded.  The commented-out stuff was confusing
      maintenance, e.g., we thought we needed cbrt but it was commented out.
      (logb): Remove decl; no longer needed.
      (isfinite): New macro, if not already supplied.
      (isnan): Don't replace any existing macro.
      (Ffrexp, Fldexp): Define even if !HAVE_COPYSIGN, as frexp and ldexp
      are present on all C89 platforms.
      (Ffrexp): Do not special-case zero, as frexp does the right thing
      for that case.
      (Flogb): Do not use logb, as it doesn't have the desired meaning
      on hosts that use non-base-2 floating point.  Instead, stick with
      frexp, which is C89 anyway.  Do not pass an infinity or a NaN to
      frexp, to avoid getting an unspecified result.
      c990426a
  19. 09 Sep, 2012 3 commits
    • Chong Yidong's avatar
      Clarify descriptions of delq and delete in Lisp manual. · bb6b0efc
      Chong Yidong authored
      * doc/lispref/lists.texi (Sets And Lists): Explain that the return value for
      delete should be used, like for delq.
      bb6b0efc
    • Chong Yidong's avatar
      * minibuf.texi: Fix last change. · e4e55af1
      Chong Yidong authored
      e4e55af1
    • Chong Yidong's avatar
      Allow scrolling in y-or-n-p. · 011474aa
      Chong Yidong authored
      * lisp/replace.el (query-replace-map): Bind four new symbols for
      requesting window scrolling.
      
      * lisp/subr.el (y-or-n-p): Handle the window-scrolling bindings in
      query-replace-map.
      
      * lisp/custom.el (custom-theme-load-confirm): Use y-or-n-p.
      
      * lisp/window.el (scroll-other-window-down): Make the arg optional.
      
      * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
      since they are now in query-replace-map.
      
      * doc/lispref/minibuf.texi (Yes-or-No Queries): Document recentering and
      scrolling in y-or-n-p.  Remove gratuitous example.
      
      * doc/lispref/searching.texi (Search and Replace): Document window scrolling
      entries in query-replace-map.
      
      Fixes: debbugs:8948
      011474aa
  20. 08 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Introduce "raw syntax descriptor" terminology, and use it. · 6dcef6ec
      Chong Yidong authored
      * syntax.texi (Syntax Table Internals): Define "raw syntax
      descriptor" terminology.
      (Syntax Descriptors): Mention raw syntax descriptors.
      
      * lisp/subr.el (syntax-after, syntax-class): Doc fix.
      
      * syntax.c (Fstring_to_syntax): Doc fix.
      
      Fixes: debbugs:12383
      6dcef6ec
  21. 07 Sep, 2012 5 commits
    • Chong Yidong's avatar
      Fix doc of local-variable-if-set-p. · 1a5432bc
      Chong Yidong authored
      * doc/lispref/variables.texi (Creating Buffer-Local): Fix description of
      local-variable-if-set-p.
      
      * src/data.c (Flocal_variable_if_set_p): Doc fix (Bug#10713).
      1a5432bc
    • Chong Yidong's avatar
      Minor doc fix for switch-to-buffer. · cee2e90d
      Chong Yidong authored
      * doc/lispref/windows.texi (Display Action Functions)
      (Choosing Window Options): Remove obsolete variable
      display-buffer-reuse-frames.
      (Switching Buffers): Minor doc tweak for switch-to-buffer.
      
      * lisp/window.el (switch-to-buffer): Doc fix.
      
      Fixes: debbugs:12181
      cee2e90d
    • Chong Yidong's avatar
      * doc/lispref/eval.texi (Intro Eval): Add index entry for sexp. · 0a6bdaa1
      Chong Yidong authored
      Fixes: debbugs:12233
      0a6bdaa1
    • Chong Yidong's avatar
      Remove obsolete display-buffer-reuse-frames from manuals. · 14ba4cf3
      Chong Yidong authored
      * doc/emacs/windows.texi (Window Choice): Don't mention obsolete
      display-buffer-reuse-frames.
      
      * doc/lispref/windows.texi (Display Action Functions)
      (Choosing Window Options): Remove obsolete variable
      display-buffer-reuse-frames.
      14ba4cf3
    • Chong Yidong's avatar
      Add a utility function buffer-narrowed-p, and use it. · e5c2edf7
      Chong Yidong authored
      * lisp/subr.el (buffer-narrowed-p): New function.
      
      * lisp/ses.el (ses-widen):
      * lisp/simple.el (count-words--buffer-message):
      * lisp/net/browse-url.el (browse-url-of-buffer): Use it
      
      * lisp/simple.el (count-words-region): Don't signal an error if there
      is a non-nil prefix arg and the mark is not set.
      
      * doc/lispref/positions.texi (Narrowing): Document buffer-narrowed-p.
      e5c2edf7