1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-28 07:50:48 -08:00
emacs/lisp
F. Jason Park 5258f36168
Accept functions in place of passwords in ERC
* lisp/erc/erc-backend.el (erc-session-password): Add comment
explaining type is now string, nil, or function.
* lisp/erc/erc-compat.el (erc-compat--29-auth-source-pass-search):
Use obfuscation from auth-source function when available.
* lisp/erc/erc-sasl.el (erc-sasl--read-password,
erc-server-AUTHENTICATE): Use `erc--unfun'.
* lisp/erc/erc-services.el (erc-nickserv-get-password,
erc-nickserv-send-identify): Use `erc--unfun'.
* lisp/erc/erc.el (erc--unfun): New function for unwrapping a
password couched in a getter.
(erc--debug-irc-protocol-mask-secrets): Add variable to indicate
whether to mask passwords in debug logs.
(erc--mask-secrets): New function to swap masked secret with question
marks in debug logs.
(erc-log-irc-protocol): Conditionally mask secrets when
`erc--debug-irc-protocol-mask-secrets' is non-nil.
(erc--auth-source-search): Don't unwrap secret from function before
returning.
(erc-server-join-channel, erc-login): Use `erc--unfun'.

* test/lisp/erc/erc-services-tests.el
(erc-services-tests--wrap-search): Add helper for `erc--unfun'.
(erc-services-tests--auth-source-standard,
erc-services-tests--auth-source-announced,
erc-services-tests--auth-source-overrides, erc-nickserv-get-password):
Use `erc--unfun'.
* test/lisp/erc/erc-tests.el (erc--debug-irc-protocol-mask-secrets):
Add test for masking secrets with `erc--unfun' and friends.
2022-11-23 21:23:05 -05:00
..
calc ; Fix typos (prefer US spelling) 2022-11-18 13:06:55 +01:00
calendar ; Fix typos 2022-11-18 16:02:19 +01:00
cedet ; Fix typos (misspelled symbols) 2022-11-21 15:20:11 +01:00
emacs-lisp Don't break when loading VC packages on older Emacs versions 2022-11-23 19:35:41 +01:00
emulation
erc Accept functions in place of passwords in ERC 2022-11-23 21:23:05 -05:00
eshell ; Fix typos 2022-11-20 12:59:39 +01:00
gnus ; Fix typos 2022-11-23 05:49:22 +01:00
image ; Fix several symbol name typos 2022-10-26 23:04:23 +02:00
international ; Explain why some files are encoded in utf-8-emacs 2022-11-19 11:25:25 +02:00
language ; Improve doc strings of Ethiopic support functions and variables 2022-11-19 11:52:06 +02:00
leim/quail Add '\lll' for VERY MUCH LESS-THAN to TeX input method 2022-11-22 16:44:56 +01:00
mail ; Fix typos (misspelled symbols) 2022-11-21 15:20:11 +01:00
mh-e ; Fix typos (misspelled symbols) 2022-11-21 15:20:11 +01:00
net Add GS2 authorization to sasl-scram-rfc 2022-11-23 19:52:07 -05:00
nxml ; Fix typos 2022-11-18 16:02:19 +01:00
obsolete ; Fix typos 2022-11-18 16:02:19 +01:00
org ; Fix typos (misspelled symbols) 2022-11-21 15:20:11 +01:00
play ; Fix sit-for calling convention in zone.el 2022-10-28 22:34:52 +02:00
progmodes Add csharp-mode and csharp-ts-mode 2022-11-23 14:02:09 -08:00
term Merge remote-tracking branch 'savannah/master' into feature/tree-sitter 2022-11-21 12:54:35 -08:00
textmodes ; Fix typos 2022-11-23 05:49:22 +01:00
url ; Fix typos 2022-11-20 12:59:39 +01:00
vc ; Fix typos 2022-11-23 05:49:22 +01:00
abbrev.el ; Fix several symbol name typos 2022-10-26 23:04:23 +02:00
align.el
allout-widgets.el ; Fix typos in symbol names 2022-10-27 23:04:37 +02:00
allout.el ; Doc fixes: remove references to missing symbols 2022-11-21 15:20:11 +01:00
ansi-color.el Pacify recent unused/ignored lexvar warnings 2022-10-26 16:35:59 +03:00
ansi-osc.el ; Fix typos 2022-11-11 15:52:37 +01:00
apropos.el * lisp/outline.el (outline-search-function): New variable (bug#53981). 2022-11-21 09:56:06 +02:00
arc-mode.el
array.el
auth-source-pass.el Make auth-source-pass behave more like other backends 2022-11-16 21:34:36 -08:00
auth-source.el
autoinsert.el Fix auto-insert-alist ada-mode entry to match current ELPA ada-mode 2022-10-27 03:29:20 -07:00
autorevert.el Modernize `auto-revert-notify-exclude-dir-regexp' 2022-10-26 13:58:42 +02:00
avoid.el
battery.el
bindings.el Make previous-buffer and next-buffer repeatable 2022-10-30 14:14:13 +01:00
bookmark.el Handle error in bookmark-relocate when filename is nil 2022-11-20 12:14:51 +02:00
bs.el ; Fix typos in bs.el 2022-11-19 12:51:31 +01:00
buff-menu.el New command 'project-list-buffers' bound to 'C-x p C-b' (bug#59153) 2022-11-15 20:54:39 +02:00
button.el
calculator.el
case-table.el
cdl.el
ChangeLog.1
ChangeLog.2
ChangeLog.3 ; Fix typos 2022-11-18 16:02:19 +01:00
ChangeLog.4 ; Fix typos 2022-11-18 16:02:19 +01:00
ChangeLog.5
ChangeLog.6 ; Fix typos 2022-11-18 16:02:19 +01:00
ChangeLog.7 ; Fix typos 2022-11-18 16:02:19 +01:00
ChangeLog.8 ; Fix typos 2022-11-18 16:02:19 +01:00
ChangeLog.9 ; Fix typos 2022-11-22 02:24:20 +01:00
ChangeLog.10 ; Fix typos 2022-11-18 16:02:19 +01:00
ChangeLog.11
ChangeLog.12 ; Fix typos 2022-11-20 12:59:39 +01:00
ChangeLog.13 ; Fix typos 2022-11-18 16:02:19 +01:00
ChangeLog.14 ; Fix typos 2022-11-18 16:02:19 +01:00
ChangeLog.15 ; Fix typos 2022-11-20 12:59:39 +01:00
ChangeLog.16 ; Fix typos 2022-11-20 12:59:39 +01:00
ChangeLog.17 ; Fix typos 2022-11-11 15:52:37 +01:00
char-fold.el
chistory.el
cmuscheme.el
color.el
comint.el comint: Add repeat-map for comint-{next,previous}-prompt 2022-11-17 11:34:57 +02:00
completion.el
composite.el
COPYING
cus-dep.el
cus-edit.el Prefer defvar-keymap in cus-edit.el 2022-10-31 16:42:26 +01:00
cus-face.el
cus-start.el
cus-theme.el Merge remote-tracking branch 'savannah/master' into feature/tree-sitter 2022-11-21 12:54:35 -08:00
custom.el
dabbrev.el
delim-col.el
delsel.el
descr-text.el
desktop.el
dframe.el
dired-aux.el * lisp/dired-aux.el (dired-check-process): Use progress reporter. 2022-11-04 20:23:55 +01:00
dired-x.el
dired.el ; Fix typos 2022-11-18 16:02:19 +01:00
dirtrack.el
disp-table.el
display-fill-column-indicator.el
display-line-numbers.el
dnd.el ; Fix typos 2022-11-18 16:02:19 +01:00
doc-view.el
dom.el dom-print: Fix missing entities quoting 2022-10-30 09:40:06 -04:00
dos-fns.el
dos-vars.el
dos-w32.el
double.el
dynamic-setting.el More fixes to last change 2022-11-15 19:48:39 +08:00
ebuff-menu.el
echistory.el
ecomplete.el ; Fix several symbol name typos 2022-10-26 23:04:23 +02:00
edmacro.el
ehelp.el
elec-pair.el
electric.el
elide-head.el elide-head: Make trailing "/" in URL optional 2022-10-30 14:32:24 +01:00
emacs-lock.el
env.el
epa-dired.el
epa-file.el
epa-hook.el
epa-ks.el
epa-mail.el
epa.el
epg-config.el
epg.el
expand.el
ezimage.el
face-remap.el Fix global face scaling bug due to rounding. 2022-11-19 16:48:04 +01:00
facemenu.el
faces.el Fix automatic DPI adjustment and add workarounds for some systems 2022-11-19 13:59:53 +08:00
ffap.el
filecache.el
fileloop.el
filenotify.el
files-x.el Audit some plist uses with new predicate argument 2022-10-22 19:33:12 +03:00
files.el ; Fix typos 2022-11-18 16:02:19 +01:00
filesets.el Make instructions for updating ancient filesets obsolete 2022-11-21 12:11:50 +01:00
find-cmd.el
find-dired.el
find-file.el
find-lisp.el
finder.el
flow-ctrl.el
foldout.el
follow.el ; Fix several symbol name typos 2022-10-26 23:04:23 +02:00
font-core.el
font-lock.el Merge remote-tracking branch 'savannah/master' into feature/tree-sitter 2022-11-21 12:54:35 -08:00
format-spec.el
format.el
forms.el * lisp/forms.el (forms-mode): Prefer setq-local. 2022-11-21 12:11:50 +01:00
frame.el
frameset.el
fringe.el
generic-x.el
help-at-pt.el
help-fns.el
help-macro.el
help-mode.el
help.el * lisp/help.el (describe-bindings): Use the outline-default-rules feature. 2022-11-23 20:34:27 +02:00
hex-util.el
hexl.el
hfy-cmap.el
hi-lock.el
hilit-chg.el
hippie-exp.el
hl-line.el
htmlfontify.el ; Fix typos 2022-11-18 16:02:19 +01:00
ibuf-ext.el
ibuf-macs.el
ibuffer.el
icomplete.el ; Fix typos 2022-11-11 15:52:37 +01:00
ido.el Pacify recent unused/ignored lexvar warnings 2022-10-26 16:35:59 +03:00
ielm.el
iimage.el
image-file.el
image-mode.el
image.el
imenu.el
indent.el
info-look.el
info-xref.el
info.el ; Fix typos 2022-11-18 16:02:19 +01:00
informat.el
isearch.el
isearchb.el
jit-lock.el
jka-cmpr-hook.el
jka-compr.el * lisp/jka-compr.el (jka-compr-load): Add MUST-SUFFIX argument. 2022-11-05 17:39:17 +01:00
json.el
jsonrpc.el ; Fix typos 2022-11-23 05:49:22 +01:00
kermit.el
keymap.el Improve 'defvar-keymap' docstring 2022-11-18 16:09:05 +01:00
kmacro.el
ldefs-boot.el ; Auto-commit of loaddefs files. 2022-11-15 05:09:10 +01:00
loadhist.el
loadup.el cconv.el: Fix regression in cconv-tests-interactive-closure-bug51695 2022-10-28 11:33:24 -04:00
locate.el
lpr.el
ls-lisp.el
macros.el
Makefile.in
man.el ; Fix typos 2022-11-20 12:59:39 +01:00
master.el
mb-depth.el
md4.el
menu-bar.el Add Eglot to the menu bar 2022-10-20 20:50:34 +03:00
midnight.el
minibuf-eldef.el
minibuffer.el * lisp/minibuffer.el (set-message-functions): New user option. 2022-11-13 20:57:50 +02:00
misc.el
misearch.el
mouse-copy.el
mouse-drag.el
mouse.el Avoid signaling args-out-of-range in mouse.el 2022-11-23 17:16:32 +02:00
mpc.el ; Fix typos 2022-11-18 16:02:19 +01:00
msb.el
mwheel.el
newcomment.el
notifications.el
novice.el
obarray.el
outline.el * lisp/outline.el: 'S-<down-mouse-1>' on buffer buttons cycles all outlines. 2022-11-23 10:50:23 +02:00
paren.el
password-cache.el
pcmpl-cvs.el
pcmpl-git.el
pcmpl-gnu.el
pcmpl-linux.el
pcmpl-rpm.el
pcmpl-unix.el
pcmpl-x.el
pcomplete.el ; Doc fixes: remove references to missing symbols 2022-11-21 15:20:11 +01:00
pgtk-dnd.el
pixel-scroll.el
plstore.el
printing.el
proced.el ; * lisp/proced.el (proced-auto-update-timer): Fix last change. 2022-11-20 13:51:22 +02:00
profiler.el Prefer defvar-keymap in profiler.el 2022-11-03 14:29:11 +01:00
ps-bdf.el
ps-mule.el
ps-print.el
ps-samp.el
README
recentf.el
rect.el
register.el
registry.el
repeat.el * lisp/repeat.el (describe-repeat-maps): More outlines and page separators. 2022-11-18 09:19:23 +02:00
replace.el ; Fix typos 2022-11-11 15:52:37 +01:00
reposition.el
reveal.el
rfn-eshadow.el
rot13.el Print "decrypted" rot13 text is buffer is read-only 2022-11-05 00:07:07 +01:00
rtree.el
ruler-mode.el
savehist.el Remove redundant library installation instructions 2022-11-11 04:29:29 +01:00
saveplace.el
scroll-all.el
scroll-bar.el ; Fix typos 2022-11-18 16:02:19 +01:00
scroll-lock.el
select.el
server.el Fix encoding and display of messages sent by server to emacsclient 2022-11-19 21:34:07 +02:00
ses.el
shadowfile.el
shell.el shell: Add repeat-map for shell-{forward,backward}-prompt 2022-11-17 11:36:32 +02:00
simple.el New commands previous-line-completion and next-line-completion (bug#59486) 2022-11-23 20:44:37 +02:00
skeleton.el
so-long.el ; Fix typos (prefer US spelling) 2022-11-18 13:06:55 +01:00
sort.el
soundex.el
speedbar.el
sqlite-mode.el
sqlite.el
startup.el ; Avoid byte-compiler warning in startup.el 2022-11-19 14:43:51 +02:00
strokes.el
subr.el ; Fix typos 2022-11-20 12:59:39 +01:00
svg.el
t-mouse.el
tab-bar.el * lisp/tab-bar.el: More improvements for tab-bar-auto-width (bug#59208) 2022-11-13 20:16:17 +02:00
tab-line.el ; * lisp/tab-line.el (tab-line-cache-key-function): Fix docstring (bug#57848). 2022-11-10 20:35:58 +02:00
tabify.el
talk.el
tar-mode.el
tempo.el
term.el
thingatpt.el Teach thing-at-point to recognize bracketed IPv6 URLs 2022-11-09 05:15:11 -08:00
thread.el * lisp/thread.el (thread-list-mode-map): Prefer defvar-keymap. 2022-11-09 15:10:24 +01:00
time-stamp.el
time.el
timezone.el
tmm.el
tool-bar.el
tooltip.el
transient.el * lisp/transient.el: Update to package version v0.3.7-173-g81b29ca 2022-10-28 16:27:25 +02:00
tree-widget.el
treesit.el More flexible tree-sitter defun navigation 2022-11-23 13:27:56 -08:00
tutorial.el
type-break.el
uniquify.el
userlock.el
vcursor.el * lisp/vcursor.el (vcursor-map): Prefer defvar-keymap. 2022-10-31 15:20:01 +01:00
version.el
view.el
w32-fns.el
w32-vars.el
wdired.el
whitespace.el ; Fix typos (misspelled symbols) 2022-11-21 15:20:11 +01:00
wid-browse.el
wid-edit.el
widget.el
windmove.el
window.el ; Fix typos 2022-11-18 16:02:19 +01:00
winner.el Make winner key sequences repeatable in repeat-mode 2022-10-30 13:19:05 +01:00
woman.el * lisp/woman.el (woman-mode-map): Prefer defvar-keymap. 2022-11-21 09:28:32 +01:00
x-dnd.el ; Fix typos (prefer US spelling) 2022-11-18 13:06:55 +01:00
xdg.el
xml.el
xt-mouse.el
xwidget.el * lisp/xwidget.el: Improve Commentary. 2022-11-12 07:06:53 +01:00
yank-media.el

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.