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

151398 Commits

Author SHA1 Message Date
Stefan Kangas
ad74677cf3 Delete reference to obsolete library complete.el
* doc/misc/tramp.texi (Frequently Asked Questions): Delete reference
to obsolete library complete.el.
2022-06-17 12:04:48 +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
Arash Esbati
b0c5accb99 Update MS Windows FAQ for MinGW64-w64/MSYS2
* doc/misc/efaq-w32.texi (Compiling, Debugging): Mention
MinGW64-w64/MSYS2 as the preferred way for building Emacs on
capable systems.
(Attachments with Gnus): Catch up with emacs-mime.texi in the
example given.
(Spell check): Add the availability of GNU Aspell and Hunspell
in MSYS2 distribution.
(Other useful ports): Add an entry for MinGW64-w64/MSYS2.
Fix link for MinGW homepage.
Remove entry for defunct UWIN project.  (Bug#55930)
2022-06-16 10:19:16 +03:00
Robert Pluim
4d7a936ac2 ; * src/fileio.c (Fset_file_modes): Improve previous change 2022-06-15 15:16:47 +02:00
Robert Pluim
32cff740e2 Describe 'set-file-modes' argument prompting
* src/fileio.c (Fset_file_modes): Document that FILENAME is prompted
for.  (Bug#55984)
2022-06-15 14:27:28 +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
Stefan Kangas
d6f080d3de ; * doc/man/etags.1: Bump man page date. 2022-06-12 13:47:57 +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
Eli Zaretskii
0705705ebf Improve documentation of "etags -I"
* doc/man/etags.1:
* doc/emacs/maintaining.texi (Create Tags Table): Elaborate on the
importance of the '-I' option to 'etags'.  (Bug#45246)
2022-06-10 10:06:06 +03:00
Eli Zaretskii
0ad8cd40ce Merge branch 'emacs-28' of git.savannah.gnu.org:/srv/git/emacs into emacs-28 2022-06-10 10:04:28 +03:00
Lars Ingebrigtsen
22a832ad82 Mention the #f syntax from cl-prin1
* doc/lispref/objects.texi (Special Read Syntax): Mention #f,
which is in cl-prin1 output (bug#55853).
2022-06-09 15:22:21 +02: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
Jeff Walsh
8436e0bee9 Update error message to reflect variable rename
* src/comp.c (Fcomp_el_to_eln_filename): Update error message.  (Bug#55861)
2022-06-09 09:31:01 +03:00
Ken Brown
d02c94090c Fix error reporting in process-async-https-with-delay
* test/src/process-tests.el (process-async-https-with-delay): Use
'plist-get' instead of 'assq' in testing for a connection error.
The 'status' variable is a plist, not an alist.  (Bug#55849)
2022-06-08 13:10:23 -04:00
Stefan Kangas
9a4862a973 * doc/misc/org.org: Remove spurious markup. 2022-06-08 13:16:32 +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
Eli Zaretskii
3ea9357d10 Update documentation of 'aset' and 'store-substring'
* doc/lispref/strings.texi (Modifying Strings): Adjust to
implementation changes: it is possible for the modified string to
have fewer or more bytes than the original.  Add recommendations
regarding unibyte vs multibyte strings and characters.  (Bug#55801)
2022-06-05 11:28:10 +03:00
Kyle Meyer
1b8719835a Update to Org 9.5.4 2022-06-04 16:21:06 -04:00
Eli Zaretskii
92c5faafd7 Clarify documentation of 'string-to-unibyte'
* doc/lispref/nonascii.texi (Converting Representations): Clarify
what 'string-to-unibyte' does.  Reported by Richard Hansen
<rhansen@rhansen.org>.  (Bug#55777)
2022-06-04 10:06:43 +03: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
ef5651cc77 Fix segfaults when starting on 80x26 TTY frames
* src/dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Make
sure we have valid frame glyph matrices for the interactive
session.  (Bug#55760)
(adjust_frame_glyphs): Add assertions for when we fail to allocate
valid frame glyph matrices for a TTY frame.
2022-06-02 13:41:59 +03: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
Lars Ingebrigtsen
a95d46e00f Make it explicit that a couple of _s in lispref are underscores
* doc/lispref/strings.texi (Custom Format Strings):
* doc/lispref/control.texi (pcase Macro): Make it explicit that
it's an underscore (bug#55742).
2022-06-01 17:56:45 +02:00
Eli Zaretskii
5c74c25123 Remove from FAQ the MS-Windows info about BDF fonts
* doc/misc/efaq.texi (How to add fonts): Remove the MS-Windows
specific steps, as BDF fonts are no longer supported on
MS-Windows.  (Bug#55740)
2022-05-31 20:20:07 +03:00
Ikumi Keita
edb48646f2 Fix Display Property manual example
* doc/lispref/display.texi (Display Property): Fix syntax of
example (bug#55736).

Copyright-paperwork-exempt: yes
2022-05-31 13:20:00 +02: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
Alan Mackenzie
f9ee83bfb9 do_switch_frame: before leaving mini-window, check other (mru) window is live
This fixes bug#55684.  There, with a minibuffer-only frame at start up,
Emacs tried to switch to this frame, whose selected window was the
mini-window.  There is no other active window in this frame, so the
attempt to swith to another window failed.

* src/frame.c (do_switch_frame): On switching to a frame whose selected
window is as above, before selecting the most recently used window, check
this ostensible window is an actual live window.  Otherwise leave the
mini-window selected.
2022-05-28 12:55:32 +00:00
Eli Zaretskii
908e2e09d0 Fix commands used to produce on-line HTML docs
* admin/admin.el (manual-meta-string): Only include the first
line, and move the rest...
(manual-links-string): ...to this new string.
(manual-html-fix-headers): Don't remove the '<meta name=' elements
produced by makeinfo, especially not the 'name="viewport"' one,
which is essential for viewing the docs on mobile devices.
Reported by "Facundo Lander via RT" <webmasters-comment@gnu.org>,
see gnu.org ticket #1840138.
2022-05-28 14:57:55 +03:00
Eli Zaretskii
fff770fb97 Fix a bad cross-reference in elisp.pdf
* doc/lispref/control.texi (pcase Macro): Fix a conditional
cross-reference (bug#55689).
2022-05-28 11:51:15 +03:00
Eli Zaretskii
ebea3415b0 Fix documentation of 'string-pad'
* doc/lispref/strings.texi (Creating Strings): Fix description of
'string-pad'.  (Bug#55688)
2022-05-28 10:55:01 +03:00
Juri Linkov
d3cde28b03 Fix more occurrences of renamed kmacro-keymap command
* doc/emacs/kmacro.texi (Basic Keyboard Macro): Fix documentation
after recent kmacro-redisplay command name change.
2022-05-27 10:32:56 +03: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
Eli Zaretskii
86b49d5865 ; * etc/NEWS: Announce changes in 'desktop-kill'. (Bug#55574) 2022-05-23 14:58:13 +03:00
Eli Zaretskii
d5ccf2621a ; Fix last change
* doc/emacs/sending.texi (Mail Methods): Fix indexing and markup.
(Bug#55569)
2022-05-22 11:17:23 +03: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
Arash Esbati
9e7c0cf57d Remove mention of removed nnimap-nov-is-evil variable
* doc/misc/gnus.texi (Slow/Expensive Connection): Remove mention
of removed nnimap-nov-is-evil variable (bug#55556).
2022-05-21 13:32:44 +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
Alan Mackenzie
dfa3e6f424 Restore the Fselect_window call in gui_consider_frame_title.
This fixes bug #55412.  The call to Fselect_window was removed on 2021-03-21
in the commit "Prevent open minibuffers getting lost when their frame gets
deleted".  This call is actually needed to determine current elements of the
pertinent window and frame when these are used in the frame title.

* src/frame.c (do_switch_frame): When the selected window in the target frame
is the mini-window, switch away from this window unless there is a valid
minibuffer there.

* src/frame.h (struct frame): Add an incidental comment about the element
selected_window.

* src/minibuf.c (move_minibuffers_onto_frame): No longer set the selected
window of the source frame.  This action is now performed later, on returning
to that frame, in do_switch_frame when needed (see above).

* src/xdisp.c (gui_consider_frame_title): Replace the Fselect_window call and
associated ancillary settings.
2022-05-20 20:18:38 +00:00
Eli Zaretskii
de35e9728f Advise against settings in the MS-Windows system registry
* doc/emacs/cmdargs.texi (MS-Windows Registry): Advise against
setting environment variables in the system registry.  (Bug#16429)
2022-05-20 17:08:34 +03:00