1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00
emacs/etc
Stefan Monnier 84e0b7dad6 Deprecate intangible' and point-entered' properties
* lisp/emacs-lisp/cursor-sensor.el: New file.

* lisp/simple.el (pre-redisplay-functions): New hook.
(redisplay--pre-redisplay-functions): New function.
(pre-redisplay-function): Use it.
(minibuffer-avoid-prompt): Mark obsolete.
(redisplay--update-region-highlight): Adapt it to work as a function on
pre-redisplay-functions.

* lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
(minibuffer-prompt-properties): Use it.  Use cursor-intangible rather
than point-entered to make the prompt intangible.

* lisp/forms.el: Move `provide' calls to the end.
(forms-mode): Don't use `run-hooks' on a local var.
(forms--make-format, forms--make-format-elt-using-text-properties):
Use cursor-intangible rather than `intangible'.
(forms-mode): Enable cursor-intangible-mode.

* lisp/isearch.el (isearch-mode): Use defvar-local.
(cursor-sensor-inhibit): Declare.
(isearch-mode): Set cursor-sensor-inhibit.
(isearch-done): Set it back.
(isearch-open-overlay-temporary, isearch-open-necessary-overlays)
(isearch-close-unnecessary-overlays): Don't bother with `intangible'
any more.

* lisp/ses.el (ses-localvars): Remove `mode-line-process'.
(ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
Add Edebug spec.
(ses-goto-print, ses-print-cell, ses-adjust-print-width)
(ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
inhibit-point-motion-hooks any more.
(ses--cell-at-pos, ses--curcell): New functions, extracted from
ses-set-curcell.
(ses-set-curcell): Use them.
(ses-print-cell, ses-setup): Use cursor-intangible instead of
`intangible'.  Make sure cursor-intangible isn't sticky at BOB.
(ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
Use ses--cell-at-pos.
(ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
extracted from ses-command-hook.  Make them work with multiple windows
displaying the same buffer.
(ses-mode): Use them via mode-line-process and pre-redisplay-functions.
Enable cursor-intangible-mode.
(ses-command-hook): Remove cell highlight and mode-line update code.
(ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
Update for new name of text-property holding the cell name.
(ses-rename-cell): Don't mess with mode-line-process.

* lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
cursor-sensor-functions property instead of point-entered.
(erc-insert-timestamp-right, erc-format-timestamp):
Use cursor-intangible rather than `intangible'.
(erc-munge-invisibility-spec): Use add-to-invisibility-spec and
remove-from-invisibility-spec.  Enable cursor-intangible-mode and
cursor-sensor-mode if needed.
(erc-echo-timestamp): Adapt to calling convention of
cursor-sensor-functions.
(erc-insert-timestamp-right): Remove unused vars `current-window' and
`indent'.

* lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
(gnus-update-group-mark-positions): Remove unused `topic' var.
(gnus-group-insert-group-line): Remove unused var `header'.
(gnus-group--setup-tool-bar-update): New function.
(gnus-group-insert-group-line): Use it.
(gnus-group-update-eval-form): Declare local
dynamically-bound variables.
(gnus-group-unsubscribe-group): Use \` and \' to match string bounds.

* lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
(gnus-group-prepare-topics, gnus-topic-update-topic)
(gnus-topic-change-level, gnus-topic-catchup-articles)
(gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
Use inhibit-read-only.
(gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
(gnus-topic-mode): Use define-minor-mode and derived-mode-p.

* lisp/textmodes/reftex-index.el (reftex-display-index):
Use cursor-intangible-mode if available.
(reftex-index-post-command-hook): Check cursor-intangible.

* lisp/textmodes/reftex-toc.el (reftex-toc):
Use cursor-intangible-mode if available.
(reftex-toc-recenter, reftex-toc-post-command-hook):
Check cursor-intangible.

* lisp/textmodes/sgml-mode.el: Use lexical-binding.
(sgml-tag): Use cursor-sensor-functions instead of point-entered.
(sgml-tags-invisible): Use with-silent-modifications and
inhibit-read-only.  Enable cursor-sensor-mode.
(sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
calling convention of cursor-sensor-functions.

* lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
(table-point-entered-cell-hook, table-point-left-cell-hook):
Don't autoload.
(table-cell-entered-state): Remove var.
(table--put-cell-point-entered/left-property)
(table--remove-cell-properties):
Use cursor-sensor-functions rather than point-entered/left.
(table--point-entered/left-cell-function): Merge
table--point-entered-cell-function and table--point-left-cell-function
and adjust to calling convention of cursor-sensor-functions.
2015-04-13 15:51:15 -04:00
..
charsets Update copyright year to 2015 2015-01-01 14:26:41 -08:00
e
forms Update copyright year to 2015 2015-01-01 14:26:41 -08:00
gnus
images Splash images refurbished 2015-01-30 00:38:02 +01:00
nxml
org Update copyright year to 2015 2015-01-01 14:26:41 -08:00
refcards Merge from gnulib and try to repair bad merge 2015-01-27 22:24:47 -08:00
schema Update copyright year to 2015 2015-01-01 14:26:41 -08:00
srecode Update copyright year to 2015 2015-01-01 14:26:41 -08:00
themes Update copyright year to 2015 2015-01-01 14:26:41 -08:00
tutorials Use u+05f4 in TUTORIAL.he. 2015-01-17 15:06:55 +02:00
AUTHORS Merge from origin/emacs-24 2015-03-08 18:49:27 -07:00
CALC-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
CENSORSHIP Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
ChangeLog.1 Rename ChangeLogs for gitlog-to-changelog 2015-04-07 00:00:06 -07:00
compilation.txt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
COPYING
DEBUG Update copyright year to 2015 2015-01-01 14:26:41 -08:00
DEVEL.HUMOR PS: I re-read the manual of bzr to make sure I don't break anything. 2013-08-02 16:26:22 +02:00
DISTRIB Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt-user.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
emacs-buffer.gdb Update copyright year to 2015 2015-01-01 14:26:41 -08:00
emacs.appdata.xml Update copyright year to 2015 2015-01-01 14:26:41 -08:00
emacs.desktop * etc/emacs.desktop: Add "Keywords". 2014-10-30 21:10:19 -07:00
emacs.icon
enriched.txt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ERC-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ETAGS.EBNF Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ETAGS.README Update copyright year to 2015 2015-01-01 14:26:41 -08:00
FTP Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
future-bug Rename configure.in to configure.ac. 2012-07-08 21:52:49 -07:00
GNU Update copyright year to 2015 2015-01-01 09:18:06 -08:00
GNUS-NEWS etc/GNUS-NEWS: Nore X-GM-LABELS 2015-02-05 03:55:13 +00:00
gnus-tut.txt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
grep.txt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
HELLO Update copyright year to 2015 2015-01-01 14:26:41 -08:00
JOKES
LINUX-GNU Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
MACHINES Update copyright year to 2015 2015-01-01 14:26:41 -08:00
MH-E-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
MORE.STUFF * etc/MORE.STUFF: Replace contents with pointer to efaq.info. 2014-01-09 14:14:28 -05:00
NEWS Deprecate intangible' and point-entered' properties 2015-04-13 15:51:15 -04:00
NEWS.1-17 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.18 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.19 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.20 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.21 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.22 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.23 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NEWS.24 Merge from origin/emacs-24 2015-03-03 14:52:04 -08:00
NEXTSTEP Update copyright year to 2015 2015-01-01 14:26:41 -08:00
NXML-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ORDERS Make etc/FTP and etc/ORDERS obsolete 2014-01-09 21:44:51 -05:00
ORG-NEWS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
package-keyring.gpg * etc/package-keyring.gpg: New file. 2014-09-24 10:28:27 -04:00
PROBLEMS Update etc/PROBLEMS. 2015-04-07 17:42:28 +00:00
ps-prin0.ps Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ps-prin1.ps Update copyright year to 2015 2015-01-01 14:26:41 -08:00
publicsuffix.txt Update the etc/publicsuffix.txt file 2015-01-26 15:21:34 +11:00
README Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rgb.txt
ses-example.ses Update copyright year to 2015 2015-01-01 14:26:41 -08:00
spook.lines * etc/spook.lines: Minor commentary update 2013-08-28 21:05:19 -04:00
TERMS Update copyright year to 2015 2015-01-01 14:26:41 -08:00
THE-GNU-PROJECT Make some files in etc obsolete 2014-03-22 16:47:20 -07:00
TODO * etc/TODO: Remove obsolete entries. 2015-03-25 14:28:25 -04:00
WHY-FREE Make some files in etc obsolete 2014-03-22 16:47:20 -07: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.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

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