1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

Merge from origin/emacs-29

1630bfb5d0 Merge from origin/emacs-28
e2ac0d416b ; Merge from origin/emacs-28
068b53500e ; Improve image-dired-thumbnail-storage docstring
497ed0fb42 ; * doc/emacs/dired.texi (Image-Dired): Fix last change.
4aa397e71b More doc on image-dired-dired-* (bug#61624)
893ddd5903 Eglot: improve treatment of completion items without :sor...
4a77fcb147 Update ChangeLog and AUTHORS for Emacs 28.3
e339926272 Fix etags local command injection vulnerability
5d05ea803e Fixed ctags local command execute vulnerability
22fb5ff512 Fix ruby-mode.el local command injection vulnerability (b...
807d2d5b3a Fix htmlfontify.el command injection vulnerability.
ae9bfed50d Fix storing email into nnmail by Gnus
This commit is contained in:
Stefan Kangas 2023-02-21 10:28:34 +01:00
commit 47c833537a
3 changed files with 37 additions and 25 deletions

View File

@ -1655,11 +1655,11 @@ become available.
@findex image-dired-display-previous
With point in the thumbnail buffer, you can type @key{RET}
(@code{image-dired-display-this}) to display the image in another
window. Use the arrow keys to move around in the thumbnail buffer.
For easy browsing, use @key{SPC} (@code{image-dired-display-next}) to
advance and display the next image. Typing @key{DEL}
(@code{image-dired-display-previous}) backs up to the previous
thumbnail and displays that instead.
window. Use the standard Emacs movement key bindings or the arrow
keys to move around in the thumbnail buffer. For easy browsing, use
@key{SPC} (@code{image-dired-display-next}) to advance and display the
next image. Typing @key{DEL} (@code{image-dired-display-previous})
backs up to the previous thumbnail and displays that instead.
@vindex image-dired-external-viewer
Type @kbd{C-@key{RET}}
@ -1669,9 +1669,19 @@ in an external viewer. You must first configure
You can delete images through Image-Dired also. Type @kbd{d}
(@code{image-dired-flag-thumb-original-file}) to flag the image file
for deletion in the Dired buffer. You can also delete the thumbnail
image from the thumbnail buffer with @kbd{C-d}
(@code{image-dired-delete-char}).
for deletion in the Dired buffer. Alternatively, you can remove an
image's thumbnail from the thumbnail buffer without flagging the image
for deletion, by typing @kbd{C-d} (@code{image-dired-delete-char}).
@findex image-dired-dired-toggle-marked-thumbs
@findex image-dired-dired-display-external
@findex image-dired-dired-display-image
You could also use Image-Dired for ``inline'' operations (i.e.,
right into the Dired buffer). Type @kbd{C-t C-t}, and the thumbnails
of the selected images in Dired will appear in front of their names
(@code{image-dired-dired-toggle-marked-thumbs}). @kbd{C-t i} and
@kbd{C-t x} will display the image under the point in Emacs or with
the external viewer, respectively.
More advanced features include @dfn{image tags}, which are metadata
used to categorize image files. The tags are stored in a plain text
@ -1684,14 +1694,18 @@ in the minibuffer. To mark files having a certain tag, type @kbd{C-t f}
(@code{image-dired-mark-tagged-files}). After marking image files
with a certain tag, you can use @kbd{C-t d} to view them.
@findex image-dired-dired-comment-files
@findex image-dired-dired-edit-comment-and-tags
You can also tag a file directly from the thumbnail buffer by typing
@kbd{t t} and you can remove a tag by typing @kbd{t r}. There is also
a special tag called ``comment'' for each file (it is not a tag in
the exact same sense as the other tags, it is handled slightly
differently). That is used to enter a comment or description about the
image. You comment a file from the thumbnail buffer by typing
@kbd{t t}, and you can remove a tag by typing @kbd{t r}. There is
also a special tag called ``comment'' for each file (it is not a tag
in the exact same sense as the other tags, it is handled slightly
differently). That is used to enter a comment or description about
the image. You comment a file from the thumbnail buffer by typing
@kbd{c}. You will be prompted for a comment. Type @kbd{C-t c} to add
a comment from Dired (@code{image-dired-dired-comment-files}).
@kbd{C-t e} will bring a buffer to edit comment and tags
(@code{image-dired-dired-edit-comment-and-tags}).
@vindex image-dired-thumb-visible-marks
Files that are marked in Dired will also be marked in Image-Dired if

View File

@ -167,28 +167,27 @@ to use the Thumbnail Managing Standard; they will be saved in
There are three ways that Image-Dired can store and generate
thumbnails:
1. According to the \"Thumbnail Managing Standard\", which allows
1. According to the Thumbnail Managing Standard, which allows
sharing of thumbnails across different programs. Thumbnails
will be stored in \"$XDG_CACHE_HOME/thumbnails/\"
To use this way, set this user option to one of the following values:
Set this user option to one of the following symbols:
- `standard' means use thumbnails sized 128x128.
- `standard-large' means use thumbnails sized 256x256.
- `standard-x-large' means use thumbnails sized 512x512.
- `standard-xx-large' means use thumbnails sized 1024x1024.
2. In the Image-Dired specific directory indicated by
2. In the Image-Dired specific directory, as indicated by
`image-dired-dir'.
To use this way, set this user option to `image-dired' (or
to `use-image-dired-dir', which means the same thing for
backward-compatibility reasons).
Set this user option to `image-dired' (`use-image-dired-dir'
also works, for backward-compatibility reasons).
3. In a subdirectory \".image-dired\" in the same directory
where the image files are.
as the image files.
To use this way, set this user option to `per-directory'.
Set this user option to `per-directory'.
To control the default size of thumbnails for alternatives (2)
and (3) above, customize the value of `image-dired-thumb-size'.

View File

@ -2782,10 +2782,9 @@ for which LSP on-type-formatting should be requested."
(cl-sort completions
#'string-lessp
:key (lambda (c)
(or (plist-get
(get-text-property 0 'eglot--lsp-item c)
:sortText)
"")))))
(plist-get
(get-text-property 0 'eglot--lsp-item c)
:sortText)))))
(metadata `(metadata (category . eglot)
(display-sort-function . ,sort-completions)))
resp items (cached-proxies :none)