1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 08:41:47 -07:00
emacs/etc
Gregory Heytings 38b3780f6e Actually fix the long lines display bug (bug#56393).
* lisp/files.el (auto-narrow-mode): New minor mode.
(auto-narrow-pre-command-function, auto-narrow-post-command-function):
New auxiliary functions for the minor mode.
(auto-narrow-display-length, auto-narrow-widen-automatically): New
defcustoms for the minor mode.
(auto-narrow--widen-automatically, auto-narrow--isearch-widen-automatically,
auto-narrow--initialized): New internal variables for the minor mode.

* src/buffer.h (struct buffer): New internal variable for the minor mode.
(bset_auto_narrow__narrowing_state, BUFFER_AUTO_NARROWED_P): New
auxiliary functions.

* src/buffer.c (init_buffer_once, syms_of_buffer): New internal variable
for the minor mode. Update the docstring of mode-line-format.

* src/fileio.c (Finsert_file_contents): Detect whether the minor mode should
be entered when the buffer is displayed.
(syms_of_fileio): New defcustom for the minor mode.

* src/keyboard.c (syms_of_keyboard): New hook functions for the minor mode.
(command_loop_1): Execute the hook functions.

* src/xdisp.c (redisplay_window): Enter the minor mode when the buffer is
displayed.
(decode_mode_spec): Indicate when the minor mode is active
in the modeline.  Indicate the buffer position relative to the whole buffer.
(set_vertical_scroll_bar): Indicate the buffer position relative to the
whole buffer.
(syms_of_xdisp): Two new symbols.

* lisp/isearch.el (isearch-widen-automatically): New defcustom.
(isearch-search): Use the new defcustom.

* lisp/bindings.el (mode-line-modes): Do not propertize the indication
in the modeline when the new minor mode is active.

* etc/NEWS: Announce the new minor mode, and remove the unobsoletion
indication for 'longlines-mode'.

* lisp/longlines.el: Reobsolete longlines-mode.

* doc/emacs/display.texi (Auto-Narrowing): New section, describing the new
minor mode.
(Display): Entry for the new section.

* doc/emacs/trouble.texi (Long Lines): Remove the section.
(Lossage): Remove the entry for the Long Lines section.

* doc/emacs/emacs.texi (Top): Remove the entry for the Long Lines section.
2022-07-06 00:43:56 +02:00
..
charsets ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
e Implement alternative sub-buffer support in term.el 2022-01-24 20:02:33 +01:00
forms ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gnus
images Add nohandle-guide images for tree-widget 2022-06-06 00:42:56 +02:00
nxml
org ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
refcards Merge from origin/emacs-28 2022-06-05 06:30:25 +02:00
schema ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
srecode ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
themes Merge from origin/emacs-28 2022-07-03 06:30:38 +02:00
tutorials ; Fix typos. 2022-07-02 13:32:41 +02:00
AUTHORS ; Manually sync ChangeLog and AUTHORS with emacs-28 2022-06-29 16:13:51 +02:00
CALC-NEWS ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ChangeLog.1 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
compilation.txt Quote configure.ac arguments more consistently 2022-07-05 00:06:09 -05:00
COPYING
DEBUG Clang debug notes 2022-03-13 12:04:22 -07:00
DEVEL.HUMOR ; * etc/DEVEL.HUMOR: Add a recent joke. 2022-02-11 10:15:20 +02:00
DISTRIB ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
edt-user.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs-buffer.gdb ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs-mail.desktop Hide emacs-mail.desktop, emacsclient-mail.desktop from menus 2021-07-02 13:09:18 +02:00
emacs.desktop Drop redundant keywords in .desktop files. 2021-08-11 14:05:25 +02:00
emacs.icon
emacs.metainfo.xml ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
emacs.service * etc/emacs.service: 2020-12-14 17:59:58 +01:00
emacsclient-mail.desktop Hint that emacsclient.desktop should match a search for “emacsclient” 2021-08-11 14:05:14 +02:00
emacsclient.desktop Drop redundant keywords in .desktop files. 2021-08-11 14:05:25 +02:00
enriched.txt Document 'enriched-toggle-markup' 2022-05-20 15:03:06 +03:00
ERC-NEWS Update ERC's Info doc with network-ID related changes 2022-06-30 15:19:53 -07:00
ETAGS.EBNF ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ETAGS.README ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
future-bug
gnus-tut.txt ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
grep.txt ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
HELLO Add support for the Meetei Mayek script 2022-06-13 16:55:20 +03:00
HISTORY Update logs and HISTORY for Emacs 28.1 2022-04-03 08:26:02 -04:00
JOKES
MACHINES Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
MH-E-NEWS ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS Actually fix the long lines display bug (bug#56393). 2022-07-06 00:43:56 +02:00
NEWS.1-17 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.18 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.19 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.20 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.21 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.22 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.23 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.24 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.25 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.26 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.27 ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NEWS.28 Merge from origin/emacs-28 2022-06-29 06:31:15 +02:00
NEXTSTEP ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
NXML-NEWS ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ORG-NEWS Update to Org 9.5.3-3-gd54104 2022-04-24 21:07:40 -04:00
org.gnu.emacs.defaults.gschema.xml ; Add 2022 to copyright years. 2022-01-01 07:07:15 -05:00
package-keyring.gpg
PROBLEMS "make clean" etc. problem now fixed on Solaris. 2022-06-27 08:29:32 -05:00
ps-prin0.ps ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
ps-prin1.ps ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
publicsuffix.txt Update publicsuffix.txt from upstream 2022-07-01 06:01:14 +02:00
README ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
rgb.txt
ses-example.ses ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
spook.lines
TERMS ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
TODO Make uce.el obsolete (bug#46472) 2022-06-17 15:06:15 +02:00
w32-feature.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2022 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)