summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into scratch/etags-regenscratch/etags-regenDmitry Gutov2022-07-111509-62490/+176141
|\
| * * time-date.el (decoded-time-period): Rename TIME in docstringPhilip Kaludercic2022-07-111-1/+1
| |
| * ; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix last change.Michael Albinus2022-07-101-1/+1
| |
| * Remove some ineffectual calls to purecopyStefan Kangas2022-07-104-72/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dired.el (dired-chown-program, dired-trivial-filenames): * lisp/emacs-lisp/shortdoc.el (shortdoc--display-function): * lisp/help-fns.el (help-fns--mention-shortdoc-groups): * lisp/mail/mail-extr.el (mail-extr-full-name-prefixes) (mail-extr-all-letters-but-separators, mail-extr-all-letters) (mail-extr-first-letters, mail-extr-last-letters) (mail-extr-bad-dot-pattern, mail-extr-full-name-suffix-pattern) (mail-extr-alternative-address-pattern) (mail-extr-trailing-comment-start-pattern) (mail-extr-name-pattern, mail-extr-telephone-extension-pattern) (mail-extr-ham-call-sign-pattern, mail-extr-normal-name-pattern) (mail-extr-two-name-pattern) (mail-extr-listserv-list-name-pattern) (mail-extr-stupid-vms-date-stamp-pattern) (mail-extr-hz-embedded-gb-encoded-chinese-pattern) (mail-extr-x400-encoded-address-pattern) (mail-extr-x400-encoded-address-field-pattern-format) (mail-extr-x400-encoded-address-surname-pattern) (mail-extr-x400-encoded-address-given-name-pattern) (mail-extr-x400-encoded-address-full-name-pattern): Remove ineffectual calls to purecopy.
| * Rename new option to browse-url-default-schemeStefan Kangas2022-07-102-7/+7
| | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-default-scheme): Rename from 'browse-url-guess-default-scheme'. Update caller. Suggested by Eli Zaretskii <eliz@gnu.org>.
| * Speed up string-to-unibyteMattias EngdegÄrd2022-07-104-37/+30
| | | | | | | | | | | | | | | | * src/character.h (str_to_unibyte): * src/character.c (str_to_unibyte): Remove. * src/fns.c (Fstring_to_unibyte): Ditch the call to str_to_unibyte and the unnecessary heap allocation. Write new, faster code. * test/src/fns-tests.el (fns--string-to-unibyte): New test.
| * Fix Tramp test environment on hydra.nixos.orgMichael Albinus2022-07-105-21/+12
| | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Declare. Adapt `tramp-remote-path' on hydra. (Bug#56424) * test/lisp/dnd-tests.el (dnd-tests-begin-drag-files): Remove instrumentation. * test/lisp/filenotify-tests.el: * test/lisp/shadowfile-tests.el: * test/lisp/net/tramp-tests.el: Do not adapt `tramp-remote-path'.
| * Don't use purecopy in dictionary.elStefan Kangas2022-07-101-11/+11
| | | | | | | | | | | | | | | | * lisp/net/dictionary.el (dictionary-pre-buffer) (dictionary-display-dictionary-line) (dictionary-display-more-info, dictionary-display-strategy-line) (dictionary-display-match-lines): Don't use purecopy; it has no effect here.
| * * src/dired.c (directory_files_internal): Update commentStefan Monnier2022-07-101-1/+11
| |
| * * src/dired.c (directory_files_internal): Fix bug#56469Stefan Monnier2022-07-101-3/+11
| | | | | | | | Avoid concatenating encoded and decoded file names.
| * New user option browse-url-guess-default-schemeStefan Kangas2022-07-102-1/+20
| | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-guess-default-scheme): New user option. (browse-url-url-at-point): Use above new user option.
| * ; Use example.org in an exampleStefan Kangas2022-07-101-1/+1
| | | | | | | | | | * lisp/net/browse-url.el (browse-url-filename-alist): Use example.org to be more RFC2606 compliant.
| * * doc/misc/tramp.texi (Frequently Asked Questions): Fix formatting.Michael Albinus2022-07-101-5/+5
| |
| * Minor fixes to WM_DELETE_WINDOW handlingPo Lu2022-07-101-1/+4
| | | | | | | | | | * src/xterm.c (handle_one_xevent): Only handle WM_DELETE_WINDOW to toplevel windows, and set event timestamp.
| * Make browse-url.el support for plain "mozilla" obsoleteStefan Kangas2022-07-102-3/+11
| | | | | | | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-mozilla-program) (browse-url-mozilla-arguments) (browse-url-mozilla-startup-arguments) (browse-url-mozilla-new-window-is-tab, browse-url-mozilla) (browse-url-mozilla-sentinel): Make obsolete. (Bug#56464) (browse-url--browser-defcustom-type, browse-url-default-browser): Don't refer to above obsolete function 'browse-url-mozilla'.
| * * lisp/net/browse-url.el: Improve commentary.Stefan Kangas2022-07-101-18/+22
| |
| * ; * test/lisp/dnd-tests.el (dnd-tests-begin-drag-files): Instrument.Michael Albinus2022-07-101-0/+6
| |
| * ; * lisp/startup.el (command-line-1): Fix last change.Eli Zaretskii2022-07-101-1/+2
| |
| * Fix the startup.el behavior when 'face-font-rescale-alist' is non-nilEli Zaretskii2022-07-101-4/+14
| | | | | | | | | | | | | | | | | | * lisp/startup.el (command-line-1, normal-top-level): Reset the default face's font only if 'face-font-rescale-alist' affects that face's font. For the use case where it matters, see https://lists.gnu.org/archive/html/emacs-devel/2022-07/msg00157.html. Make the 'inhibit-startup-screen' and non-inhibit branches behave the same in that case.
| * ; * src/composite.c (Fcomposition_get_gstring): Fix compiler warnings.Po Lu2022-07-101-1/+1
| |
| * Fix build with old sqlite librariesPo Lu2022-07-101-2/+4
| | | | | | | | | | * src/sqlite.c (Fsqlite_open): Don't use SQLITE_OPEN_FULLMUTEX if not defined.
| * Speed up 'find_automatic_composition'Eli Zaretskii2022-07-101-17/+29
| | | | | | | | | | * src/composite.c (find_automatic_composition): Limit search backward in buffers to the first newline. Fix commentary.
| * Don't sync for errors setting up DND targets and toplevelsPo Lu2022-07-101-9/+15
| | | | | | | | | | * src/xterm.c (xm_setup_dnd_targets, x_dnd_free_toplevels) (x_dnd_compute_toplevels): Avoid catching errors synchronously.
| * Merge from origin/emacs-28Stefan Kangas2022-07-102-15/+16
| |\ | | | | | | | | | 115261b323 ; Improve wording of recently-changed doc strings.
| | * ; Improve wording of recently-changed doc strings.Eli Zaretskii2022-07-092-15/+16
| | | | | | | | | | | | | | | | | | * lisp/simple.el (auto-save-mode): * lisp/files.el (auto-save-visited-mode): Improve wording of the doc strings.
| * | Make `x-no-window-manager' cover user time as wellPo Lu2022-07-101-0/+22
| | | | | | | | | | | | | | | | | | * src/xterm.c (x_update_frame_user_time_window): (x_wm_supports_1): Respect `x-no-window-manager'. This makes testing some features easier.
| * | * test/Makefile.in (WRITE_LOG): Always be verbose on hydra.nixos.Glenn Morris2022-07-091-4/+4
| | |
| * | Make STRING_SET_MULTIBYTE an inline functionStefan Monnier2022-07-092-11/+13
| | | | | | | | | | | | | | | | | | | | | * src/lisp.h (STRING_SET_MULTIBYTE): Make it into a function. * src/composite.c (Fcomposition_get_gstring): Prefer `make_multibyte_string` over Fconcat+STRING_SET_MULTIBYTE.
| * | Exclude platform specific browsers from custom typeStefan Kangas2022-07-091-8/+11
| | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url--browser-defcustom-type): Don't include platform specific browsers on other platforms.
| * | * lisp/net/eww.el (eww): Improve docstring.Stefan Kangas2022-07-091-1/+3
| | |
| * | Make browse-url-default-browser fall back to EWWStefan Kangas2022-07-091-3/+2
| | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-default-browser): Fall back to EWW.
| * | Drop support for the dead third-party w3 packageStefan Kangas2022-07-0913-75/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The w3 package was removed from GNU ELPA in 2020 as it doesn't run on a recent Emacs, and development had stopped over a decade before that. If anyone wants to revive the w3 package, they should look this all over, but it doesn't make sense for us to maintain this support code. Ref: https://debbugs.gnu.org/25395 * lisp/net/browse-url.el (browse-url-w3): Make obsolete. (browse-url--browser-defcustom-type) (browse-url-default-browser): * lisp/ffap.el (ffap-url-at-point, ffap-file-at-point): * lisp/net/newst-plainview.el (newsticker--buffer-do-insert-text): * lisp/net/newst-reader.el (newsticker-html-renderer) (newsticker-show-news): * lisp/net/newst-treeview.el (newsticker--treeview-render-text): * lisp/org/ol.el (org-store-link): * lisp/url/url.el (url-retrieve): Remove w3 support code and related documentation and comments. (Bug#56435) * test/lisp/net/browse-url-tests.el (browse-url-tests-browser-kind): Adjust test for above changes. * etc/TODO: Remove TODO to install W3. * doc/misc/org.org (Handling Links): Don't mention W3. * lisp/msb.el (msb--few-menus, msb--very-many-menus): Check for eww-mode instead of w3-mode.
| * | Improve introductory section of TRAMP manualStefan Kangas2022-07-091-11/+18
| | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Top, Overview): Explain what TRAMP is without contrasting to Ange FTP. (Bug#56440) (Frequently Asked Questions): Move information on Ange FTP here.
| * | Prefer defvar-keymap in net/*.elStefan Kangas2022-07-0914-231/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/dictionary.el (dictionary-mode-map): * lisp/net/dig.el (dig-mode-map): * lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map): * lisp/net/eudc.el (eudc-mode-map): * lisp/net/mairix.el (mairix-searches-mode-map): * lisp/net/newst-treeview.el (newsticker-treeview-list-sort-button-map) (newsticker-treeview-mode-map): * lisp/net/quickurl.el (quickurl-list-mode-map): * lisp/net/rcirc.el (rcirc-mode-map) (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map): * lisp/net/rlogin.el (rlogin-mode-map): * lisp/net/secrets.el (secrets-mode-map): * lisp/net/sieve-mode.el (sieve-mode-map): * lisp/net/sieve.el (sieve-manage-mode-map): * lisp/net/snmp-mode.el (snmp-mode-map): * lisp/net/telnet.el (telnet-mode-map): Prefer defvar-keymap.
| * | Avoid extra sync and atom name query on ending Motif DNDPo Lu2022-07-091-3/+3
| | | | | | | | | | | | | | | * src/xterm.c (handle_one_xevent): Use `x_dnd_action_symbol' to set the Motif action instead.
| * | Delete obsolete variable tooltip-use-echo-areaStefan Kangas2022-07-093-17/+5
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/tooltip.el (tooltip-use-echo-area): Delete variable obsolete since 24.1. (tooltip-help-tips): * lisp/progmodes/gud.el (gud-tooltip-process-output) (gud-tooltip-tips): Don't use above deleted variable.
| * | * lisp/woman.el (woman-fill-column): Increase default to 70.Stefan Kangas2022-07-091-3/+5
| | |
| * | * lisp/mh-e/mh-mime.el (mh-small-show-buffer-p): Double value.Stefan Kangas2022-07-091-1/+1
| | |
| * | Delete obsolete variable font-lock-maximum-sizeStefan Kangas2022-07-096-53/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/font-lock.el (font-lock-maximum-size): Delete variable obsolete since 24.1. (font-lock-initial-fontify): * lisp/mail/rmail.el (rmail-variables): * lisp/mh-e/mh-mime.el (mh-small-show-buffer-p): Don't use above deleted variable. * lisp/font-core.el (font-lock-mode): * lisp/font-lock.el: * lisp/info.el: Don't mention above deleted variable.
| * | ; * lisp/emacs-lisp/cconv.el (cconv--var-classification): Optimise.Mattias EngdegÄrd2022-07-091-2/+1
| | |
| * | New command emacs-news-toggle-tagStefan Kangas2022-07-093-0/+184
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-toggle-tag): New command. (emacs-news-mode-map): Bind above new command to "C-c C-t". * test/lisp/textmodes/emacs-news-mode-resources/toggle-tag.erts: * test/lisp/textmodes/emacs-news-mode-tests.el: New files.
| * | Improve ert-test-erts-file documentationStefan Kangas2022-07-092-3/+9
| | | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert-test-erts-file): Improve docstring. * doc/misc/ert.texi (erts files): Fix typo.
| * | Bind M-G unconditionally in DiredStefan Kangas2022-07-095-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dired-x.el: Move dired-goto-subdir binding from here... * lisp/dired.el (dired-mode-map): ...to here. (Bug#21981) * doc/misc/dired-x.texi (Miscellaneous Commands): Move documentation of above command from here... * doc/emacs/dired.texi (Subdirectory Motion): ...to here.
| * | Move dired-buffer-more-recently-used-p to dired.elStefan Kangas2022-07-092-11/+8
| | | | | | | | | | | | | | | | | | * lisp/dired-x.el (dired-buffer-more-recently-used-p): Move from here... * lisp/dired.el (dired-buffer-more-recently-used-p): ...to here.
| * | Delete obsolete variable buffer-substring-filtersStefan Kangas2022-07-093-41/+14
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/simple.el (buffer-substring-filters): Delete variable obsolete since 24.1. (buffer-substring--filter): Adjust for deleted variable. * doc/lispref/text.texi (Buffer Contents): Adjust documentation for deleted variable.
| * | ; Rename 'ffap--accept-or-reject-p'Eli Zaretskii2022-07-091-5/+6
| | | | | | | | | | | | | | | * lisp/ffap.el (ffap-accept-or-reject-p): Renamed from 'ffap--accept-or-reject-p'; all users changed. Doc fix.
| * | Improve drag-and-drop emulation time handlingPo Lu2022-07-093-49/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xselect.c (x_handle_selection_request): Use display-specific pending DND time. (x_set_pending_dnd_time): Delete function. * src/xterm.c (x_dnd_do_unsupported_drop, handle_one_xevent): Set dpyinfo->pending_dnd_time instead. * src/xterm.h (struct x_display_info): New field `pending_dnd_time'. Make handling pending drops display-specific to avoid interference when there are multiple displays.
| * | Fix race conditions handling selection clear events on HaikuPo Lu2022-07-094-11/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/haiku_select.cc (be_handle_clipboard_changed_message): Include current clipboard count. (be_selection_outdated_p): New function. * src/haikuselect.c (haiku_handle_selection_clear): Ignore outdated events. (haiku_selection_disowned): New argument `count'. Include it in the timestamp field of the selection clear event. * src/haikuselect.h: Update prototypes. * src/systime.h: Define `Time' to an appropriate value on Haiku.
| * | Merge from origin/emacs-28Stefan Kangas2022-07-092-8/+8
| |\ \ | | |/ | | | | | | | | | 3442de2edd Doc fix; don't mention obsolete variable c4e251103b ; * lisp/textmodes/rst.el: Update URLs.
| | * Doc fix; don't mention obsolete variableStefan Kangas2022-07-081-1/+1
| | | | | | | | | | | | | | | * src/window.c (Fset_window_hscroll): Doc fix; don't mention obsolete variable.