Paul Eggert [Tue, 9 Mar 2021 19:22:59 +0000 (11:22 -0800)]
Port alternate signal stack to upcoming glibc 2.34
* src/sysdep.c (sigsegv_stack): Increase size to 64 KiB and align
it to max_align_t. This copies from Gnulib’s c-stack.c, and works
around a portability bug in draft glibc 2.34, which no longer
defines SIGSTKSZ when _GNU_SOURCE is defined.
* lisp/gnus/mm-view.el (mm-inline-text):
Do not worry about enriched or richtext type.
* lisp/textmodes/enriched.el (enriched-translations):
Remove translations for FUNCTION, display (Bug#28350).
(enriched-handle-display-prop, enriched-decode-display-prop): Remove.
Paul Eggert [Sat, 9 Sep 2017 00:29:57 +0000 (17:29 -0700)]
Port --enable-gcc-warnings to GCC 7
Do not merge to master.
* configure.ac: Pacify GCC 7 with -Wno-bool-operation
-Wno-implicit-fallthrough.
* src/search.c (boyer_moore):
Tell GCC that CHAR_BASE, if nonzero, must be a non-ASCII character.
* src/xterm.c (x_draw_glyphless_glyph_string_foreground):
Tell GCC that glyph->u.glyphless.ch must be a character.
Paul Eggert [Sat, 9 Sep 2017 00:21:56 +0000 (17:21 -0700)]
Port to GCC 7
Or, more accurately, to any system that #defines CHAR_WIDTH
to something else. Do not merge to master.
* src/character.h (CHAR_WIDTH): Undef before defining.
Eli Zaretskii [Fri, 19 May 2017 12:37:58 +0000 (15:37 +0300)]
Describe problems with Microsoft Intellipoint
* etc/PROBLEMS: Describe problems with Microsoft Intellipoint and
mouse-2 events. For the details, see
http://lists.gnu.org/archive/html/help-emacs-windows/2017-05/msg00009.html.
Eli Zaretskii [Tue, 9 May 2017 16:34:39 +0000 (19:34 +0300)]
; Describe the problem with ksh when resizing shell window
* etc/PROBLEMS: Mention the problem with ksh when the shell window
is resized. For details, see the discussion starting in
http://lists.gnu.org/archive/html/emacs-devel/2017-04/msg00888.html.
Reported by Mike Kupfer <mkupfer@alum.berkeley.edu>.
Eric Abrahamsen [Fri, 24 Mar 2017 19:10:06 +0000 (12:10 -0700)]
Expand manual section on quitting windows
* doc/lispref/windows.texi (Quitting Windows): Provide more
information about the elements of the quit-restore window parameter,
and how they affect the behavior of quit-restore-window.
Noam Postavsky [Fri, 24 Mar 2017 14:47:19 +0000 (10:47 -0400)]
Fix docstring of dabbrev-abbrev-char-regexp
* lisp/dabbrev.el (dabbrev-abbrev-char-regexp): Using a value of nil
is equivalent to "\\sw\\|\\s_", and has no special behavior. If the
previous character doesn't match, we search backwards for one that
does, not throw an error. Replace Lisp example with C based one to
make it clear that "symbol" means a sequence of word and symbol
constituent characters, not a Lisp symbol (Bug#358).
Noam Postavsky [Tue, 21 Mar 2017 13:03:47 +0000 (09:03 -0400)]
Narrow scope of modification hook renabling in org-src fontification
Modification hooks should be enabled while modifying text in the
org-src temp buffer, but in 2017-01-29 "Call modification hooks in
org-src fontify buffers" the hooks were enabled also for modifications
to the original org buffer. This causes fontification errors when
combined with certain packages, as reported in
http://lists.gnu.org/archive/html/emacs-orgmode/2017-03/msg00420.html.
* lisp/org/org-src.el (org-src-font-lock-fontify-block): Reduce scope
of inhibit-modification-hooks let-binding.
Eli Zaretskii [Sun, 5 Feb 2017 19:50:49 +0000 (21:50 +0200)]
Clarify documentation of 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
* doc/lispref/nonascii.texi (Text Representations): Clarify that
'exact' value of QUALITY argument to 'bufferpos-to-filepos' and
'filepos-to-bufferpos' can lead to expensive and slow processing.
Noam Postavsky [Sat, 7 Jan 2017 21:05:19 +0000 (16:05 -0500)]
Call modification hooks in org-src fontify buffers
* lisp/org/org-src.el (org-src-font-lock-fontify-block): Let-bind
`inhibit-modification-hooks' to nil, since this function can be called
from jit-lock-function which binds that variable to t (Bug#25132).
Eli Zaretskii [Sat, 28 Jan 2017 08:30:17 +0000 (10:30 +0200)]
Improve documentation of 'format' conversions
* src/editfns.c (Fformat): More accurate description of %g and
effects of the various flags on it. More accurate description of
integer conversions.
* doc/lispref/strings.texi (Formatting Strings): More accurate
description of %g and effects of the various flags on it. More
accurate description of integer conversions. (Bug#25557)
Eli Zaretskii [Fri, 20 Jan 2017 08:57:14 +0000 (10:57 +0200)]
Improve documentation of hooks related to saving buffers
* lisp/files.el (write-file-functions, write-contents-functions)
(before-save-hook, after-save-hook): Note that these are only used
by save-buffer.
* doc/lispref/backups.texi (Auto-Saving):
* doc/lispref/files.texi (Saving Buffers): Mention that
save-related hooks are not run by auto-saving. (Bug#25460)
Eli Zaretskii [Fri, 20 Jan 2017 08:34:15 +0000 (10:34 +0200)]
Improve documentation of auto-save-visited-file-name
* doc/emacs/files.texi (Auto Save Files): Mention subtle
differences between saving the buffer and auto-saving with
auto-save-visited-file-name set non-nil. (Bug#25478)
Eli Zaretskii [Fri, 13 Jan 2017 09:12:27 +0000 (11:12 +0200)]
Improve documentation of dabbrevs
* doc/emacs/abbrevs.texi (Dynamic Abbrevs): Add a cross reference
to "Dabbrev Customization".
(Dabbrev Customization): More details about the default value of
dabbrev-abbrev-char-regexp and use cases when it might not be good
enough. (Bug#25432)