emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f4ddd6153d: Merge from origin/emacs-28


From: Stefan Kangas
Subject: master f4ddd6153d: Merge from origin/emacs-28
Date: Sun, 30 Jan 2022 00:57:41 -0500 (EST)

branch: master
commit f4ddd6153d0108e6101590699ab4a839a90739d9
Merge: 2886520160 e81e375539
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Merge from origin/emacs-28
    
    e81e375539 ; Yet another minor fix of Malayalam composition rules.
    94f38cbec4 Fix last change of Malayalam composition rules
    ed3bbeb80d Fix rendering of Malayalam script
    5ef3a52342 Improve documentation of Occur mode
---
 doc/emacs/search.texi   | 36 ++++++++++++++++++++++--------------
 lisp/language/indian.el |  8 ++++----
 2 files changed, 26 insertions(+), 18 deletions(-)

diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index a57cfac8da..982c7f4a2c 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -1874,12 +1874,12 @@ replacing regexp matches in file names.
 @node Other Repeating Search
 @section Other Search-and-Loop Commands
 
-  Here are some other commands that find matches for a regular
-expression.  They all ignore case in matching, if the pattern contains
+  Here are some other commands that find matches for regular
+expressions.  They all ignore case in matching, if the pattern contains
 no upper-case letters and @code{case-fold-search} is non-@code{nil}.
 Aside from @code{multi-occur} and @code{multi-occur-in-matching-buffers},
-which always search the whole buffer, all operate on the text from point
-to the end of the buffer, or on the region if it is active.
+which always search the whole buffer, all of the commands operate on the
+text from point to the end of the buffer, or on the region if it is active.
 
 @table @kbd
 @findex multi-isearch-buffers
@@ -1953,19 +1953,27 @@ is not considered a match.
 @kindex RET @r{(Occur mode)}
 @kindex o @r{(Occur mode)}
 @kindex C-o @r{(Occur mode)}
-In the @file{*Occur*} buffer, you can click on each entry, or move
-point there and type @key{RET}, to visit the corresponding position in
-the buffer that was searched.  @kbd{o} and @kbd{C-o} display the match
-in another window; @kbd{C-o} does not select it.  Alternatively, you
-can use the @kbd{M-g M-n} (@code{next-error}) command to visit the
-occurrences one by one (@pxref{Compilation Mode}).
+The @file{*Occur*} buffer uses the Occur mode as its major mode.  You
+can use the @kbd{n} and @kbd{p} keys to move to the next or previous
+match; with prefix numeric argument, these commands move that many
+matches.  Digit keys are bound to @code{digit-argument}, so @kbd{5 n}
+moves to the fifth next match (you don't have to type @kbd{C-u}).
+@key{SPC} and @key{DEL} scroll the @file{*Occur*} buffer up and down.
+Clicking on a match or moving point there and typing @key{RET} visits
+the corresponding position in the original buffer that was searched.
+@kbd{o} and @kbd{C-o} display the match in another window; @kbd{C-o}
+does not select that window.  Alternatively, you can use the @kbd{M-g
+M-n} (@code{next-error}) command to visit the occurrences one by one
+(@pxref{Compilation Mode}).  Finally, @kbd{q} quits the window showing
+the @file{*Occur*} buffer and buries the buffer.
 
 @cindex Occur Edit mode
 @cindex mode, Occur Edit
-Typing @kbd{e} in the @file{*Occur*} buffer switches to Occur Edit
-mode, in which edits made to the entries are also applied to the text
-in the originating buffer.  Type @kbd{C-c C-c} to return to Occur
-mode.
+Typing @kbd{e} in the @file{*Occur*} buffer makes the buffer writable
+and enters the Occur Edit mode, in which you can edit the matching
+lines and have those edits reflected in the text in the originating
+buffer.  Type @kbd{C-c C-c} to leave the Occur Edit mode and return to
+the Occur mode.
 
 @findex list-matching-lines
 The command @kbd{M-x list-matching-lines} is a synonym for @kbd{M-x
diff --git a/lisp/language/indian.el b/lisp/language/indian.el
index 614d0767e7..e0adb0de6c 100644
--- a/lisp/language/indian.el
+++ b/lisp/language/indian.el
@@ -354,14 +354,14 @@ South Indian language Malayalam is supported in this 
language environment."))
           ("X" . "[\u0D00-\u0D7F]"))))           ; all coverage
     (indian-compose-regexp
      (concat
+      ;; any sequence of 2 or more Malayalam characters, or
+      "XX+\\|"
       ;; consonant-based syllables, or
       "C\\(?:J?HJ?C\\)*\\(?:H[NJ]?\\|v?A?\\)\\|"
       ;; syllables with an independent vowel, or
       "V\\(?:J?HY\\)?v*?A?\\|"
-      ;; special consonant form, or
-      "JHY\\|"
-      ;; any other singleton characters
-      "X")
+      ;; special consonant form
+      "JHY")
      table))
   "Regexp matching a composable sequence of Malayalam characters.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]