diff options
| author | Eli Zaretskii | 2024-05-11 06:50:56 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-05-11 06:50:56 -0400 |
| commit | 48c9285c19ffa484fc5163c55eca5a9f3ef41cc7 (patch) | |
| tree | 25d48db21cea72224758ecc225d6116723b565d4 | |
| parent | 6380806196f3806b6c2bff60ff6cddae3eee2a19 (diff) | |
| parent | 0ec9a02a0d5da108ccefe32dd37b066bae357334 (diff) | |
| download | emacs-48c9285c19ffa484fc5163c55eca5a9f3ef41cc7.tar.gz emacs-48c9285c19ffa484fc5163c55eca5a9f3ef41cc7.zip | |
Merge from origin/emacs-29
0ec9a02a0d5 ; Fix doc strings of two scroll-bar functions.
2f8bccf9d8c ; * doc/emacs/frames.texi (Scroll Bars): Improve formatting.
f9832e80b89 ; * lisp/textmodes/ispell.el (ispell-message): Add commen...
a7d247be90c ; * etc/PROBLEMS: Document macOS problems with Emacs.clr ...
8560ee7b5ca ; * doc/misc/auth.texi (The Unix password store): Fix var...
74c6b59af15 ; Advertise scroll bars some more
3d65d4306b9 Avoid errors in 'image-dired-tag-thumbnail'
| -rw-r--r-- | doc/emacs/display.texi | 7 | ||||
| -rw-r--r-- | doc/emacs/frames.texi | 8 | ||||
| -rw-r--r-- | doc/misc/auth.texi | 2 | ||||
| -rw-r--r-- | etc/PROBLEMS | 18 | ||||
| -rw-r--r-- | lisp/image/image-dired-tags.el | 24 | ||||
| -rw-r--r-- | lisp/image/image-dired.el | 22 | ||||
| -rw-r--r-- | lisp/scroll-bar.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 4 |
8 files changed, 57 insertions, 32 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index bda57d2b30e..8f22e3c88da 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -175,6 +175,9 @@ scroll the current window by one line at a time. If you intend to use | |||
| 175 | any of these commands, you might want to give them key bindings | 175 | any of these commands, you might want to give them key bindings |
| 176 | (@pxref{Init Rebinding}). | 176 | (@pxref{Init Rebinding}). |
| 177 | 177 | ||
| 178 | On graphical displays, you can also scroll a window using the scroll | ||
| 179 | bar; @pxref{Scroll Bars}. | ||
| 180 | |||
| 178 | @node Recentering | 181 | @node Recentering |
| 179 | @section Recentering | 182 | @section Recentering |
| 180 | 183 | ||
| @@ -405,6 +408,10 @@ than the amount you previously set by @code{scroll-left}. When | |||
| 405 | other than the one showing the cursor will be scrolled by that minimal | 408 | other than the one showing the cursor will be scrolled by that minimal |
| 406 | amount. | 409 | amount. |
| 407 | 410 | ||
| 411 | On graphical displays, you can scroll a window horizontally using | ||
| 412 | the horizontal scroll bar, if you turn on the optional | ||
| 413 | @code{horizontal-scroll-bar-mode}; @pxref{Scroll Bars}. | ||
| 414 | |||
| 408 | @node Narrowing | 415 | @node Narrowing |
| 409 | @section Narrowing | 416 | @section Narrowing |
| 410 | @cindex widening | 417 | @cindex widening |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 8e6cbeed70b..6c62fde4ffb 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -1146,11 +1146,11 @@ text or moving point with a keyboard command will usually bring it back | |||
| 1146 | into view. | 1146 | into view. |
| 1147 | 1147 | ||
| 1148 | @findex horizontal-scroll-bar-mode | 1148 | @findex horizontal-scroll-bar-mode |
| 1149 | To toggle the use of horizontal scroll bars, type @kbd{M-x | 1149 | To toggle the use of horizontal scroll bars, type @w{@kbd{M-x |
| 1150 | horizontal-scroll-bar-mode}. This command applies to all frames, | 1150 | horizontal-scroll-bar-mode}}. This command applies to all frames, |
| 1151 | including frames yet to be created. To toggle horizontal scroll bars | 1151 | including frames yet to be created. To toggle horizontal scroll bars |
| 1152 | for just the selected frame, use the command @kbd{M-x | 1152 | for just the selected frame, use the command @w{@kbd{M-x |
| 1153 | toggle-horizontal-scroll-bar}. | 1153 | toggle-horizontal-scroll-bar}}. |
| 1154 | 1154 | ||
| 1155 | @vindex horizontal-scroll-bar-mode | 1155 | @vindex horizontal-scroll-bar-mode |
| 1156 | To control the use of horizontal scroll bars at startup, customize the | 1156 | To control the use of horizontal scroll bars at startup, customize the |
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi index f51a1446170..8d802be535c 100644 --- a/doc/misc/auth.texi +++ b/doc/misc/auth.texi | |||
| @@ -527,7 +527,7 @@ while searching for an entry matching the @code{rms} user on host | |||
| 527 | @code{gnu.org} and port @code{22}, then the entry | 527 | @code{gnu.org} and port @code{22}, then the entry |
| 528 | @file{gnu.org:22/rms.gpg} is preferred over @file{gnu.org.gpg}. | 528 | @file{gnu.org:22/rms.gpg} is preferred over @file{gnu.org.gpg}. |
| 529 | However, such processing is not applied when the option | 529 | However, such processing is not applied when the option |
| 530 | @code{auth-source-pass-extra-parameters} is set to @code{t}. | 530 | @code{auth-source-pass-extra-query-keywords} is set to @code{t}. |
| 531 | 531 | ||
| 532 | Users of @code{pass} may also be interested in functionality provided | 532 | Users of @code{pass} may also be interested in functionality provided |
| 533 | by other Emacs packages: | 533 | by other Emacs packages: |
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 2922f5a384c..77856087367 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -3402,7 +3402,7 @@ for further discussion. | |||
| 3402 | 3402 | ||
| 3403 | * Runtime problems specific to macOS | 3403 | * Runtime problems specific to macOS |
| 3404 | 3404 | ||
| 3405 | ** Error message when opening Emacs on macOS | 3405 | ** Error message about malicious software when opening Emacs on macOS |
| 3406 | 3406 | ||
| 3407 | When opening Emacs, you may see an error message saying something like | 3407 | When opening Emacs, you may see an error message saying something like |
| 3408 | this: | 3408 | this: |
| @@ -3419,6 +3419,22 @@ the Emacs app icon, and then choose Open. This adds a security | |||
| 3419 | exception for Emacs and from now on you should be able to open it by | 3419 | exception for Emacs and from now on you should be able to open it by |
| 3420 | double-clicking on its icon, like any other app. | 3420 | double-clicking on its icon, like any other app. |
| 3421 | 3421 | ||
| 3422 | ** Error message about color list unarchiver when starting Emacs on macOS | ||
| 3423 | |||
| 3424 | The error message looks like this: | ||
| 3425 | |||
| 3426 | Failed to initialize color list unarchiver: | ||
| 3427 | Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver | ||
| 3428 | _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver" | ||
| 3429 | UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver | ||
| 3430 | _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver} | ||
| 3431 | |||
| 3432 | After showing this message, Emacs usually works normally. | ||
| 3433 | |||
| 3434 | The usual reason for this is that the color file, | ||
| 3435 | ~/Library/Colors/Emacs.clr, is stale or corrupted. The solution is to | ||
| 3436 | delete that file and restart Emacs. | ||
| 3437 | |||
| 3422 | ** macOS doesn't come with libxpm, so only XPM3 is supported. | 3438 | ** macOS doesn't come with libxpm, so only XPM3 is supported. |
| 3423 | 3439 | ||
| 3424 | Libxpm is available for macOS as part of the XQuartz project. | 3440 | Libxpm is available for macOS as part of the XQuartz project. |
diff --git a/lisp/image/image-dired-tags.el b/lisp/image/image-dired-tags.el index 2b5248cb14b..54595adc147 100644 --- a/lisp/image/image-dired-tags.el +++ b/lisp/image/image-dired-tags.el | |||
| @@ -32,8 +32,6 @@ | |||
| 32 | 32 | ||
| 33 | (require 'image-dired-util) | 33 | (require 'image-dired-util) |
| 34 | 34 | ||
| 35 | (declare-function image-dired--with-marked "image-dired") | ||
| 36 | |||
| 37 | (defvar image-dired-dir) | 35 | (defvar image-dired-dir) |
| 38 | (defvar image-dired-thumbnail-storage) | 36 | (defvar image-dired-thumbnail-storage) |
| 39 | (defvar image-dired-tags-db-file) | 37 | (defvar image-dired-tags-db-file) |
| @@ -156,18 +154,6 @@ With prefix ARG, tag the file at point." | |||
| 156 | (cons x tag)) | 154 | (cons x tag)) |
| 157 | files)))) | 155 | files)))) |
| 158 | 156 | ||
| 159 | (defun image-dired-tag-thumbnail () | ||
| 160 | "Tag current or marked thumbnails." | ||
| 161 | (interactive nil image-dired-thumbnail-mode) | ||
| 162 | (let ((tag (completing-read | ||
| 163 | "Tags to add (separate tags with a semicolon): " | ||
| 164 | image-dired-tag-history nil nil nil 'image-dired-tag-history))) | ||
| 165 | (image-dired--with-marked | ||
| 166 | (image-dired-write-tags | ||
| 167 | (list (cons (image-dired-original-file-name) tag))) | ||
| 168 | (image-dired-update-property | ||
| 169 | 'tags (image-dired-list-tags (image-dired-original-file-name)))))) | ||
| 170 | |||
| 171 | ;;;###autoload | 157 | ;;;###autoload |
| 172 | (defun image-dired-delete-tag (arg) | 158 | (defun image-dired-delete-tag (arg) |
| 173 | "Remove tag for selected file(s). | 159 | "Remove tag for selected file(s). |
| @@ -181,16 +167,6 @@ With prefix argument ARG, remove tag from file at point." | |||
| 181 | (setq files (dired-get-marked-files))) | 167 | (setq files (dired-get-marked-files))) |
| 182 | (image-dired-remove-tag files tag))) | 168 | (image-dired-remove-tag files tag))) |
| 183 | 169 | ||
| 184 | (defun image-dired-tag-thumbnail-remove () | ||
| 185 | "Remove tag from current or marked thumbnails." | ||
| 186 | (interactive nil image-dired-thumbnail-mode) | ||
| 187 | (let ((tag (completing-read "Tag to remove: " image-dired-tag-history | ||
| 188 | nil nil nil 'image-dired-tag-history))) | ||
| 189 | (image-dired--with-marked | ||
| 190 | (image-dired-remove-tag (image-dired-original-file-name) tag) | ||
| 191 | (image-dired-update-property | ||
| 192 | 'tags (image-dired-list-tags (image-dired-original-file-name)))))) | ||
| 193 | |||
| 194 | (defun image-dired-write-comments (file-comments) | 170 | (defun image-dired-write-comments (file-comments) |
| 195 | "Write file comments specified by FILE-COMMENTS comments to database. | 171 | "Write file comments specified by FILE-COMMENTS comments to database. |
| 196 | FILE-COMMENTS is an alist on the following form: | 172 | FILE-COMMENTS is an alist on the following form: |
diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index 9eb68e240fe..ca808bcb5ab 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el | |||
| @@ -1757,6 +1757,28 @@ Dired." | |||
| 1757 | (cons (list tag file) (cdr image-dired-tag-file-list)))) | 1757 | (cons (list tag file) (cdr image-dired-tag-file-list)))) |
| 1758 | (setq image-dired-tag-file-list (list (list tag file)))))) | 1758 | (setq image-dired-tag-file-list (list (list tag file)))))) |
| 1759 | 1759 | ||
| 1760 | (defun image-dired-tag-thumbnail-remove () | ||
| 1761 | "Remove tag from current or marked thumbnails." | ||
| 1762 | (interactive nil image-dired-thumbnail-mode) | ||
| 1763 | (let ((tag (completing-read "Tag to remove: " image-dired-tag-history | ||
| 1764 | nil nil nil 'image-dired-tag-history))) | ||
| 1765 | (image-dired--with-marked | ||
| 1766 | (image-dired-remove-tag (image-dired-original-file-name) tag) | ||
| 1767 | (image-dired-update-property | ||
| 1768 | 'tags (image-dired-list-tags (image-dired-original-file-name)))))) | ||
| 1769 | |||
| 1770 | (defun image-dired-tag-thumbnail () | ||
| 1771 | "Tag current or marked thumbnails." | ||
| 1772 | (interactive nil image-dired-thumbnail-mode) | ||
| 1773 | (let ((tag (completing-read | ||
| 1774 | "Tags to add (separate tags with a semicolon): " | ||
| 1775 | image-dired-tag-history nil nil nil 'image-dired-tag-history))) | ||
| 1776 | (image-dired--with-marked | ||
| 1777 | (image-dired-write-tags | ||
| 1778 | (list (cons (image-dired-original-file-name) tag))) | ||
| 1779 | (image-dired-update-property | ||
| 1780 | 'tags (image-dired-list-tags (image-dired-original-file-name)))))) | ||
| 1781 | |||
| 1760 | (defvar image-dired-slideshow-count 0 | 1782 | (defvar image-dired-slideshow-count 0 |
| 1761 | "Keeping track on number of images in slideshow.") | 1783 | "Keeping track on number of images in slideshow.") |
| 1762 | (make-obsolete-variable 'image-dired-slideshow-count "no longer used." "29.1") | 1784 | (make-obsolete-variable 'image-dired-slideshow-count "no longer used." "29.1") |
diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el index 1358bff6da8..01e47ccebbe 100644 --- a/lisp/scroll-bar.el +++ b/lisp/scroll-bar.el | |||
| @@ -172,7 +172,7 @@ created in the future." | |||
| 172 | 172 | ||
| 173 | (defun toggle-scroll-bar (arg) | 173 | (defun toggle-scroll-bar (arg) |
| 174 | "Toggle whether or not the selected frame has vertical scroll bars. | 174 | "Toggle whether or not the selected frame has vertical scroll bars. |
| 175 | With ARG, turn vertical scroll bars on if and only if ARG is positive. | 175 | With ARG, turn on vertical scroll bars if and only if ARG is positive. |
| 176 | The variable `scroll-bar-mode' controls which side the scroll bars are on | 176 | The variable `scroll-bar-mode' controls which side the scroll bars are on |
| 177 | when they are turned on; if it is nil, they go on the left." | 177 | when they are turned on; if it is nil, they go on the left." |
| 178 | (interactive "P") | 178 | (interactive "P") |
| @@ -188,7 +188,7 @@ when they are turned on; if it is nil, they go on the left." | |||
| 188 | 188 | ||
| 189 | (defun toggle-horizontal-scroll-bar (arg) | 189 | (defun toggle-horizontal-scroll-bar (arg) |
| 190 | "Toggle whether or not the selected frame has horizontal scroll bars. | 190 | "Toggle whether or not the selected frame has horizontal scroll bars. |
| 191 | With ARG, turn vertical scroll bars on if and only if ARG is positive." | 191 | With ARG, turn on horizontal scroll bars if and only if ARG is positive." |
| 192 | (interactive "P") | 192 | (interactive "P") |
| 193 | (if (null arg) | 193 | (if (null arg) |
| 194 | (setq arg | 194 | (setq arg |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 17af1f1d926..f523df9881e 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -4059,6 +4059,10 @@ You can bind this to the key C-c i in GNUS or mail by adding to | |||
| 4059 | (if (re-search-forward "^Subject: *" end-of-headers t) | 4059 | (if (re-search-forward "^Subject: *" end-of-headers t) |
| 4060 | (progn | 4060 | (progn |
| 4061 | (goto-char (match-end 0)) | 4061 | (goto-char (match-end 0)) |
| 4062 | ;; Don't spell-check Subject if it comes from a | ||
| 4063 | ;; received message: "Re:" indicates this is a reply | ||
| 4064 | ;; to someone else's message, "[...]" indicates this | ||
| 4065 | ;; is a subject of a forwarded message. | ||
| 4062 | (if (and (not (looking-at ".*\\<Re\\>")) | 4066 | (if (and (not (looking-at ".*\\<Re\\>")) |
| 4063 | (not (looking-at "\\["))) | 4067 | (not (looking-at "\\["))) |
| 4064 | (progn | 4068 | (progn |