aboutsummaryrefslogtreecommitdiffstats
path: root/etc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the 'M-o' ('facemap-keymap') binding experimentallyLars Ingebrigtsen2021-02-102-0/+25
| | | | | | | | | | | | | | * doc/lispref/maps.texi (Standard Keymaps): * doc/lispref/keymaps.texi (Prefix Keys): Remove mentions. * etc/facemenu-removal.txt: New temporary file. * lisp/loadup.el: Don't load facemenu.el. (removed-facemenu-command): New command. (facemenu-keymap-restore): New function. * lisp/textmodes/text-mode.el (center-paragraph): Remove binding. (center-line): Remove binding.
* Update NEWS entry for vc-dir facesProtesilaos Stavrou2021-02-101-2/+3
| | | | | | | * NEWS: Remove reference to specific backend, as it now applies to all of them. Update name of 'vc-dir-status-ignored'. This follows from the discussion in bug#46358.
* New options read-char-by-name-sort and read-char-by-name-group (bug#46240)Juri Linkov2021-02-091-0/+8
| | | | | | | * lisp/international/mule-cmds.el (mule--ucs-names-sort-by-code) (mule--ucs-names-group): New functions. (read-char-by-name-sort, read-char-by-name-group): New defcustoms. (read-char-by-name): Use them.
* Load all generic-x.el modes unconditionallyStefan Kangas2021-02-091-0/+5
| | | | | | | | * lisp/generic-x.el: Load all modes unconditionally. (generic-default-modes, generic-mswindows-modes) (generic-unix-modes, generic-other-modes) (generic-extras-enable-list): Make obsolete. Ref: https://lists.gnu.org/r/emacs-devel/2021-01/msg01403.html
* Note that the `values' variable is now obsoleteLars Ingebrigtsen2021-02-091-0/+2
| | | | | | | * src/lread.c (syms_of_lread): Note that it's obsolete in the doc string (because we can't mark it as obsolete "properly" yet, because that leads to compilation warnings when somebody (let (values) ... values).
* ; Finish customize-changed-options obsoletionBasil L. Contovounesios2021-02-091-1/+1
|
* Make pcomplete-ignore-case obsoleteLars Ingebrigtsen2021-02-091-0/+2
| | | | | | | | | | | * lisp/pcomplete.el (pcomplete-completions-at-point) (pcomplete-stub, pcomplete--entries, pcomplete-insert-entry): * lisp/eshell/em-cmpl.el (eshell-cmpl-initialize): * lisp/eshell/em-cmpl.el (eshell-cmpl-ignore-case): * lisp/erc/erc-pcomplete.el (pcomplete-erc-setup): Use `completion-ignore-case' instead (bug#23117). * lisp/pcomplete.el (pcomplete-ignore-case): Make obsolete.
* ; * etc/NEWS: Call out a recent change in Enriched mode.Eli Zaretskii2021-02-081-0/+7
|
* ; Minor license statement fixesStefan Kangas2021-02-082-10/+10
|
* Add vc-dir faces; also apply them to vc-gitProtesilaos Stavrou2021-02-081-0/+6
| | | | | | | | | | | | * etc/NEWS: Document the new faces. * lisp/vc/vc-dir.el (vc-dir-header, vc-dir-header-value) (vc-dir-directory, vc-dir-file, vc-dir-mark-indicator) (vc-dir-status-warning, vc-dir-status-edited, vc-dir-status-up-to-date) (vc-dir-ignored): Add new faces. * lisp/vc/vc-git.el (vc-git-permissions-as-string, vc-git-dir-printer) (vc-git-dir-extra-headers): Apply new faces (bug#46358).
* Bind clone-buffer to C-x x nSean Whitton2021-02-081-2/+3
| | | | | * lisp/bindings.el (ctl-x-x-map): Bind clone-buffer. * etc/NEWS: Document the change (bug#46369).
* ; Rearrange changed entry in etc/NEWSMichael Albinus2021-02-071-2/+2
|
* Add command to recenter errors from Occur/Grep buffersTino Calancha2021-02-071-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To scroll up/down the current displayed occurrence/error without abandon the Occur/Grep buffer. Add also a command 'recenter-other-window' to recenter the other window from any kind of buffer. * lisp/window.el (recenter-other-window): New command. Bind recenter-other-window to S-M-C-l (Bug#46119). * lisp/simple.el (recenter-current-error): New command. * lisp/progmodes/grep.el (grep-mode-map): Delete bidings for n and p. * lisp/progmodes/compile.el (compilation-minor-mode-map): Move here the n and p bindings. Bind `recenter-current-error' to l. * lisp/replace.el (occur-mode-map): Same. * doc/emacs/windows.texi (Other Window): * doc/emacs/display.texi (Recentering): Document recenter-other-window. * etc/NEWS (Changes in Specialized Modes and Packages in Emacs 28.1): Announce the changes.
* Move line-number-at-pos to CLars Ingebrigtsen2021-02-071-4/+0
| | | | | | | | | | | | | * doc/lispref/positions.texi (Text Lines): Revert previous change. * lisp/simple.el (line-number-at-pos): Remove definition. * lisp/simple.el (count-lines): Revert back to using `forward-line', because there seems to be a disagreement on how lines should be counted in a region... * src/fns.c (Fline_number_at_pos): Rename from Fline_number_at_position and adjust parameter list.
* Add a new function 'line-number-at-position'Lars Ingebrigtsen2021-02-071-0/+4
| | | | | | | | | * doc/lispref/positions.texi (Text Lines): Document it. * lisp/simple.el (count-lines): Use it. (line-number-at-pos): Ditto. * src/fns.c (Fline_number_at_position): New function (bug#22763).
* Add more commands to the new `C-x x' keymapLars Ingebrigtsen2021-02-071-1/+5
| | | | | | | | | | * doc/emacs/killing.texi (Accumulating Text): * doc/emacs/display.texi (Line Truncation): * doc/emacs/buffers.texi (Misc Buffer): Document it. * lisp/bindings.el (ctl-x-x-map): Add new bindings for rename-buffer, rename-uniquely, insert-buffer and toggle-truncate-lines.
* Move 'revert-buffer' global binding to 'C-x g g'Sean Whitton2021-02-071-1/+1
| | | | | | | * lisp/bindings.el: Define ctl-x-g-map and bind 'revert-buffer' to 'C-x x g' globally. * doc/emacs/files.texi: Replace 'C-x g' with 'C-x x g'. * etc/NEWS: Document the change (bug#46300).
* Add command 'dbus-monitor'Michael Albinus2021-02-051-37/+36
| | | | | | | | | | | * doc/misc/dbus.texi: (Monitoring Messages): Document 'dbus-monitor'. * etc/NEWS: Mention 'dbus-monitor' but 'dbus-register-monitor'. Fix typos and other oddities. * lisp/net/dbus.el (dbus-monitor): New command. * test/lisp/net/dbus-tests.el (dbus--test-register-service): Extend test.
* Don't hard-code ignored functions in `indent-according-to-mode'Lars Ingebrigtsen2021-02-051-0/+5
| | | | | | * lisp/indent.el (indent-line-ignored-functions): New variable (bug#26945). (indent-according-to-mode): Use it.
* Allow eshell to have an "erasedups"-like historyLars Ingebrigtsen2021-02-041-0/+3
| | | | | | * lisp/eshell/em-hist.el (eshell-add-input-to-history): Use the new value (bug#30466). (eshell-hist-ignoredups): Allow "erasedups"-like value.
* Make backslash characters no longer escape in `f90-mode'Lars Ingebrigtsen2021-02-031-0/+7
| | | | | | | | * lisp/progmodes/f90.el (f90-backslash-not-special): Make obsolete (bug#32766). (f90-mode-syntax-table): Make the backslash be a normal (non-escape) character, which is the default since about 2007 (and F2K): https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34203
* Bind 'revert-buffer' to 'C-x g' globallySean Whitton2021-02-021-0/+3
| | | | | | * lisp/bindings.el: Bind 'revert-buffer' to 'C-x g' globally. * doc/emacs/files.texi: Replace 'M-x revert-buffer' with 'C-x g'. * etc/NEWS: Document the change (bug#46151).
* Remove another variable obsolete since Emacs 23.2Stefan Kangas2021-02-011-2/+3
| | | | | | * src/keymap.c (syms_of_keymap, Fdefine_key): * lisp/subr.el (define-key-rebound-commands): Remove variable obsolete since Emacs 23.2.
* * etc/MACHINES: Document that we support AArch64 with macOS.Philipp Stephani2021-01-311-2/+3
|
* Allow the caller to specify own face on suffix in annotation-functionJuri Linkov2021-01-301-0/+3
| | | | | | | | | | | | | | | | | | * lisp/minibuffer.el (completion--insert-strings): Don't add 'completions-annotations' face when the caller specified own face in annotation-function. Remove no-op code for 'unless prefix' branch. (completion-metadata, completion-extra-properties): Update docs of affixation-function. Suggested by Clemens <clemera@posteo.net> (bug#45780) * test/lisp/minibuffer-tests.el: Rename package name from completion-tests.el to minibuffer-tests.el. Add new test completion--insert-strings-faces. * doc/lispref/minibuf.texi (Completion Variables) (Programmed Completion): Update descriptions of annotation-function and affixation-function.
* Reduce flicker in Isearch modeAugusto Stoffel2021-01-301-0/+7
| | | | | | | | | | | | | | | | | | | Lazy highlighting now happens immediately when the search string is at least as long as the value of the new custom variable `lazy-highlight-no-delay-length`. Also avoid updating the lazy count in the echo area too often. * isearch.el (lazy-highlight-no-delay-length): New defcustom. * isearch.el (lazy-lazy-count-format): Avoid a momentarily incorrect count when reversing search direction. * isearch.el (isearch-lazy-highlight-new-loop): Avoid a call to `isearch-message` that is quickly succeed by a second echo area update, thus causing flicker. * isearch.el (isearch-lazy-highlight-new-loop): Start lazy highlight immediately if appropriate. * etc/NEWS: Announce the change. * doc/emacs/search.texi: Document `lazy-highlight-no-delay-length'. Copyright-paperwork-exempt: yes
* ; Use American spelling in etc/NEWS.Basil L. Contovounesios2021-01-301-1/+1
|
* New Rmail option 'rmail-show-message-set-modified'Eli Zaretskii2021-01-301-0/+5
| | | | | | | | | * lisp/mail/rmail.el (rmail-show-message-set-modified): New option. (rmail-show-message-1): If 'rmail-show-message-set-modified' is non-nil, don't reset the buffer's modified state. (Bug#45941) * etc/NEWS: Announce the new option.
* Fix interaction between two dired cleanup variablesJeff Spencer2021-01-301-0/+6
| | | | | | | | * lisp/dired.el (dired-clean-up-after-deletion): Kill the buffers if you have `dired-clean-up-buffers-too' set and `dired-clean-confirm-killing-deleted-buffers' nil (bug#38037). Copyright-paperwork-exempt: yes
* Add a command for redisplay during keyboard macrosMarco Wahl2021-01-291-0/+3
| | | | | | | | * doc/emacs/kmacro.texi (Basic Keyboard Macro): Document it (bug#39252). * lisp/kmacro.el (kdb-macro-redisplay): New function. (kmacro-keymap): Bind it.
* Make the default `whitespace-enable-predicate' use `derived-mode-p'Lars Ingebrigtsen2021-01-281-0/+5
| | | | | * lisp/whitespace.el (whitespace-enable-predicate): Use `derived-mode-p' to check modes instead of `eq' (bug#40481).
* Fix typos and punctuationEli Zaretskii2021-01-261-5/+5
| | | | | | | * src/w32fns.c: * src/frame.h: * doc/lispref/frames.texi (Frame Layout): * etc/NEWS: Fix typos and punctuation in recent changes.
* Add distinct controls for child frames' borders (Bug#45620)Alexander Miller2021-01-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The background of the 'child-frame-border' face instead of the 'internal-border' face now controls the color of child frames' borders. The 'child-frame-border-width' frame parameter is now used for the width of child frames' borders instead of internal-border-width', though we still fall back on using the latter if the former is not set. * doc/lispref/frames.texi (Frame Layout): Mention 'child-frame-border' and 'child-frame-border-width'. (Layout Parameters): Mention 'child-frame-border-width'. * etc/NEWS: Mention new face 'child-frame-border' and frame parameter 'child-frame-border-width'. * lisp/faces.el (child-frame-border): New face. * src/dispextern.h (enum face_id): Add CHILD_FRAME_BORDER_FACE_ID. * src/frame.c (Fframe_child_frame_border_width): New function. (gui_report_frame_params): Add entry for Qchild_frame_border_width. * src/frame.h (struct frame): New slot child_frame_border_width. (FRAME_CHILD_FRAME_BORDER_WIDTH): New inlined function. * src/nsfns.m (ns_set_child_frame_border_width): New function. (Fx_create_frame): Handle Qchild_frame_border_width parameter. (ns_frame_parm_handlers): Add ns_set_child_frame_border_width. * src/nsterm.m (ns_clear_under_internal_border): Handle CHILD_FRAME_BORDER_FACE_ID. * src/w32fns.c (w32_clear_under_internal_border): Handle CHILD_FRAME_BORDER_FACE_ID. (w32_set_internal_border_width): New function. (Fx_create_frame): Handle Qchild_frame_border_width parameter. (w32_frame_parm_handlers): Add w32_set_child_frame_border_width. * src/xfaces.c (lookup_basic_face, realize_basic_faces): Handle CHILD_FRAME_BORDER_FACE_ID. * src/xfns.c (x_set_child_frame_border_width): New function. (Fx_create_frame): Handle Qchild_frame_border_width parameter. (x_frame_parm_handlers): Add x_set_child_frame_border_width. * src/xterm.c (x_clear_under_internal_border) (x_after_update_window_line): Handle CHILD_FRAME_BORDER_FACE_ID.
* Use `lexical-binding` in all `lisp/international` filesStefan Monnier2021-01-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/startup.el (keyboard-type): Make obsolete and lex-bound. * admin/unidata/unidata-gen.el (unidata-gen-file) (unidata-gen-charprop): Mark the generated files to use lexical binding. * lisp/international/isearch-x.el: Use lexical-binding. (junk-hist): Declare locally. * lisp/international/iso-cvt.el: * lisp/international/utf-7.el: * lisp/international/robin.el: * lisp/international/ogonek.el: * lisp/international/latin1-disp.el: * lisp/international/kkc.el: * lisp/international/kinsoku.el: * lisp/international/ja-dic-utl.el: Use lexical-binding. * lisp/international/ja-dic-cnv.el: Use lexical-binding. (skkdic-breakup-string): Remove unused var `kana-len`. * lisp/international/latexenc.el: Use lexical-binding. (tex-start-of-header): Declare. * lisp/international/mule-diag.el: Use lexical-binding. (list-character-sets): Remove unused var `pos`. (list-character-sets-1): Remove unused vars `tail` and `charset`. (list-charset-chars): Remove unused vars `chars` and `plane`. (describe-coding-system): Remove unused var `extra-spec`. (mule--print-opened): New var. (print-fontset): Bind it. (print-fontset-element): Use it instead of `print-opened`. * lisp/international/quail.el: Use lexical-binding. (quail-start-translation, quail-start-conversion): Remove unused var `generated-events`. (quail-help-insert-keymap-description): Use local dynbound var `the-keymap`.
* Add a mechanism for buffer-local thing-at-pointsLars Ingebrigtsen2021-01-231-0/+6
| | | | | | | * doc/lispref/text.texi (Buffer Contents): Document it. * lisp/thingatpt.el (thing-at-point-provider-alist): New variable. (thing-at-point): Use it.
* Make Message respect header removal instructions moreLars Ingebrigtsen2021-01-211-3/+5
| | | | | | | | | | | | | * doc/misc/message.texi (Forwarding): Document it. * lisp/gnus/message.el (message-forward-ignored-headers): Improve documentation. (message-forward-included-headers): Ditto. (message-forward-included-mime-headers): New user option. (message-remove-ignored-headers): Use it to preserve the necessary MIME headers. (message-forward-make-body): Remove headers when forwarding as MIME, too.
* * lisp/emacs-lisp/subr-x.el (named-let): New macroStefan Monnier2021-01-201-5/+7
|
* Add option remember-text-format-functionGabriel do Nascimento Ribeiro2021-01-201-0/+3
| | | | | | * lisp/textmodes/remember.el (remember-text-format-function): New variable (bug#45809). (remember-append-to-file): Use it.
* Add option remember-diary-regexpGabriel do Nascimento Ribeiro2021-01-201-0/+3
| | | | | | * lisp/textmodes/remember.el (remember-diary-extract-entries): Use it (bug#45808). (remember-diary-regexp): New variable.
* * etc/NEWS.19: Add entry for `indent-line-to`Stefan Monnier2021-01-191-0/+2
| | | | | * lisp/version.el (emacs-major-version, emacs-minor-version): Remove redundant version info already displayed by `C-h o`.
* * lisp/startup.el: Fix bug#45857, bug#30994, and bug#45913.Stefan Monnier2021-01-191-0/+4
| | | | | | | | | | | | | | | (command-line): Don't re-evaluate the `custom-delayed-init-variables` a second time after reading the `early-init.el` file. (x-apply-session-resources): Set `blink-cursor-mode` rather than `no-blinking-cursor`. * lisp/frame.el (blink-cursor-start): Turn `blink-cursor-mode` off if `blink-cursor-mode` was set to nil. (blink-cursor-mode): Default to it being enabled regardless of `window-system`. * lisp/custom.el (custom-initialize-delay): Fox docstring now that autoload.el preserves the `:initialize` info.
* Add 'perl-non-scalar-variable' face to perl-modeProtesilaos Stavrou2021-01-191-0/+6
| | | | | | | * etc/NEWS: Document the new face (bug#45840). * lisp/progmodes/perl-mode.el (perl-non-scalar-variable): Define new face. (perl-font-lock-keywords-2): Apply 'perl-non-scalar-variable' face.
* Improve support for the Cham script and languagesEli Zaretskii2021-01-172-11/+5
| | | | | | | | | | | | * etc/NEWS: Announce the new 'cham' input method. * etc/HELLO: Fix the order of letters in the Cham greeting. Remove redundant newlines (reported by Ulrich Mueller <ulm@gentoo.org>). * lisp/language/cham.el ("Cham"): Add input-method entry. * lisp/leim/quail/cham.el: New file. * lisp/international/fontset.el (setup-default-fontset): Add an entry for Cham.
* * lisp/emacs-lisp/pcase.el: Add support for `not` to `pred`Stefan Monnier2021-01-161-0/+6
| | | | | | | | | | | | | (pcase--split-pred, pcase--funcall): Adjust for `not`. (pcase--get-macroexpander): New function. (pcase--edebug-match-macro, pcase--make-docstring) (pcase--macroexpand): Use it. * lisp/emacs-lisp/radix-tree.el (radix-tree-leaf): Use it! * doc/lispref/control.texi (The @code{pcase} macro): Document it. * lisp/emacs-lisp/ert.el (ert--explain-equal-rec): Remove redundant test.
* Improve support for Cham scriptEli Zaretskii2021-01-161-0/+2
| | | | | | * lisp/language/cham.el ("Cham"): Expand the entry. * etc/HELLO: Add entry for Cham.
* Merge from origin/emacs-27Glenn Morris2021-01-141-0/+5
|\ | | | | | | | | | | | | 149d64bbb2 * doc/misc/tramp.texi (Quick Start Guide): Fix thinko. 97747e6fb9 Tell people how to remove fontconfig customizations 33d0c603c6 ; * doc/lispref/modes.texi (SMIE Indentation Example): Fix... 03080b5545 Remove extraneous closing paren
| * Tell people how to remove fontconfig customizationsRobert Pluim2021-01-051-0/+5
| |
| * Mention -lcurses problem on AIXPaul Eggert2021-01-031-0/+13
| | | | | | | | | | * etc/PROBLEMS: Describe problem with Emacs 27 and -lcurses. Do not merge to master.
* | Add a new function 'buffer-line-statistics'Lars Ingebrigtsen2021-01-121-0/+3
| | | | | | | | * src/fns.c (Fbuffer_line_statistics): New function.
* | Add a new variable `inhibit-interaction'Lars Ingebrigtsen2021-01-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/elisp.texi (Top): Add a link. * doc/lispref/errors.texi (Standard Errors): Mention the new error. * doc/lispref/minibuf.texi (Minibuffers): Add a link. (Inhibiting Interaction): New node. * src/data.c (syms_of_data): Define the `inhibited-interaction' error. * src/lisp.h: Export the barfing function. * src/lread.c (Fread_char, Fread_event, Fread_char_exclusive): Barf if inhibited. * src/minibuf.c (barf_if_interaction_inhibited): New function. (Fread_from_minibuffer, Fread_no_blanks_input): Barf if inhibited. (syms_of_minibuf): Define the `inhibit-interaction' variable.