1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
Commit Graph

82212 Commits

Author SHA1 Message Date
Alan Mackenzie
d927181b1a * lisp/progmodes/cc-mode.el (c-common-init): Bind case-fold-search to nil
Backport:  This fixes bug #53605.
2022-07-02 16:37:59 +00:00
Alan Mackenzie
dc3d01a5af CC Mode: Fix a c-backward-token-2 call wrongly jumping back over macros.
This fixes bug #56256.

* lisp/progmodes/cc-fonts.el (c-font-lock-c++-lambda-captures): Replace a
c-backward-token-2, which could jump back too far leading to an infinite
loop, with a save-excursion to remember the point we've got to go back to.
2022-07-02 16:12:59 +00:00
Stefan Kangas
e390396e68 Doc fixes; don't use obsolete names
* etc/compilation.txt:
* lisp/mh-e/mh-funcs.el (mh-kill-folder): Don't use obsolete
names.
2022-07-02 11:59:57 +02:00
Stefan Kangas
c85f7c2e8a Don't refer to obsolete alias for insert-char
* lisp/leim/quail/persian.el: Don't refer to obsolete alias for
insert-char.
2022-07-02 11:59:57 +02:00
Eli Zaretskii
1c3d107cb5 Fix "C-u C-x =" for SPC
* lisp/descr-text.el (describe-char): Don't report 'nobreak-space'
face for SPC.  (Bug#56337)
2022-07-01 17:17:36 +03:00
Stefan Kangas
6908309827 Doc fixes: don't refer to some obsolete items
* admin/notes/multi-tty:
* lisp/chistory.el (command-history):
* lisp/emacs-lisp/nadvice.el:
* lisp/vc/diff-mode.el: Doc fix; don't refer to obsolete variables and
functions.
2022-06-30 23:18:45 +02:00
Eli Zaretskii
f5421104e9 Fix external image conversion on MS-Windows
* lisp/image/image-converter.el (image-converter--convert-magick)
(image-converter--convert): Force encoding/decoding to avoid any
text or EOL conversions, since we are reading/writing binary
data.  (Bug#56317)
2022-06-30 13:50:34 +03:00
Stefan Kangas
7f749e44db ; Auto-commit of loaddefs files. 2022-06-29 14:20:24 +02:00
Michael Albinus
3d91d55432 Update Tramp version (don't merge with master)
* doc/misc/trampver.texi:
* lisp/net/trampver.el: Change version to "2.5.3".
2022-06-29 11:08:44 +02:00
Michael Albinus
2eba8cad20 Tramp shall not trap unrelated D-Bus errors
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-vector): Declare.
(tramp-gvfs-file-name-handler): Let-bind it.
(tramp-gvfs-dbus-event-vector): Fix docstring.
(tramp-gvfs-maybe-open-connection): Do not set it globally.  (Bug#56162)
2022-06-28 14:41:45 +02:00
Kyle Meyer
48bda83d35 Update to Org 9.5.4-3-g6dc785 2022-06-26 23:00:38 -04:00
Allen Li
a9d338818a ; elec-pair: Fix docstring typo (bug#56233)
* lisp/elec-pair.el (electric-pair-post-self-insert-function): Fix typo.
2022-06-26 11:14:34 +03:00
Stefan Kangas
a772c0b852 ; Fix typos: prefer US spelling. 2022-06-23 22:03:50 +02:00
Tassilo Horn
f3acc09377 ; Revert "Use file-in-directory-p instead of obsolete dired-in-this-tree-p"
Fixes bug#56126.

This reverts commit b425966b07.
2022-06-21 21:21:12 +02:00
Stefan Kangas
5082d74cfd ; * lisp/recentf.el: Fix typo. 2022-06-21 14:20:22 +02:00
Stefan Kangas
3f66e2a903 * lisp/repeat.el (repeat-mode): Fix message format. 2022-06-21 13:57:30 +02:00
Richard Hansen
422f958030 Fix invalid defcustom :group when :predicate is used
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
invalid `:group' argument for the `-modes' defcustom that is created
when `:predicate' is used (bug#56049).
2022-06-18 14:11:01 +02:00
Lars Ingebrigtsen
d671cd57c4 Update cl-struct-sequence-type doc string
* lisp/emacs-lisp/cl-macs.el (cl-struct-sequence-type): Fix doc
string to reflect what it does (bug#46523).
2022-06-17 16:48:02 +02:00
Stefan Kangas
f419de6eca * lisp/textmodes/artist.el: Minor doc fixes. 2022-06-16 23:25:53 +02:00
Michael Albinus
5ddd0f1a35 * lisp/net/tramp.el (tramp-methods): Fix quoting in docstring. 2022-06-16 10:45:15 +02:00
Lars Ingebrigtsen
850050ca5c Revert "Clarify what a Calc registeri in in calc-insert-register"
This reverts commit 73400e4002.

This has been fixed in Emacs 29 by making it possible to use regular registers in calc.
2022-06-14 13:56:07 +02:00
Lars Ingebrigtsen
73400e4002 Clarify what a Calc registeri in in calc-insert-register
* lisp/calc/calc-yank.el (calc-insert-register): Note that these
aren't normal registers (bug#55943).
2022-06-13 17:14:17 +02:00
Eli Zaretskii
cbd2c87a5d ; Fix last change in whitespace.el. 2022-06-11 14:02:29 +03:00
Eli Zaretskii
52ad2b53cb Fix doc strings in whitespace.el
* lisp/whitespace.el (whitespace-style, whitespace-action):
Untabify the doc strings.  (Bug#55904)
2022-06-11 13:30:07 +03:00
Michael Albinus
3fd0854378 Fix file name quoting in tramp-smb.el (do not merge)
* lisp/net/tramp-smb.el (tramp-smb-handle-write-region): Quote tmpfile.
(tramp-smb-get-localname): Remove superfluous test.  (Bug#55855)

* test/lisp/net/tramp-tests.el (tramp-test03-file-name-method-rules):
Remove superfluous checks.
2022-06-09 14:44:00 +02:00
Michael Albinus
768ed1476a Make Tramp version check more robust
* lisp/net/trampver.el (tramp-repository-branch)
(tramp-repository-version): Check for "git" executable.
2022-06-08 12:42:10 +02:00
Eli Zaretskii
7f778c6943 Fix debugging with GDB when a breakpoint has multiple locations
* lisp/progmodes/gdb-mi.el (gdb-breakpoints--add-breakpoint-row):
New function, extracted from 'gdb-breakpoints-list-handler-custom'.
Don't print "in <unknown>" for header-rows of breakpoints with
multiple locations that don't have a function name attached.
(gdb-breakpoints-list-handler-custom): Add to the breakpoint table
also any locations in multiple-location breakpoints, which are
supported since GDB 6.8.
2022-06-07 16:01:04 +03:00
Eli Zaretskii
25e53e9391 ; * lisp/files.el (file-expand-wildcards): Doc fix. 2022-06-05 16:40:22 +03:00
Kyle Meyer
1b8719835a Update to Org 9.5.4 2022-06-04 16:21:06 -04:00
Eli Zaretskii
2848512654 ; * lisp/files.el (find-file): Avoid too short lines in doc string. 2022-06-02 16:04:38 +03:00
Ikumi Keita
672f9f787f Improve keystrokes in doc strings in some find-file functions
* lisp/files.el (find-file):
(find-file-other-window):
(find-file-other-frame): Include the correct keymap so that
keystrokes are displayed better (bug#55761).

Copyright-paperwork-exempt: yes
2022-06-02 14:29:53 +02:00
Eli Zaretskii
bfa647972f ; Fix doc string of 'delete-selection-repeat-replace-region'
* lisp/delsel.el (delete-selection-repeat-replace-region): Doc
fix.  (Bug#55755)
2022-06-01 22:30:59 +03:00
Michael Albinus
1b7b69e764 Some Tramp cleanup on MS Windows
* lisp/net/tramp.el (tramp-restricted-shell-hosts-alist): Do not add
localhost when `tramp-encoding-shell' is a POSIX shell.

* test/lisp/net/tramp-tests.el (tramp-test31-interrupt-process):
Skip on MS Windows.
2022-05-29 13:31:32 +02:00
Eli Zaretskii
bd5c95a90d Mention "unspecified-fg" and "unspecified-bg" in some doc strings
* lisp/faces.el (face-foreground, face-background)
(foreground-color-at-point, background-color-at-point):
* lisp/color.el (color-name-to-rgb): Mention "unspecified-fg" and
"unspecified-bg" pseudo-colors on TTY frames.  (Bug#55623)
2022-05-27 09:21:31 +03:00
Hayden Shenk
9283508fb2 Fix format specifiers in tramp-adb.el
* lisp/net/tramp-adb.el (tramp-adb-get-device): Fix format
specifiers for port.  (Bug#55651)

Copyright-paperwork-exempt: yes
2022-05-26 18:09:56 +02:00
Štěpán Němec
a9f17ccce3 ; Fix some doc typos and minor language issues 2022-05-26 10:29:10 +02:00
Damien Cassou
f1c1fd7184 Improve documentation of mail-user-agent.
* doc/emacs/sending.texi (Mail Methods):
* lisp/simple.el (mail-user-agent): Mention additional options
of non-bundled MUA.  (Bug#5569)
2022-05-22 11:14:00 +03:00
Eli Zaretskii
b05d1e9b98 ; * lisp/desktop.el: Update the commentary. (Bug#55560) 2022-05-22 08:28:16 +03:00
Eli Zaretskii
139bfa1a08 More fixes in abbrev.el doc strings
* lisp/abbrev.el (inverse-add-global-abbrev, inverse-add-mode-abbrev):
Document the effect of negative ARG.  (Bug#55527)
2022-05-21 21:04:40 +03:00
Lars Ingebrigtsen
d80dea6036 Add note about Tramp completion to completion-styles doc string
* lisp/minibuffer.el (completion-styles): Add note about Tramp
completion (bug#37954).
2022-05-21 14:46:47 +02:00
Eli Zaretskii
90aae0bca2 Improve documentation strings and prompts in abbrev.el
* lisp/abbrev.el (abbrev-file-name, only-global-abbrevs)
(copy-abbrev-table, insert-abbrevs, list-abbrevs)
(abbrev-table-name, edit-abbrevs, define-abbrevs)
(read-abbrev-file, quietly-read-abbrev-file, write-abbrev-file)
(abbrev-edit-save-to-file, abbrev-edit-save-buffer)
(add-mode-abbrev, add-global-abbrev, inverse-add-mode-abbrev)
(inverse-add-global-abbrev, abbrev-prefix-mark)
(expand-region-abbrevs, abbrev-table-get, abbrev-table-put)
(abbrev-get, abbrev-minor-mode-table-alist, abbrevs-changed)
(abbrev-all-caps, last-abbrev-text, last-abbrev-location)
(clear-abbrev-table, define-abbrev, define-global-abbrev)
(define-mode-abbrev, abbrev--active-tables, abbrev--symbol)
(abbrev-symbol, abbrev-expansion, abbrev-insert)
(abbrev-expand-function, abbrev--suggest-above-threshold)
(abbrev--suggest-saved-recommendations)
(abbrev--suggest-shortest-abbrev, abbrev--suggest-get-totals)
(insert-abbrev-table-description, define-abbrev-table)
(abbrev-table-menu): Fix doc strings: wording, punctuation,
clarity.
(add-abbrev, inverse-add-abbrev): Improve the prompt text.
(Bug#55527)
2022-05-21 10:20:41 +03:00
Lars Ingebrigtsen
7dc026f9ea Fix kmacro-keymap binding after previous change
* lisp/kmacro.el (kmacro-keymap): Fix binding after
kmacro-redisplay command name change.
2022-05-17 20:02:59 +02:00
Eli Zaretskii
af1c05a3c4 Fix the name of a kmacro command.
* lisp/kmacro.el (kmacro-redisplay): Rename from
'kdb-macro-redisplay' (which was wrong and included a typo).

* etc/NEWS: Announce the change.  (Bug#55471)
2022-05-17 15:59:59 +03:00
Michael Albinus
f836ed098f Some minor Tramp fixes
* lisp/net/tramp-cmds.el (tramp-list-tramp-buffers)
(tramp-list-remote-buffers): Add ;;;###tramp-autoload cookie.

* lisp/net/tramp-fuse.el (tramp-fuse-remove-hidden-files): New defvar.
(tramp-fuse-remove-hidden-files): Use it.

* lisp/net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
Keep regression tests running.
2022-05-17 09:13:34 +02:00
Kyle Meyer
f928330fa8 Update to Org 9.5.3-6-gef41f3 2022-05-15 17:49:34 -04:00
Michael Albinus
007bf9a34c Hide temporary FUSE files in Tramp
* lisp/net/tramp-fuse.el (tramp-fuse-remove-hidden-files): New defsubst.
(tramp-fuse-handle-directory-files)
(tramp-fuse-handle-file-name-all-completions): Use it.
2022-05-15 15:09:26 +02:00
Eli Zaretskii
48201ce8de ; * lisp/electric.el (electric-indent-mode): Fix a typo. 2022-05-15 09:21:36 +03:00
Eli Zaretskii
8370caa835 ; * lisp/electric.el (electric-indent-mode): Clarify doc (bug#22564). 2022-05-14 17:48:22 +03:00
Po Lu
f044da7704 Fix tooltip face overwriting dragged text strings during mouse DND
* lisp/mouse.el (mouse-drag-and-drop-region): Copy
`text-tooltip' before showing it.  Do not merge to master.
2022-05-13 20:57:24 +08:00
Eli Zaretskii
a769cbfcfb Fix lexical-binding fallout in vhdl-mode.el
* lisp/progmodes/vhdl-mode.el (arch-alist, pack-alist)
(file-alist, unit-alist, rule-alist): Defvar them, since vhdl-aput
expects them to be dynamically bound.  (Bug#55389)
(vhdl-speedbar-insert-hierarchy): Rename the PACK-ALIST argument
to PACKAGE-ALIST, to avoid shadowing the global variable.
2022-05-13 15:00:21 +03:00