Eli Zaretskii [Thu, 25 Mar 2021 17:22:55 +0000 (19:22 +0200)]
; * admin/make-tarball.txt: Another minor addition.
Eli Zaretskii [Thu, 25 Mar 2021 17:12:25 +0000 (19:12 +0200)]
Bump Emacs version past 27.2
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp:
* etc/NEWS: Bump Emacs version to 27.2.50.
Eli Zaretskii [Thu, 25 Mar 2021 15:24:43 +0000 (17:24 +0200)]
* admin/make-tarball.txt: Improve and expand the instructions.
Amos Bird [Thu, 25 Mar 2021 06:50:46 +0000 (14:50 +0800)]
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)
Paul Eggert [Mon, 22 Mar 2021 01:08:13 +0000 (18:08 -0700)]
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).
Michael Albinus [Thu, 25 Mar 2021 14:36:33 +0000 (15:36 +0100)]
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.
Eli Zaretskii [Fri, 19 Mar 2021 07:16:54 +0000 (03:16 -0400)]
; * ChangeLog.3: Update with the log of the last change.
Basil L. Contovounesios [Thu, 18 Mar 2021 21:39:05 +0000 (21:39 +0000)]
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.
Eli Zaretskii [Thu, 18 Mar 2021 12:43:54 +0000 (08:43 -0400)]
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
Eli Zaretskii [Thu, 18 Mar 2021 10:49:02 +0000 (12:49 +0200)]
; * admin/make-tarball.txt: Advise to remove stale subdirectories.
Lars Ingebrigtsen [Thu, 18 Mar 2021 04:59:12 +0000 (05:59 +0100)]
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
60af754170f22f5d25510af069ed0ebfec95f992)
Fabrice Bauzac [Tue, 16 Mar 2021 20:09:15 +0000 (21:09 +0100)]
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)
Daniel Martín [Sun, 14 Mar 2021 01:25:53 +0000 (02:25 +0100)]
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)
Alan Third [Sat, 13 Mar 2021 21:59:59 +0000 (21:59 +0000)]
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
ebc3b25409dd614c1814a0643960452683e37aa3)
Matt Armstrong [Wed, 10 Mar 2021 17:24:43 +0000 (09:24 -0800)]
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)
Eli Zaretskii [Sat, 13 Mar 2021 09:22:01 +0000 (11:22 +0200)]
Teach Rmail about NBSP in "Re:"
* lisp/mail/rmail.el (rmail-simplified-subject)
(rmail-reply-regexp): Allow NBSP in "RE:" prefixes.
Stefan Monnier [Fri, 12 Mar 2021 19:30:47 +0000 (14:30 -0500)]
Revert "* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double"
This reverts commit
02a5cfce471613f671722b35536d2a78f17b0429.
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`.
Stefan Monnier [Thu, 11 Mar 2021 16:41:53 +0000 (11:41 -0500)]
* lisp/mouse.el: Fix mouse-1-clock-follows-mouse = double
This functionality was broken by commit
3d5e31eceb9dc1fb62b2b2,
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.
Stefan Monnier [Fri, 5 Mar 2021 17:39:27 +0000 (12:39 -0500)]
* lisp/emacs-lisp/gv.el (edebug-after): Don't run the getter in the setter
This fixes bug#46573 which was introduced by commit
d79cf638f278e50c22feb53d6ba556f5ce9d7853.
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.
Masahiro Nakamura [Fri, 5 Mar 2021 16:42:46 +0000 (17:42 +0100)]
* doc/misc/tramp.texi (Remote shell setup): Fix reference. (Do not merge)
Eli Zaretskii [Fri, 5 Mar 2021 12:42:22 +0000 (14:42 +0200)]
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)
Eli Zaretskii [Thu, 4 Mar 2021 13:30:10 +0000 (15:30 +0200)]
Update documentation of reading passwords
* doc/emacs/mini.texi (Passwords): Update to match the modified
implementation. (Bug#46902) Add indexing.
Lars Ingebrigtsen [Tue, 2 Mar 2021 07:07:59 +0000 (08:07 +0100)]
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
b9cb3b904008a80c69ab433f4851377967b100db)
Glenn Morris [Mon, 1 Mar 2021 14:13:59 +0000 (06:13 -0800)]
; Auto-commit of loaddefs files.
Eli Zaretskii [Sat, 27 Feb 2021 07:26:55 +0000 (09:26 +0200)]
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)
Stefan Kangas [Fri, 26 Feb 2021 04:46:26 +0000 (05:46 +0100)]
* lisp/tooltip.el (tooltip): Doc fix for GTK.
Stefan Kangas [Sat, 20 Feb 2021 14:25:32 +0000 (15:25 +0100)]
* lisp/help.el (help-for-help-internal): Doc fix; use imperative.
Eli Zaretskii [Fri, 19 Feb 2021 13:16:31 +0000 (15:16 +0200)]
More accurate documentation of the "r" interactive spec
* doc/lispref/commands.texi (Interactive Codes): Describe the
effect of 'mark-even-if-inactive'.
Stefan Kangas [Fri, 19 Feb 2021 09:21:14 +0000 (10:21 +0100)]
Mention the GNU Kind Communications Guidelines in the FAQ
* doc/misc/efaq.texi (Guidelines for newsgroup postings): Mention
the GNU Kind Communications Guidelines.
Eli Zaretskii [Thu, 18 Feb 2021 14:07:34 +0000 (16:07 +0200)]
; * CONTRIBUTE: Another wording change regarding tiny changes.
Ryan Prior [Thu, 18 Feb 2021 11:48:28 +0000 (12:48 +0100)]
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
Eli Zaretskii [Tue, 16 Feb 2021 16:20:06 +0000 (18:20 +0200)]
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)
Eli Zaretskii [Fri, 12 Feb 2021 07:25:13 +0000 (09:25 +0200)]
; * CONTRIBUTE: Yet another clarification of significant changes.
Eli Zaretskii [Wed, 10 Feb 2021 18:04:26 +0000 (20:04 +0200)]
Avoid assertion violation in callproc.c
* src/callproc.c (call_process): Avoid assertion violation when
DESTINATION is a cons cell '(:file . "FOO")'. (Bug#46426)
Eli Zaretskii [Mon, 8 Feb 2021 16:09:21 +0000 (18:09 +0200)]
; * CONTRIBUTE: Clarify the "15-lines" rule a bit more.
Lars Ingebrigtsen [Mon, 8 Feb 2021 06:30:18 +0000 (07:30 +0100)]
Clarify "changes" in CONTRIBUTE
* CONTRIBUTE: Clarify that "changes" doesn't include removing code
(bug#44834).
(cherry picked from commit
33c9556c9db9b8c62dcd80dd3cc665e669ea66d4)
Lars Ingebrigtsen [Sun, 7 Feb 2021 21:01:34 +0000 (22:01 +0100)]
Clarify when activate-mark-hook is run
* doc/lispref/markers.texi (The Mark):
* lisp/simple.el (activate-mark-hook): Clarify when the hook is
run (bug#23444).
Eli Zaretskii [Sun, 7 Feb 2021 15:52:30 +0000 (17:52 +0200)]
Fix language-environment and font selection on MS-Windows
These changes improve setting the language-environment and font
selection when MS-Windows returns useless "ZZZ" as the "language
name", which then disrupts all the setup of the locale-dependent
stuff, and in particular font selection.
* lisp/w32-fns.el (w32-charset-info-alist): Add an element for
"iso8859-5", in case LANG is set to something unusable, like
"ZZZ". This allows fonts capable of displaying Cyrillic
characters to be used even when language preferences are screwed.
* src/w32.c (init_environment): If GetLocaleInfo returns "ZZZ" as
the "language name" for LOCALE_USER_DEFAULT, try again with locale
ID based on what GetUserDefaultUILanguage returns. (Bug#39286)
Petteri Hintsanen [Sun, 7 Feb 2021 12:10:19 +0000 (13:10 +0100)]
Fix example in Sequence Functions node in the manual
* doc/lispref/sequences.texi (Sequence Functions): Fix the result
from the example.
Eli Zaretskii [Sat, 6 Feb 2021 12:31:51 +0000 (14:31 +0200)]
Improve doc string of 'text-scale-adjust'
* lisp/face-remap.el (text-scale-adjust): Clarify that "default
face height" refers to the 'default' face. (Bug#25168)
Lars Ingebrigtsen [Sat, 6 Feb 2021 10:46:58 +0000 (11:46 +0100)]
Clarify the indent-rigidly doc string
* lisp/indent.el (indent-rigidly): Clarify exiting the transient
mode (bug#46296).
Martin Rudalics [Sat, 6 Feb 2021 08:28:40 +0000 (09:28 +0100)]
Fix two small tab bar issues
* lisp/cus-start.el (frame-inhibit-implied-resize): Update version tag.
* lisp/frame.el (frame-inner-height): Do not count in tab bar.
Eli Zaretskii [Fri, 5 Feb 2021 11:06:07 +0000 (13:06 +0200)]
Fix last change in syntax.texi
* doc/lispref/syntax.texi (Syntax Properties): Fix wording in last
change. (Bug#46274)
Lars Ingebrigtsen [Fri, 5 Feb 2021 08:36:58 +0000 (09:36 +0100)]
Correct the lispref manual about flushing ppss info
* doc/lispref/syntax.texi (Syntax Properties): Correct the
information about flushing the state by copying the text from the
doc string (bug#46274).
(cherry picked from commit
ff701ce2b261acce1dfcd1fe137268d87d5eab35)
Lars Ingebrigtsen [Fri, 5 Feb 2021 10:00:07 +0000 (11:00 +0100)]
Clarify how transient indentation modes are exited in the manual
* doc/emacs/indent.texi (Indentation Commands): Clarify that the
other keys don't just exit the transient mode, but are also
handled as normally (bug#46296).
Dmitry Gutov [Thu, 4 Feb 2021 23:17:09 +0000 (01:17 +0200)]
Fix the previous change
* lisp/progmodes/project.el (project-find-regexp):
Fix the previous change (project-root is not defined in this version).
(project-or-external-find-regexp): Same.
Dmitry Gutov [Thu, 4 Feb 2021 01:38:27 +0000 (03:38 +0200)]
Bind default-directory to the project root
* lisp/progmodes/project.el (project-find-regexp):
Bind default-directory to the project root, to save this value
in the resulting buffer (esp. if the project selector was used,
(https://lists.gnu.org/archive/html/emacs-devel/2021-02/msg00140.html).
(project-or-external-find-regexp): Same.
(cherry picked from commit
c07ebfcbe084e8219d8c2588f23f77ba4ef39087)
Dmitry Gutov [Sat, 9 Jan 2021 00:08:59 +0000 (02:08 +0200)]
Make sure default-directory relates to the originating buffer
* lisp/progmodes/xref.el (xref--show-xref-buffer):
Pick up default-directory value from the caller
(https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00551.html).
(xref-show-definitions-buffer-at-bottom): Same.
(cherry picked from commit
6e73e07a6f5cbdd1c5ae6e0f3fbd0f8f56813f1a)
Eli Zaretskii [Thu, 4 Feb 2021 18:21:18 +0000 (20:21 +0200)]
Initialize signal descriptions after pdumping
* src/sysdep.c (init_signals) [!HAVE_DECL_SYS_SIGLIST]: Reinit
sys_siglist also after pdumping. (Bug#46284)
Lars Ingebrigtsen [Thu, 4 Feb 2021 11:02:53 +0000 (12:02 +0100)]
Clarify the "Sentinels" node in the lispref manual
* doc/lispref/processes.texi (Sentinels): Mention "run" and that
the strings can be anything (bug#30461).
(cherry picked from commit
859a4cb6b22f75a3456e29d08fcfe9b8940fbe8b)
Alexandre Duret-Lutz [Mon, 11 Jan 2021 14:27:54 +0000 (15:27 +0100)]
Fix problem with non-ASCII characters in nnmaildir
* lisp/gnus/nnmaildir.el (nnmaildir-request-article): Enable
multipart 8bit-content-transfer-encoded files to be displayed
correctly by reading as `raw-text' instead of having Emacs
(incorrectly) decode the files (bug#44307).
Copyright-paperwork-exempt: yes
Eli Zaretskii [Tue, 2 Feb 2021 16:25:31 +0000 (18:25 +0200)]
* lisp/window.el (recenter-top-bottom): Clarify doc string.
Thomas Fitzsimmons [Sun, 31 Jan 2021 23:36:52 +0000 (18:36 -0500)]
url-http.el: Special-case NTLM authentication
* lisp/url/url-http.el (url-http-handle-authentication): Do not
signal an error on NTLM authorization strings. (Bug#43566)
Juri Linkov [Sun, 31 Jan 2021 21:47:31 +0000 (23:47 +0200)]
* lisp/isearch.el (isearch-lazy-highlight): Fix defcustom type (bug#46208)
Stefan Kangas [Sun, 31 Jan 2021 02:44:54 +0000 (03:44 +0100)]
Sync latest SKK-JISYO.L
* leim/SKK-DIC/SKK-JISYO.L: Sync to current upstream version.
Stefan Kangas [Sun, 31 Jan 2021 02:40:01 +0000 (03:40 +0100)]
; emacs-26 → emacs-27
Alan Third [Sat, 30 Jan 2021 10:53:12 +0000 (10:53 +0000)]
Fix build failure on macOS 10.7 (bug#46036)
* src/nsfns.m (ns_set_represented_filename): Define the NSNumber in a
more compatible manner.
Eli Zaretskii [Sat, 30 Jan 2021 14:15:00 +0000 (16:15 +0200)]
Improve documentation of auto-resize-tool/tab-bars
* src/xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>
<auto-resize-tab-bars>: Doc fix. (Bug#46178)
Dmitry Gutov [Fri, 29 Jan 2021 13:53:28 +0000 (15:53 +0200)]
(xref-revert-buffer): Also 'erase-buffer' when handling a user-error
* lisp/progmodes/xref.el (xref-revert-buffer):
Also 'erase-buffer' when handling a user-error (bug#46042).
(cherry picked from commit
e86b30d6fd04070b86560774ec82392dbe24ca1e)
Eli Zaretskii [Fri, 29 Jan 2021 12:45:45 +0000 (07:45 -0500)]
Update files for 27.1.91 pretest
* ChangeLog.3:
* etc/AUTHORS
* lisp/ldefs-boot.el: Update.
Eli Zaretskii [Fri, 29 Jan 2021 12:02:59 +0000 (07:02 -0500)]
Bump Emacs version to 27.1.91
* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 27.1.91.
Eli Zaretskii [Wed, 27 Jan 2021 15:15:46 +0000 (17:15 +0200)]
Improve documentation of 'read-regexp' and friends
* doc/emacs/glossary.texi (Glossary): Add "Tag" to the Glossary.
* doc/emacs/maintaining.texi (Xref): Mention that identifiers are
also known as "tags".
* lisp/replace.el (read-regexp, read-regexp-suggestions): Improve
wording of doc strings. (Bug#46088) (Bug#46089)
(cherry picked from commit
49eb03d6c8a181fd46adbbcf1f0a976d0a9efa87)
Lars Ingebrigtsen [Wed, 27 Jan 2021 02:47:02 +0000 (03:47 +0100)]
read-regexp-suggestions doc string improvement
* lisp/replace.el (read-regexp-suggestions): Add a link to the
manual to explain what a tag is (bug#46089).
(cherry picked from commit
f9cc2d48246fe8370e9286866e6115ba8e2acf44)
Lars Ingebrigtsen [Wed, 27 Jan 2021 02:38:49 +0000 (03:38 +0100)]
Try to improve the read-regexp doc string
* lisp/replace.el (read-regexp): Attempt to clarify the semantics
(bug#46088).
(cherry picked from commit
eded2a7ad7d456a417354a2797c18e9a578414d7)
Dmitry Gutov [Sat, 23 Jan 2021 00:58:53 +0000 (02:58 +0200)]
; xref-revert-buffer: Drop the (goto-char) at the end
(cherry picked from commit
cc98d0bf5225c281f91152aa838c4cb093df52e9)
Dmitry Gutov [Sat, 23 Jan 2021 00:53:12 +0000 (02:53 +0200)]
Erase the buffer only after fetching the new contents
* lisp/progmodes/xref.el (xref-revert-buffer):
Erase the buffer only after fetching the new contents (bug#46042).
(cherry picked from commit
5821dee0949b2913c07970d6e4b8bb8e8a35f036)
Eli Zaretskii [Sat, 23 Jan 2021 09:28:32 +0000 (11:28 +0200)]
Fix last change
* doc/lispref/text.texi (Undo): Add a cross-reference to the
description of 'undo-amalgamate-change-group'.
(Atomic Changes): Expand and improve the description of
'undo-amalgamate-change-group'. (Bug#42303)
Lars Ingebrigtsen [Fri, 22 Jan 2021 20:07:35 +0000 (21:07 +0100)]
Mention undo-amalgamate-change-group in the lispref manual
* doc/lispref/text.texi (Atomic Changes): Mention
undo-amalgamate-change-group (bug#42303).
(cherry picked from commit
ba25a82855a2c03c25fec83f3056c166b692e94f)
Eli Zaretskii [Fri, 22 Jan 2021 12:30:22 +0000 (14:30 +0200)]
Avoid sending systemd shutdown notifications if non-daemon
* src/emacs.c (Fkill_emacs): Send the shutdown notification only
in daemon mode. (Bug#46022)
Eli Zaretskii [Fri, 22 Jan 2021 08:10:21 +0000 (10:10 +0200)]
* src/cmds.c (Fforward_line): Doc fix. (Bug#46027)
Eli Zaretskii [Fri, 22 Jan 2021 07:57:19 +0000 (09:57 +0200)]
Improve documentation of sendmail.el defcustom's
* lisp/mail/sendmail.el (mail-archive-file-name)
(mail-default-reply-to, mail-self-blind, mail-default-headers):
Say in the doc string that 'message-default-mail-headers' shall be
customized when using 'message-mode' for email composition.
(Bug#46029)
Stefan Monnier [Wed, 20 Jan 2021 14:52:07 +0000 (09:52 -0500)]
Don't let `maybe_quit` prevent resetting `consing_until_gc` (bug#43389)
* src/alloc.c (garbage_collect): Postpone `unblock_input` a bit.
* src/window.c (window_parameter): Avoid `maybe_quit`.
cherry picked from commit
420661af07448857f0a17e15dc27bceeb6aff541
Eli Zaretskii [Sat, 16 Jan 2021 14:32:00 +0000 (16:32 +0200)]
; * lisp/language/cham.el: Fix copy-paste mistake in comment.
Juri Linkov [Wed, 13 Jan 2021 18:32:36 +0000 (20:32 +0200)]
Remove one of recently added warnings abound binding keys in Isearch maps
* lisp/isearch.el (minibuffer-local-isearch-map): Remove comments
which warn against wantonly rebinding unbound keys from
irrelevant keymap.
https://lists.gnu.org/archive/html/emacs-devel/2021-01/msg00259.html
Martin Rudalics [Sun, 10 Jan 2021 10:20:56 +0000 (11:20 +0100)]
Fix assertion failure in window_box_height (Bug#45737)
* lisp/window.el (window-sizable): Don't try to grow a mini window
when the root window's minimum height is already larger than its
actual height (Bug#45737).
Eli Zaretskii [Sat, 9 Jan 2021 12:07:13 +0000 (14:07 +0200)]
Fix cl-concatenate inlining
* lisp/emacs-lisp/seq.el (seq-concatenate): Auto-load it. Do not
merge to master. (Bug#45610)
Tak Kunihiro [Sat, 9 Jan 2021 09:21:04 +0000 (11:21 +0200)]
Fix infloop in 'pixel-scroll-mode'
* lisp/pixel-scroll.el (pixel-scroll-up, pixel-scroll-down): Avoid
inflooping when 'vertical-motion' doesn't move. (Bug#45628)
Eli Zaretskii [Fri, 8 Jan 2021 07:35:05 +0000 (09:35 +0200)]
Fix inhibiting the default.el loading in user init file
* lisp/startup.el (startup--load-user-init-file): Test the value
of 'inhibit-default-init', not just the LOAD-DEFAULTS argument,
because loading the user's init file could have set the value of
the former.
(command-line): Call 'startup--load-user-init-file' with last arg
t: there's no longer any need to test the value of
'inhibit-default-init' here, as it will be tested by the called
function. (Bug#45708)
Lars Ingebrigtsen [Fri, 21 Aug 2020 13:36:45 +0000 (15:36 +0200)]
Fix problem with 8bit content-transfer-encoding in nndoc mbox files
* lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): If we're
reading an mbox file, it may contain messages that use
content-transfer-encoding 8bit, which means that we have to treat
the file as a sequence of byte (bug#42951). This avoids
double-decoding -- once by Emacs when inserting the mbox into the
buffer, and once by Gnus when displaying the articles.
Michael Albinus [Tue, 5 Jan 2021 14:45:45 +0000 (15:45 +0100)]
* doc/misc/tramp.texi (Quick Start Guide): Fix thinko.
Robert Pluim [Tue, 5 Jan 2021 13:42:10 +0000 (14:42 +0100)]
Tell people how to remove fontconfig customizations
Simen Heggestøyl [Tue, 5 Jan 2021 11:17:13 +0000 (12:17 +0100)]
; * doc/lispref/modes.texi (SMIE Indentation Example): Fix previous commit
Simen Heggestøyl [Mon, 4 Jan 2021 13:04:04 +0000 (14:04 +0100)]
Remove extraneous closing paren
* doc/lispref/modes.texi (SMIE Indentation Example): Remove extraneous
closing paren.
Mauro Aranda [Mon, 4 Jan 2021 12:58:10 +0000 (09:58 -0300)]
Update two user option names in the Widget manual
* doc/misc/widget.texi (Basic Types): The user options
widget-glyph-directory and widget-glyph-enable were renamed long ago
to widget-image-directory and widget-image-enable, but the manual
kept calling them by their old names. Update the names.
Paul Eggert [Sun, 3 Jan 2021 20:32:27 +0000 (12:32 -0800)]
Mention -lcurses problem on AIX
* etc/PROBLEMS: Describe problem with Emacs 27 and -lcurses.
Do not merge to master.
Paul Eggert [Sun, 3 Jan 2021 19:58:34 +0000 (11:58 -0800)]
Revert previous patch which was installed into wrong branch.
Paul Eggert [Sun, 3 Jan 2021 19:19:48 +0000 (11:19 -0800)]
Fix broken build on AIX 7.2
Without this fix, the build on AIX 7.2 with xlc fails in the ‘CCLD
temacs’ step with the diagnostic ‘ld: 0711-317 ERROR: Undefined
symbol: BC’. This is because -lcurses does not define BC etc.
* configure.ac: When building terminfo.o, define
TERMINFO_DEFINES_BC if the library defines BC etc.
* src/terminfo.c (UP, BC, PC): Define depending on
TERMINFO_DEFINES_BC, not on TERMINFO.
Eli Zaretskii [Sat, 2 Jan 2021 08:27:28 +0000 (10:27 +0200)]
Fix last change
* doc/lispref/strings.texi (Creating Strings): Improve wording of
last change. (Bug#45516)
Lars Ingebrigtsen [Tue, 29 Dec 2020 01:19:03 +0000 (02:19 +0100)]
Add a reference between the Strings node and Search/Replace
* doc/lispref/strings.texi (Creating Strings): Mention
string-replace/replace-regexp-in-string (bug#45516).
(cherry picked from commit
b9359d4183a1a6923122d3aa12b922ab89693354)
Eli Zaretskii [Fri, 1 Jan 2021 15:17:19 +0000 (17:17 +0200)]
Merge branch 'emacs-27' of git.savannah.gnu.org:/srv/git/emacs into emacs-27
Glenn Morris [Fri, 1 Jan 2021 14:16:29 +0000 (06:16 -0800)]
; Auto-commit of loaddefs files.
Eli Zaretskii [Fri, 1 Jan 2021 11:52:37 +0000 (13:52 +0200)]
Add warning comments abound binding keys in Isearch maps
* lisp/isearch.el (isearch-mode-map)
(minibuffer-local-isearch-map): Add comments which warn against
wantonly rebinding unbound keys.
Alan Third [Fri, 1 Jan 2021 10:36:39 +0000 (10:36 +0000)]
Fix crash in ns_mouse_position (bug#45541)
* src/nsterm.m (ns_mouse_position): Explicitly initialize f to NULL.
; Do not merge to master
Paul Eggert [Fri, 1 Jan 2021 08:33:28 +0000 (00:33 -0800)]
Fix copyright years by hand
These are dates that admin/update-copyright did not update.
Paul Eggert [Fri, 1 Jan 2021 07:48:14 +0000 (07:48 +0000)]
Update copyright year to 2021
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
Eli Zaretskii [Thu, 31 Dec 2020 20:27:30 +0000 (22:27 +0200)]
Improve documentation of 'network-lookup-address-info'
* src/process.c (Fnetwork_lookup_address_info):
* doc/lispref/processes.texi (Misc Network): Document the error
message emitted by 'network-lookup-address-info' when it fails.
Amin Bandali [Mon, 28 Dec 2020 21:44:58 +0000 (16:44 -0500)]
Display messages sent using ERC's /say
* lisp/erc/erc.el (erc-cmd-SAY): Call `erc-display-msg' to display the
user's message in the buffer, just like other [non-command] messages.
https://lists.gnu.org/r/help-gnu-emacs/2020-12/msg00066.html
Eli Zaretskii [Sat, 26 Dec 2020 10:35:34 +0000 (12:35 +0200)]
Fix Rmail summary display when From: header is malformed
* lisp/mail/rmailsum.el (rmail-header-summary): Remove newlines
from the "From:" value, to avoid producing corrupted summary
display.
Glenn Morris [Fri, 25 Dec 2020 18:36:25 +0000 (10:36 -0800)]
; lisp/org/org.el: Fix Version header.
This is flagged by the single org test that exists in Emacs.
Eli Zaretskii [Fri, 25 Dec 2020 08:30:02 +0000 (10:30 +0200)]
Add more details to the "word processor" section
* etc/TODO (Emacs as word processor): Add more details based on
recent discussions.