summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Prefer setq-local in lisp/mh-e/*.elStefan Kangas2021-10-1210-68/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mh-e/mh-utils.el (mh-make-local-vars): Make obsolete. * lisp/mh-e/mh-comp.el (mh-forward): * lisp/mh-e/mh-folder.el (mh-folder-mode): * lisp/mh-e/mh-identity.el (mh-identity-handler-signature) (mh-identity-insert-attribution-verb): * lisp/mh-e/mh-letter.el (mh-letter-mode): * lisp/mh-e/mh-search.el (mh-search-folder): * lisp/mh-e/mh-seq.el (mh-narrow-to-seq, mh-widen): * lisp/mh-e/mh-show.el (mh-show-mode): * lisp/mh-e/mh-tool-bar.el (mh-tool-bar-define): * lisp/mh-e/mh-xface.el (mh-x-image-url-display) (mh-x-image-url-fetch-image): Prefer setq-local.
* | Remove some more MH-E compat codeStefan Kangas2021-10-1212-180/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mh-e/mh-acros.el (defun-mh, defmacro-mh): Make obsolete. * lisp/mh-e/mh-gnus.el (mh-gnus-local-map-property): Make obsolete. * lisp/mh-e/mh-mime.el (mh-insert-mime-security-button) (mh-insert-mime-button): Don't use above obsolete function. * lisp/mh-e/mh-gnus.el (mh-mm-text-html-renderer): Make obsolete. * lisp/mh-e/mh-mime.el (mh-mm-inline-media-tests) (mh-signature-highlight): Remove references to removed Gnus variable 'mm-inline-text-html-renderer'. * lisp/mh-e/mh-letter.el (mh-letter-complete): Make into obsolete function alias for 'completion-at-point'. Update callers. * lisp/mh-e/mh-e.el (mh-inc-spool-list, mh-show-use-xface-flag): * lisp/mh-e/mh-comp.el (mh-ascii-buffer-p): * lisp/mh-e/mh-show.el: * lisp/mh-e/mh-utils.el: Remove some references to XEmacs. * lisp/mh-e/mh-comp.el (mh-send-letter): Remove XEmacs and Emacs compat code. * lisp/mh-e/mh-compat.el (mh-display-completion-list): Remove compat code for Emacs 22 and earlier. * lisp/mh-e/mh-e.el (mh-inherit-face-flag) (mh-min-colors-defined-flag): Make XEmacs and Emacs 21 compat variables obsolete. (mh-face-data): Adjust to assume above variables are always t. * lisp/mh-e/mh-mime.el (mh-mime-button-map): Remove XEmacs and Emacs 20 compat code. * lisp/mh-e/mh-utils.el (mh-mapc): Make Emacs 20 compat function into obsolete function alias for mapc. Update callers. * lisp/mh-e/mh-xface.el (mh-show-xface-function, mh-show-xface): Remove Emacs 20 compat code.
* | Remove redundant calls to 'mh-do-in-gnu-emacs'Stefan Kangas2021-10-119-135/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mh-e/mh-compat.el (mh-require): * lisp/mh-e/mh-folder.el (mh-folder-mode): * lisp/mh-e/mh-letter.el (mh-letter-mode): * lisp/mh-e/mh-mime.el (mh-mime-button-map) (mh-mime-security-button-map, mh-small-image-p) (mh-signature-highlight): * lisp/mh-e/mh-show.el (mh-show-mode): * lisp/mh-e/mh-tool-bar.el (mh-tool-bar-define): * lisp/mh-e/mh-utils.el (mh-logo-display) (mh-hidden-header-keymap): * lisp/mh-e/mh-xface.el (mh-face-display-function) (mh-picon-image-types, mh-x-image-display): Remove redundant calls to 'mh-do-in-gnu-emacs'. * lisp/mh-e/mh-acros.el (mh-do-in-gnu-emacs): * lisp/mh-e/mh-tool-bar.el: Add comment explaining an issue that stops us from making 'mh-do-in-gnu-emacs' obsolete.
* | ; * test/src/emacs-module-tests.el: Instrument for bug#50902.Michael Albinus2021-10-111-0/+5
| |
* | Fix merge error for elisp-mode-tests.elGlenn Morris2021-10-111-12/+0
| | | | | | | | | | | | | | * test/lisp/progmodes/elisp-mode-tests.el (test-cl-flet-indentation): Delete test mistakenly restored by merge conflict. It seems this was deleted 2021-10-01 with incomplete log message "Add more indentation tests".
* | Merge from origin/emacs-28Glenn Morris2021-10-114-38/+52
|\| | | | | | | | | | | | | | | | | ac06608878 (origin/emacs-28) Release ERC 5.4 a1a589d07b * etc/ERC-NEWS: Announce ERC's addition to GNU ELPA. 6c7947f0a1 * etc/ERC-NEWS: Fix outline level for the recent additions. c480b68644 Add ERC entries for 'customize-package-emacs-version-alist' 4afff515c8 Expand the full file name 36a485a1af Obsolete XEmacs compat convention in 'erc-button-press-but...
| * Release ERC 5.4Amin Bandali2021-10-111-3/+4
| | | | | | | | | | * lisp/erc/erc.el (Version, erc-version): Bump to 5.4. (customize-package-emacs-version-alist): Add entry for 5.4.
| * * etc/ERC-NEWS: Announce ERC's addition to GNU ELPA.Amin Bandali2021-10-111-0/+7
| |
| * * etc/ERC-NEWS: Fix outline level for the recent additions.Amin Bandali2021-10-111-28/+28
| |
| * Add ERC entries for 'customize-package-emacs-version-alist'Amin Bandali2021-10-111-0/+8
| | | | | | | | | | * lisp/erc/erc.el (customize-package-emacs-version-alist): Add entries for existing ERC versions.
| * Expand the full file nameDmitry Gutov2021-10-111-6/+5
| | | | | | | | | | * lisp/vc/vc-git.el (vc-git--literal-pathspec): Expand the full file name, not just the local part (bug#51112).
| * Obsolete XEmacs compat convention in 'erc-button-press-button'Stefan Kangas2021-10-111-2/+1
| | | | | | | | | | * lisp/erc/erc-button.el (erc-button-press-button): Advertise new calling convention without XEmacs compatibility.
* | ; Merge from origin/emacs-28Glenn Morris2021-10-110-0/+0
|\| | | | | | | | | | | The following commit was skipped: 31d60488ac Backport: Add ERC version to protocol log
| * Backport: Add ERC version to protocol logF. Jason Park2021-10-111-0/+1
| | | | | | | | | | | | | | * lisp/erc/erc.el (erc-toggle-debug-irc-protocol): Include the erc version in the debug logs (bug#51107). (cherry picked from commit 13411346202f86e950bee076a5d528e98695fbb4)
* | Merge from origin/emacs-28Glenn Morris2021-10-1142-177/+1082
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1a1b206a8b Adapt the recent 'num_processors' change to MS-Windows 7cb4637923 Minor fix to clarify a sentence in emacs-lisp-intro ab60144ea3 ; Pacify recent shorthand unused lexarg warnings. e9df86004f Make tty-run-terminal-initialization load the .elc file (i... 07edc28bdb Fix ert errors when there's a test that binds `debug-on-er... 96278de8ac New function num-processors 575e626105 Add symbol property 'save-some-buffers-function' (bug#46374) a3e10af95c Keep reading when typed RET in read-char-from-minibuffer a... 013e3be832 * lisp/userlock.el (ask-user-about-supersession-threat): A... ae61d7a57d Fix point positioning on mouse clicks with non-zero line-h... 4c7e74c386 Complete shorthands to longhands for symbol-completing tables c2513c5d0d Add new failing test for bug#51089 1d1e96377c ; * lisp/emacs-lisp/shortdoc.el: Fix typo. 6bf29072e9 Avoid mapping file names through 'substring' bcce93f04c Update to Org 9.5-46-gb71474 5d408f1a24 Expanded testing of MH-E with multiple MH variants b497add971 Fix Seccomp filter for newer GNU/Linux systems (Bug#51073). 75d9fbec88 Tramp code cleanup # Conflicts: # etc/NEWS # test/lisp/progmodes/elisp-mode-tests.el
| * Adapt the recent 'num_processors' change to MS-WindowsEli Zaretskii2021-10-113-11/+12
| | | | | | | | | | | | | | * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_nproc): Omit nproc. * src/w32.c (num_processors): New function. * src/w32proc.c (Fw32_get_nproc): Remove.
| * Minor fix to clarify a sentence in emacs-lisp-introStefan Kangas2021-10-111-3/+3
| | | | | | | | | | * doc/lispintro/emacs-lisp-intro.texi (Simple Extension): Add the word "that" for clarity. (Bug#43965)
| * ; Pacify recent shorthand unused lexarg warnings.Basil L. Contovounesios2021-10-111-1/+1
| |
| * Make tty-run-terminal-initialization load the .elc file (if any)Lars Ingebrigtsen2021-10-111-1/+3
| | | | | | | | | | * lisp/faces.el (tty-run-terminal-initialization): `locate-library' may have found the .el.gz file (bug#51116).
| * Fix ert errors when there's a test that binds `debug-on-error'Lars Ingebrigtsen2021-10-111-0/+4
| | | | | | | | | | * lisp/emacs-lisp/ert.el (ert--run-test-internal): Don't infloop on errors when signalling errors (bug#51131).
| * New function num-processorsPaul Eggert2021-10-1012-15/+564
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses a FIXME comment in lisp/emacs-lisp/comp.el, relating to the number of subsidiary processes used by comp-run-async-workers in native compilation. * admin/merge-gnulib (GNULIB_MODULES): Add nproc. * doc/lispref/processes.texi (Process Information), etc/NEWS: Document num-processors. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * lib/nproc.c, lib/nproc.h, m4/nproc.m4: New files, copied from Gnulib by admin/merge-gnulib. * lisp/emacs-lisp/comp.el (w32-get-nproc): Remove decl. (comp-effective-async-max-jobs): Use num-processors. * src/process.c: Include nproc.h. (Fnum_processors): New function. (syms_of_process): Define ‘all’, ‘current’, ‘num-processors’. * src/w32proc.c (Fw32_get_nproc): Add FIXME comment. * test/src/process-tests.el (process-num-processors): New test.
| * Add symbol property 'save-some-buffers-function' (bug#46374)Juri Linkov2021-10-101-4/+8
| | | | | | | | | | | | | | | | | | * lisp/files.el (save-some-buffers-root): Put non-nil symbol property 'save-some-buffers-function'. (save-some-buffers): Check pred for the symbol property 'save-some-buffers-function'. (save-some-buffers-default-predicate): Mention symbol property 'save-some-buffers-function'.
| * Keep reading when typed RET in read-char-from-minibuffer and y-or-n-pJuri Linkov2021-10-101-3/+5
| | | | | | | | | | | | | | * lisp/subr.el (read-char-from-minibuffer-map): Remap exit-minibuffer to read-char-from-minibuffer-insert-other. (y-or-n-p-map): Remap 'exit' to y-or-n-p-insert-other. (y-or-n-p): Don't mention RET in docstring. (Bug#51101)
| * * lisp/userlock.el (ask-user-about-supersession-threat): Accept 'y' strictly.David M. Koppelman2021-10-101-1/+3
| | | | | | | | (Bug#51101)
| * Fix point positioning on mouse clicks with non-zero line-heightEli Zaretskii2021-10-101-0/+2
| | | | | | | | | | | | * src/xdisp.c (move_it_to): After passing a newline, reset it->override_ascent, like 'display_line' does (in 'append_space_for_newline'). (Bug#51111)
| * Complete shorthands to longhands for symbol-completing tablesJoão Távora2021-10-102-5/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shorthands aren't symbols, they're text forms that 'read' into symbols. As such, shorthands aren't candidates in these tables of symbols. But in some situations, if no other candidates match the pattern, we can e.g. complete "x-foo" to "xavier-foo" if the shorthand (("x-" . "xavier-")) is set up in the buffer of origin. bug#50959 * lisp/help-fns.el (help--symbol-completion-table): Report `symbol-help' category. * lisp/minibuffer.el (completion-styles-alist): New 'shorthand' style. (completion-category-defaults): Link 'symbol-help' category with 'shorthand' style. (minibuffer--original-buffer): New variable. (completing-read-default): Setup minibuffer--original-buffer. (completion-shorthand-try-completion) (completion-shorthand-all-completions): New helpers.
| * Add new failing test for bug#51089João Távora2021-10-101-0/+12
| | | | | | | | | | * test/lisp/progmodes/elisp-mode-tests.el (elisp-dont-shadow-punctuation-only-symbols): Add new failing test.
| * ; * lisp/emacs-lisp/shortdoc.el: Fix typo.Stefan Kangas2021-10-101-2/+2
| |
| * Avoid mapping file names through 'substring'Dmitry Gutov2021-10-101-10/+15
| | | | | | | | | | | | | | * lisp/progmodes/project.el (project--files-in-directory): Avoid mapping file names through 'substring'. Reducing the amount of garbage generated. Better perf by up to 20%. Bump the package version.
| * Update to Org 9.5-46-gb71474Kyle Meyer2021-10-098-65/+168
| |
| * Expanded testing of MH-E with multiple MH variantsStephen Gildea2021-10-092-19/+179
| | | | | | | | | | | | | | | | | | * test/lisp/mh-e/mh-utils-tests.el: Environment variable TEST_MH_PATH controls which installed MH variant to test with. Moved the commentary about testing with different MH variants from above 'with-mh-test-env' definition to "Commentary" section at the top of the file. * test/lisp/mh-e/test-all-mh-variants.sh: New script to test all installed MH variants.
| * Fix Seccomp filter for newer GNU/Linux systems (Bug#51073).Philipp Stephani2021-10-091-0/+2
| | | | | | | | | | | | | | | | On some systems, process startup calls prctl(PR_CAPBSET_READ) via 'cap_get_bound'. We can just return EINVAL. * lib-src/seccomp-filter.c (main): Add a rule for prctl(PR_CAPBSET_READ, ...).
| * Tramp code cleanupMichael Albinus2021-10-095-39/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp.el (tramp-remote-path): Adapt docstring. (tramp-action-login, tramp-action-password, tramp-action-yesno) (tramp-action-yn, tramp-process-actions): Move let-binding of `enable-recursive-minibuffers' up. (tramp-handle-make-process, tramp-handle-write-region): * lisp/net/tramp-adb.el (tramp-adb-handle-write-region) (tramp-adb-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process) (tramp-sh-handle-write-region): * lisp/net/tramp-smb.el (tramp-smb-handle-write-region): * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-write-region): Use `string-or-null-p'.
* | Revert "Obsolete XEmacs compat convention in erc-button-press-button"Amin Bandali2021-10-111-1/+2
| | | | | | | | | | | | This reverts commit f146325bd1556d1acafe26f6c263b83a92d3cd20. This should be done in 'emacs-28', which will be merged into 'master'.
* | Fontify "print" and "exec" as functions in python-modeStefan Kangas2021-10-111-3/+0
| | | | | | | | | | | | * lisp/progmodes/python.el (python-font-lock-keywords-level-2): Fontify "print" and "exec" as functions, which is the case in Python 3. (Bug#43298)
* | Mention --fingerprint in NEWSLars Ingebrigtsen2021-10-111-0/+4
| |
* | Make the installed pmdp file use a fingerprintGlenn Morris2021-10-115-4/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (EMACS_PDMP): Use --fingerprint. * doc/emacs/cmdargs.texi (Action Arguments): Document --fingerprint. * src/emacs.c (load_pdump): Load the fingerprinted version of the pdmp file (bug#42790). (main): Support --fingerprint. * src/pdumper.c (dump_fingerprint): Make non-static. * src/pdumper.h: Declare dump_fingerprint.
* | Fix menu display of keys when cua-mode is activeLars Ingebrigtsen2021-10-111-5/+18
| | | | | | | | | | * lisp/menu-bar.el (menu-bar-edit-menu): Make the menus display the correct keys for editing when cua-mode is active (bug#28930).
* | Change how cua-mode defined `C-x' and `C-c'Lars Ingebrigtsen2021-10-111-4/+7
| | | | | | | | | | | | | | * lisp/emulation/cua-base.el (cua-cut-handler): (cua-copy-handler): New aliases (bug#28930). (cua--init-keymaps): Use them for `C-x' and `C-c' to be able to distinguish the commands when looking them up in reverse.
* | Allow :keys in menus to be computed dynamicallyLars Ingebrigtsen2021-10-113-1/+14
| | | | | | | | | | | | | | * doc/lispref/keymaps.texi (Extended Menu Items): Document it (bug#28930). * src/keyboard.c (parse_menu_item): Allow :keys to be a function.
* | Tweak how auto-fill fills after a periodLars Ingebrigtsen2021-10-112-6/+24
| | | | | | | | | | * lisp/textmodes/fill.el (fill-nobreak-p): Don't break immediately after a space after a period (bug#17321).
* | Merge branch 'master' of git.sv.gnu.org:/srv/git/emacsMichael Albinus2021-10-1177-2028/+1594
|\ \
| * | Fix mairix-el.texi menuLars Ingebrigtsen2021-10-101-1/+1
| | |
| * | Merge from origin/emacs-28Glenn Morris2021-10-0914-400/+387
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 394209c1a0 (origin/emacs-28) ; Fix indentation in etc/NEWS 81f20e8b89 Fix thinko in ls-lisp--insert-directory ec9f25bd35 Mention that RET means "yes" in y-or-n-p 00eb21c897 ; * src/dispextern.h (struct glyph_string): Comment on NCH... 20eb3644ba Rewrite Antinews for Emacs 28 3a9b881603 ; * etc/NEWS: Rearrange the "incompatible changes" sections. ebb7e26013 ; * etc/NEWS: Fix a typo. 315fe20086 ; * src/Makefile.in (../native-lisp): Add comment. 47cbd103f5 * lisp/bindings.el (mode-line-position): Improve tooltip. 35a752863a * lisp/progmodes/xref.el: Bump the version. bbcd8cc1a9 Slight simplificaiton e139dd1b1e Fix doc strings of 2 categories 59782839cb (xref--collect-matches-1): Remove some intermediate alloca... 1c7d056f4d ; Fix two typos where em dash was written as en dash # Conflicts: # etc/NEWS
| | * ; Fix indentation in etc/NEWSMichael Albinus2021-10-091-2/+2
| | |
| | * Fix thinko in ls-lisp--insert-directoryMichael Albinus2021-10-091-0/+1
| | | | | | | | | | | | | | | * lisp/ls-lisp.el (ls-lisp--insert-directory): Ensure that SWITCHES is a string.
| | * Mention that RET means "yes" in y-or-n-pLars Ingebrigtsen2021-10-091-1/+1
| | | | | | | | | | | | * lisp/subr.el (y-or-n-p): Mention that RET also means yes (bug#51101).
| | * ; * src/dispextern.h (struct glyph_string): Comment on NCHARS. (Bug#51105)Eli Zaretskii2021-10-091-1/+3
| | |
| | * Rewrite Antinews for Emacs 28Eli Zaretskii2021-10-094-234/+209
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/anti.texi (Antinews): * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 28. * doc/lispref/elisp.texi (Top): * doc/emacs/emacs.texi (Top): Update menu accordingly.
| | * ; * etc/NEWS: Rearrange the "incompatible changes" sections.Eli Zaretskii2021-10-091-103/+103
| | |