Don't use some obsolete names in documentation
* admin/notes/bugtracker: Use non-obsolete name 'mail-dont-reply-to-names'. * admin/notes/multi-tty: Mention new variable name 'x-selection-value'. * doc/lispintro/emacs-lisp-intro.texi (Point and mark) (Point and mark, Design @value{COUNT-WORDS}): Avoid using obsolete name 'count-lines-region'. * doc/lispref/hooks.texi (Standard Hooks): Remove reference to obsolete abnormal hook 'completion-annotate-function'. * doc/misc/efaq.texi (SPC no longer completes file names): Remove reference to obsolete 'minibuffer-local-filename-must-match-map'; setting it has no effect. * doc/misc/gnus.texi (NNTP): Remove reference to obsolete variable 'nntp-authinfo-file'. * doc/misc/reftex.texi (Table of Contents, Creating Citations) (Options - Table of Contents, Options - Referencing Labels) (Options - Creating Citations, Options - Index Support) (Options - Index Support, Changes): Don't use obsolete names. * doc/misc/speedbar.texi (Minor Display Modes) (Major Display Modes): Make variable name suggestions more in line with existing non-obsolete variable. * lisp/textmodes/reftex-cite.el (reftex-select-bib-mode-map): * lisp/textmodes/reftex-ref.el (reftex-offer-label-menu): Don't use obsolete variable names. * lisp/progmodes/which-func.el (which-func-mode): Doc fix.
This commit is contained in:
parent
87153cc915
commit
c0793cd9de
11 changed files with 28 additions and 34 deletions
|
@ -84,7 +84,7 @@ generate a new report. The only time to send mail to the bug list
|
||||||
address is to create a new report.
|
address is to create a new report.
|
||||||
|
|
||||||
Gnus users can add the following to message-dont-reply-to-names;
|
Gnus users can add the following to message-dont-reply-to-names;
|
||||||
similarly with Rmail and rmail-dont-reply-to-names:
|
similarly with Rmail and mail-dont-reply-to-names:
|
||||||
|
|
||||||
"\\(emacs-pretest-bug\\|bug-gnu-emacs\\|bug-\\(e\\|gnu\\)macs\\)@gnu\\.org\\|\
|
"\\(emacs-pretest-bug\\|bug-gnu-emacs\\|bug-\\(e\\|gnu\\)macs\\)@gnu\\.org\\|\
|
||||||
\\(submit\\|control\\|owner\\)@debbugs\\.gnu\\.org"
|
\\(submit\\|control\\|owner\\)@debbugs\\.gnu\\.org"
|
||||||
|
|
|
@ -474,7 +474,7 @@ THINGS TO DO
|
||||||
definition.
|
definition.
|
||||||
|
|
||||||
Exceptions found so far: x-select-text and
|
Exceptions found so far: x-select-text and
|
||||||
x-cut-buffer-or-selection-value.
|
x-selection-value (old name: x-cut-buffer-or-selection-value).
|
||||||
|
|
||||||
** Have a look at fatal_error_hook.
|
** Have a look at fatal_error_hook.
|
||||||
|
|
||||||
|
|
|
@ -4201,7 +4201,7 @@ times.
|
||||||
|
|
||||||
The part of the buffer between point and mark is called @dfn{the
|
The part of the buffer between point and mark is called @dfn{the
|
||||||
region}. Numerous commands work on the region, including
|
region}. Numerous commands work on the region, including
|
||||||
@code{center-region}, @code{count-lines-region}, @code{kill-region}, and
|
@code{center-region}, @code{count-words-region}, @code{kill-region}, and
|
||||||
@code{print-region}.
|
@code{print-region}.
|
||||||
|
|
||||||
The @code{save-excursion} special form saves the location of point and
|
The @code{save-excursion} special form saves the location of point and
|
||||||
|
@ -4214,7 +4214,7 @@ evaluated.
|
||||||
|
|
||||||
In Emacs, a function frequently moves point as part of its internal
|
In Emacs, a function frequently moves point as part of its internal
|
||||||
workings even though a user would not expect this. For example,
|
workings even though a user would not expect this. For example,
|
||||||
@code{count-lines-region} moves point. To prevent the user from being
|
@code{count-words-region} moves point. To prevent the user from being
|
||||||
bothered by jumps that are both unexpected and (from the user's point of
|
bothered by jumps that are both unexpected and (from the user's point of
|
||||||
view) unnecessary, @code{save-excursion} is often used to keep point in
|
view) unnecessary, @code{save-excursion} is often used to keep point in
|
||||||
the location expected by the user. The use of
|
the location expected by the user. The use of
|
||||||
|
@ -13473,8 +13473,7 @@ The template for an interactive function definition is, as always:
|
||||||
|
|
||||||
What we need to do is fill in the slots.
|
What we need to do is fill in the slots.
|
||||||
|
|
||||||
The name of the function should be self-explanatory and similar to the
|
The name of the function should be self-explanatory and easy
|
||||||
existing @code{count-lines-region} name. This makes the name easier
|
|
||||||
to remember. @code{count-words-region} is the obvious choice. Since
|
to remember. @code{count-words-region} is the obvious choice. Since
|
||||||
that name is now used for the standard Emacs command to count words, we
|
that name is now used for the standard Emacs command to count words, we
|
||||||
will name our implementation @code{@value{COUNT-WORDS}}.
|
will name our implementation @code{@value{COUNT-WORDS}}.
|
||||||
|
|
|
@ -262,7 +262,6 @@ after-set-visited-file-name-hook
|
||||||
auto-coding-functions
|
auto-coding-functions
|
||||||
choose-completion-string-functions
|
choose-completion-string-functions
|
||||||
completing-read-function
|
completing-read-function
|
||||||
completion-annotate-function
|
|
||||||
completion-at-point-functions
|
completion-at-point-functions
|
||||||
completion-list-insert-choice-function
|
completion-list-insert-choice-function
|
||||||
deactivate-current-input-method-function
|
deactivate-current-input-method-function
|
||||||
|
|
|
@ -4136,9 +4136,6 @@ You can get the old behavior by binding @kbd{SPC} to
|
||||||
@lisp
|
@lisp
|
||||||
(define-key minibuffer-local-filename-completion-map (kbd "SPC")
|
(define-key minibuffer-local-filename-completion-map (kbd "SPC")
|
||||||
'minibuffer-complete-word)
|
'minibuffer-complete-word)
|
||||||
|
|
||||||
(define-key minibuffer-local-filename-must-match-map (kbd "SPC")
|
|
||||||
'minibuffer-complete-word)
|
|
||||||
@end lisp
|
@end lisp
|
||||||
|
|
||||||
@c ------------------------------------------------------------
|
@c ------------------------------------------------------------
|
||||||
|
|
|
@ -13875,11 +13875,9 @@ present in this hook.
|
||||||
@item nntp-authinfo-function
|
@item nntp-authinfo-function
|
||||||
@vindex nntp-authinfo-function
|
@vindex nntp-authinfo-function
|
||||||
@findex nntp-send-authinfo
|
@findex nntp-send-authinfo
|
||||||
@vindex nntp-authinfo-file
|
|
||||||
This function will be used to send @samp{AUTHINFO} to the @acronym{NNTP}
|
This function will be used to send @samp{AUTHINFO} to the @acronym{NNTP}
|
||||||
server. The default function is @code{nntp-send-authinfo}, which looks
|
server. The default function is @code{nntp-send-authinfo}, which looks
|
||||||
through your @file{~/.authinfo} (or whatever you've set the
|
through your @file{~/.authinfo} for applicable entries. If none
|
||||||
@code{nntp-authinfo-file} variable to) for applicable entries. If none
|
|
||||||
are found, it will prompt you for a login name and a password. The
|
are found, it will prompt you for a login name and a password. The
|
||||||
format of the @file{~/.authinfo} file is (almost) the same as the
|
format of the @file{~/.authinfo} file is (almost) the same as the
|
||||||
@code{ftp} @file{~/.netrc} file, which is defined in the @code{ftp}
|
@code{ftp} @file{~/.netrc} file, which is defined in the @code{ftp}
|
||||||
|
|
|
@ -658,9 +658,9 @@ variable @code{reftex-auto-recenter-toc}.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@vindex reftex-toc-map
|
@vindex reftex-toc-mode-map
|
||||||
In order to define additional commands for the @file{*toc*} buffer, the
|
In order to define additional commands for the @file{*toc*} buffer, the
|
||||||
keymap @code{reftex-toc-map} may be used.
|
keymap @code{reftex-toc-mode-map} may be used.
|
||||||
|
|
||||||
@findex reftex-toc-recenter
|
@findex reftex-toc-recenter
|
||||||
@vindex reftex-auto-recenter-toc
|
@vindex reftex-auto-recenter-toc
|
||||||
|
@ -1021,9 +1021,9 @@ document and let you select a label from there (@pxref{LaTeX xr Package,,xr}).
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@vindex reftex-select-label-map
|
@vindex reftex-select-label-mode-map
|
||||||
In order to define additional commands for the selection process, the
|
In order to define additional commands for the selection process, the
|
||||||
keymap @code{reftex-select-label-map} may be used.
|
keymap @code{reftex-select-label-mode-map} may be used.
|
||||||
|
|
||||||
@node Builtin Label Environments
|
@node Builtin Label Environments
|
||||||
@section Builtin Label Environments
|
@section Builtin Label Environments
|
||||||
|
@ -1871,9 +1871,9 @@ entries.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@vindex reftex-select-bib-map
|
@vindex reftex-select-bib-mode-map
|
||||||
In order to define additional commands for this selection process, the
|
In order to define additional commands for this selection process, the
|
||||||
keymap @code{reftex-select-bib-map} may be used.
|
keymap @code{reftex-select-bib-mode-map} may be used.
|
||||||
|
|
||||||
Note that if you do not use Emacs to edit the @BibTeX{} database files,
|
Note that if you do not use Emacs to edit the @BibTeX{} database files,
|
||||||
@RefTeX{} will ask if the related buffers should be updated once it
|
@RefTeX{} will ask if the related buffers should be updated once it
|
||||||
|
@ -3960,7 +3960,7 @@ Normal hook which is run when a @file{*toc*} buffer is
|
||||||
created.
|
created.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Keymap reftex-toc-map
|
@deffn Keymap reftex-toc-mode-map
|
||||||
The keymap which is active in the @file{*toc*} buffer.
|
The keymap which is active in the @file{*toc*} buffer.
|
||||||
(@pxref{Table of Contents}).
|
(@pxref{Table of Contents}).
|
||||||
@end deffn
|
@end deffn
|
||||||
|
@ -4425,7 +4425,7 @@ Normal hook which is run when a selection buffer enters
|
||||||
@code{reftex-select-label-mode}.
|
@code{reftex-select-label-mode}.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Keymap reftex-select-label-map
|
@deffn Keymap reftex-select-label-mode-map
|
||||||
The keymap which is active in the labels selection process
|
The keymap which is active in the labels selection process
|
||||||
(@pxref{Referencing Labels}).
|
(@pxref{Referencing Labels}).
|
||||||
@end deffn
|
@end deffn
|
||||||
|
@ -4586,7 +4586,7 @@ Normal hook which is run when a selection buffer enters
|
||||||
@code{reftex-select-bib-mode}.
|
@code{reftex-select-bib-mode}.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Keymap reftex-select-bib-map
|
@deffn Keymap reftex-select-bib-mode-map
|
||||||
The keymap which is active in the citation-key selection process
|
The keymap which is active in the citation-key selection process
|
||||||
(@pxref{Creating Citations}).
|
(@pxref{Creating Citations}).
|
||||||
@end deffn
|
@end deffn
|
||||||
|
@ -4792,7 +4792,7 @@ into blocks. Sorting will then preserve blocks, so that lines are
|
||||||
re-arranged only within blocks.
|
re-arranged only within blocks.
|
||||||
@end defopt
|
@end defopt
|
||||||
|
|
||||||
@defopt reftex-index-phrases-map
|
@defopt reftex-index-phrases-mode-map
|
||||||
Keymap for the Index Phrases buffer.
|
Keymap for the Index Phrases buffer.
|
||||||
@end defopt
|
@end defopt
|
||||||
|
|
||||||
|
@ -4824,7 +4824,7 @@ the document. This flag can be toggled from within the @file{*Index*}
|
||||||
buffer with the @kbd{f} key.
|
buffer with the @kbd{f} key.
|
||||||
@end defopt
|
@end defopt
|
||||||
|
|
||||||
@deffn Keymap reftex-index-map
|
@deffn Keymap reftex-index-mode-map
|
||||||
The keymap which is active in the @file{*Index*} buffer
|
The keymap which is active in the @file{*Index*} buffer
|
||||||
(@pxref{Index Support}).
|
(@pxref{Index Support}).
|
||||||
@end deffn
|
@end deffn
|
||||||
|
@ -5813,8 +5813,8 @@ buffer).
|
||||||
@noindent @b{Version 3.12}
|
@noindent @b{Version 3.12}
|
||||||
@itemize @bullet
|
@itemize @bullet
|
||||||
@item
|
@item
|
||||||
There are 3 new keymaps for customization: @code{reftex-toc-map},
|
There are 3 new keymaps for customization: @code{reftex-toc-mode-map},
|
||||||
@code{reftex-select-label-map}, @code{reftex-select-bib-map}.
|
@code{reftex-select-label-mode-map}, @code{reftex-select-bib-mode-map}.
|
||||||
@item
|
@item
|
||||||
Refontification uses more standard font-lock stuff.
|
Refontification uses more standard font-lock stuff.
|
||||||
@item
|
@item
|
||||||
|
|
|
@ -896,7 +896,7 @@ augmented with speedbar.
|
||||||
|
|
||||||
@enumerate
|
@enumerate
|
||||||
@item
|
@item
|
||||||
Create the keymap variable @code{@var{name}-speedbar-key-map}.
|
Create the keymap variable @code{@var{name}-speedbar-mode-map}.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
Create a function, named whatever you like, which assigns values into your
|
Create a function, named whatever you like, which assigns values into your
|
||||||
|
@ -904,7 +904,7 @@ keymap. Use this command to create the keymap before assigning
|
||||||
bindings:
|
bindings:
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
(setq @var{name}-speedbar-key-map (speedbar-make-specialized-keymap))
|
(setq @var{name}-speedbar-mode-map (speedbar-make-specialized-keymap))
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
This function creates a special keymap for use in speedbar.
|
This function creates a special keymap for use in speedbar.
|
||||||
|
@ -977,7 +977,7 @@ Next, register your extension like this;
|
||||||
@example
|
@example
|
||||||
(speedbar-add-expansion-list '("MyExtension"
|
(speedbar-add-expansion-list '("MyExtension"
|
||||||
MyExtension-speedbar-menu-items
|
MyExtension-speedbar-menu-items
|
||||||
MyExtension-speedbar-key-map
|
MyExtension-speedbar-mode-map
|
||||||
MyExtension-speedbar-buttons))
|
MyExtension-speedbar-buttons))
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
|
|
@ -185,7 +185,8 @@ and you want to simplify them for the mode line
|
||||||
|
|
||||||
(defvar-local which-func-mode nil
|
(defvar-local which-func-mode nil
|
||||||
"Non-nil means display current function name in mode line.
|
"Non-nil means display current function name in mode line.
|
||||||
This makes a difference only if `which-function-mode' is non-nil.")
|
This makes a difference only if variable `which-function-mode' is
|
||||||
|
non-nil.")
|
||||||
|
|
||||||
(add-hook 'after-change-major-mode-hook #'which-func-ff-hook t)
|
(add-hook 'after-change-major-mode-hook #'which-func-ff-hook t)
|
||||||
|
|
||||||
|
|
|
@ -814,7 +814,7 @@ in order to only add another reference in the same cite command."
|
||||||
(interactive)
|
(interactive)
|
||||||
(reftex-citation nil ?t))
|
(reftex-citation nil ?t))
|
||||||
|
|
||||||
(defvar reftex-select-bib-map)
|
(defvar reftex-select-bib-mode-map)
|
||||||
(defvar reftex--found-list)
|
(defvar reftex--found-list)
|
||||||
(defun reftex-offer-bib-menu ()
|
(defun reftex-offer-bib-menu ()
|
||||||
"Offer bib menu and return list of selected items."
|
"Offer bib menu and return list of selected items."
|
||||||
|
@ -870,7 +870,7 @@ in order to only add another reference in the same cite command."
|
||||||
(reftex-select-item
|
(reftex-select-item
|
||||||
reftex-citation-prompt
|
reftex-citation-prompt
|
||||||
reftex-citation-help
|
reftex-citation-help
|
||||||
reftex-select-bib-map
|
reftex-select-bib-mode-map
|
||||||
nil
|
nil
|
||||||
'reftex-bibtex-selection-callback nil))
|
'reftex-bibtex-selection-callback nil))
|
||||||
(setq key (car rtn)
|
(setq key (car rtn)
|
||||||
|
|
|
@ -533,7 +533,7 @@ When called with 2 \\[universal-argument] prefix args, disable magic word recogn
|
||||||
(cons (cdr cell) (- (match-end 0) (match-end 1)))
|
(cons (cdr cell) (- (match-end 0) (match-end 1)))
|
||||||
nil)))
|
nil)))
|
||||||
|
|
||||||
(defvar reftex-select-label-map)
|
(defvar reftex-select-label-mode-map)
|
||||||
(defun reftex-offer-label-menu (typekey)
|
(defun reftex-offer-label-menu (typekey)
|
||||||
;; Offer a menu with the appropriate labels.
|
;; Offer a menu with the appropriate labels.
|
||||||
(let* ((buf (current-buffer))
|
(let* ((buf (current-buffer))
|
||||||
|
@ -605,7 +605,7 @@ When called with 2 \\[universal-argument] prefix args, disable magic word recogn
|
||||||
(reftex-select-item
|
(reftex-select-item
|
||||||
reftex-select-label-prompt
|
reftex-select-label-prompt
|
||||||
reftex-select-label-help
|
reftex-select-label-help
|
||||||
reftex-select-label-map
|
reftex-select-label-mode-map
|
||||||
offset
|
offset
|
||||||
'reftex-show-label-location follow))
|
'reftex-show-label-location follow))
|
||||||
(setq key (car rtn)
|
(setq key (car rtn)
|
||||||
|
|
Loading…
Add table
Reference in a new issue