1. 30 Jul, 2019 2 commits
  2. 25 May, 2019 1 commit
    • Mauro Aranda's avatar
      Remove redundants "See" before @xref or @pxref (Bug#35793) · 7681a57b
      Mauro Aranda authored
      * doc/lispref/control.texi (Control Structures):
      * doc/lispref/modes.texi (Search-based Fontification):
      * doc/misc/cc-mode.texi (Filling and Line Breaking Commands)
      (Auto-newline Insertion, Other Special Indentations):
      * doc/misc/dbus.texi (Errors and Events):
      * doc/misc/dired-x.texi (Find File At Point):
      * doc/misc/eudc.texi (Display of Query Results, Inline Query Expansion):
      * doc/misc/gnus-faq.texi (FAQ 3-11):
      * doc/misc/gnus.texi (Group Parameters, Posting Styles)
      (Spam Package Introduction):
      * doc/misc/org.texi (LaTeX fragments, Previewing LaTeX fragments):
      * doc/misc/reftex.texi (Commands):
      Remove redundant "See" before cross references.
      * doc/lispref/functions.texi (Function Safety): Redundant "see" is in
      ignored text, but remove it anyway.
      * doc/lispref/positions.texi (Skipping Characters): Remove redundant
      "See" before cross references.  Change @xref to @pxref, which is
      more suitable when at the end of a sentence.
      
      Most of the redundants "See" found by Noam Postavsky.
      7681a57b
  3. 01 Jan, 2019 1 commit
  4. 13 Apr, 2018 1 commit
    • Eli Zaretskii's avatar
      Fix typos and minor wording issues in ELisp manual · 6bdcaec8
      Eli Zaretskii authored
      * doc/lispref/internals.texi (Writing Emacs Primitives):
      * doc/lispref/display.texi (Temporary Displays): Fix typos.
      * doc/lispref/text.texi (Filling, Changing Properties)
      (Transposition): Clarify and fix typos.
      * doc/lispref/positions.texi (Screen Lines): Improve wording.
      * doc/lispref/modes.texi (Minor Mode Conventions)
      (Font Lock Multiline): Fix typos.
      * doc/lispref/variables.texi (Dynamic Binding Tips): Fix a
      cross-reference.  Fix a typo.
      * doc/lispref/sequences.texi (Sequence Functions): Fix typos.
      (Bug#31143)
      6bdcaec8
  5. 16 Mar, 2018 1 commit
    • Noam Postavsky's avatar
      Improve word motion docs (Bug#30815) · 10bd3b3a
      Noam Postavsky authored
      * doc/lispref/positions.texi (Word Motion): Fix reference to
      `char-script-table'.
      * lisp/simple.el (backward-word):
      * src/syntax.c (forward-word): Mention `char-script-table' and add
      link to the 'Word Motion' manual section.
      10bd3b3a
  6. 23 Feb, 2018 1 commit
  7. 01 Jan, 2018 1 commit
  8. 03 Jul, 2017 1 commit
  9. 01 Jan, 2017 1 commit
  10. 13 Aug, 2016 1 commit
  11. 27 Jun, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix 'move-to-window-line' when EOB is on last screen line · defdee72
      Eli Zaretskii authored
      * src/window.c (displayed_window_lines): Fix an off-by-one error
      when the bottom of the last display line is exactly at window's
      last pixel.  Remove kludgey fix for TTY frames that is no longer
      needed.  (Bug#15760)
      (Fmove_to_window_line): Doc fix.
      
      * doc/lispref/positions.texi (Screen Lines): Clarify and make more
      accurate the documentation of 'move-to-window-line'.
      defdee72
  12. 22 Mar, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix problems caused by new implementation of sub-word mode · 7dba1767
      Eli Zaretskii authored
      * lisp/subr.el (forward-word-strictly, backward-word-strictly):
      New functions.
      (word-move-empty-char-table): New variable.
      
      * etc/NEWS: Mention 'forward-word-strictly' and
      'backward-word-strictly'.
      
      * doc/lispref/positions.texi (Word Motion): Document
      'find-word-boundary-function-table', 'forward-word-strictly', and
      'backward-word-strictly'.  (Bug#22560)
      
      * src/syntax.c (syms_of_syntax)
      <find-word-boundary-function-table>: Doc fix.
      
      * lisp/wdired.el (wdired-xcase-word):
      * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
      (texinfo-copy-section-title, texinfo-start-menu-description)
      (texinfo-copy-menu-title, texinfo-specific-section-type)
      (texinfo-insert-node-lines, texinfo-copy-next-section-title):
      * lisp/textmodes/texinfo.el (texinfo-clone-environment)
      (texinfo-insert-@end):
      * lisp/textmodes/texinfmt.el (texinfo-format-scan)
      (texinfo-anchor, texinfo-multitable-widths)
      (texinfo-multitable-item):
      * lisp/textmodes/tex-mode.el (latex-env-before-change):
      * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
      * lisp/skeleton.el (skeleton-insert):
      * lisp/simple.el (count-words):
      * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
      (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
      (vhdl-update-sensitivity-list, vhdl-template-block)
      (vhdl-template-break, vhdl-template-case, vhdl-template-default)
      (vhdl-template-default-indent, vhdl-template-for-loop)
      (vhdl-template-if-then-use, vhdl-template-bare-loop)
      (vhdl-template-nature, vhdl-template-procedural)
      (vhdl-template-process, vhdl-template-selected-signal-asst)
      (vhdl-template-type, vhdl-template-variable)
      (vhdl-template-while-loop, vhdl-beginning-of-block)
      (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
      * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
      (verilog-forward-sexp, verilog-beg-of-statement)
      (verilog-set-auto-endcomments, verilog-backward-token)
      (verilog-do-indent):
      * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
      (vera-indent-block-closing):
      * lisp/progmodes/simula.el (simula-context)
      (simula-backward-up-level, simula-forward-down-level)
      (simula-previous-statement, simula-next-statement)
      (simula-skip-comment-backward, simula-calculate-indent)
      (simula-find-if, simula-electric-keyword):
      * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
      * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
      (ruby-smie--forward-token, ruby-smie--backward-token)
      (ruby-singleton-class-p, ruby-calculate-indent)
      (ruby-forward-sexp, ruby-backward-sexp):
      * lisp/progmodes/ps-mode.el (ps-run-goto-error):
      * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
      (perl-syntax-propertize-special-constructs)
      (perl-backward-to-start-of-continued-exp):
      * lisp/progmodes/pascal.el (pascal-indent-declaration):
      * lisp/progmodes/octave.el (octave-function-file-p):
      * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
      * lisp/progmodes/js.el (js--forward-function-decl):
      * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
      (idlwave-beginning-of-block, idlwave-end-of-block)
      (idlwave-block-jump-out, idlwave-determine-class):
      * lisp/progmodes/icon.el (icon-is-continuation-line)
      (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
      * lisp/progmodes/hideif.el (hide-ifdef-define):
      * lisp/progmodes/f90.el (f90-change-keywords):
      * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
      (cperl-linefeed, cperl-electric-terminator)
      (cperl-find-pods-heres, cperl-fix-line-spacing)
      (cperl-invert-if-unless):
      * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
      * lisp/progmodes/cc-align.el (c-lineup-java-inher):
      * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
      (ada-adjust-case-skeleton, ada-create-case-exception)
      (ada-create-case-exception-substring)
      (ada-case-read-exceptions-from-file, ada-after-keyword-p)
      (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
      (ada-get-indent-if, ada-get-indent-block-start)
      (ada-get-indent-loop, ada-get-indent-type)
      (ada-search-prev-end-stmt, ada-check-defun-name)
      (ada-goto-decl-start, ada-goto-matching-start)
      (ada-goto-matching-end, ada-looking-at-semi-or)
      (ada-looking-at-semi-private, ada-in-paramlist-p)
      (ada-search-ignore-complex-boolean, ada-move-to-start)
      (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
      * lisp/net/quickurl.el (quickurl-grab-url):
      * lisp/mail/sendmail.el (mail-do-fcc):
      * lisp/mail/rmail.el (rmail-resend):
      * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
      * lisp/mail/mail-extr.el (mail-extract-address-components):
      * lisp/json.el (json-read-keyword):
      * lisp/files.el (insert-directory):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/completion.el (symbol-under-point, symbol-before-point)
      (symbol-before-point-for-complete, next-cdabbrev)
      (add-completions-from-c-buffer):
      * lisp/cedet/semantic/texi.el (semantic-up-context)
      (semantic-beginning-of-context):
      * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
      use 'forward-word-strictly' and 'backward-word-strictly' instead
      of 'forward-word' and 'backward-word'.
      
      [This reapplies commit c1d32a65,
      which was inadvertently lost by merge commit
      c71e7cc1.]
      7dba1767
  13. 05 Feb, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix problems caused by new implementation of sub-word mode · c1d32a65
      Eli Zaretskii authored
      * lisp/subr.el (forward-word-strictly, backward-word-strictly):
      New functions.
      (word-move-empty-char-table): New variable.
      
      * etc/NEWS: Mention 'forward-word-strictly' and
      'backward-word-strictly'.
      
      * doc/lispref/positions.texi (Word Motion): Document
      'find-word-boundary-function-table', 'forward-word-strictly', and
      'backward-word-strictly'.  (Bug#22560)
      
      * src/syntax.c (syms_of_syntax)
      <find-word-boundary-function-table>: Doc fix.
      
      * lisp/wdired.el (wdired-xcase-word):
      * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name)
      (texinfo-copy-section-title, texinfo-start-menu-description)
      (texinfo-copy-menu-title, texinfo-specific-section-type)
      (texinfo-insert-node-lines, texinfo-copy-next-section-title):
      * lisp/textmodes/texinfo.el (texinfo-clone-environment)
      (texinfo-insert-@end):
      * lisp/textmodes/texinfmt.el (texinfo-format-scan)
      (texinfo-anchor, texinfo-multitable-widths)
      (texinfo-multitable-item):
      * lisp/textmodes/tex-mode.el (latex-env-before-change):
      * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify):
      * lisp/skeleton.el (skeleton-insert):
      * lisp/simple.el (count-words):
      * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit)
      (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1)
      (vhdl-update-sensitivity-list, vhdl-template-block)
      (vhdl-template-break, vhdl-template-case, vhdl-template-default)
      (vhdl-template-default-indent, vhdl-template-for-loop)
      (vhdl-template-if-then-use, vhdl-template-bare-loop)
      (vhdl-template-nature, vhdl-template-procedural)
      (vhdl-template-process, vhdl-template-selected-signal-asst)
      (vhdl-template-type, vhdl-template-variable)
      (vhdl-template-while-loop, vhdl-beginning-of-block)
      (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func):
      * lisp/progmodes/verilog-mode.el (verilog-backward-sexp)
      (verilog-forward-sexp, verilog-beg-of-statement)
      (verilog-set-auto-endcomments, verilog-backward-token)
      (verilog-do-indent):
      * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax)
      (vera-indent-block-closing):
      * lisp/progmodes/simula.el (simula-context)
      (simula-backward-up-level, simula-forward-down-level)
      (simula-previous-statement, simula-next-statement)
      (simula-skip-comment-backward, simula-calculate-indent)
      (simula-find-if, simula-electric-keyword):
      * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p):
      * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p)
      (ruby-smie--forward-token, ruby-smie--backward-token)
      (ruby-singleton-class-p, ruby-calculate-indent)
      (ruby-forward-sexp, ruby-backward-sexp):
      * lisp/progmodes/ps-mode.el (ps-run-goto-error):
      * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function)
      (perl-syntax-propertize-special-constructs)
      (perl-backward-to-start-of-continued-exp):
      * lisp/progmodes/pascal.el (pascal-indent-declaration):
      * lisp/progmodes/octave.el (octave-function-file-p):
      * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax):
      * lisp/progmodes/js.el (js--forward-function-decl):
      * lisp/progmodes/idlwave.el (idlwave-show-begin-check)
      (idlwave-beginning-of-block, idlwave-end-of-block)
      (idlwave-block-jump-out, idlwave-determine-class):
      * lisp/progmodes/icon.el (icon-is-continuation-line)
      (icon-backward-to-start-of-continued-exp, end-of-icon-defun):
      * lisp/progmodes/hideif.el (hide-ifdef-define):
      * lisp/progmodes/f90.el (f90-change-keywords):
      * lisp/progmodes/cperl-mode.el (cperl-electric-pod)
      (cperl-linefeed, cperl-electric-terminator)
      (cperl-find-pods-heres, cperl-fix-line-spacing)
      (cperl-invert-if-unless):
      * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur):
      * lisp/progmodes/cc-align.el (c-lineup-java-inher):
      * lisp/progmodes/ada-mode.el (ada-compile-goto-error)
      (ada-adjust-case-skeleton, ada-create-case-exception)
      (ada-create-case-exception-substring)
      (ada-case-read-exceptions-from-file, ada-after-keyword-p)
      (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end)
      (ada-get-indent-if, ada-get-indent-block-start)
      (ada-get-indent-loop, ada-get-indent-type)
      (ada-search-prev-end-stmt, ada-check-defun-name)
      (ada-goto-decl-start, ada-goto-matching-start)
      (ada-goto-matching-end, ada-looking-at-semi-or)
      (ada-looking-at-semi-private, ada-in-paramlist-p)
      (ada-search-ignore-complex-boolean, ada-move-to-start)
      (ada-move-to-end, ada-which-function, ada-gen-treat-proc):
      * lisp/net/quickurl.el (quickurl-grab-url):
      * lisp/mail/sendmail.el (mail-do-fcc):
      * lisp/mail/rmail.el (rmail-resend):
      * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias):
      * lisp/mail/mail-extr.el (mail-extract-address-components):
      * lisp/json.el (json-read-keyword):
      * lisp/files.el (insert-directory):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/completion.el (symbol-under-point, symbol-before-point)
      (symbol-before-point-for-complete, next-cdabbrev)
      (add-completions-from-c-buffer):
      * lisp/cedet/semantic/texi.el (semantic-up-context)
      (semantic-beginning-of-context):
      * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables):
      use 'forward-word-strictly' and 'backward-word-strictly' instead
      of 'forward-word' and 'backward-word'.
      c1d32a65
  14. 01 Jan, 2016 1 commit
  15. 15 Dec, 2015 1 commit
    • Alan Mackenzie's avatar
      Tidy up documentation associated with window groups. · 64ad5473
      Alan Mackenzie authored
      * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
      Groups".  Correct example function to `window-group-start'.
      (Window Start and End, Textual scrolling): Point to the new anchor.  State
      that (most of) the args in window group functions have the same meaning as for
      the corresponding window primitives.
      
      * doc/lispref/positions.texi (Screen Lines).  Same as above.
      64ad5473
  16. 14 Dec, 2015 1 commit
    • Alan Mackenzie's avatar
      Replace GROUP argument in six window primitives by new functions. · e8937de5
      Alan Mackenzie authored
      * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
      * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
      from description of six window functions.  Add in description of new functions
      window-group-start, window-group-end, set-window-group-start,
      pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
      together with the six variables indirecting to the pertinent group
      functions.
      
      * src/window.c
      * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
      applies to these two files, which added the GROUP argument to six window
      primitives.
      
      * lisp/follow.el (follow-mode): Use updated variable names for the indirected
      functions.
      
      * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
      (isearch-back-into-window, isearch-lazy-highlight-new-loop)
      (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
      to window primitives (e.g. window-start) with a GROUP argument by calls to
      new functions (e.g. window-group-start).
      
      * lisp/ispell.el (ispell-command-loop): Replace call to
      pos-visible-in-window-p with pos-visible-in-window-group-p.
      
      * lisp/window.el (window-group-start, window-group-end)
      (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
      (selected-window-group, move-to-window-group-line): New functions.
      (window-group-start-function, window-group-end-function)
      (set-window-group-start-function, recenter-group-function)
      (pos-visible-in-window-group-p-function, selected-window-group-function)
      (move-to-window-group-line-function): New variables.
      e8937de5
  17. 04 Dec, 2015 1 commit
    • Alan Mackenzie's avatar
      First commit to scratch/follow. Make Isearch work with Follow Mode, etc. · 64c57303
      Alan Mackenzie authored
      doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
      Windows" and new @defun selected-window-group.
      (Window Start and End): Describe new &optional parameter GROUP and
      ...-group-function for window-start, window-end, set-window-start, and
      pos-visible-in-window-p.
      (Textual Scrolling) Describe the same for recenter.
      doc/lispref/positions.texi (Screen Lines): Describe the same for
      move-to-window-line.
      
      src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
      (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
      new optional parameter "group".  At the beginning of each, check whether the
      corresponding ...-group-function is set to a function, and if so execute this
      function in place of the normal processing.
      (syms_of_window): Define symbols for the six new variables below.
      (window-start-group-function, window-end-group-function)
      (set-window-start-group-function, recenter-group-function)
      (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
      New permanent local buffer local variables.
      src/keyboard.c (Fposn_at_point): Add extra parameter in call to
      Fpos_visible_in_window_p.
      
      lisp/window.el (selected-window-group-function): New permanent local buffer
      local variable.
      (selected-window-group): New function.
      
      lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
      enable, kill them at mode disable.  Add/remove follow-after-change to/from
      after-change-functions.
      (follow-start-end-invalid): New variable.
      (follow-redisplay): Manipulate follow-start-end-invalid.
      (follow-after-change, follow-window-start, follow-window-end)
      (follow-set-window-start, follow-pos-visible-in-window-p)
      (follow-move-to-window-line, follow-sit-for): New functions.
      
      lisp/isearch.el (isearch-call-message): New macro.
      (isearch-update, with-isearch-suspended, isearch-del-char)
      (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
      (with-isearch-suspended): Rearrange code such that isearch-call-message is
      invoked before point is moved.
      (isearch-message): Add comment about where point must be at function call.
      (isearch-search): Remove call to isearch-message.
      (isearch-lazy-highlight-window-group): New variable.
      (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
      the battery of tests to ...
      (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
      Note: (sit-for 0) is still called.
      (isearch-lazy-highlight-update): Check membership of
      isearch-lazy-highlight-window-group.  Don't set the `window' overlay
      property.
      (isearch-update, isearch-done, isearch-string-out-of-window)
      (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
      (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
      (isearch-lazy-highlight-update): Call the six amended primitives (see
      src/window.c above) with the new `group' argument set to t, to cooperate
      with Follow Mode.
      64c57303
  18. 11 Nov, 2015 1 commit
    • Alan Mackenzie's avatar
      First commit to scratch/follow. Make Isearch work with Follow Mode, etc. · 2c56fc2a
      Alan Mackenzie authored
      doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
      Windows" and new @defun selected-window-group.
      (Window Start and End): Describe new &optional parameter GROUP and
      ...-group-function for window-start, window-end, set-window-start, and
      pos-visible-in-window-p.
      (Textual Scrolling) Describe the same for recenter.
      doc/lispref/positions.texi (Screen Lines): Describe the same for
      move-to-window-line.
      
      src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
      (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
      new optional parameter "group".  At the beginning of each, check whether the
      corresponding ...-group-function is set to a function, and if so execute this
      function in place of the normal processing.
      (syms_of_window): Define symbols for the six new variables below.
      (window-start-group-function, window-end-group-function)
      (set-window-start-group-function, recenter-group-function)
      (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
      New permanent local buffer local variables.
      src/keyboard.c (Fposn_at_point): Add extra parameter in call to
      Fpos_visible_in_window_p.
      
      lisp/window.el (selected-window-group-function): New permanent local buffer
      local variable.
      (selected-window-group): New function.
      
      lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
      enable, kill them at mode disable.  Add/remove follow-after-change to/from
      after-change-functions.
      (follow-start-end-invalid): New variable.
      (follow-redisplay): Manipulate follow-start-end-invalid.
      (follow-after-change, follow-window-start, follow-window-end)
      (follow-set-window-start, follow-pos-visible-in-window-p)
      (follow-move-to-window-line, follow-sit-for): New functions.
      
      lisp/isearch.el (isearch-call-message): New macro.
      (isearch-update, with-isearch-suspended, isearch-del-char)
      (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
      (with-isearch-suspended): Rearrange code such that isearch-call-message is
      invoked before point is moved.
      (isearch-message): Add comment about where point must be at function call.
      (isearch-search): Remove call to isearch-message.
      (isearch-lazy-highlight-window-group): New variable.
      (isearch-lazy-highlight-new-loop): Unconditionally start idle timer.  Move
      the battery of tests to ...
      (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
      Note: (sit-for 0) is still called.
      (isearch-lazy-highlight-update): Check membership of
      isearch-lazy-highlight-window-group.  Don't set the `window' overlay
      property.
      (isearch-update, isearch-done, isearch-string-out-of-window)
      (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
      (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
      (isearch-lazy-highlight-update): Call the six amended primitives (see
      src/window.c above) with the new `group' argument set to t, to cooperate
      with Follow Mode.
      2c56fc2a
  19. 25 Sep, 2015 1 commit
    • Eli Zaretskii's avatar
      Avoid non-ASCII decoding errors in Texinfo files · 0d31eeb7
      Eli Zaretskii authored
      * doc/misc/tramp.texi:
      * doc/lispref/strings.texi:
      * doc/lispref/positions.texi:
      * doc/lispref/help.texi:
      * doc/lispref/functions.texi:
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/emacs/text.texi:
      * doc/emacs/modes.texi:
      * doc/emacs/mini.texi:
      * doc/emacs/display.texi:
      * doc/emacs/custom.texi:
      * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
      Unicode characters and should be decoded as UTF-8.
      * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
      apostrophe unnecessarily.
      0d31eeb7
  20. 16 Sep, 2015 1 commit
    • Eli Zaretskii's avatar
      Restore some of the quoting in the manuals · 31ff037a
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Coordinates and Windows)
      (Coordinates and Windows):
      * doc/lispref/variables.texi (Lexical Binding)
      (File Local Variables):
      * doc/lispref/text.texi (Format Properties):
      * doc/lispref/symbols.texi (Symbol Components):
      * doc/lispref/strings.texi (Creating Strings):
      * doc/lispref/sequences.texi (Sequence Functions):
      * doc/lispref/searching.texi (Regexp Special, Regexp Search)
      (Search and Replace):
      * doc/lispref/processes.texi (Bindat Spec):
      * doc/lispref/os.texi (Idle Timers):
      * doc/lispref/objects.texi (Basic Char Syntax):
      * doc/lispref/numbers.texi (Float Basics, Random Numbers):
      * doc/lispref/nonascii.texi (Character Properties):
      * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
      (Mode Line Variables):
      * doc/lispref/minibuf.texi (Text from Minibuffer):
      * doc/lispref/loading.texi (Autoload):
      * doc/lispref/keymaps.texi (Controlling Active Maps):
      * doc/lispref/frames.texi (Frame Layout, Size and Position)
      (Size Parameters, Implied Frame Resizing):
      * doc/lispref/files.texi (Changing Files, Magic File Names):
      * doc/lispref/eval.texi (Self-Evaluating Forms):
      * doc/lispref/display.texi (Progress, Abstract Display)
      (Abstract Display Example, Bidirectional Display):
      * doc/lispref/commands.texi (Event Mod):
      * doc/emacs/windows.texi (Displaying Buffers):
      * doc/emacs/trouble.texi (Bug Criteria, Checklist):
      * doc/emacs/text.texi (Enriched Text):
      * doc/emacs/programs.texi (MixedCase Words):
      * doc/emacs/picture-xtra.texi (Insert in Picture)
      (Tabs in Picture):
      * doc/emacs/misc.texi (Emacs Server, Printing):
      * doc/emacs/mini.texi (Minibuffer History):
      * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
      (Pulling / Pushing):
      * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
      * doc/emacs/help.texi (Help, Help Echo):
      * doc/emacs/glossary.texi (Glossary):
      * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
      (Frame Commands):
      * doc/emacs/files.texi (Reverting, Saving, Directories):
      * doc/emacs/entering.texi (Exiting):
      * doc/emacs/emacs.texi (Top):
      * doc/emacs/cmdargs.texi (Window Size X, Icons X):
      * doc/emacs/anti.texi (Antinews): Restore quoting of text where
      appropriate or replace quoting with @dfn.
      * doc/misc/ediff.texi (Window and Frame Configuration):
      * doc/lispref/processes.texi (Network Feature Testing):
      * doc/lispref/display.texi (Display Margins): Quote the phrase
      after "a.k.a." where appropriate.
      31ff037a
  21. 15 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Quote less in manuals · ef7dbdf5
      Paul Eggert authored
      The manuals often used quotes ``...'' when it is better to use @dfn or
      @code or capitalized words or no quoting at all.  For example, there is
      no need for the `` and '' in “if a variable has one effect for
      @code{nil} values and another effect for ``non-@code{nil}'' values”.
      Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
      unnecessary quoting like this, and to use @dfn etc. instead when called
      for (Bug#21472).
      ef7dbdf5
  22. 24 Aug, 2015 1 commit
    • Xue Fuqiao's avatar
      Fix documentation for `save-excursion' · 77419889
      Xue Fuqiao authored
      * doc/lispref/positions.texi (Excursions):
      * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
      (Template for save-excursion, Point and mark): `save-excursion'
      does not save&restore the mark any more.
      77419889
  23. 23 May, 2015 1 commit
    • Eli Zaretskii's avatar
      Fix documentation of forward-line · d6dfefe4
      Eli Zaretskii authored
      * src/cmds.c (Fforward_line): Clarify the return value if the line
      at end of accessible portion of the buffer has no newline.
      * doc/lispref/positions.texi (Text Lines): Document what happens
      if the line at end of accessible portion of buffer has no newline.
      
      (Bug#20587)
      d6dfefe4
  24. 04 May, 2015 1 commit
    • Daniel Colascione's avatar
      Add `save-mark-and-excursion', which has the old `save-excursion' behavior · 255a011f
      Daniel Colascione authored
      * doc/lispref/positions.texi (Excursions): Document
      `save-mark-and-excursion'.
      
      * lisp/font-lock.el (font-lock-fontify-block): Use
      `save-mark-and-excursion' instead of `save-excursion', restoring
      Emacs 24 behavior.
      
      * lisp/simple.el (save-mark-and-excursion--save)
      (save-mark-and-excursion--restore): New functions.
      (save-mark-and-excursion): New user macro.
      
      * src/editfns.c (Fsave_excursion): Mention
      `save-mark-and-excursion' in `save-excursion' documentation.
      255a011f
  25. 10 Apr, 2015 1 commit
    • Paul Eggert's avatar
      Minor quoting etc. fixes to lispref manual · a2940cd4
      Paul Eggert authored
      * doc/lispref/tips.texi (Documentation Tips):
      Distinguish more clearly among grave accent, apostrophe,
      and single quote.
      * doc/lispref/README, doc/lispref/buffers.texi:
      * doc/lispref/commands.texi, doc/lispref/control.texi:
      * doc/lispref/customize.texi, doc/lispref/display.texi:
      * doc/lispref/elisp.texi, doc/lispref/files.texi:
      * doc/lispref/frames.texi, doc/lispref/hash.texi:
      * doc/lispref/help.texi, doc/lispref/internals.texi:
      * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
      * doc/lispref/markers.texi, doc/lispref/modes.texi:
      * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
      * doc/lispref/os.texi, doc/lispref/positions.texi:
      * doc/lispref/strings.texi, doc/lispref/syntax.texi:
      * doc/lispref/text.texi, doc/lispref/tips.texi:
      * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
      Use American-style double quoting in ordinary text,
      and quote 'like this' when single-quoting in ASCII text.
      Also, fix some minor spacing issues.
      a2940cd4
  26. 25 Mar, 2015 1 commit
    • Stefan Monnier's avatar
      `save-excursion' does not save&restore the mark any more · 599ca626
      Stefan Monnier authored
      * src/editfns.c (save_excursion_save): Don't save the mark.
      (save_excursion_restore): Don't restore the mark.
      (Fsave_excursion): Fix docstring accordingly.
      
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/lispref/positions.texi (Excursions, Narrowing): `save-excursion' does
      not save&restore the mark any more.
      599ca626
  27. 09 Feb, 2015 1 commit
    • Eli Zaretskii's avatar
      Speed up vertical-motion when screen coordinates are known · 403cb178
      Eli Zaretskii authored
       src/indent.c (Fvertical_motion): Accept an additional argument
       CUR-COL and use it as the starting screen coordinate.
       src/window.c (window_scroll_line_based, Fmove_to_window_line): All
       callers of vertical-motion changed.
      
       doc/lispref/positions.texi (Screen Lines): Update the documentation of
       vertical-motion to document the new additional argument.
      403cb178
  28. 01 Jan, 2015 2 commits
  29. 25 Dec, 2014 1 commit
    • Glenn Morris's avatar
      Markup fixes for doc/lispref · 5306baa9
      Glenn Morris authored
      * doc/lispref/control.texi (Pattern matching case statement):
      * doc/lispref/positions.texi (List Motion):
      * doc/lispref/streams.texi (Output Functions):
      * doc/lispref/strings.texi (Text Comparison):
      * doc/lispref/text.texi (Document Object Model):
      Markup fixes.
      5306baa9
  30. 23 Dec, 2014 1 commit
    • Eli Zaretskii's avatar
      Improve indexing on the chapter/section/subsection levels. · 20cfd248
      Eli Zaretskii authored
       doc/lispref/windows.texi (Recombining Windows): Index subject of sections.
       doc/lispref/variables.texi (Variables with Restricted Values)
       (Generalized Variables): Index subject of sections.
       doc/lispref/text.texi (Buffer Contents, Examining Properties)
       (Changing Properties, Property Search, Substitution): Index
       subject of sections.
       doc/lispref/syntax.texi (Motion and Syntax, Parsing Expressions)
       (Motion via Parsing, Position Parse, Control Parsing): Index
       subject of sections.
       doc/lispref/strings.texi (Predicates for Strings, Creating Strings)
       (Modifying Strings, Text Comparison): Index subject of sections.
       doc/lispref/searching.texi (Syntax of Regexps, Regexp Special)
       (Regexp Functions, Regexp Functions): Index subject of sections.
       doc/lispref/processes.texi (Subprocess Creation, Process Information): Index
       subject of sections.
       doc/lispref/positions.texi (Screen Lines): Index subject of sections.
       doc/lispref/nonascii.texi (Scanning Charsets, Specifying Coding Systems):
       Index subject of sections.
       doc/lispref/minibuf.texi (Text from Minibuffer, Object from Minibuffer)
       (Multiple Queries, Minibuffer Contents): Index subject of
       sections.
       doc/lispref/markers.texi (Predicates on Markers, Creating Markers)
       (Information from Markers, Moving Markers): Index subject of
       sections.
       doc/lispref/macros.texi (Defining Macros, Problems with Macros): Index
       subject of sections.
       doc/lispref/loading.texi (Loading Non-ASCII, Where Defined): Index subject
       of sections.
       doc/lispref/lists.texi (List-related Predicates, List Variables, Setcar)
       (Setcdr, Plist Access): Index subject of sections.
       doc/lispref/keymaps.texi (Controlling Active Maps, Scanning Keymaps)
       (Modifying Menus): Index subject of sections.
       doc/lispref/help.texi (Accessing Documentation, Help Functions): Index
       subject of sections.
       doc/lispref/hash.texi (Hash Access): Index subject of sections.
       doc/lispref/functions.texi (Core Advising Primitives)
       (Advising Named Functions, Porting old advices): Index subject of
       sections.
       doc/lispref/frames.texi (Creating Frames, Initial Parameters)
       (Position Parameters, Buffer Parameters, Minibuffers and Frames)
       (Pop-Up Menus, Drag and Drop): Index subject of sections.
       doc/lispref/files.texi (Visiting Functions, Kinds of Files)
       (Unique File Names): Index subject of sections.
       doc/lispref/display.texi (Refresh Screen, Echo Area Customization)
       (Warning Variables, Warning Options, Delayed Warnings)
       (Temporary Displays, Managing Overlays, Overlay Properties)
       (Finding Overlays, Size of Displayed Text, Defining Faces)
       (Attribute Functions, Displaying Faces, Face Remapping)
       (Basic Faces, Font Lookup, Fontsets, Replacing Specs)
       (Defining Images, Showing Images): Index subject of sections.
       doc/lispref/debugging.texi (Debugging, Explicit Debug)
       (Invoking the Debugger, Excess Open, Excess Close): Index subject
       of sections.
       doc/lispref/customize.texi (Defining New Types, Applying Customizations)
       (Custom Themes): Index subject of sections.
       doc/lispref/control.texi (Sequencing, Combining Conditions)
       (Processing of Errors, Cleanups): Index subject of sections.
       doc/lispref/compile.texi (Eval During Compile): Index subject of sections.
       doc/lispref/commands.texi (Using Interactive, Distinguish Interactive)
       (Command Loop Info, Classifying Events, Event Mod)
       (Invoking the Input Method): Index subject of sections.
       doc/lispref/buffers.texi (Buffer List, Buffer Gap): Index subject of sections.
       doc/lispref/backups.texi (Making Backups, Numbered Backups, Backup Names)
       (Reverting): Index subject of sections.
       doc/lispref/abbrevs.texi (Abbrev Tables, Defining Abbrevs, Abbrev Files)
       (Abbrev Expansion, Standard Abbrev Tables, Abbrev Properties)
       (Abbrev Table Properties): Index subject of sections.
       doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing)
       (Time Calculations, Idle Timers): Index subject of sections.
      20cfd248
  31. 21 Jun, 2014 1 commit
  32. 09 Apr, 2014 1 commit
  33. 06 Feb, 2014 1 commit
  34. 01 Jan, 2014 1 commit
  35. 18 Aug, 2013 1 commit
  36. 16 Aug, 2013 1 commit
    • Xue Fuqiao's avatar
      Remove documentation of undefined behavior. · 2bede2ed
      Xue Fuqiao authored
      * doc/lispref/positions.texi (Character Motion):
      * doc/lispref/markers.texi (Moving Markers):
      (Creating Markers): Comment out undefined behavior.
      
      * src/marker.c (set_marker): Remove documentation of undefined behavior.
      2bede2ed
  37. 14 Aug, 2013 1 commit
  38. 13 Aug, 2013 1 commit
    • Xue Fuqiao's avatar
      Doc fix for forward-word and backward-word. · f73f4ce6
      Xue Fuqiao authored
      * doc/lispref/positions.texi (Word Motion): Remove redundant sentence.
      * lisp/simple.el (backward-word): Mention the optional argument.
      * src/syntax.c (forward_word): Mention the optional argument.
      f73f4ce6