summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAge
* Remove more mentions of the removed `M-o' facemenu bindingLars Ingebrigtsen2021-08-19
| | | | | | | | | | * doc/emacs/text.texi (Fill Commands, Fill Commands): Adjust `M-o' mentions. * etc/refcards/refcard.tex (section{Formatting}): * etc/refcards/pt-br-refcard.tex (section{Formatando}): * etc/refcards/fr-refcard.tex (section{Formater}): Remove mention of `M-o'.
* * lisp/mouse.el: More fixes for context-menu.Juri Linkov2021-08-18
| | | | | | (context-menu-map): Remove menu title "Context Menu" (bug#50067). (context-menu-minor): Reverse sub-menus to display exactly in the same order as on the menu bar.
* Improve documentation of last change.Eli Zaretskii2021-08-18
| | | | | | | * etc/NEWS: Mention the string value of 'auto-composition-mode'. * src/composite.c (syms_of_composite) <auto-composition-mode>: Doc fix.
* Add menu bindings to new functions in image-dired.elPeter Münster2021-08-18
| | | | | | | | | | | * lisp/image-dired.el (image-dired--with-marked): New macro for cycling over marked thumbnails. (image-dired-tag-thumbnail, image-dired-tag-thumbnail-remove): Can handle now also all marked thumbnails. (image-dired-tag-marked-thumbnails): Remove it, because it's obsoleted by `image-dired-tag-thumbnail' now. (image-dired-delete-marked): Use new macro `image-dired--with-marked', and add command to menu (bug#50000).
* ; * etc/NEWS (Icomplete): Fix typo and remove redundant wordJoão Távora2021-08-18
|
* ; * etc/NEWS: Fix wording of a recently added entry.Eli Zaretskii2021-08-17
|
* Merge branch 'feature/context-menu'Juri Linkov2021-08-17
|\
| * Improve :type of defcustom 'context-menu-functions' and add documentation.Juri Linkov2021-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/frames.texi (Menu Mouse Clicks): Describe context-menu-mode and context-menu-functions instead of suggesting global-set-key. (Menu Bars): Mention context-menu-mode and context-menu-functions. * etc/NEWS: Add context-menu-mode and context-menu-functions. * lisp/mouse.el (context-menu-functions): Use :type with repeat/function-item. (context-menu-minor, context-menu-undo, context-menu-region) (context-menu-ffap): Improve docstrings displayed for function-item in defcustom of context-menu-functions.
* | Make icomplete-vertical-mode take immediate effect (bug#49075)João Távora2021-08-16
| | | | | | | | | | | | | | | | * etc/NEWS: Mention change. * lisp/icomplete.el (icomplete-vertical-mode): (fido-vertical-mode): Tweak docstring. Turn on icomplete-mode. and fido-mdoe
* | Make overlays-in treat zero-length overlays at point-max consistentlyLars Ingebrigtsen2021-08-16
| | | | | | | | | | | | | | | | * doc/lispref/display.texi (Finding Overlays): Adjust documentation. * src/buffer.c (overlays_in): Treat the end of the buffer and the end of the narrowed-to buffer the same (bug#19422). (Foverlays_in): Adjust doc string.
* | Add new functions to replace strings/regexp in a regionLars Ingebrigtsen2021-08-16
| | | | | | | | | | | | | | | | * doc/lispref/searching.texi (Search and Replace): Document them. * lisp/subr.el (replace-string-in-region) (replace-regexp-in-region): New functions. * lisp/emacs-lisp/shortdoc.el (regexp, buffer): Mention them.
* | * lisp/simple.el (shift-select-mode): Add new choice 'permanent' (bug#50038).Juri Linkov2021-08-15
| | | | | | | | (handle-shift-selection): Handle new choice 'permanent'.
* | Revert "Bind the GIT_LITERAL_PATHSPECS environment variable"Dmitry Gutov2021-08-15
| | | | | | | | | | | | | | This reverts commit a2d0ff26005c5c10ffe0d84bd8b458a06828be82. It was found to break a certain use case, and we decided to go with the other solution (bug#39452).
* | Add new functions for lax mail address splittingLars Ingebrigtsen2021-08-14
| | | | | | | | | | | | * lisp/emacs-lisp/subr-x.el (string-clean-whitespace): Autoload. * lisp/mail/mail-parse.el (mail-header-parse-addresses-lax) (mail-header-parse-address-lax): New functions.
* | Fix merging of ambiguous nil mapsBasil L. Contovounesios2021-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/map.el: Bump version to 3.1. (map--merge): New merging subroutine that uses a hash table in place of lists, for both efficiency and avoiding ambiguities (bug#49848). (map-merge): Rewrite in terms of map--merge. (map-merge-with): Ditto. This ensures that FUNCTION is called whenever two keys are merged, even if they are not eql (which could happen until now). It also makes map-merge-with consistent with map-merge, thus achieving greater overall predictability. * etc/NEWS: Announce this weakening of guarantees. * test/lisp/emacs-lisp/map-tests.el (test-map-merge) (test-map-merge-with): Don't depend on specific orderings. Test that nil is correctly merged into a plist.
* | Add font-lock-doc-markup-face (bug#50041)Mattias Engdegård2021-08-14
| | | | | | | | | | | | | | | | | | | | | | This face is intended for mark-up syntax and constructs inside text using font-lock-doc-face; ie, documentation comments and strings in programming modes. * lisp/font-lock.el (font-lock-doc-markup-face): New face. * lisp/cus-theme.el (custom-theme--listed-faces): Add it to the list. * doc/lispref/modes.texi (Faces for Font Lock): Document it. * etc/NEWS: Mention it.
* | ; * etc/NEWS: Improve wording of a recent addition.Eli Zaretskii2021-08-14
| |
* | Add new face diff-changed-unspecifiedLars Ingebrigtsen2021-08-13
| | | | | | | | | | * lisp/vc/diff-mode.el (diff-changed-unspecified): New face. (diff-font-lock-keywords): Use it (bug#26969).
* | Add save-some-buffers-root to save-some-buffers-default-predicate (bug#46374)Juri Linkov2021-08-13
| | | | | | | | | | | | | | | | | | | | * lisp/files.el (save-some-buffers-default-predicate): Add choice 'save-some-buffers-root'. (save-some-buffers-root): New predicate function. (save-some-buffers): Check if 'pred' returns a lexically-bound lambda, then use it as 'pred'. Thanks to Tino Calancha <tino.calancha@gmail.com>
* | Change the `region' face in the Wombat themeLars Ingebrigtsen2021-08-12
| | | | | | | | | | * etc/themes/wombat-theme.el (class): Don't use a foreground in the `region' face because it obscures syntax highlighting (bug#32143).
* | Add a `pcase-setq' macroEarl Hyatt2021-08-11
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/control.texi (Destructuring with pcase Patterns): Document this macro. * lisp/emacs-lisp/pcase.el (pcase-setq): New macro. This macro is the 'setq' equivalent of 'pcase-let'. * test/lisp/emacs-lisp/pcase-tests.el (pcase-setq): Test this new macro. (bug#49809).
* | Add new image-dired commandsPeter Münster2021-08-11
| | | | | | | | | | | | | | | | * lisp/image-dired.el (image-dired-delete-marked): Factored out (bug#50000). (image-dired-display-thumbs): From here. (image-dired-tag-marked-thumbnails): New command. (image-dired-delete-marked): Ditto.
* | Drop redundant keywords in .desktop files.Peter Oliver2021-08-11
| | | | | | | | | | | | | | | | | | The Freedesktop.org Desktop Entry spec says, “The values [of Keywords]… should not be redundant with the values of Name or GenericName”. * etc/emacs.desktop, etc/emacsclient.desktop (Keywords): Remove keywords that are duplicated from the GenericName field.
* | Hint that emacsclient.desktop should match a search for “emacsclient”Peter Oliver2021-08-11
| | | | | | | | | | | | | | | | This is necessary to get the Gnome desktop to show “Emacs (Client)” when the user searches for “emacsclient”. * etc/emacsclient.desktop, emacsclient-mail.desktop (Keywords): Add “emacsclient”.
* | Valid quoting in .desktop filesPeter Oliver2021-08-11
| | | | | | | | | | | | * etc/emacsclient.desktop, emacsclient-mail.desktop (Exec): Quote according to the rules in the Freedesktop.org Desktop Entry Specification.
* | Mark marked images in Image-Dired modePeter Münster2021-08-11
| | | | | | | | | | | | | | | | * lisp/image-dired.el (image-dired-thumb-update-marks): New function that makes the marks visible in the thumbnail buffer (bug#49988). (image-dired-thumb-margin, image-dired-thumb-mark-color): New user options.
* | Let image-dired-mouse-toggle-mark act on active regionPeter Münster2021-08-11
| | | | | | | | | | | | * lisp/image-dired.el (image-dired-mouse-toggle-mark): When region is active, then toggle marks of all images within (bug#49987). (image-dired-mouse-toggle-mark-1): Separated out into function.
* | Use ### for outline headings in shell-script-modeLars Ingebrigtsen2021-08-10
| | | | | | | | | | * lisp/progmodes/sh-script.el (sh-mode): Use ### for outline headings. This aligns it more with emacs-lisp-mode headings.
* | Add support for outlining in shell-script-modeLars Ingebrigtsen2021-08-10
| | | | | | | | * lisp/progmodes/sh-script.el (sh-mode): Set outline-regexp (bug#49346).
* | Add new user option `gnus-topic-prepare-topic'Lars Ingebrigtsen2021-08-10
| | | | | | | | | | | | * doc/misc/gnus.texi (Topic Variables): Document it. * lisp/gnus/gnus-topic.el (gnus-topic-prepare-topic): New user option. (gnus-topic-prepare-topic): Use it.
* | Add a new command `revert-buffer-quick'Lars Ingebrigtsen2021-08-10
| | | | | | | | | | | | | | | | | | * doc/emacs/files.texi (Reverting): Document it. * lisp/bindings.el (ctl-x-x-map): Bind `C-x x g' to `revert-buffer-quick' instead. * lisp/files.el (revert-buffer-quick-short-answers): New user option. (revert-buffer-quick): New command (bug#49869).
* | Doc update wrt Tramp support of SSH security keysMichael Albinus2021-08-08
| | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Frequently Asked Questions): Speak about SSH security keys. (GVFS-based methods, Predefined connection information) (Remote shell setup): Fix typo. * etc/NEWS: Precise Tramp's support for SSH security keys. Fix typos.
* | Improve wording of recently changed documentationEli Zaretskii2021-08-06
| | | | | | | | | | | | | | | | | | * src/minibuf.c (syms_of_minibuf): * lisp/minibuffer.el (minibuffer-restore-windows): * lisp/progmodes/etags.el (etags-xref-prefer-current-file): Improve wording of doc strings. * etc/NEWS: Improve wording and format of recently added entries.
* | Change how project-find-file's completion worksDmitry Gutov2021-08-06
| | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project--completing-read-strict): Allow to choose a non-existent file, with confirmation (bug#49204). Don't use the string at point as a "real" default, and instead only include it in "future history": meaning, it will be inserted on 'M-n' (bug#49865).
* | New option etags-xref-prefer-current-fileDmitry Gutov2021-08-06
| | | | | | | | | | | | * lisp/progmodes/etags.el (etags-xref-prefer-current-file): New user option (bug#2544). (xref-backend-definitions): Use it.
* | Add function minibuffer-restore-windows (bug#45072)Juri Linkov2021-08-06
| | | | | | | | | | | | | | * lisp/minibuffer.el (minibuffer-restore-windows): New function that removes the completions buffer. Add it to minibuffer-exit-hook. * src/minibuf.c (read-minibuffer-restore-windows): Mention minibuffer-restore-windows.
* | Fix M-n description in refcardsLars Ingebrigtsen2021-08-05
| | | | | | | | | | | | | | | | * etc/refcards/pl-refcard.tex (section{Szukanie przyrostowe}): Ditto (in comments). * etc/refcards/refcard.tex (section{Incremental Search}): Fix M-n description (bug#49872).
* | ; Fix oauth typos in last change.Basil L. Contovounesios2021-08-05
| |
* | Add support for the oauth2.el library in nnimap and smtpmailRoland Winkler2021-08-05
| | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Customizing the IMAP Connection): * doc/misc/smtpmail.texi (Authentication): Mention it. * lisp/gnus/nnimap.el (nnimap-login): Support oauth2. * lisp/mail/smtpmail.el (smtpmail-try-auth-method): New function for oauth2.
* | Add a new thing-at-point type: existing-filenameLars Ingebrigtsen2021-08-04
| | | | | | | | | | | | | | * doc/lispref/text.texi (Buffer Contents): Mention it. * lisp/thingatpt.el (thing-at-point-file-at-point): New function. (existing-filename): Register it.
* | Add new user option 'read-minibuffer-restore-windows'martin rudalics2021-08-04
| | | | | | | | | | | | | | | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document it (bug#45072). * lisp/cus-start.el (standard): Add. * src/minibuf.c (syms_of_minibuf): New variable 'read-minibuffer-restore-windows'.
* | * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Don't emit warningStefan Monnier2021-08-03
| | | | | | | | Also remove "WARNING" annotations after confirming that he code was right.
* | Evaluate eql specializersakater2021-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers): Evaluate forms that are eql specializers. Provide backward compatibility with a warning. * test/lisp/emacs-lisp/cl-generic-tests.el: Add a test. * lisp/emacs-lisp/bindat.el (bindat--type): Adhere to the new rule. * lisp/emacs-lisp/edebug.el (edebug--match-&-spec-op): Adhere to the new rule. * lisp/emacs-lisp/map.el (map-into): Adhere to the new rule. * lisp/emacs-lisp/radix-tree.el (map-into): Adhere to the new rule. * lisp/frame.el (cl-generic-define-context-rewriter): Adhere to the new rule. * lisp/gnus/gnus-search.el (gnus-search-transform-expression): Adhere to the new rule. * lisp/image/image-converter.el (image-converter--probe image-converter--convert): Adhere to the new rule. * lisp/mail/smtpmail.el (smtpmail-try-auth-method): Adhere to the new rule. * lisp/progmodes/elisp-mode.el (xref-backend-definitions) (xref-backend-apropos): Adhere to the new rule. * lisp/progmodes/etags.el (xref-backend-identifier-at-point) (xref-backend-identifier-completion-table) (xref-backend-identifier-completion-ignore-case) (xref-backend-definitions)(xref-backend-apropos): Adhere to the new rule. * test/lisp/emacs-lisp/checkdoc-tests.el (checkdoc-cl-defmethod-with-types-ok) (checkdoc-cl-defmethod-qualified-ok) (checkdoc-cl-defmethod-with-extra-qualifier-ok): Adhere to the new rule. * etc/NEWS: Describe the change.
* | Make `global-so-long-mode' use `buffer-line-statistics'Phil Sainty2021-08-03
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/so-long.el: (so-long-statistics-excessive-p): New predicate function using `buffer-line-statistics'. (so-long-predicate): Use `so-long-statistics-excessive-p' by default. * etc/NEWS: Describe changes. * test/lisp/so-long-tests/so-long-tests-helpers.el: * test/lisp/so-long-tests/so-long-tests.el: Update tests. Also improve the existing `so-long-tests-predicate' tests.
* | Support 'preserved' variables and minor modes in `so-long-mode'Phil Sainty2021-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default values support preserving the state of `view-mode' when switching to (and reverting from) `so-long-mode' (bug#45084). * lisp/so-long.el (so-long-mode-preserved-variables) (so-long-mode-preserved-minor-modes): New user options. (so-long-mode-maintain-preserved-variables) (so-long-mode-maintain-preserved-minor-modes): New functions. (so-long-remember-all, so-long-after-change-major-mode) (so-long-mode-revert): Use them. * etc/NEWS: Describe changes. * test/lisp/so-long-tests/so-long-tests-helpers.el: * test/lisp/so-long-tests/so-long-tests.el: Update tests.
* | Make `global-so-long-mode' handle unrecognised file typesPhil Sainty2021-08-03
| | | | | | | | | | | | | | | | | | | | | | * lisp/so-long.el (so-long-target-modes): Add `fundamental-mode' * etc/NEWS: Describe changes. This doesn't affect buffers which are simply in `fundamental-mode' by default. It only affects buffers for which `set-auto-mode' has been called (normally via `find-file') without establishing a different major mode.
* | Increase `so-long-threshold' and `so-long-max-lines' defaultsPhil Sainty2021-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/so-long.el (so-long-threshold, so-long-max-lines): Increase default values to reduce false-positives. * etc/NEWS: Describe changes. Lines shorter than 10,000 characters shouldn't generally be causing problems, so testing this explicitly will largely eliminate false-positives. We must also increase the maximum number of lines to check, because 'minified' code may still include newlines, and so there may be many lines shorter than the new threshold before we find a line which exceeds it. Previously we used a minimum-effort heuristic, testing a very small number of lines against a maximum length which, while not remotely long enough to cause problems, would nevertheless be uncommon in any normal file of programming code (and hence indicative that the file was likely to be minified code). Testing indicates that the performance penalty for the larger values should be negligible.
* | Indicate selected occur target with fringe arrowMattias Engdegård2021-08-01
| | | | | | | | | | | | | | | | * lisp/replace.el (occur--set-arrow): New function. (occur-mode-goto-occurrence) (occur-mode-goto-occurrence-other-window) (occur-mode-display-occurrence): Call it. * etc/NEWS: Announce.
* | * lisp/filecache.el: Fix cycling (bug#49761).Juri Linkov2021-08-01
| | | | | | | | | | | | | | | | | | | | (file-cache-cycle): Refactor from file-cache-minibuffer-complete. (file-cache-minibuffer-complete): Use file-cache-cycle in 2 old places, and in 1 following new place. When last-command is equal to this-command, use file-cache-cycle to continue cycling the previous completion as long as the user continues typing C-TAB. Also when displaying a list of completions, don't try to move point to the common prefix.
* | * etc/NEWS: Mention occur-mode highlight changes.Mattias Engdegård2021-07-31
| |