summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Split image-dired.el into several files (part 1/2)Stefan Kangas2022-09-035-0/+12320
| | | | | | | | | | | | | | | | | | | | | Use a git trick to split a file while preserving line history (for "git blame", "git log --follow", etc.): 1) Make exact copies of the original file, in the same commit as moving it. [this commit] 2) Next, trim down the extra copies to contain only the relevant parts. * lisp/image-dired.el: Move from here... * lisp/image/image-dired-dired.el: * lisp/image/image-dired-external.el: * lisp/image/image-dired-tags.el: * lisp/image/image-dired-util.el: * lisp/image/image-dired.el: ...to here. * test/lisp/image-dired-tests.el: Move from here... * test/lisp/image/image-dired-tests.el: ...to here.
* Make "rlogin" method obsolete in url*.elStefan Kangas2022-09-034-7/+20
| | | | | | | | | | | | | | | | | | | | | | * lisp/url/url-about.el (url-probe-protocols): Remove "rlogin". * lisp/url/url-gw.el (url-gateway-rlogin-host) (url-gateway-rlogin-user-name, url-gateway-rlogin-parameters) (url-open-rlogin): Make obsolete. (Bug#56891) (url-open-stream): * lisp/url/url-misc.el (url-do-terminal-emulator): Warn when using "rlogin". (url-rlogin): Make obsolete. * lisp/url/url-vars.el (url-gateway-method): Remove "rlogin" choice. * lisp/url/url-gw.el (url-gw-rlogin-obsolete-warned-once) * lisp/url/url-misc.el (url-misc-rlogin-obsolete-warned-once): New variables, immediately marked obsolete. * doc/misc/url.texi (telnet/tn3270): Rename section from "rlogin/telnet/tn3270". (Gateways in general, Customization): Don't mention "rlogin" method.
* Merge from origin/emacs-28Stefan Kangas2022-09-021-15/+22
|\ | | | | | | | | 917da2641e Minor doc fix; improve sorting of VC backends 89695bce3e Clarify the doc string of 'set-face-attribute'
| * Clarify the doc string of 'set-face-attribute'Eli Zaretskii2022-09-011-15/+22
| | | | | | | | | | | | * lisp/faces.el (set-face-attribute): Clarify the issue with resetting attribute values to 'unspecified' for future frames. (Bug#57499)
| * ; Auto-commit of loaddefs files.Stefan Kangas2022-09-011-2/+2
| |
* | * lisp/help-fns.el: Minor fixesStefan Monnier2022-09-021-5/+5
| | | | | | | | | | | | | | | | (describe-mode--minor-modes): Don't burp on minor modes that lack a docstring. (describe-mode--minor-modes): Simplify eta-redex. (find-lisp-object-file-name): Use `autoload-file`. (help-fns--describe-function-or-command-prompt): Allow the user to insist on choosing a function even if it appears not to exist.
* | Use `format-prompt' in `describe-char-fold-equivalences'Robert Pluim2022-09-021-1/+3
| | | | | | | | * lisp/char-fold.el (describe-char-fold-equivalences): Use `format-prompt'.
* | Fix define-minor-mode :keymap obsoletion warningLars Ingebrigtsen2022-09-021-1/+4
| | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix some warning.
* | Make minibuffer-eldef-shorten-default obsoleteStefan Kangas2022-09-021-0/+2
| | | | | | | | | | | | | | * lisp/minibuf-eldef.el (minibuffer-eldef-shorten-default): Make variable obsolete in favor of 'minibuffer-default-prompt-format'. * doc/emacs/mini.texi (Basic Minibuffer): Delete above obsolete variable (bug#50935).
* | Default show-paren-mode to off in special-mode buffersLars Ingebrigtsen2022-09-021-1/+18
| | | | | | | | | | | | | | | | | | | | | | * doc/emacs/programs.texi (Matching): Mention the new user option. * doc/misc/efaq.texi (Matching parentheses): Adjust text to the current state of affairs. * lisp/paren.el (show-paren-function): New user option (bug#50894). (show-paren-mode): Mention it. (show-paren-function): Use it.
* | Clean up ispell "look"-related variablesLars Ingebrigtsen2022-09-021-3/+7
| | | | | | | | | | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-look-p): Make obsolete. (ispell-lookup-words): Look up the look command at run time instead (bug#50852). (ispell-have-new-look): Make obsolete. (ispell-look-options): Adjust. Apparently the version of "look" that had a "-r" (regexp interface) never took off -- it's not present in GNU/Linux or Macos, at least, as far as we can tell.
* | Fix quotes in mailcap-add-mailcap-entry doc stringLars Ingebrigtsen2022-09-021-3/+3
| | | | | | | | | | * lisp/net/mailcap.el (mailcap-add-mailcap-entry): Fix usage of quotes.
* | Restructure ‘mailcap-add-mailcap-entry’Felix Dietrich2022-09-021-20/+36
| | | | | | | | | | * lisp/net/mailcap.el (mailcap-add-mailcap-entry): Restructure mailcap-add-mailcap-entry to improve readability.
* | Use frame-monitor-attributes in gamegridRobert Pluim2022-09-021-5/+1
| | | | | | | | | | | | * lisp/play/gamegrid.el (gamegrid-calculate-glyph-size): Use `frame-monitor-attributes' to get the frame attributes directly instead of iterating over `display-monitor-attributes-list'.
* | Make single char entry easier for `describe-char-fold-equivalences'Robert Pluim2022-09-021-3/+3
| | | | | | | | | | | | * lisp/char-fold.el (describe-char-fold-equivalences): Improve docstring. Pass t for 'allow-single' arg in call to `read-char-by-name' so that single characters can be entered directly.
* | Allow easy entry of single chars in `read-char-by-name'Robert Pluim2022-09-021-2/+8
| | | | | | | | | | * lisp/international/mule-cmds.el (read-char-by-name): Add optional 'allow-single' argument, meaning to accept single chars as themselves.
* | ldap-host-parameters-alist: Add auth-source optionFabrice Bauzac-Stehly2022-09-021-0/+8
| | | | | | | | | | * lisp/net/ldap.el (ldap-host-parameters-alist): Add auth-source to checklist.
* | Under no-X builds, allow any value for 'fringe-bitmap' optionsJim Porter2022-09-011-1/+6
| | | | | | | | * lisp/cus-edit (fringe-bitmap): Always match under no-X.
* | Make easy-mmode-define-keymap obsoleteLars Ingebrigtsen2022-09-011-0/+3
| | | | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Make obsolete. (define-minor-mode): Add comment.
* | Make easy-mmode-defmap obsolete and adjust only callerLars Ingebrigtsen2022-09-012-139/+90
| | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (easy-mmode-defmap): Make obsolete. * lisp/progmodes/gud.el (gud-menu-map): Use easy-menu-define.
* | Fix outline-minor-mode-mapLars Ingebrigtsen2022-09-011-4/+4
| | | | | | | | | | | | * lisp/outline.el (outline-minor-mode): Avoid using easy-mmode-define-keymap, since it doesn't handle :inherit correctly (bug#57512).
* | Make file-parent-directory more efficientDaanturo2022-09-011-1/+3
| | | | | | | | | | | | * lisp/files.el (file-parent-directory): Use equal instead of file-equal-p to compare the found parent and the child (bug#56355). This is much faster.
* | Merge from origin/emacs-28Stefan Kangas2022-09-016-25/+77
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8807a4f532 Enable 256 colors in fbterm. bbc23ca8ab One more fix for find-file.el 0cbcaf5119 ; Yet another doc fix for 'ff-other-file-alist' (bug#57325) 2d9a391727 Recommend using fbterm in the Linux console. a5a92e577c ; * src/window.c (syms_of_window) <window-point-insertion-... 4d52fe6b96 * lisp/find-file.el (ff-other-file-alist): Doc fix. (Bug#... d111b5b651 * lisp/info.el (Info-mode): Support the Linux console better. cc945ec0ed ; Fix doc strings in latin1-disp.el 195fcc932e Improve the documentation of glyphless-character display 72ae02377e ; * lisp/jit-lock.el (jit-lock-chunk-size): Doc fix. 3fb69fad49 Fix documentation of 'glyphless-char-display' # Conflicts: # lisp/international/characters.el # src/xdisp.c
| * Enable 256 colors in fbterm.Gregory Heytings2022-08-301-0/+27
| | | | | | | | | | | | | | * lisp/term/fbterm.el: New file. * doc/misc/efaq.texi (Emacs in a Linux console): Document the TERM environment variable with which the new file is used.
| * One more fix for find-file.elEli Zaretskii2022-08-301-3/+3
| | | | | | | | | | | | * lisp/find-file.el (ff-get-file-name): Use 'expand-file-name' instead of 'concat', which doesn't DTRT with absolute file names. (ff-other-file-alist): Yet another doc fix. (Bug#57325)
| * ; Yet another doc fix for 'ff-other-file-alist' (bug#57325)Eli Zaretskii2022-08-301-9/+18
| |
| * * lisp/find-file.el (ff-other-file-alist): Doc fix. (Bug#57325)Eli Zaretskii2022-08-291-1/+6
| |
| * * lisp/info.el (Info-mode): Support the Linux console better.Eli Zaretskii2022-08-281-3/+6
| |
| * ; Fix doc strings in latin1-disp.elEli Zaretskii2022-08-281-2/+2
| | | | | | | | | | * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx) (latin1-display): Doc fix.
| * Improve the documentation of glyphless-character displayEli Zaretskii2022-08-281-2/+6
| | | | | | | | | | | | | | | | | | * lisp/international/characters.el (glyphless-char-display-control): * src/xdisp.c (syms_of_xdisp) <glyphless-char-display>: Mention the 'glyphless-char' face in the doc string. * doc/lispref/display.texi (Glyphless Chars): Index 'glyphless-char' face.
| * ; * lisp/jit-lock.el (jit-lock-chunk-size): Doc fix.Eli Zaretskii2022-08-271-2/+5
| |
| * Treat smtp-auth method from auth-info as a symbolRobert Pluim2022-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The lookup of the SMTP auth method is done based on symbols, but sometimes the requested value comes from `auth-info', in which case it is a string, so call `intern-soft' to convert it to a symbol (which does nothing if it's already a symbol). * lisp/mail/smtpmail.el (smtpmail-try-auth-methods): Call `intern-soft' on the smtp-auth key's value. (Bug#57373) Do not merge to master
* | ; Auto-commit of loaddefs files.Stefan Kangas2022-09-011-17/+67
| |
* | C++ Mode: Fontify functions correctly with commas in template expressionsAlan Mackenzie2022-08-312-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #57318. Also apply an optimization which marks generic expressions as already analyzed, thus avoiding repeating this analysis when not needed. This optimization prevents the fix slowing down scrolling when the C++ source has lots of template structures. * lisp/progmodes/cc-engine.el (top-level) Near the beginning of the file, add a comment describing the new text property c-<>-c-types-set. (c-update-brace-stack): Bind c-restricted-<>-arglists to nil rather than t around the call to c-forward-<>-arglist. (c-forward-<>-arglist-recur): Allow the abbreviated analysis of a generic expression also when the opening < is marked with a c-<>-c-types-set text property. Set this property at the same time as the c-type properties are set on the commas inside the template structure. * lisp/progmodes/cc-fonts.el (c-font-lock-complex-decl-prepare): Clear the c-<>-c-types-set text property, along with c-type, from the region being fontified.
* | Fix describe-char-fold-equivalences for composed charactersRobert Pluim2022-08-311-7/+12
| | | | | | | | | | | | * lisp/char-fold.el (describe-char-fold-equivalences): Map `get-char-code-property' across all the component codepoints of the equivalent character rather than just the first one.
* | Fix semantic-find-file-noselect binding of recentf-excludeookami2022-08-311-1/+1
| | | | | | | | | | | | | | * lisp/cedet/semantic/fw.el (semantic-find-file-noselect): recentf-exclude should be a list (bug#57489). Copyright-paperwork-exempt: yes
* | t-mouse.el: Make sure we apply the setting to new terminalsStefan Monnier2022-08-302-3/+6
| | | | | | | | | | | | | | * lisp/t-mouse.el (gpm-mouse-tty-setup): New function. (gpm-mouse-mode): Use it as well as `tty-setup-hook`. * lisp/term/linux.el (terminal-init-linux): Remove gpm-specific code, not neded any more.
* | ; Minor doc fix in ViperStefan Kangas2022-08-301-3/+2
| | | | | | | | | | * lisp/emulation/viper-macs.el (viper-repeat-from-history-key): Minor doc fix.
* | ; * lisp/doc-view.el (doc-view): Fix punctuation.Stefan Kangas2022-08-301-1/+1
| |
* | ; Improve doc string of 'describe-char-fold-equivalences'Eli Zaretskii2022-08-301-4/+7
| | | | | | | | | | * lisp/char-fold.el (describe-char-fold-equivalences): Autoload it. Doc fix.
* | Fix 744ed0ceeed7472a160fea7154939cf641205577 from bug#57082 (bug#57176)Juri Linkov2022-08-302-12/+15
| | | | | | | | | | | | | | * lisp/outline.el (outline-minor-mode-highlight-buffer): Handle 'append'. (outline-minor-mode): Call outline--fix-up-all-buttons when font-lock is used. * lisp/textmodes/emacs-news-mode.el (emacs-news--mode-common): Fix regexp.
* | Fix char-fold compilation warningLars Ingebrigtsen2022-08-301-0/+2
| | | | | | | | * lisp/char-fold.el (require): Get string-join definition.
* | * lisp/char-fold.el (describe-char-fold-equivalences): New command.Juri Linkov2022-08-301-5/+61
| | | | | | | | | | | | | | (char-fold--no-regexp): New internal variable. (char-fold--make-table): Use it to skip translation to regexp. Suggested by Robert Pluim <rpluim@gmail.com>. https://lists.gnu.org/archive/html/emacs-devel/2022-07/msg00864.html
* | Handle 'eshell-pipe-broken' when evaluating Lisp forms in EshellJim Porter2022-08-292-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/eshell/esh-cmd.el (eshell-exec-lisp): Handle 'eshell-pipe-broken'. * lisp/eshell/esh-io.el (eshell-output-object-to-target): Only signal 'eshell-pipe-broken' if the process being written to has finished. * test/lisp/eshell/esh-proc-tests.el (esh-proc-test/pipeline-connection-type/middle) (esh-proc-test/pipeline-connection-type/last): Remove ':unstable'. Ref: https://lists.gnu.org/archive/html/emacs-devel/2022-08/msg00524.html
* | Improve point-at-{bol,eol} obsoletion messageStefan Kangas2022-08-291-2/+4
| | | | | | | | | | * lisp/subr.el (point-at-eol, point-at-bol): Mention 'pos-eol' and 'pos-bol' in obsoletion message.
* | Show gdb-mi disassembly over trampJake Moss2022-08-291-5/+6
| | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (gdb-invalidate-disassembly): Show gdb-mi disassembly over tramp (bug#57464). Copyright-paperwork-exempt: yes
* | Work around `&' dired command when using the fish shellLars Ingebrigtsen2022-08-291-2/+2
| | | | | | | | | | | | * lisp/dired-aux.el (dired-shell-stuff-it): Add a space before &wait; this apparently makes the `&' command work with the fish shell (bug#57472).
* | Fix point adjustment in recreated *Messages* buffersEli Zaretskii2022-08-292-3/+3
| | | | | | | | | | | | | | | | | | * lisp/startup.el (normal-top-level): Move setting of 'window-point-insertion-type' from here... * lisp/simple.el (messages-buffer-mode): ...to here. This is so any *Messages* buffers we create instead of the original one, if it's killed, will have the same type of the window-point marker. (Bug#57466)
* | Do not connect unreachable remote hosts in recentfMichael Albinus2022-08-291-1/+2
| | | | | | | | | | * lisp/recentf.el (recentf-expand-file-name): Protect against stalled remote hosts. (Bug#57336)
* | 'C-c C-d' on vc-log buffer shows the diff from 'vc-log-fileset' (bug#52349)Juri Linkov2022-08-283-4/+12
| | | | | | | | | | | | | | | | | | | | * lisp/vc/log-edit.el (log-edit-diff-fileset): New function. * lisp/vc/vc-dispatcher.el (vc-log-edit): Set log-edit-diff-function to log-edit-diff-fileset instead of vc-diff. * lisp/vc/vc.el (vc-diff): New optional arg ‘fileset’. If non-nil, use instead of vc-deduce-fileset.