1. 27 Sep, 2016 1 commit
    • Paul Eggert's avatar
      Regexp Functions doc minor fixes · bbf1ffd7
      Paul Eggert authored
      * doc/lispref/searching.texi (Regexp Functions):
      Fix misspelling of “matching”.  Use @table for table.
      Reformat code example to fit into info file width (Bug#17862).
      bbf1ffd7
  2. 04 Sep, 2016 1 commit
  3. 12 Jul, 2016 1 commit
    • Stephen Berman's avatar
      Improve documentation of search functions · 069fc05b
      Stephen Berman authored
      Make the documentation of the search functions more accurate,
      complete, and uniform; in particular, extend the description of
      the effect when the 'count' parameter is a negative number to all
      of these functions.
      
      * src/search.c (Fsearch_backward, Fsearch_forward)
      (Fre_search_backward, Fre_search_forward)
      (Fposix_search_backward, Fposix_search_forward):
      * lisp/isearch.el (word-search-backward, word-search-forward)
      (word-search-backward-lax, word-search-forward-lax): Improve doc
      strings as described above.
      
      * doc/lispref/searching.texi (String Search, Regexp Search)
      (POSIX Regexps): Use 'count' instead of 'repeat' as the name of
      the fourth parameter of the *-search-{forward,backward} functions
      and improve documentation as described above.
      069fc05b
  4. 13 Jan, 2016 1 commit
  5. 01 Jan, 2016 1 commit
  6. 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
  7. 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
  8. 18 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Clarify what happens to match data on failure · 7a68ebe0
      Paul Eggert authored
      Problem reported by Ernesto Alfonso (Bug#21279).
      * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
      Document more carefully what happens to match data after a failed
      search.
      * src/search.c (Fmatch_beginning, Fmatch_end): Document that
      the return value is undefined if the last search failed.
      (Fmatch_data): Simplify doc string line 1.
      7a68ebe0
  9. 16 Apr, 2015 1 commit
    • Paul Eggert's avatar
      '[:graph:]' now excludes whitespace, not just ' ' · 3074a9fa
      Paul Eggert authored
      * doc/lispref/searching.texi (Char Classes):
      * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
      sans whitespace (not sans space).
      * src/character.c (graphicp): Exclude all Unicode whitespace chars,
      not just space.
      * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
      3074a9fa
  10. 15 Apr, 2015 1 commit
    • Paul Eggert's avatar
      Make [:graph:] act like [:print:] sans space · a122a027
      Paul Eggert authored
      In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
      [:graph:] so that it matches everything that [:print:] does,
      except for space.
      * doc/lispref/searching.texi (Char Classes):
      * etc/NEWS:
      * lisp/emacs-lisp/rx.el (rx):
      Document [:graph:] to be [:print:] sans ' '.
      * src/character.c, src/character.h (graphicp): New function.
      * src/regex.c (ISGRAPH) [emacs]: Use it.
      (BIT_GRAPH): New macro.
      (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
      (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
      Return BIT_GRAPH for RECC_GRAPH.
      (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
      and ISPRINT if BIT_PRINT.
      a122a027
  11. 14 Apr, 2015 1 commit
    • Eli Zaretskii's avatar
      Make [:print:] support non-ASCII characters correctly · 6c284c6b
      Eli Zaretskii authored
      * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
      (BIT_PRINT): New bit mask.
      (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
      * src/character.c (printablep): New function.
      * src/character.h (printablep): Add prototype.
      
      * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
      of 'print', 'alnum', and 'alphabetic'.
      
      * doc/lispref/searching.texi (Char Classes): Document the new
      behavior of [:print:].
      
      * etc/NEWS: Mention the new behavior of [:print:].
      6c284c6b
  12. 28 Feb, 2015 1 commit
    • Eli Zaretskii's avatar
      Improve [:alpha:] and [:alnum:] for multibyte characters (Bug#19878) · 1a50945f
      Eli Zaretskii authored
       src/character.c (alphabeticp, decimalnump): New functions.
       src/character.h (alphabeticp, decimalnump): Add prototypes.
       src/regex.c (ISALNUM, ISALPHA): Check Unicode character properties
       for multibyte characters by calling alphabeticp and decimalnump.
       (BIT_ALPHA, BIT_ALNUM): New bit masks.
       (re_wctype_to_bit): Return them when the class is RECC_ALPHA or
       RECC_ALNUM.
       (re_match_2_internal): Call ISALPHA and ISALNUM when appropriate.
      
       doc/lispref/searching.texi (Char Classes): Update the documentation of
       [:alpha:] and [:alnum:].
      
       etc/NEWS: Mention the changes in [:alpha:] and [:alnum:].
      1a50945f
  13. 24 Jan, 2015 1 commit
  14. 01 Jan, 2015 2 commits
  15. 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
  16. 06 Mar, 2014 1 commit
  17. 31 Jan, 2014 1 commit
    • Juri Linkov's avatar
      Misc small fixes. · bd21bf41
      Juri Linkov authored
      * doc/lispref/searching.texi (String Search): Incremental word search fixes.
      
      * lisp/sort.el (delete-duplicate-lines): Remove `:weakness 'key'
      from `make-hash-table'.
      
      * lisp/textmodes/ispell.el (ispell-init-process): Change message format
      to be consistent with other messages.
      bd21bf41
  18. 01 Jan, 2014 1 commit
  19. 04 Dec, 2013 1 commit
  20. 23 Oct, 2013 1 commit
  21. 02 Oct, 2013 1 commit
  22. 29 Sep, 2013 1 commit
  23. 21 Apr, 2013 1 commit
  24. 03 Jan, 2013 1 commit
  25. 01 Jan, 2013 1 commit
  26. 05 Dec, 2012 1 commit
    • Paul Eggert's avatar
      Fix minor whitespace issues after "." in manual. · 1df7defd
      Paul Eggert authored
      Be more systematic about using "@." (not ".") at end of sentence that
      ends in a capital letter, and about appending "@:" after non-ends of
      sentences that end in a lower case letter followed by "." followed by
      whitespace.  Omit unnecessary use of "@:" and "@.".  Similarly for "?"
      and "!".  Be more consistent about putting a comma after "i.e." and
      "e.g."; this is the typical American style and it's easier to code in
      Texinfo.
      
      Fixes: debbugs:12973
      1df7defd
  27. 07 Nov, 2012 1 commit
  28. 22 Sep, 2012 1 commit
    • 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
  29. 09 Sep, 2012 1 commit
    • 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
  30. 27 May, 2012 1 commit
  31. 14 Apr, 2012 1 commit
  32. 28 Mar, 2012 3 commits
    • Glenn Morris's avatar
      Doc and lispref updates related to searching · fee88ca0
      Glenn Morris authored
      * doc/lispref/searching.texi (Regexp Functions, Regexp Search):
      (Simple Match Data, Saving Match Data, Standard Regexps): Copyedits.
      (Regexp Functions): Mention regexp-opt is not guaranteed.
      Mention regexp-opt-charset.
      (Regexp Search): Recommend against looking-back.
      (Search and Replace): Use Texinfo recommended quote convention.
      Add more query-replace-map items.  List multi-query-replace-map items.
      
      * lisp/replace.el (query-replace-map): Doc fix.
      
      * admin/FOR-RELEASE: Related markup.
      fee88ca0
    • Glenn Morris's avatar
      Comment · efdf29da
      Glenn Morris authored
      efdf29da
    • Glenn Morris's avatar
      lispref/searching.tex small edits · d14daa28
      Glenn Morris authored
      * doc/lispref/searching.texi (Regular Expressions, Regexp Special):
      (Regexp Backslash, Regexp Example): Copyedits.
      (Regexp Special): Mention collation.
      Clarify char classes with an example.
      d14daa28
  33. 27 Mar, 2012 1 commit
    • Glenn Morris's avatar
      Small doc and elisp manual fixes related to searching · 4fb9a543
      Glenn Morris authored
      * doc/lispref/searching.texi (String Search): Add xref to Emacs manual.
      Copyedits.  Mention the function word-search-regexp.
      (Searching and Case): Add xref to Emacs manual.  Copyedits.
      
      * src/search.c (Fword_search_backward_lax, Fword_search_forward_lax):
      Doc fixes.
      4fb9a543
  34. 25 Feb, 2012 1 commit
  35. 26 Jan, 2012 1 commit
  36. 11 Jan, 2012 1 commit
  37. 05 Jan, 2012 1 commit