1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00
Commit graph

160259 commits

Author SHA1 Message Date
Stefan Kangas
9f1aec5055 ; Auto-commit of loaddefs files. 2022-10-01 20:28:53 +02:00
Stefan Kangas
858daf8e0d ; * admin/update_autogen: Really fix. 2022-10-01 20:21:52 +02:00
Stefan Kangas
16dd2cd5a4 Update publicsuffix.txt from upstream
* etc/publicsuffix.txt: Update from
https://publicsuffix.org/list/public_suffix_list.dat
dated 2022-09-27 20:39:13 UTC.
2022-10-01 20:17:57 +02:00
Stefan Kangas
8995c5604f ; * admin/update_autogen: Fix for "set -o nounset". 2022-10-01 17:40:29 +02:00
Michael Albinus
405466b79c Use a version for the Tramp cache
* lisp/net/tramp-cache.el (tramp-cache-version): New defconst.
(top): Check the cache version, and flush the cache in case of
mismatch.  Suggested by Paul Pogonyshev <pogonyshev@gmail.com>.

* lisp/net/tramp-cmds.el (tramp-cleanup-all-connections):
Re-initialize the cache version.
2022-10-01 17:17:39 +02:00
Stefan Kangas
55f46cc77c Decrease use of the word "Emacsen" in docs
"Emacsen" is either a less clear way of saying "old versions of
Emacs", or an implicit reference to XEmacs.  We recommend against
using it in the FAQ.  So use the more clear wording instead.

* doc/misc/gnus.texi (Oort Gnus):
* doc/misc/widget.texi (Basic Types, toggle):
* lisp/cedet/semantic/bovine/c.el (semantic-c-skip-conditional-section):
* lisp/cedet/semantic/wisent/comp.el (wisent-compile-grammar):
* lisp/desktop.el (desktop-save):
* lisp/erc/erc-compat.el:
* lisp/erc/erc-log.el:
* lisp/gnus/gnus-util.el (gnus-replace-in-string):
* lisp/mail/footnote.el:
* lisp/net/tramp-archive.el:
* lisp/net/tramp-smb.el:
* lisp/net/tramp-uu.el:
* lisp/net/tramp.el:
(with-tramp-locked-connection):
* lisp/org/ol-eww.el:
* lisp/org/org-compat.el:
(org-define-error):
* lisp/shadowfile.el:
* lisp/winner.el: Don't use the word "Emacsen".
2022-10-01 17:16:03 +02:00
Stefan Kangas
abe83f76de Merge from origin/emacs-28
be3eac3929 ; * etc/NEWS: Fix typos.
99a8c53247 Fix connection property incompatibility in Tramp

# Conflicts:
#	etc/NEWS
2022-10-01 17:14:47 +02:00
Eli Zaretskii
ced37a87e7 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs 2022-10-01 18:00:24 +03:00
Eli Zaretskii
3bd9606922 ; Another fix for vertical motion
* src/xdisp.c (move_it_vertically_backward): Undo recent changes for
bidi-reordered text.  (Bug#58210)
2022-10-01 17:56:58 +03:00
Lars Ingebrigtsen
3215760194 Make mailcap--regexp-quote-type more resilient
* lisp/net/mailcap.el (mailcap--regexp-quote-type): Make more
resilient in the presence of junk.
2022-10-01 16:56:19 +02:00
Lars Ingebrigtsen
e50a3b5792 Make "git pull" output slightly prettier
* lisp/vc/vc-git.el (vc-git--pushpull): Translate ^M in output
(bug#58199).
2022-10-01 16:06:37 +02:00
Eli Zaretskii
ff43fd07b7 Fix vertical motion in some rare bidi situations
* src/xdisp.c (move_it_by_lines): Handle the case where we
didn't move vertically at all.
2022-10-01 17:01:15 +03:00
Lars Ingebrigtsen
3faa508eba Make mailcap consistent about regexp-quoting minors
* lisp/net/mailcap.el (mailcap-mime-data): Quote regexp.
(mailcap-mime-extensions): Ditto.
(mailcap--regexp-quote-type): New function.
(mailcap-parse-mimetype-file): Use it to get consistent quoting of
(regexp) strings (bug#52038).  Before you'd get both
application/vnd\.ms-excel and application/vnd.ms-excel (etc),
making prompting confusing.
2022-10-01 15:20:42 +02:00
Lars Ingebrigtsen
41234a21bf Fix url-retrieve-synchronously on very short timeouts
* lisp/url/url.el (url-retrieve-synchronously): Don't kill the
process buffer unless we made one (bug#58218).  This makes HTTP
free connection marking work on premature timeouts.
2022-10-01 14:51:07 +02:00
Eli Zaretskii
82860cb7f7 ; (move_it_vertically_backward): Yet another fix of bug#58210. 2022-10-01 15:44:23 +03:00
Matthias Meulien
a2a91f0205 Define ansi-osc customization group
* lisp/ansi-osc.el (ansi-osc): Define ansi-osc customization group
(ansi-osc-for-compilation-buffer): Fix wrong group
2022-10-01 11:58:46 +02:00
Matthias Meulien
abc955d017 Rename osc.el to ansi-osc.el (bug#58200)
* lisp/osc.el: Move from here...
* lisp/ansi-osc.el: ...to here.
* test/lisp/osc-tests.el: Move from here...
* test/lisp/ansi-osc-tests.el: ...to here.
2022-10-01 11:58:27 +02:00
Protesilaos Stavrou
454e1a06a2
Update to Modus themes stable version 2.7.0
* doc/misc/modus-themes.org (Load theme depending on time of day): Add
missing keyword from sample configuration.
(Full support for packages or face groups): Update list of supported packages.
(Note on goto-address-mode faces): Add documentation about possible
user-level tweaks.
(Are these color schemes?): Fix typo.
(Acknowledgements): Update list of contributors to the project.

* etc/themes/modus-themes.el (modus-themes--version): Update to
current stable version.
(modus-themes-vivendi-colors): Tweak value of a single color.
(modus-themes-faces): Update list of supported faces.
(modus-themes-custom-variables): Remove outdated "TODO" comment.

* etc/themes/modus-operandi-theme.el:
* etc/themes/modus-vivendi-theme.el: Update version header.

Release notes: <https://protesilaos.com/codelog/2022-10-01-modus-themes-2-7-0/>.
2022-10-01 10:57:59 +03:00
Eli Zaretskii
372cc9e88c Fix 'C-a' and 'C-e' under 'visual-line-mode'
* src/xdisp.c (move_it_vertically_backward): Fix last change.
(Bug#58210)
2022-10-01 09:24:04 +03:00
Paul Eggert
2ceb09315c Update from Gnulib by running admin/merge-gnulib 2022-09-30 17:57:55 -07:00
Michael Albinus
be3eac3929 ; * etc/NEWS: Fix typos. 2022-09-30 21:54:05 +02:00
Michael Albinus
99a8c53247 Fix connection property incompatibility in Tramp
* lisp/net/tramp.el (tramp-get-remote-tmpdir): Remove obsolete
connection property "tmpdir".  (Bug#57800)
2022-09-30 21:53:52 +02:00
Miha Rihtaršič
cd4208f6d8 Rename comint-fl-* to comint-fontify-input-* and mention it in NEWS
* lisp/comint.el
(comint-fontify-input-mode):
(comint--fontify-input-saved-jit-lock-contextually):
(comint--fontify-input-on):
(comint--fontify-input-off):
(comint--fontify-input-ppss-flush-indirect):
(comint--fontify-input-fontify-region): Replace comint-fl-* with
comint-fontify-input-*.

* lisp/ielm.el (ielm-fontify-input-enable):
(ielm-fontify-input-enable):
(ielm-indirect-setup-hook):
(inferior-emacs-lisp-mode): Replace comint-fl-* with
comint-fontify-input-*.

* lisp/shell.el (shell-comint-fl-enable):
(shell-mode): Replace comint-fl-* with comint-fontify-input-*.

* etc/NEWS: Mention the new modes and how to disable or enable
them (bug#58169).
2022-09-30 21:15:06 +02:00
Miha Rihtaršič
90744ff0be comint-fl: Prevent fontification of output as input
* lisp/comint.el (comint-output-filter): Inhibit jit-lock
fontification of inserted process output before marking it with the
'output' filed property (bug#58169).
2022-09-30 21:15:06 +02:00
Eli Zaretskii
22f0e777f3 ; * lisp/international/mule.el (set-terminal-coding-system): Doc fix. 2022-09-30 22:05:53 +03:00
Eli Zaretskii
83b9e03444 ; * doc/emacs/emacs.texi (Top): Add new menu entry. 2022-09-30 21:57:21 +03:00
Eli Zaretskii
f7b84345f8 ; * doc/emacs/vc1-xtra.texi (Editing VC Commands): Fix wording. 2022-09-30 21:55:38 +03:00
Lars Ingebrigtsen
63f033c221 Further with-locale-environment refresh fixes
* lisp/international/mule-cmds.el
(set-display-table-and-terminal-coding-system): Allow inhibiting
refresh.
(set-locale-environment): Inhibit refresh in more paths (bug#58193).
2022-09-30 19:38:36 +02:00
Sean Whitton
f270a9859d ; Fix some texinfo in last change 2022-09-30 09:20:26 -07:00
Sean Whitton
fdea378015 Add vc-edit-next-command
* lisp/vc/vc.el (vc-read-revision): Override
vc-filter-command-function back to its default value.
(vc-print-branch-log): Remove recently-added prefix argument.
(vc-edit-next-command): New command.
* lisp/vc/vc-hooks.el (vc-prefix-map): Bind it to 'C-x v !'.
* etc/NEWS:
* doc/emacs/vc1-xtra.texi (Editing Shell Commands): Document it.
2022-09-30 09:06:08 -07:00
Mattias Engdegård
16015288e1 Rectify string= documentation
* doc/lispref/strings.texi (Text Comparison): Describe the current
behaviour since about 20 years back.
2022-09-30 16:28:46 +02:00
Mattias Engdegård
ec5af48a18 Strengthen string-lessp tests
* test/src/fns-tests.el (fns-tests--string-lessp-cases)
(fns-tests-string-lessp): Check more cases, and in a more robust way.
2022-09-30 16:28:46 +02:00
Mattias Engdegård
123506f9ca Speed up string-lessp further
* src/fns.c (Fstring_lessp): Use the memcmp fast path for ASCII-only
multibyte strings as well.  Specialise loops on argument
multibyteness.
2022-09-30 16:24:44 +02:00
Lars Ingebrigtsen
b858acde25 Don't refresh the frame in with-locale-environment
* lisp/international/mule-cmds.el (with-locale-environment):
Inhibit refresh so that there's no flickering (bug#58193).
(set-locale-environment): Allow inhibiting the refresh.
* lisp/international/mule.el (set-terminal-coding-system): Ditto.
2022-09-30 16:14:20 +02:00
Lars Ingebrigtsen
a80cfb7473 Make gnus-user-agent less verbose
* lisp/gnus/gnus.el (gnus-user-agent): Don't include the Emacs/OS
version for privacy reasons (bug#58171).
2022-09-30 16:02:11 +02:00
Lars Ingebrigtsen
b51a06f24d Fix the `dictionary' parent defgroup
* lisp/net/dictionary.el (dictionary): The `hypermedia' group
doesn't exist, so put it in the same parent group that `ispell'
uses (bug#58178).
2022-09-30 15:12:21 +02:00
Jose A. Ortega Ruiz
b23e062d74 docview: fixes for imenu generation
* lisp/doc-view.el: (doc-view--pdf-outline):
(doc-view-imenu-index):
(doc-view-imenu-setup): Fix multiple empty index generation for
documents without an outline, caching the result (see discussion in
bug#58103).
(doc-view--imenu-subtree): Fix for nested imenus (bug introduced in
commit fe002cc8ce) (bug#58180).
2022-09-30 15:08:40 +02:00
Lars Ingebrigtsen
0332142e8e Fix rename-visited-file when renaming to a directory name
* lisp/files.el (rename-visited-file): Allow renaming to a
directory file name (bug#58182).
2022-09-30 15:07:31 +02:00
Lars Ingebrigtsen
a42dd0c87d Improve message-sendmail-f-is-evil documentation
* lisp/gnus/message.el (message-sendmail-f-is-evil): Move some of
the explanation here.

* lisp/mail/feedmail.el (feedmail-sendmail-f-doesnt-sell-me-out):
Refer to message-sendmail-f-is-evil (bug#58185).
2022-09-30 14:49:17 +02:00
Eli Zaretskii
3553904a90 Fix some issues with vertical-motion in bidi-reordered text
This fixes some uses of vertical-motion when a screen line
starts withcharacters of directionality that is opposite to
the current paragraph's base direction.
* src/xdisp.c (move_it_vertically_backward): Adjust NLINES to
compensate for its increasing when DY == 0.
2022-09-30 15:38:22 +03:00
Po Lu
12a78711c9 Fix calculation of frame times when X server time overflows
* etc/TODO: Add TODO about frame synchronization and animations.
* src/xterm.c (x_display_set_last_user_time): Handle cases when
the monotonic time is not the server time due to the latter
overflowing.
2022-09-30 14:54:24 +08:00
Eli Zaretskii
b7a3770ecc ; Fix documentation of Toto language environment
* lisp/leim/quail/indian.el ("toto"):
* lisp/language/indian.el ("Toto"): Clarify doc strings.
2022-09-30 09:21:43 +03:00
समीर सिंह Sameer Singh
681cf21ddc Add support for the Toto script (bug#58181)
* lisp/language/indian.el ("Toto"): New language environment.
Add input method.
* lisp/international/fontset.el (script-representative-chars):
Support Toto.
* lisp/leim/quail/indian.el ("toto"): New input method.

* etc/NEWS: Announce the new language environment.
2022-09-30 09:15:56 +03:00
Stefan Kangas
d5cccca945 Merge from origin/emacs-28
64e8cc14b5 ; * lisp/image.el (create-image): Fix last change in doc s...
f3e3632394 Update some Gnus documentation in the Emacs manual
2022-09-30 06:30:41 +02:00
Stefan Kangas
e3748c3233 ; * etc/NEWS: Move item to correct section.
This change belongs in "Changes" rather than "Lisp Changes" as this is
not only relevant to Lisp developers.
2022-09-29 20:24:32 +02:00
Eli Zaretskii
a577b12d64 ; * lisp/image/wallpaper.el (wallpaper--x-monitor-name): Doc fix. 2022-09-29 20:03:51 +03:00
Stefan Kangas
696c528379 Fix loading wallpaper.el on MS-Windows
* lisp/image/wallpaper.el (wallpaper--find-command)
(wallpaper--find-command-args): Avoid backtrace when
'wallpaper--find-setter' returns nil, e.g. on MS-Windows.
(Bug#58167)
2022-09-29 18:44:03 +02:00
Eli Zaretskii
0edd7770e0 ; * etc/NEWS: Remove a stray newline. 2022-09-29 18:55:08 +03:00
Alan Mackenzie
a18918df0b CC Mode: Refactor c-forward-delarator and callers
c-forward-declarator now moves over a complete declarator, including any
arglist expression, but possibly not including certain C++20 constructs.

* lisp/progmodes/cc-engine.el (c-forward-decl-arglist): New function,
extracted from c-do-declarators.
(c-forward-declarator): Extend the result list by one element, denoting
whether the function parsed an argument list.  Insert special handling for a
C++ operator<op> construct.  If there is a parenthesis expression, and it is
an argument list, move forward over it.
(c-do-declarators): Append an optional parameter, cdd-anon-accepted
instructing the function to handle declarators without identifiers.  Extract
c-forward-decl-arglist.

* lisp/progmodes/cc-fonts.el (c-font-lock-declarators): New &optional
parameter accept-anon, as above.  Analyze and use the identifier location
returned by c-do-declarators, rather than using c-last-identifier-range.
(c-font-lock-single-decl): Determine accept-anon from the context, passing it
as argument to c-font-lock-declarators.

* lisp/progmodes/cc-langs.el (c-opt-identifier-prefix-key): Make a
c-lang-defvar out of this existing c-lang-defconst.

* lisp/progmodes/cc-mode.el (c-fl-decl-end): Adapt for the new
c-forward-declarator which now moves over arglists.  Amend better to handle
certain syntactically invalid constructs in C++.
2022-09-29 15:22:42 +00:00
Stefan Kangas
48c9f9d31d ; * etc/NEWS: Announce last change. 2022-09-29 16:33:13 +02:00