1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-07 16:10:46 -08:00
emacs/etc
Olivier Certner c6eb114a42
ERC: NickServ: Prompt for password last, overall simplifications (bug#46777)
When 'erc-prompt-for-nickserv-password' is non-nil, don't ignore the
other forms of identification.  Instead, process them first, and
prompt for the password last.  Separate concerns (determination of the
nick to use, of the password to use, and actual message sending).

Note that the user can be interactively prompted for a password on
reception of a NickServ request, as before (on
'erc-prompt-for-nickserv-password').

* lisp/erc/erc-services.el (erc-nickserv-identify): Make the password
argument optional (and don't prompt for it interactively).  Further,
now take the nick to use for identification (interactively, ask for
it, defaulting to the current one).  Move the actual message sending
into the new 'erc-nickserv-send-identify' function, and the password
prompting into 'erc-nickserv-get-password'.

(erc-nickserv-send-identify): New function containing the code for
sending the identify message to NickServ, given the nick and password.

(erc-nickserv-get-password): Try each password source in turn, in the
following order: 'erc-nickserv-passwords', auth-source (if
'erc-use-auth-source-for-nickserv-password' is non-nil), and in the
end prompt the user interactively (if
'erc-prompt-for-nickserv-password' is non-nil).  If one source returns
a string, the function returns it, or nil if the string is empty.

(erc-nickserv-call-identify-function): Declare obsolete, but retain
for backward compatibility.  Prefer invoking 'erc-nickserv-identify'
directly instead.

(erc-nickserv-identify-autodetect, erc-nickserv-identify-on-connect)
(erc-nickserv-identify-on-nick-change): Call 'erc-nickserv-identify'
directly ('erc-nickserv-call-identify-function' has been obsoleted).
For the last two functions, remove the redundant checks on the
NickServ identification flags (additionally, it is doubtful they have
any measurable impact on performance).

* etc/NEWS: Announce the change.

Co-authored-by: F. Jason Park <jp@neverwas.me>
2021-09-17 00:31:31 -04:00
..
charsets Update copyright year to 2021 2021-01-01 01:13:56 -08:00
e
forms Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gnus
images Work around librsvg bug (bug#47074) 2021-04-04 14:26:07 +01:00
nxml
org Update copyright year to 2021 2021-01-01 01:13:56 -08:00
refcards ; Fix typos 2021-09-03 13:05:32 +02:00
schema Update rnc to use Open Document's Relax-NG schema to version 1.3 2021-03-25 11:49:18 -04:00
srecode Update copyright year to 2021 2021-01-01 01:13:56 -08:00
themes ; Minor stylistic fixes found by checkdoc 2021-09-16 19:37:07 +02:00
tutorials ; * etc/tutorials/TUTORIAL.sv: Fix typo in last change. 2021-05-27 14:36:33 +02:00
AUTHORS Prepare the Emacs 27.2 release. 2021-03-18 08:43:54 -04:00
CALC-NEWS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.1 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
compilation.txt Remove outline-cycle-minor-mode and outline-cycle-highlight-minor-mode 2021-03-07 20:52:39 +02:00
COPYING
DEBUG Update copyright year to 2021 2021-01-01 01:13:56 -08:00
DEVEL.HUMOR Remove an unfunny joke from DEVEL.HUMOR 2019-11-01 13:54:51 +01:00
DISTRIB * etc/DISTRIB: Refer to gnu.org instead of the deleted file etc/GNU. 2021-09-04 09:08:54 +02:00
edt-user.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacs-buffer.gdb Update copyright year to 2021 2021-01-01 01:13:56 -08: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 Rename emacs.appdata.xml to emacs.metainfo.xml and add more data 2021-05-29 04:15:28 +02: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 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ERC-NEWS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ETAGS.EBNF Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ETAGS.README Update copyright year to 2021 2021-01-01 01:13:56 -08:00
future-bug
gnus-tut.txt Update copyright year to 2021 2021-01-01 01:13:56 -08:00
grep.txt Remove outline-cycle-minor-mode and outline-cycle-highlight-minor-mode 2021-03-07 20:52:39 +02:00
HELLO Add input methods for Lakota 2021-06-20 14:04:21 +03:00
HISTORY Prepare the Emacs 27.2 release. 2021-03-18 08:43:54 -04:00
JOKES
MACHINES * etc/MACHINES: Document that we support AArch64 with macOS. 2021-01-31 19:50:42 +01:00
MH-E-NEWS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS ERC: NickServ: Prompt for password last, overall simplifications (bug#46777) 2021-09-17 00:31:31 -04:00
NEWS.1-17 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.18 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.19 * etc/NEWS.19: Add entry for 'easy-menu-define'. 2021-02-21 10:49:07 +01:00
NEWS.20 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.21 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.22 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.23 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.24 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.25 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.26 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NEWS.27 Merge from origin/emacs-27 2021-07-04 00:14:47 -04:00
NEXTSTEP Update copyright year to 2021 2021-01-01 01:13:56 -08:00
NXML-NEWS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ORG-NEWS Fix typos 2021-02-18 16:50:55 +01:00
package-keyring.gpg * etc/package-keyring.gpg: Add the 2019 key (backport) 2019-05-08 13:19:36 -04:00
PROBLEMS Mention problems with synthetic fonts on macOS 2021-08-21 15:03:27 +02:00
ps-prin0.ps Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ps-prin1.ps Update copyright year to 2021 2021-01-01 01:13:56 -08:00
publicsuffix.txt Update publicsuffix.txt from upstream 2021-09-03 10:40:57 +02:00
README Update copyright year to 2021 2021-01-01 01:13:56 -08:00
rgb.txt
ses-example.ses Update copyright year to 2021 2021-01-01 01:13:56 -08:00
spook.lines Add more spook.lines 2019-07-13 05:09:45 +02:00
TERMS Update copyright year to 2021 2021-01-01 01:13:56 -08:00
TODO ; * etc/TODO: Fix typo. 2021-08-21 10:37:26 +01:00
w32-feature.el Allow evaluation of tests from local source repository 2021-01-10 21:51:58 +00: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-2021 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)