1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
Commit graph

140848 commits

Author SHA1 Message Date
Eli Zaretskii
eedad01b4b Fix typos in manuals
* doc/misc/eshell.texi (Completion):
* doc/lispref/objects.texi (Mutability): Fix typos.  (Bug#47738)
2021-04-13 15:30:02 +03:00
Eli Zaretskii
24d214652e Fix description of momentary message display
* doc/emacs/mini.texi (Basic Minibuffer): Update the description
of momentary message display while minibuffer is active.
(Bug#47689)
2021-04-10 13:41:48 +03:00
Damien Cassou
2f5f30671a Fix broken links in autorevert.el
* lisp/autorevert.el (global-auto-revert-non-file-buffers):
Fix broken links.  (Bug#47621)
2021-04-06 19:31:56 +02:00
Glenn Morris
673c02f6d0 * lisp/international/ja-dic-cnv.el (skkdic-convert): Doc fix. 2021-04-05 08:49:07 -07:00
Alan Third
e2d199aa44 Fix crash when using menus and tramp on NS
; Fixes bug#24472, bug#37557 and bug#37922.

* src/nsterm.m (ns_select): Don't drain outerpool in this function.

(cherry picked from commit f14869cd70)
2021-04-04 11:44:37 +01:00
Eli Zaretskii
3ec93bb7c2 Improve doc strings in replace.el
* lisp/replace.el (occur, list-matching-lines-prefix-face)
(list-matching-lines-jump-to-current-line): Doc fixes.
2021-04-03 10:16:34 +03:00
Michael Albinus
8a92030f6a Fix hang in autorevert-tests.el
* test/lisp/autorevert-tests.el (auto-revert--wait-for-revert):
Apply more robust check, whether file notification is used.
2021-03-28 21:06:24 +02:00
Lars Ingebrigtsen
91eea74229 Revert "Clarify dired-do-shell-command doc string"
This reverts commit cf607c262e.

The doc string already explains this.

(cherry picked from commit 01cf0eb757)
2021-03-28 18:22:15 +03:00
Lars Ingebrigtsen
b23e22e0de Clarify dired-do-shell-command doc string
* lisp/dired-aux.el (dired-do-shell-command): Mention what happens
to FILE-LIST (bug#47432).

(cherry picked from commit cf607c262e)
2021-03-28 17:22:04 +03:00
Eli Zaretskii
bcc4cc3362 Doc fixes for 'face-foreground' and 'face-background'.
* lisp/faces.el (face-foreground, face-background): Clarify how a
face specified in INHERIT arg is used.  (Bug#47437)
2021-03-28 16:26:21 +03:00
Eli Zaretskii
bf6442fafd ; * admin/make-tarball.txt: Minor addition to the Web pages section. 2021-03-26 09:38:38 +03:00
Glenn Morris
38b127d32e * admin/admin.el (set-version): Handle malformed NEWS markup. 2021-03-25 11:48:13 -07:00
Glenn Morris
0d7e2a993e admin.el fix for bug#47394
* admin/admin.el (manual-html-fix-index-2): Handle Texinfo 6.7.
2021-03-25 11:23:17 -07:00
Michael Albinus
fdec444758 ; * etc/NEWS: Fix typo. 2021-03-25 18:52:44 +01:00
Eli Zaretskii
1e6ca2765f ; * admin/make-tarball.txt: Another minor addition. 2021-03-25 19:22:55 +02:00
Eli Zaretskii
3e9047115e Bump Emacs version past 27.2
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp:
* etc/NEWS: Bump Emacs version to 27.2.50.
2021-03-25 19:12:25 +02:00
Eli Zaretskii
291a421c2e * admin/make-tarball.txt: Improve and expand the instructions. 2021-03-25 17:24:43 +02:00
Amos Bird
0e4795fc98 Fix preeditarea reporting wrong spot.
This patch adjust the x position of preeditarea with both left fringe
and left margin, which prevents IME preedit box (such as fcitx) from
placing at the wrong position in GUI emacs.
* src/xfns.c (xic_set_preeditarea): Adjust X for left margin width.
(Bug#47377)
2021-03-25 17:22:46 +02:00
Paul Eggert
6a4ed891d8 Fix replace-buffer-contents undefined behavior
* src/editfns.c (Freplace_buffer_contents): Avoid undefined
behavior with competing side effects in parallel subexpressions.
Problem reported by Apple clang version 12.0.0 (clang-1200.0.32.29).
2021-03-25 08:13:12 -07:00
Michael Albinus
720a8b17f8 Fix filenotify-tests.el for Solaris (bug#47262), do not merge
* test/lisp/filenotify-tests.el (file-notify--test-read-event):
Check also for GFamDirectoryMonitor.
(file-notify--test-timeout): Increase cygwin timeout.
(file-notify--test-monitor): Use `alist-get'.
(file-notify--test-event-actions): New defun.
(file-notify--test-with-actions-explainer): Use it.
(file-notify--test-with-actions-check): Use it.  If
file-notify-debug is non-nil, trace received events instead of
checking them.
(file-notify-test03-events, file-notify-test05-file-validity)
(file-notify-test07-many-events, file-notify-test08-backup)
(file-notify-test09-watched-file-in-watched-dir):
Handle GFamFileMonitor and GFamDirectoryMonitor.
2021-03-25 15:36:33 +01:00
Eli Zaretskii
deef5efafb ; * ChangeLog.3: Update with the log of the last change. 2021-03-19 03:16:54 -04:00
Basil L. Contovounesios
bd991e3c9b Fix frame-inner-height in non-GUI builds
Include tab bar in frame's inner height in non-GUI builds that don't
define tab-bar-height.  This is consistent with the inclusion of the
menu bar in the calculated height.  It is also consistent with TTY
frames of GUI builds, for which tab-bar-height is always zero
anyway (bug#47234).  Fix suggested by Eli Zaretskii <eliz@gnu.org>.

* lisp/frame.el (frame-inner-height): Don't assume tab-bar-height is
defined in builds --without-x.
2021-03-18 22:13:05 +00:00
Eli Zaretskii
d5b160d7cc Prepare the Emacs 27.2 release.
* etc/HISTORY: Update for Emacs 27.2.

* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Set version to 27.2
2021-03-18 08:43:54 -04:00
Eli Zaretskii
216bd67a4f ; * admin/make-tarball.txt: Advise to remove stale subdirectories. 2021-03-18 12:49:02 +02:00
Lars Ingebrigtsen
7ae4588bb4 Document that `buffer-string' retains text properties
* doc/lispref/text.texi (Buffer Contents): Mention text properties
in the `buffer-string' documentation.
* src/editfns.c (Fbuffer_string): Mention text properties in the
doc string (bug#47220).

(cherry picked from commit 60af754170)
2021-03-18 11:03:14 +02:00
Fabrice Bauzac
a7f95d5244 Remove duplicate @table item from ELisp manual
* doc/lispref/objects.texi (Special Read Syntax): Remove duplicate
item "#@N" from the table of Special Read Syntax.  (Bug#47200)
2021-03-17 14:48:27 +02:00
Daniel Martín
be1b3512f7 Fix reference to 'diff-font-lock-syntax' in diff-mode documentation
* doc/emacs/files.texi (Diff Mode): Add the omitted name of the
variable.  (Bug#47129)
2021-03-14 08:01:06 +02:00
Alan Third
b9ec6111e2 Fix buffer overflow in xbm_scan (bug#47094)
* src/image.c (xbm_scan): Ensure reading a string doesn't overflow the
buffer.

(cherry picked from commit ebc3b25409)
2021-03-14 07:48:47 +02:00
Matt Armstrong
f60eb988f6 Fix typos and omissions for (elisp)Button Buffer Commands
* doc/lispref/display.texi (Button Buffer Commands): Minor
typo and omission fixes `backward-button' and
`forward-button'.  (Bug#47051)
2021-03-13 11:52:10 +02:00
Eli Zaretskii
876b95bf90 Teach Rmail about NBSP in "Re:"
* lisp/mail/rmail.el (rmail-simplified-subject)
(rmail-reply-regexp): Allow NBSP in "RE:" prefixes.
2021-03-13 11:22:01 +02:00
Stefan Monnier
a2960025e8 Revert "* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double"
This reverts commit 02a5cfce47.
That commit breaks because of a missing patch to `parse_modifiers_uncached`
in `src/keyboard.c`.  IOW, too risky for `emacs-27`.

Don't merge to `master`.
2021-03-12 14:30:47 -05:00
Stefan Monnier
02a5cfce47 * lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double
This functionality was broken by commit 3d5e31eceb,
the problem being that we end up considering as distinct the events
`down-double-mouse-1` and `double-down-mouse-1`.

Reported by Eyal Soha <eyalsoha@gmail.com>

(mouse--click-1-maybe-follows-link): Make sure the last element of
the list passed to `event-convert-list` is indeed a "basic" event.
2021-03-11 11:41:53 -05:00
Stefan Monnier
c881e990e3 * lisp/emacs-lisp/gv.el (edebug-after): Don't run the getter in the setter
This fixes bug#46573 which was introduced by commit
d79cf638f2.
The new code is a middle ground, which makes sure the instrumentation
point is used (so the coverage checker won't have ghost unreachable
instrumentation points) yet without artificially running the getter
when we only need to run the setter.
2021-03-05 12:39:27 -05:00
Masahiro Nakamura
9f09083bcd * doc/misc/tramp.texi (Remote shell setup): Fix reference. (Do not merge) 2021-03-05 17:42:46 +01:00
Eli Zaretskii
fc83f37951 Fix initialization of 'while-no-input-ignore-events'
* src/keyboard.c (syms_of_keyboard_for_pdumper): Don't reset
'while-no-input-ignore-events' after loading the dump file.
(Bug#46940)
2021-03-05 14:42:22 +02:00
Eli Zaretskii
8f603da44c Update documentation of reading passwords
* doc/emacs/mini.texi (Passwords): Update to match the modified
implementation.  (Bug#46902)  Add indexing.
2021-03-04 15:30:10 +02:00
Lars Ingebrigtsen
ed2b23ecc1 Improve the 'dired-do-kill-lines' doc string
* lisp/dired-aux.el (dired-do-kill-lines): Document the FMT
parameter (bug#46867).

(cherry picked from commit b9cb3b9040)
2021-03-02 16:04:17 +02:00
Glenn Morris
8c93becb35 ; Auto-commit of loaddefs files. 2021-03-01 06:13:59 -08:00
Eli Zaretskii
2c5f215419 Avoid crashes in Mew due to corrupted tool-bar label
* src/gtkutil.c (update_frame_tool_bar): Don't keep around a
'char *' pointer to a Lisp string's contents when calling Lisp,
because that could relocate string data; keep the Lisp string
itself instead.  This avoids crashes in Mew.  (Bug#46791)
2021-02-27 09:26:55 +02:00
Stefan Kangas
7a23915618 * lisp/tooltip.el (tooltip): Doc fix for GTK. 2021-02-26 05:46:26 +01:00
Stefan Kangas
c4bbe02cc4 * lisp/help.el (help-for-help-internal): Doc fix; use imperative. 2021-02-20 15:28:03 +01:00
Eli Zaretskii
8e8b46ef81 More accurate documentation of the "r" interactive spec
* doc/lispref/commands.texi (Interactive Codes): Describe the
effect of 'mark-even-if-inactive'.
2021-02-19 15:16:31 +02:00
Stefan Kangas
dcb2015a5b Mention the GNU Kind Communications Guidelines in the FAQ
* doc/misc/efaq.texi (Guidelines for newsgroup postings): Mention
the GNU Kind Communications Guidelines.
2021-02-19 10:22:59 +01:00
Eli Zaretskii
9882e63eea ; * CONTRIBUTE: Another wording change regarding tiny changes. 2021-02-18 16:07:34 +02:00
Ryan Prior
850f18ef23 Allow newlines in password prompts again in comint
* lisp/comint.el (comint-password-prompt-regexp): Match all
whitespace (including newline) at the end of the passphrase, not
just space and \t (bug#46609).
(comint-watch-for-password-prompt): Remove trailing newlines from
the prompt (bug#46609).

Copyright-paperwork-exempt: yes
2021-02-18 12:48:39 +01:00
Eli Zaretskii
c977370dd7 Avoid point movement when visiting image files
* lisp/image-mode.el (image-toggle-display-image): Preserve point
around the call to exif-parse-buffer, to prevent it from moving
into the image data.  (Bug#46552)
2021-02-16 18:20:06 +02:00
Eli Zaretskii
da64a257a4 ; * CONTRIBUTE: Yet another clarification of significant changes. 2021-02-12 09:25:13 +02:00
Eli Zaretskii
d03f2a6ee9 Avoid assertion violation in callproc.c
* src/callproc.c (call_process): Avoid assertion violation when
DESTINATION is a cons cell '(:file . "FOO")'.  (Bug#46426)
2021-02-10 20:04:26 +02:00
Eli Zaretskii
dcc00bbb19 ; * CONTRIBUTE: Clarify the "15-lines" rule a bit more. 2021-02-08 18:09:21 +02:00
Lars Ingebrigtsen
120149cf6a Clarify "changes" in CONTRIBUTE
* CONTRIBUTE: Clarify that "changes" doesn't include removing code
(bug#44834).

(cherry picked from commit 33c9556c9d)
2021-02-08 18:06:53 +02:00