aboutsummaryrefslogtreecommitdiffstats
path: root/etc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a Gnus command to emojize symbolsLars Ingebrigtsen2021-11-041-0/+12
| | | | | | | | * doc/misc/gnus.texi (Article Display): Document it. * lisp/gnus/gnus-art.el (gnus-treat-emojize-symbols): New user option. (gnus-treatment-function-alist): Map. (article-emojize-symbols): New command and keystroke.
* Add new user option mml-attach-file-at-the-endLars Ingebrigtsen2021-11-041-0/+7
| | | | | * lisp/gnus/mml.el (mml-attach-file-at-the-end): New user option. (mml-attach-file): Use it.
* Make image-dired-display-image-mode inherit from image-modeStefan Kangas2021-11-041-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/image-dired.el (image-dired-display-image-mode): Inherit from 'image-mode'. (Bug#10758) (image-dired-display-image): Don't generate a temporary image, which is no longer needed with the above change. (image-dired-display-thumbnail-original-image) (image-dired-dired-display-image) (image-dired-mouse-display-image): Simplify. (image-dired-temp-image-file) (image-dired-cmd-create-temp-image-program) (image-dired-cmd-create-temp-image-options) (image-dired-display-window-width-correction) (image-dired-display-window-height-correction) (image-dired-display-window-width) (image-dired-display-window-height) (image-dired-display-current-image-full) (image-dired-display-current-image-sized) (image-dired-window-height-pixels): Make obsolete. (image-dired-create-display-image-buffer): Make into obsolete function alias for 'ignore'. (image-dired-display-image-mode-map): Simplify by removing things duplicated from `image-mode-map'. Disable some commands from `image-mode-map' that doesn't make sense for Image-Dired. (image-dired-display-image-mode-menu): Remove menu, as it no longer contains anything useful. (image-dired-minor-mode): * doc/emacs/dired.texi (Image-Dired): Update documentation for the above change.
* Improve theming of image-dired-thumb-markStefan Kangas2021-11-036-1/+8
| | | | | | | | | | * etc/themes/adwaita-theme.el (adwaita): * etc/themes/deeper-blue-theme.el (deeper-blue): * etc/themes/dichromacy-theme.el (dichromacy): * etc/themes/leuven-theme.el (leuven): * etc/themes/manoj-dark-theme.el (manoj-dark): * etc/themes/whiteboard-theme.el (whiteboard): Add definitions for the 'image-dired-thumb-flagged' face.
* image-dired: Add face for flagged filesStefan Kangas2021-11-031-0/+6
| | | | | | | | | | | | * lisp/image-dired.el (image-dired-thumb-mark): New defface. (image-dired-thumb-update-marks): Mark flagged file with above new defface. (image-dired-dired-file-marked-p) (image-dired-thumb-file-marked-p): Add optional argument to be used by 'image-dired-*-flagged-p' functions below. (image-dired-dired-file-flagged-p) (image-dired-thumb-file-flagged-p): New defuns. (image-dired-thumb-mark): Improve definition with color classes. (image-dired-thumb-visible-marks): Doc fix.
* Merge from origin/emacs-28Eli Zaretskii2021-11-031-12/+17
|\ | | | | | | | | | | | | | | | | | | 3e4eb54 ; * etc/PROBLEMS: Minor copyedits of the last change. (Bug#5... 35bc211 Document a macOS error message when opening Emacs 4df9998 Fix header-line and tab-line when mode-line-compact is set 81915a9 Add manual section about how to avoid regexp problems a16e66c Clarify build environment 6ab6b2f Clarify build directory structure 9d61620 * src/pdumper.c (dump_do_dump_relocation): Add sanity check.
| * ; * etc/PROBLEMS: Minor copyedits of the last change. (Bug#51571)Eli Zaretskii2021-11-031-4/+6
| |
| * Document a macOS error message when opening EmacsDaniel Martín2021-11-031-0/+15
| | | | | | | | | | * etc/PROBLEMS: Document a potential error message when opening Emacs on macOS for the first time.
| * Add manual section about how to avoid regexp problemsMattias Engdegård2021-11-031-12/+0
| | | | | | | | | | | | | | | | | | | | | | Help users affected by our NFA engine's stack overflows and occasional poor performance, replacing old text that was more limited in scope. * doc/lispref/elisp.texi (Top): * doc/lispref/searching.texi (Regular Expressions): Add menu entries. (Regexp Problems): New node. (Regexp Special): * etc/PROBLEMS: Remove superseded text.
* | Improve theming of image-dired-thumb-markStefan Kangas2021-11-036-0/+8
| | | | | | | | | | | | | | | | | | | | * etc/themes/adwaita-theme.el (adwaita): * etc/themes/deeper-blue-theme.el (deeper-blue): * etc/themes/dichromacy-theme.el (dichromacy): * etc/themes/leuven-theme.el (leuven): * etc/themes/manoj-dark-theme.el (manoj-dark): * etc/themes/whiteboard-theme.el (whiteboard): Add definitions for the 'image-dired-thumb-mark' face.
* | image-dired: Improve marking behaviorStefan Kangas2021-11-031-2/+2
| | | | | | | | | | | | | | | | | | | | * lisp/image-dired.el (image-dired-thumb-mark): Use DarkOrange as background to better match the 'dired-marked' face. (image-dired-show-all-from-dir): Disable all marks when entering a full directory. (image-dired-unmark-all-marks): Add mode tag. (image-dired-thumbnail-mode-map): Bind 'image-dired-unmark-all-marks' to "U".
* | * etc/PROBLEMS: Move some entries to the legacy section.Stefan Kangas2021-11-021-44/+48
| |
* | Remove info for Emacs 20 users from etc/PROBLEMSStefan Kangas2021-11-021-8/+0
| | | | | | | | | | * etc/PROBLEMS: Remove information for users upgrading from Emacs 20 or older.
* | Use current face foreground for SVG icons in customizeStefan Kangas2021-11-024-4/+4
| | | | | | | | | | | | | | | | * etc/images/down.svg: * etc/images/left.svg: * etc/images/right.svg: * etc/images/up.svg: Don't define foreground; this means they will use the foreground of the currently defined face instead. (Bug#51556)
* | Support inserting images in tabulated-list-mode columnsStefan Kangas2021-11-021-0/+8
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-col): Support using an image descriptor to insert an image in a column. (tabulated-list-entries): * doc/lispref/modes.texi (Tabulated List Mode): Update documentation to reflect above change.
* | Improve documentation of 'file-has-changed-p'Eli Zaretskii2021-11-011-2/+2
| | | | | | | | | | | | * etc/NEWS: * doc/lispref/files.texi (File Attributes): Improve wording of the documentation of 'file-has-changed-p'.
* | Don't output prefix keys in `C-h b', and output more data on objectsLars Ingebrigtsen2021-11-011-0/+6
| | | | | | | | | | | | * lisp/help.el (help--describe-command): Output [closure/lambda/byte-code] for those types of objects. (describe-map): Don't output prefix keys.
* | Tag up last NEWS changeLars Ingebrigtsen2021-11-011-0/+1
| |
* | Read mailcaps again only when necessaryGregory Heytings2021-11-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/files.texi (File Attributes): Document it. * lisp/files.el (file-has-changed-p): New function. (file-has-changed-p--hash-table): Internal variable used by the new function (bug#51523). * lisp/emacs-lisp/shortdoc.el (file): Mention it. * lisp/net/mailcap.el (mailcap-parse-mailcaps): Read mailcaps again only when at least one of the mailcap files has changed. Fixes bug#51523.
* | Add buttons to outlining and tweak `C-h b' bufferLars Ingebrigtsen2021-10-311-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/help.el (describe-bindings-outline): Change default to t. (describe-bindings): Tweak the look and remove the explanation. * lisp/outline.el (outline-minor-mode-use-buttons): (outline-minor-mode-buttons): New user options. (outline-hide-subtree): Update buttons. (outline--make-button, outline--make-button-overlay) (outline--insert-open-button, outline--insert-close-button) (outline--fix-up-all-buttons): New functions.
* | Add 'n'/'p' key bindings in *Help* buffersLars Ingebrigtsen2021-10-311-0/+4
| | | | | | | | | | | | * lisp/help-mode.el (help-goto-previous-page): New command and key binding. (help-goto-previous-page): Ditto.
* | Add new function 'font-has-char-p'Lars Ingebrigtsen2021-10-311-0/+5
| | | | | | | | | | * src/font.c (Ffont_has_char_p): New function. (Ffont_get_glyphs): Link to the new function from the doc string.
* | eieio-core.el: Make slot-value work on defstructsStefan Monnier2021-10-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust the values in EIEIO's index-tables so they are compatible with those of defstructs. * lisp/emacs-lisp/eieio-core.el (eieio--slot-name-index): Don't add the `eieio--object-num-slots` offset. (eieio-defclass-internal): Add the `eieio--object-num-slots` offset here instead. (eieio-oref): Allow its use on `cl-structure-object`. * lisp/emacs-lisp/eieio.el (eieio-pcase-slot-index-from-index-table): Don't need to add the `eieio--object-num-slots` offset. * doc/misc/eieio.texi (Accessing Slots, Accessing Slots): Mention the use on structs. * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el (eieio-test-defstruct-slot-value): New test.
* | Add new function string-glyph-splitLars Ingebrigtsen2021-10-301-0/+6
| | | | | | | | | | | | | | * doc/lispref/strings.texi (Creating Strings): Document it. * lisp/emacs-lisp/shortdoc.el (string): Mention it. * lisp/emacs-lisp/subr-x.el (string-glyph-split): New function.
* | Minor fixes for previous changeEli Zaretskii2021-10-301-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | * src/w32fns.c (DWMWA_USE_IMMERSIVE_DARK_MODE_OLD): Define only if undefined. (w32_applytheme, w32_createwindow, globals_of_w32fns): Minor stylistic copyedits. * etc/NEWS: Reword the entry about using dark mode on MS-Windows. * doc/emacs/msdos.texi (Windows Misc): Fix wording and markup in the last change.
* | Support system dark mode on Windows 10 version 1809 and higherVince Salvino2021-10-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32fns.c (DARK_MODE_APP_NAME) (DWMWA_USE_IMMERSIVE_DARK_MODE_OLD) (DWMWA_USE_IMMERSIVE_DARK_MODE): Define. (w32_applytheme): New function. (w32_createvscrollbar, w32_createhscrollbar, w32_createwindow): Call 'w32_applytheme'. (globals_of_w32fns): Load 'DwmSetWindowAttribute' and 'SetWindowTheme' from their DLLs, and initialize 'w32_darkmode'. * src/w32.c (w32_get_resource): Accept an additional argument instead of hard-coding REG_ROOT; callers changed. (Bug#51404) * etc/NEWS: * doc/emacs/msdos.texi (Windows Misc): Document the new feature.
* | Merge from origin/emacs-28Glenn Morris2021-10-291-1/+1
|\ \ | |/ | | | | | | | | | | | | 08de838531 ; Improve commentary in the last change 3da9fa875b Make hieroglyphs display correctly with existing fonts 928e05f2d6 Clarify "default face attributes" in the ELisp manual 5dbb04e0eb Make `C-u RET' work again d72fefdeab Fix typos in the manual and in a comment
| * Make hieroglyphs display correctly with existing fontsGregory Heytings2021-10-291-1/+1
| | | | | | | | | | | | | | * etc/HELLO: Remove hieroglyph format control characters. * lisp/language/misc-lang.el: Add a rule to compose Egyptian hieroglyphs even without Unicode format control characters.
| * Be more allowing when looking for menu-bar itemsStefan Kangas2021-10-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Don't merge to master. This is a safe-for-release fix for Bug#50752. * src/keymap.c (lookup_key_1): Factor out function from Flookup_key. (Flookup_key): Be case insensitive when looking for Qmenu_bar items. (Bug#50752) * test/src/keymap-tests.el (keymap-lookup-key/mixed-case) (keymap-lookup-key/mixed-case-multibyte): New tests.
* | Merge from origin/emacs-28Glenn Morris2021-10-291-10/+12
|\ \ | |/ | | | | | | | | | | | | | | 7e2b973d60 * lisp/textmodes/text-mode.el (text-mode-context-menu): Re... da6d889e90 ; * etc/NEWS: Use active voice for 'repeat-mode', etc. e3171e7e86 Allow automatic use of color fonts for emoji on macOS # Conflicts: # etc/NEWS
| * ; * etc/NEWS: Use active voice for 'repeat-mode', etc.Juri Linkov2021-10-271-10/+12
| |
* | Be more allowing when looking for menu-bar itemsStefan Kangas2021-10-281-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/keymap.c (lookup_key_1): Factor out function from Flookup_key. (Flookup_key): Be case insensitive, and treat spaces as dashes, when looking for Qmenu_bar items. (Bug#50752) * test/src/keymap-tests.el (keymap-lookup-key/mixed-case) (keymap-lookup-key/mixed-case-multibyte) (keymap-lookup-keymap/with-spaces) (keymap-lookup-keymap/with-spaces-multibyte) (keymap-lookup-keymap/with-spaces-multibyte-lang-env): New tests.
* | Make comint-term-environment connection-aware (bug#51426)Jim Porter2021-10-281-0/+8
| | | | | | | | | | | | | | | | | | * lisp/comint.el (comint-term-environment): Make it connection-aware. * doc/emacs/misc.texi (Shell Options): Document the above change, and explain how this interacts with 'system-uses-terminfo'. * etc/NEWS: Announce the above change.
* | image-dired: Make thumbnail rotation commands obsoleteStefan Kangas2021-10-281-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/image-dired.el (image-dired-cmd-rotate-thumbnail-program) (image-dired-cmd-rotate-thumbnail-options) (image-dired-rotate-thumbnail) (image-dired-rotate-thumbnail-left) (image-dired-rotate-thumbnail-right): Make obsolete in favor of 'image-dired-refresh-thumb' and 'image-rotate'. It makes no sense to have destructive thumbnail rotation commands now that Emacs can rotate thumbnails in memory, and it is very fast to just generate a new one reflecting the rotation of the original. (image-dired-thumbnail-mode-map): Remove menu entries and key bindings for above obsolete commands. The rotate right keybinding had already been made ineffective by the local keymap added by 'insert-image'.
* | Increase image-dired-show-all-from-dir-max-files to 500Stefan Kangas2021-10-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/image-dired.el (image-dired-show-all-from-dir-max-files): Increase default to 500 to ask for confirmation much less frequently. The old value was added before we had asynchronous generation of thumbnails, when a large number of files would lock up Emacs. Asking for confirmation could probably be disabled completely these days, but let's be conservative and set it to some large number of files for which some users might want to see a prompt. It can't hurt. (image-dired-show-all-from-dir): Never warn if above variable is nil. (image-dired-bookmark-jump): Let-bind above variable to nil instead of 'most-positive-fixnum'. * doc/emacs/dired.texi (Image-Dired): Don't mention the above variable, as it is no longer important enough to deserve the space. * etc/NEWS: Announce the above change.
* | Merge from origin/emacs-28Glenn Morris2021-10-271-27/+20
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2bdd5732aa (origin/emacs-28) ; * etc/NEWS: Fix last change. 492b927909 Fix help commands for menu-bar menus 9589be772d ; * etc/NEWS: Fix typos. d353fc4a00 ; Explain why "kinds of atom" isn't a typo 47a3750162 ; * etc/NEWS: Improve wording of the Emoji entry. b814712796 ; Checkdoc fixes in image-dired.el e45b3fc521 Improve function documentation with text from XDG BDS spec 284c77eeb6 * lisp/transient.el: Update to package version 0.3.7. 40400e6977 ; Revert parts of "Use string-replace instead of replace-r... 214c2e268c ; Revert parts of "Use string-search instead of string-mat... # Conflicts: # etc/NEWS
| * ; * etc/NEWS: Fix last change.Eli Zaretskii2021-10-271-3/+0
| |
| * ; * etc/NEWS: Fix typos.Michael Albinus2021-10-271-3/+3
| |
| * ; * etc/NEWS: Improve wording of the Emoji entry.Eli Zaretskii2021-10-271-26/+22
| |
* | Add new function 'string-pixel-width'Lars Ingebrigtsen2021-10-271-0/+6
| | | | | | | | | | | | | | * doc/lispref/display.texi (Size of Displayed Text): Mention it. * lisp/emacs-lisp/shortdoc.el (string): Mention it. * lisp/emacs-lisp/subr-x.el (string-pixel-width): New function.
* | image-dired: Add support for bookmark.elStefan Kangas2021-10-271-0/+6
| | | | | | | | | | | | | | * lisp/image-dired.el (image-dired-thumbnail-mode): Add bookmark.el support. (bookmark-make-record-default, bookmark-prop-get): Declare. (image-dired-bookmark-name, image-dired-bookmark-make-record) (image-dired-bookmark-jump): New defuns.
* | Add new function image-at-point-pStefan Kangas2021-10-271-0/+5
| | | | | | | | | | * lisp/image.el (image-at-point-p): New defun. * doc/lispref/display.texi (Showing Images): Document above new defun.
* | Rename `xref-pop-marker-stack` to `xref-go-back` (bug#38797)Mattias Engdegård2021-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is the natural name after the addition of `xref-go-forward`. The old name is retained as an alias. * lisp/progmodes/xref.el (xref-pop-marker-stack): Rename. (xref-go-forward, xref-quit-and-pop-marker-stack) (xref-find-definitions): * lisp/menu-bar.el (menu-bar-goto-menu): * lisp/progmodes/etags.el (find-tag-marker-ring, pop-tag-mark): * lisp/progmodes/prog-mode.el (prog-context-menu): * doc/emacs/maintaining.texi (Looking Up Identifiers): * etc/NEWS: Use the new name.
* | Merge from origin/emacs-28Glenn Morris2021-10-251-0/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | a2c17e115e (origin/emacs-28) Merge branch 'emacs-28' of git.savannah.... fde56eeb76 Revert "Fix a typo in emacs-lisp-intro.texi" 4779d3ba19 * doc/lispref/functions.texi (Mapping Functions): Use #' w... 85ea3f7f47 Fix issue with interpreting ANSI codes in eshell 50f9436146 image-dired: Doc fix to better explain thumbnail generation bb475e10b9 Clarify two image-dired docstrings f5b4bb4a6f Fix flymake example backend conditions in the manual 0771d8939a * etc/PROBLEMS: Mention problems with regexp matcher. (Bu... ee579033b9 * test/lisp/repeat-tests.el: New file. 7385a7667f * lisp/tab-bar.el (tab-bar-move-repeat-map): Fix alias bin... 56caf1c9b8 Use restrictive umask when creating image-dired data 3b5de7f991 ; lisp/transient.el: Revert some misguided stylistic fixes.
| * * etc/PROBLEMS: Mention problems with regexp matcher. (Bug#18577)Stefan Kangas2021-10-241-0/+12
| |
* | Add xref forward history (bug#38797)Mattias Engdegård2021-10-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to go forward as well as back in the Xref history. The new `xref-go-forward` is bound to `C-M-,`. * lisp/progmodes/etags.el (find-tag-marker-ring-length): Update. (tags-location-ring-length): New. (find-tag-marker-ring): Keep as dummy. (tags-location-ring, tags-reset-tags-tables): Use `tags-location-ring-length` instead of `xref-marker-ring-length`. * lisp/progmodes/xref.el (xref-marker-ring-length, xref-marker-ring) (xref-set-marker-ring-length): Make obsolete. (xref--history, xref-go-forward, xref-forward-history-empty-p): New. (xref-push-marker-stack, xref-pop-marker-stack) (xref-clear-marker-stack, xref-marker-stack-empty-p): Use `xref--history`. * lisp/menu-bar.el (menu-bar-goto-menu): Add Forward entry. * doc/emacs/maintaining.texi (Looking Up Identifiers): Document. * etc/NEWS: Announce.
* | Allow 'display-buffer' to set up body size of chosen window (Bug#17065)Martin Rudalics2021-10-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/windows.texi (Buffer Display Action Alists): Describe new possible values for 'window-height', 'window-width' and 'window-size' action alist entries. * lisp/window.el (window--display-buffer): Handle new values for 'window-height', 'window-width' and 'window-size' ALIST entries. (display-buffer): Update doc-string for new values of some action alist entries. * etc/NEWS: Mention new values of some action alist entries.
* | New function xdg-state-homeStefan Kangas2021-10-251-0/+8
| | | | | | | | | | | | * lisp/xdg.el (xdg-state-home): New function. This returns $XDG_STATE_HOME according to the XDG Base Directory Specification version 0.8 (08th May 2021).
* | image-dired: Add support for GraphicsMagickStefan Kangas2021-10-251-0/+5
| | | | | | | | | | | | | | | | | | | | * lisp/image-dired.el (image-dired-cmd-create-thumbnail-program) (image-dired-cmd-create-thumbnail-options) (image-dired-cmd-create-temp-image-program) (image-dired-cmd-create-temp-image-options) (image-dired-cmd-rotate-thumbnail-program) (image-dired-cmd-rotate-thumbnail-options): Add support for the GraphicsMagick command line tool ("gm convert", "gm mogrify").
* | Support new Thumbnail Managing Standard sizes in image-diredStefan Kangas2021-10-251-0/+7
| | | | | | | | | | | | | | | | | | | | * lisp/image-dired.el (image-dired--thumbnail-managing-standard-sizes): New defconst. (image-dired-thumbnail-storage) (image-dired-thumb-name, image-dired-insert-thumbnail) (image-dired-thumb-size, image-dired-create-thumb-1): Support larger thumbnail sizes mandated by new version of the Thumbnail Managing Standard (December 2020, Version 0.9.0).