Commit graph

160283 commits

Author SHA1 Message Date
Paul Eggert
ffce59b3ad * .gitignore: Add lib/assert.h (Bug#58254). 2022-10-02 13:05:26 -07:00
Juri Linkov
5e37b27ce9 * lisp/vc/vc-git.el (vc-git-checkin): Add more checks for vc-git-patch-string
Check that vc-git-patch-string contains the same changes that already exists
in the staged area when files were added/removed by vc commands (bug#52349).
2022-10-02 21:50:08 +03:00
Juri Linkov
c37fda9e31 In vc-git-log-incoming use the repository in the command "fetch" (bug#50340)
* lisp/vc/vc-git.el (vc-git-log-incoming): Use repository part
from non-nil remote-location in the command "fetch".

* lisp/vc/vc.el (vc-log-incoming, vc-log-outgoing): Mention in
docstrings and prompts that REMOTE-LOCATION can be a remote branch name.

* doc/emacs/maintaining.texi (VC Change Log): For commands
vc-log-incoming and vc-log-outgoing, use the term "remote location"
instead of "repository".
2022-10-02 21:34:57 +03:00
Peter Münster
d4f56e9666 Delete thumbs in image-dired-do-flagged-delete after confirmation
* lisp/image/image-dired.el (image-dired-do-flagged-delete): Remove
thumbnails only after confirming deletion of the files.  (Bug#58255)
2022-10-02 20:16:37 +02:00
Juri Linkov
70b58d3eb4 * lisp/repeat.el (repeat<defgroup>): New customization group.
(repeat-too-dangerous, repeat-on-final-keystroke)
(repeat-exit-key, repeat-exit-timeout, repeat-keep-prefix)
(repeat-check-key, repeat-echo-function, repeat-mode):
Change group to 'repeat'.
2022-10-02 21:14:42 +03:00
Stefan Monnier
570a11052b keymap.el: Ease up support for non-kbd formats.
While we want to standardize on the `kbd` syntax for user-facing code,
the internal vector representation of key sequences is not going away,
so let's not impose silly `key-description + key-parse` roundtrips.
Also, provide some support for packages stuck with user configs defined
to hold old-style key formats.

* lisp/keymap.el (keymap-set): Allow vectors as `key`.
(key-parse-old-format): New function, which stands out better than
`key-description` when searching for uses of the old syntax.

* list/outline.el (outline-minor-mode): Use it.
2022-10-02 14:07:24 -04:00
Stefan Kangas
4839b42a16 * lisp/files.el (after-find-file): Use substitute-command-keys. 2022-10-02 17:52:05 +02:00
Stefan Kangas
0a40120b40 Fix overly wide docstrings generated by eieio
* lisp/emacs-lisp/eieio-core.el (eieio-make-class-predicate)
(eieio-make-child-predicate, eieio-defclass-internal): Don't generate
overly wide docstrings.  (Bug#58252)
2022-10-02 17:28:04 +02:00
Lars Ingebrigtsen
eb02c4d230 Kill URL buffer in url-insert-file-contents-literally
* lisp/url/url-handlers.el (url-insert-file-contents-literally):
Kill the URL buffer after use.
2022-10-02 15:50:02 +02:00
Lars Ingebrigtsen
4efb2ef572 Fix coding system problems in gnus-read-ephemeral-bug-group
* lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Don't
bind coding system variables, because that leads to loading other
files (like cookie files) using that coding system (bug#58227).

* lisp/url/url-handlers.el (url-insert-file-literally): New function.
(url-insert): Allow forcing no-decode.
2022-10-02 15:50:02 +02:00
Eli Zaretskii
e922940674 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs 2022-10-02 16:24:08 +03:00
Eli Zaretskii
b69f640b31 ; Improve doc string of 'with-locale-environment'
* lisp/international/mule-cmds.el (with-locale-environment): Doc
fix.
2022-10-02 16:21:05 +03:00
Stefan Kangas
ab047d74dc Decrease use of the word "Emacsen" in Tramp docs
* lisp/net/tramp-archive.el:
* lisp/net/tramp-smb.el:
* lisp/net/tramp-uu.el:
* lisp/net/tramp.el: Don't say "Emacsen" when a different wording
would be clearer.
2022-10-02 15:18:04 +02:00
Lars Ingebrigtsen
98dd8c6ebf perform-replace doc string fix
* lisp/replace.el (perform-replace): Fix doc string (bug#58177).
2022-10-02 14:09:39 +02:00
Lars Ingebrigtsen
ef6f16da2f Fix point movement when indenting in sieve-mode
* lisp/net/sieve-mode.el (sieve-mode-indent-function): Fix point
movement when point is at the start of the line (bug#58202).
2022-10-02 14:05:53 +02:00
Eli Zaretskii
b14f049f00 ; Fix last change.
* lisp/leim/quail/misc-lang.el ("gothic"):
* lisp/language/misc-lang.el ("Gothic"): Doc fixes.  (Bug#58194)
2022-10-02 11:44:30 +03:00
समीर सिंह Sameer Singh
9c3d397adc Add support for the Gothic script (bug#58194)
* lisp/language/misc-lang.el ("Gothic"): New language environment.
Add sample text and input method.
* lisp/international/fontset.el (script-representative-chars)
(setup-default-fontset): Support gothic.
* lisp/leim/quail/misc-lang.el ("gothic"): New input method.

* etc/HELLO: Add Gothic greetings.
* etc/NEWS: Announce the new language environment.
2022-10-02 11:39:02 +03:00
Stefan Kangas
ef2739aa76 ; Merge from origin/emacs-28
The following commit was skipped:

6c46aa2116 ; Auto-commit of loaddefs files.
2022-10-02 06:30:21 +02:00
Po Lu
3924fbd025 Only rely on EWMH window activation if possible
* xterm.c (x_ewmh_activate_frame): Remove unnecessary
x_wm_supports check.
(x_focus_frame): When the window manager supports
_NET_ACTIVE_WINDOW, just use it; anything else may confuse the
window manager.
2022-10-02 08:28:56 +08:00
Stefan Kangas
8a2bc86039 ; Fix two wallpaper tests
* test/lisp/image/wallpaper-tests.el
(wallpaper--find-command/return-string)
(wallpaper--find-command-args/return-list): Fix tests.
2022-10-01 22:38:58 +02:00
Stefan Kangas
179a1d5298 ; * lisp/winner.el: Fix two comments. 2022-10-01 22:35:46 +02:00
Stefan Kangas
fee9deff53 Revert "Decrease use of the word "Emacsen" in docs"
This reverts commit 55f46cc77c.

Ref. https://lists.gnu.org/r/emacs-devel/2022-10/msg00016.html
2022-10-01 22:34:47 +02:00
Michael Albinus
be85d2d920 Tramp cleanup
* doc/misc/tramp.texi (Password handling): Fix typos.

* lisp/net/tramp-docker.el (tramp-default-remote-shell):
* lisp/net/tramp-sshfs.el (tramp-default-remote-shell): Declare.

* lisp/net/tramp.el (tramp-methods): Fix docstring.
(tramp-get-remote-tmpdir): Revert previous patch, it isn't needed
anymore.
2022-10-01 21:56:41 +02:00
Stefan Kangas
6c46aa2116 ; Auto-commit of loaddefs files. 2022-10-01 20:31:44 +02:00
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