From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 08:26:08 2019 Received: (at submit) by debbugs.gnu.org; 1 May 2019 12:26:08 +0000 Received: from localhost ([127.0.0.1]:43641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLoJL-0001AG-AX for submit@debbugs.gnu.org; Wed, 01 May 2019 08:26:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLoJJ-00019l-Dr for submit@debbugs.gnu.org; Wed, 01 May 2019 08:26:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:34129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hLoJE-0001Ib-6E for submit@debbugs.gnu.org; Wed, 01 May 2019 08:26:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLoJB-0007fH-0g for bug-gnu-emacs@gnu.org; Wed, 01 May 2019 08:26:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLoJ7-0001DM-Vv for bug-gnu-emacs@gnu.org; Wed, 01 May 2019 08:25:56 -0400 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:35168) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLoJ7-0001Cs-Qg for bug-gnu-emacs@gnu.org; Wed, 01 May 2019 08:25:53 -0400 Received: by mail-qt1-x832.google.com with SMTP id e5so12842741qtq.2 for ; Wed, 01 May 2019 05:25:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=PnqRRmxJtz9fpiTCvjIlj7s4GM9FBIFtbCDw+MNYMj8=; b=q1UZ43/IoP54NBXQnnxlC6PWjkoMbWmb9mdT9h3ufQDK66OpAo8/G4/Bh2u88rJ3FO uzIbFb5PiRN2+mP3PLgJeFlK3eSXKbF5NNqVjLxJDLQFTCdLIbH0AwafKkkIphuii2k5 0RHCbS9xBx3A9k5mBW8rhOAQj5Ln55CwnMspbXP3L0K6gwEBl1AmGgTxnemevZHZgkV2 eIjC4ilNP6kaa3GNpe9p0GctNoC9tgt9b3L9oV5J08+t3QgQyb2athUZLyja5jeEuwkU PuAZrG9B/vqEVvQ3gPhdtlmKpl7speJV2AuQ3XDe860nWVymOhU1LrhZbfV4YhPVInsr Dtqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PnqRRmxJtz9fpiTCvjIlj7s4GM9FBIFtbCDw+MNYMj8=; b=UAUoPC1dSXSF7zi+n1ekDs3tV6v008sPJ4ISVDS6CJ8Yh9EVh/nppvGEgBDns3oR+J GF2ldWdyAIpginW8uKjMUqZh5qy9CTKr/sC3BuOKWaYhvU40aZMAO+RPOnC68ODOdyFF IuA2pGSljlz479Jf1fYcV/BDUTkJGGduyaYc50Pq3qAbiLLVl23m0hAjamiOiJfVtz4M lBpELVffvRHKiIfgYmQfmdW5DG1yj3z3uCjErduvbtV0yJ3OjGJuMxLNwGcCDxfFdB/V 2osH7TqZ0PRgML7kDQFChBuTxxfymaI+f020pb5XyWAMSw7d8gdnHK5XdqgA/gmST/T5 K+Xw== X-Gm-Message-State: APjAAAXFjdrWrsxfQU8s51ThrQrBhq1AaoOotbQeT9KbNANgf6UuNCB3 SFUH95+/3sXwJ5RGEJJBag0yMrnVB0EUq8uzgNBSDETYP4I= X-Google-Smtp-Source: APXvYqwAeHYKmyIMe1jiNyaymS9d7b4v46BHo+U/x/TLU40KbRyjfIx3lN96sg3VUdA4530u2GuOUGHz8nfhKO6lRU8= X-Received: by 2002:a0c:b99c:: with SMTP id v28mr57578096qvf.10.1556713552046; Wed, 01 May 2019 05:25:52 -0700 (PDT) MIME-Version: 1.0 From: Eric Hanchrow Date: Wed, 1 May 2019 08:25:41 -0400 Message-ID: Subject: 26.1.92; Please add "PIN" to password-word-equivalents To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000496fd50587d29e16" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::832 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000496fd50587d29e16 Content-Type: text/plain; charset="UTF-8" Where I work, I often run a command that prompts me like this: PIN for erichan: The current default value of comint-password-prompt-regexp doesn't hide my typing, but I imagine it would if "PIN" were one of the elements of password-word-equivalents. In related news: it's surprisingly difficult to control this behavior by simply customizing password-word-equivalents; afaict, that variable has an effect only when comint.el loads, which appears to happen before my custom file gets loaded. So I've had to resort to putting this into my init file, which makes me sad: ;; Setting this in custom.el doesn't work, because that gets loaded ;; _after_ comint gets loaded :-| And this variable's entire purpose ;; in life is to affect the definition of ;; comint-password-prompt-regexp, which is defined with a defvar, and ;; defvars only have an effect the first time they're evaluated, which ;; has probably already happened. So we need to turn back the clock, ;; undefine that variable, and then re-run the defvar. Oy gott. ;; Also I refuse to glom something to the end of ;; comint-password-prompt-regexp, that's too horrible. (progn (setq password-word-equivalents '("PIN" "password" "passcode" "passphrase" "pass phrase")) (makunbound 'comint-password-prompt-regexp) (load "comint")) In GNU Emacs 26.1.92 (build 2, x86_64-pc-linux-gnu) of 2019-04-09 built on dev-dsk-erichan-2c-d0f79429.us-west-2.amazon.com Repository revision: 9e865ede793adf2cc10b92889050eddb1c8f1b40 Recent messages: Searched 0/1 files Searched 1/1 files Navigate to definition Mark saved where search started Annotating... Redisplaying annotation...done (Spanned from 9993.5 to 74.5 days old) Annotating... done Scanning for dabbrevs...done dabbrev-expand: Search failed: "comint-password-prompt-regexp" Scanning for dabbrevs...done Configured using: 'configure --without-x' Configured features: SOUND GPM NOTIFY LIBSELINUX GNUTLS LIBXML2 ZLIB THREADS Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t projectile-mode: t global-hl-line-mode: t savehist-mode: t global-flycheck-mode: t pyvenv-mode: t global-auto-revert-mode: t shell-procfs-dirtrack-mode: t recentf-mode: t ido-everywhere: t diff-auto-refine-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/erichan/.emacs.d/lisp/xr hides /home/erichan/.emacs.d/elpa/xr-1.11/xr Features: (shadow sort mail-extr emacsbug sendmail vc-annotate vc vc-dispatcher dabbrev bug-reference magit-extras cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs misearch multi-isearch magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func magit-diff smerge-mode magit-core magit-autorevert magit-margin magit-transient magit-process magit-mode transient git-commit magit-git magit-section magit-utils crm log-edit message rmc rfc822 mml mml-sec epa epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async server helpful imenu trace edebug info-look shut-up f dash-functional elisp-refs loop projectile hl-line term/xterm xterm elec-pair savehist twisted-mode work-log-mode flycheck elisp-slime-nav bookmark edit-list pp highlight-indentation flymake-proc flymake mwheel warnings company-capf company pcase help-fns radix-tree elpy find-file-in-project ivy delsel colir color ivy-overlay ffap thingatpt windmove elpy-shell pyvenv esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util elpy-profile elpy-django s elpy-refactor subr-x python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time advice json map files-x etags xref project cus-edit cus-start cus-load browse-kill-ring eww puny mm-url gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr url-queue url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap shr image svg xml dom browse-url format-spec ws-butler dired-subtree dired-hacks-utils dash wat derived autorevert filenotify recentf tree-widget wid-edit ido vc-git diff-mode ibuf-ext ibuffer ibuffer-loaddefs ibuf-macs cl time-date dired-x dired dired-loaddefs grep compile comint ansi-color ring regexp-opt find-func edmacro kmacro adaptive-wrap rotate cl-extra help-mode face-remap tls gnutls use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf info tool-bar package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib rx mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads inotify multi-tty make-network-process emacs) Memory information: ((conses 16 598710 54586) (symbols 48 42411 3) (miscs 40 1872 3816) (strings 32 120990 17425) (string-bytes 1 3967876) (vectors 16 75804) (vector-slots 8 1857278 229290) (floats 8 422 2997) (intervals 56 40959 11894) (buffers 992 36) (heap 1024 56248 16345)) --000000000000496fd50587d29e16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Where I work, I often run a command = that prompts me like this:

=C2=A0 =C2=A0 PIN f= or erichan:=C2=A0

The current default value of com= int-password-prompt-regexp doesn't hide
my typing, but I imag= ine it would if "PIN" were one of the elements of
passw= ord-word-equivalents.

In related news: it's su= rprisingly difficult to control this behavior by
simply customizi= ng password-word-equivalents; afaict, that variable has
an effect= only when comint.el loads, which appears to happen before my
cus= tom file gets loaded.=C2=A0 So I've had to resort to putting this into = my
init file, which makes me sad:

=C2=A0= =C2=A0 ;; Setting this in custom.el doesn't work, because that gets lo= aded
=C2=A0 =C2=A0 ;; _after_ comint gets loaded :-| And this var= iable's entire purpose
=C2=A0 =C2=A0 ;; in life is to affect = the definition of
=C2=A0 =C2=A0 ;; comint-password-prompt-regexp,= which is defined with a defvar, and
=C2=A0 =C2=A0 ;; defvars onl= y have an effect the first time they're evaluated, which
=C2= =A0 =C2=A0 ;; has probably already happened.=C2=A0 So we need to turn back = the clock,
=C2=A0 =C2=A0 ;; undefine that variable, and then re-r= un the defvar.=C2=A0 Oy gott.

=C2=A0 =C2=A0 ;; Als= o I refuse to glom something to the end of
=C2=A0 =C2=A0 ;; comin= t-password-prompt-regexp, that's too horrible.
=C2=A0 =C2=A0 = (progn
=C2=A0 =C2=A0 =C2=A0 (setq password-word-equivalents
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '("PIN" "= password" "passcode" "passphrase" "pass phras= e"))
=C2=A0 =C2=A0 =C2=A0 (makunbound 'comint-password-p= rompt-regexp)
=C2=A0 =C2=A0 =C2=A0 (load "comint"))



In GNU Emacs 26.1.92 (b= uild 2, x86_64-pc-linux-gnu)
Repository revision: 9e865= ede793adf2cc10b92889050eddb1c8f1b40
Recent messages:
Se= arched 0/1 files
Searched 1/1 files
Navigate to definit= ion
Mark saved where search started
Annotating...
=
Redisplaying annotation...done (Spanned from 9993.5 to 74.5 days old)<= /div>
Annotating... done
Scanning for dabbrevs...done
dabbrev-expand: Search failed: "comint-password-prompt-regexp"=
Scanning for dabbrevs...done

Configured= using:
=C2=A0'configure --without-x'

Configured features:
SOUND GPM NOTIFY LIBSELINUX GNUTLS LIB= XML2 ZLIB THREADS

Important settings:
= =C2=A0 value of $LC_ALL: en_US.UTF-8
=C2=A0 value of $LANG: en_US= .UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Shell

Minor modes in effect:
=C2=A0 magit-auto-revert-mode: t
=C2=A0 global-git-commit= -mode: t
=C2=A0 async-bytecomp-package-mode: t
=C2=A0 p= rojectile-mode: t
=C2=A0 global-hl-line-mode: t
=C2=A0 = savehist-mode: t
=C2=A0 global-flycheck-mode: t
=C2=A0 = pyvenv-mode: t
=C2=A0 global-auto-revert-mode: t
=C2=A0= shell-procfs-dirtrack-mode: t
=C2=A0 recentf-mode: t
= =C2=A0 ido-everywhere: t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 override-global-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mo= de: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-numbe= r-mode: t
=C2=A0 transient-mark-mode: t

= Load-path shadows:
/home/erichan/.emacs.d/lisp/xr hides /home/eri= chan/.emacs.d/elpa/xr-1.11/xr

Features:
= (shadow sort mail-extr emacsbug sendmail vc-annotate vc vc-dispatcher
=
dabbrev bug-reference magit-extras cc-mode cc-fonts cc-guess cc-menus<= /div>
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs misearch
multi-isearch magit-bookmark magit-submodule magit-obsolete magit-bl= ame
magit-stash magit-reflog magit-bisect magit-push magit-pull m= agit-fetch
magit-clone magit-remote magit-commit magit-sequence m= agit-notes
magit-worktree magit-tag magit-merge magit-branch magi= t-reset
magit-files magit-refs magit-status magit magit-repos mag= it-apply
magit-wip magit-log which-func magit-diff smerge-mode ma= git-core
magit-autorevert magit-margin magit-transient magit-proc= ess magit-mode
transient git-commit magit-git magit-section magit= -utils crm log-edit
message rmc rfc822 mml mml-sec epa epg mm-dec= ode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils m= ailheader pcvs-util add-log
with-editor async-bytecomp async serv= er helpful imenu trace edebug
info-look shut-up f dash-functional= elisp-refs loop projectile hl-line
term/xterm xterm elec-pair sa= vehist twisted-mode work-log-mode flycheck
elisp-slime-nav bookma= rk edit-list pp highlight-indentation flymake-proc
flymake mwheel= warnings company-capf company pcase help-fns radix-tree
elpy fin= d-file-in-project ivy delsel colir color ivy-overlay ffap
thingat= pt windmove elpy-shell pyvenv esh-var esh-io esh-cmd esh-opt
esh-= ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util
elpy-profile elpy-django s elpy-refactor subr-x python tramp-sh tramp
tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete<= /div>
parse-time advice json map files-x etags xref project cus-edit cu= s-start
cus-load browse-kill-ring eww puny mm-url gnus nnheader g= nus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-uti= ls mm-util mail-prsvr
url-queue url url-proxy url-privacy url-exp= and url-methods url-history
url-cookie url-domsuf url-util mailca= p shr image svg xml dom browse-url
format-spec ws-butler dired-su= btree dired-hacks-utils dash wat derived
autorevert filenotify re= centf tree-widget wid-edit ido vc-git diff-mode
ibuf-ext ibuffer = ibuffer-loaddefs ibuf-macs cl time-date dired-x dired
dired-loadd= efs grep compile comint ansi-color ring regexp-opt find-func
edma= cro kmacro adaptive-wrap rotate cl-extra help-mode face-remap tls
gnutls use-package use-package-ensure use-package-delight
use-pa= ckage-diminish use-package-bind-key bind-key easy-mmode
use-packa= ge-core finder-inf info tool-bar package easymenu epg-config
url-= handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
ei= eio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
byt= e-compile cconv cl-loaddefs cl-lib rx mule-util tooltip eldoc
ele= ctric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list
replace newcomment text-mode elisp-mode lisp-mode prog-mode register
=
page menu-bar rfn-eshadow isearch timer select mouse jit-lock font-loc= k
syntax facemenu font-core term/tty-colors frame cl-generic cham= georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet l= ao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak = czech european
ethiopic indian cyrillic chinese composite charscr= ipt charprop
case-table epa-hook jka-cmpr-hook help simple abbrev= obarray minibuffer
cl-preloaded nadvice loaddefs button faces cu= s-face macroexp files
text-properties overlay sha1 md5 base64 for= mat env code-pages mule
custom widget hashtable-print-readable ba= ckquote threads inotify
multi-tty make-network-process emacs)

Memory information:
((conses 16 598710 5458= 6)
=C2=A0(symbols 48 42411 3)
=C2=A0(miscs 40 1872 3816= )
=C2=A0(strings 32 120990 17425)
=C2=A0(string-bytes 1= 3967876)
=C2=A0(vectors 16 75804)
=C2=A0(vector-slots = 8 1857278 229290)
=C2=A0(floats 8 422 2997)
=C2=A0(inte= rvals 56 40959 11894)
=C2=A0(buffers 992 36)
=C2=A0(hea= p 1024 56248 16345))

--000000000000496fd50587d29e16-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 08:58:46 2019 Received: (at 35523) by debbugs.gnu.org; 1 May 2019 12:58:46 +0000 Received: from localhost ([127.0.0.1]:43671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLoov-0001va-OY for submit@debbugs.gnu.org; Wed, 01 May 2019 08:58:45 -0400 Received: from mail-qt1-f172.google.com ([209.85.160.172]:35401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLoor-0001vK-II for 35523@debbugs.gnu.org; Wed, 01 May 2019 08:58:41 -0400 Received: by mail-qt1-f172.google.com with SMTP id e5so12926698qtq.2 for <35523@debbugs.gnu.org>; Wed, 01 May 2019 05:58:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=PAX2QYQY0AMKtPo6N/scCBw66nWMFmN1veRcnugtXbE=; b=SxpuO1gCsYStGiKnA/dmnjLSrBsWyCfFyP0GEOgMfIocOK6R55ijyp921nk8lyko40 e4M+OHa7a8yiXrrDNUGpa6CXA/TC+qrkb5JKApxwO1iFBPpqge3bfEaST7bhZUkf0NUi Yr/lEUYTa9lvOXNgBC48kWZDqECd2ZIueLZnA0MWO84M7ntAYZGziPFySR3OEWsdDNEp 08ePOeaffBqB1lMGJPj0MiHThrJtlXlMQ2G9xdwFdt91e/YHNOpAxE0qLcNME+vkg1OV HpdBTyAuIs0yZSHqq4YDcvEPabmX35sLg3fXnMoFcGnKJAh0/VrRXtSLBaSrSMpBYx1C UrOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=PAX2QYQY0AMKtPo6N/scCBw66nWMFmN1veRcnugtXbE=; b=RvzputY8uK3y5+0FkvGKyBFXGMFqu6nPLONHJ86PkuH5SlEDSDSN7H3Z4q0NHejZ/i qbuzZ4ZE/xbd7jWaI8ui8IdZi6hy6Rxl+F3UApDpOZc9iPrY3MAvW5weW8XNk7kdodmL HY3S0Rx+KnDu6e1KYG/FXN5GGnjcq8HhgAkvIjQxnvUAso2PM9J0NXvK2q4mF4Ng+Opt NJPwtR/Mq1y5E+eBdXR/DTqBJfY8yai7wjNQrO9VgjH16zzRaXOeBYJWejcPWp3DMihk F5YP6Vnx6IYAUoL//8pXbz8+bS1o0tZg9ghrZcsiZ3Er2L4ydIqA5H2ZxeEXpDA88sEY X9vQ== X-Gm-Message-State: APjAAAWbfWCtqhGHjLa07T5H2xVV7+4X2yE7zIfBsXgpyli33Xtdf9lZ s1P3ma8ACPg5l4zXJPoWa77e2Tfx X-Google-Smtp-Source: APXvYqylh4bkHaX5AmHuFKmtTVnaRB7naaCtRR0Pu53mzFViep7mZUSIDuqZWIoWiZ1DwIAg1gpIMg== X-Received: by 2002:ac8:3f39:: with SMTP id c54mr41337121qtk.342.1556715514759; Wed, 01 May 2019 05:58:34 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 188sm8848362qkf.27.2019.05.01.05.58.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 May 2019 05:58:34 -0700 (PDT) From: Noam Postavsky To: Eric Hanchrow Subject: Re: bug#35523: 26.1.92; Please add "PIN" to password-word-equivalents References: Date: Wed, 01 May 2019 08:58:33 -0400 In-Reply-To: (Eric Hanchrow's message of "Wed, 1 May 2019 08:25:41 -0400") Message-ID: <87imuunxfq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35523 Cc: 35523@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eric Hanchrow writes: > Where I work, I often run a command that prompts me like this: > > PIN for erichan: > > The current default value of comint-password-prompt-regexp doesn't hide > my typing, but I imagine it would if "PIN" were one of the elements of > password-word-equivalents. Yes, I agree it makes sense to add it. > In related news: it's surprisingly difficult to control this behavior by > simply customizing password-word-equivalents; afaict, that variable has > an effect only when comint.el loads, which appears to happen before my > custom file gets loaded. You could try loading your custom file earlier, or loading comint later. Otherwise, you can still avoid the extra load: (when (boundp 'comint-password-prompt-regexp) (setq password-word-equivalents '("PIN" "password" "passcode" "passphrase" "pass phrase")) ;; Reset to new standard value. (setq comint-password-prompt-regexp (eval (car (get 'comint-password-prompt-regexp 'standard-value))))) But yeah, defcustoms with computed default values can be troublesome. From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 10:21:37 2019 Received: (at 35523) by debbugs.gnu.org; 1 May 2019 14:21:37 +0000 Received: from localhost ([127.0.0.1]:44516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLq77-00044b-Jt for submit@debbugs.gnu.org; Wed, 01 May 2019 10:21:37 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:36149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLq75-00044N-HU for 35523@debbugs.gnu.org; Wed, 01 May 2019 10:21:36 -0400 Received: by mail-ed1-f65.google.com with SMTP id a8so12992022edx.3 for <35523@debbugs.gnu.org>; Wed, 01 May 2019 07:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=it3fA3C4GHcJfrPBEvULUyJcbrcSQ3rfeklhlKkQmBo=; b=WfBFKpzMdrk0ko7YoWGRb9Wm9GC+Iwn796gE9pRNUaF6MgJKYZdE7S8AkXd+FBqZq5 iRmi2UHYWds1mCy7KDT9jclJwkwGqHGrNctSiLe8a27u+6D06ZU8ZxDnjRcJnSZwCIqc VMqataHvMBkCagflID1Btse/xxYQOd78uNB7R09uZSkDYI4duOoXd++65mY+EI4GGO+K bh/GRGM3YrMzld07kggb49Ql8CUBUYsXcZ2oLURj0YUNDYzMiJyf2UqRoe/MfICHNkQJ CcOGml7K4dwry8+788+TtsQoGcR1CtEdeWdzYqWg6Vz5Sk0tv4LqzNYi21ojwCiXtlqd BN1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=it3fA3C4GHcJfrPBEvULUyJcbrcSQ3rfeklhlKkQmBo=; b=O+78zPvTdaAeYfxwrwzAyPm8tLwWeaDWmPCar7N6YC5RuNPCQnwjgiQx5UeyyJL8c+ zVlXvqS13FcDaHXwKrJHzirzQUFZPmY2N9CF8sy8BcACc57CSCUcVYGHnvP3StBbo1GH yvVBTmrvgu/G/oRMM7YTd/SyVGsVrBy2i8PFnzmAkh+cO7tc4N9vifXjGHZuee0j9GuL hE9dCbE6ZA92lOr3OyvjxcbE88sqYfjpmj6l/lqKBn2nt3T619OWu6GeIYKBoEfX+K8f kTfichnToRpXViF6aJs0q9yom5DAk+utXRXR0X6SuoJkTBgfMJ51B1Iwbdqn22qhfact pdbQ== X-Gm-Message-State: APjAAAXFhH/0YHNg08wd2EIaOV104OUVpnBErq2WgrztnCEyZK0j5cce +VhP08UIc2wE3ijZBwouHv2Ibg== X-Google-Smtp-Source: APXvYqyiHTtol3uv2U4DecVxZhuai5gNkT5WV640hyTwbJ4V0B+Iew2JZkH5ATdgw8lrQ8v878JD0w== X-Received: by 2002:a17:906:4001:: with SMTP id v1mr5442720ejj.113.1556720488455; Wed, 01 May 2019 07:21:28 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:8cad:ae29:555d:852d]) by smtp.gmail.com with ESMTPSA id c6sm401484edk.81.2019.05.01.07.21.26 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 01 May 2019 07:21:27 -0700 (PDT) From: "Basil L. Contovounesios" To: Noam Postavsky Subject: Re: bug#35523: 26.1.92; Please add "PIN" to password-word-equivalents References: <87imuunxfq.fsf@gmail.com> Date: Wed, 01 May 2019 15:21:25 +0100 In-Reply-To: <87imuunxfq.fsf@gmail.com> (Noam Postavsky's message of "Wed, 01 May 2019 08:58:33 -0400") Message-ID: <87y33qw90a.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 35523 Cc: Eric Hanchrow , 35523@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Noam Postavsky writes: > Eric Hanchrow writes: > >> In related news: it's surprisingly difficult to control this behavior by >> simply customizing password-word-equivalents; afaict, that variable has >> an effect only when comint.el loads, which appears to happen before my >> custom file gets loaded. > > You could try loading your custom file earlier, or loading comint > later. Otherwise, you can still avoid the extra load: > > (when (boundp 'comint-password-prompt-regexp) > (setq password-word-equivalents > '("PIN" "password" "passcode" "passphrase" "pass phrase")) > ;; Reset to new standard value. > (setq comint-password-prompt-regexp > (eval (car (get 'comint-password-prompt-regexp 'standard-value))))) Would the function custom-reevaluate-setting be of use here? -- Basil From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 10:31:34 2019 Received: (at 35523) by debbugs.gnu.org; 1 May 2019 14:31:35 +0000 Received: from localhost ([127.0.0.1]:44526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLqGk-0004KD-KH for submit@debbugs.gnu.org; Wed, 01 May 2019 10:31:34 -0400 Received: from mail-qk1-f180.google.com ([209.85.222.180]:41748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLqGg-0004Jy-GR for 35523@debbugs.gnu.org; Wed, 01 May 2019 10:31:30 -0400 Received: by mail-qk1-f180.google.com with SMTP id l199so10253373qke.8 for <35523@debbugs.gnu.org>; Wed, 01 May 2019 07:31:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version; bh=DcKPKAGuQLunt0Yadvj8H5VggMpXD3h/Gqg45dkeSCE=; b=E+P4FVevKgMUP5rFnJORJ4Q5DE+fOTiYdWOjhQG+gO9kEUYXuMc4+fpe/bFhTiDJbD TkHBUf4Ue6LtFG0hu2HHNk4ZtoHRB7vk5S3h6oPDv2V2LWAhEbJfOXByjcjOME0aZVdT LxJifYGIyzKFjO1OOJMctRTbahk1rDgdGdE8jvFAyVGDO2XHLrOUdTWMMTHgLK4f/HGt rxuMHyp1aIKug1gCNv1DZmSXVL2zc2XmbdBw62JTESOxHSJctPtJNojQWqj2Bx6Ft/T2 vmS6pjzoeq7PtM7zxUTjqW+iRZk3nCJcMd7/6lxjsxVurdsu+31vLaHWF55N5bW7SVZX dZ+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=DcKPKAGuQLunt0Yadvj8H5VggMpXD3h/Gqg45dkeSCE=; b=LmuEBqjzZdgcREfLk0K1iGM4mYvrG+1VS/9kRfFZarPjcb9UkJPbaHNqDE6TzDVLXR 0TUOJLzd5YchEwubQ59MG89iMl8sTXPzEEpLLQeJX8XM6tWFRBIgydzQiRdnxzNIEJJb tQR9JsDOgaPSWTLousSPcMRz+1HNo2sqHZeWwTxtuPIXEdH9JpYVTJXe7vXW0j0/mY1h 5FzRyktDW/xhWNT3kDB2BPbmmxTnsSDW/LdpKSAnyrE2X4Mbq1u3SqSBxSJC+eVDsHmX EWufX+ISIZVC79RQzC2N3wh2d6A8/zNcDB+JyjDSqhUwSnx2Gbf8NUNC4vmgA3okKDHW jNjg== X-Gm-Message-State: APjAAAUC4tlF909ocIORsfhGypHTsPxUb8oUWHju4k01kWNg1hVuqbJh Ez/E7dYPdbf8NpiYdNhVaYE= X-Google-Smtp-Source: APXvYqxRDgbUfVCi91nXJVPnAVSndyGgxkl2gW0d8sWyXNb7LmJ+qcplQm2ARuwZEyQwldD9Y0NBmA== X-Received: by 2002:a05:620a:1030:: with SMTP id a16mr1458871qkk.38.1556721084989; Wed, 01 May 2019 07:31:24 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.googlemail.com with ESMTPSA id k45sm552387qtf.65.2019.05.01.07.31.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 May 2019 07:31:24 -0700 (PDT) From: npostavs@gmail.com To: 35523@debbugs.gnu.org Subject: Re: bug#35523: 26.1.92; Please add "PIN" to password-word-equivalents Date: Wed, 01 May 2019 10:31:22 -0400 Message-ID: <855zqumekl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35523 Cc: Eric Hanchrow X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain [forwarding to list, please use "Reply All" to keep 35523@debbugs.gnu.org on Cc] --=-=-= Content-Type: message/rfc822 Content-Disposition: inline References: <87imuunxfq.fsf@gmail.com> In-Reply-To: <87imuunxfq.fsf@gmail.com> From: Eric Hanchrow Date: Wed, 1 May 2019 09:06:02 -0400 Message-ID: Subject: Re: bug#35523: 26.1.92; Please add "PIN" to password-word-equivalents To: Noam Postavsky MIME-Version: 1.0 Content-Type: text/plain > You could try loading your custom file earlier, or loading comint > later. I considered that, but rejected it; it's not blindingly obvious how or when comint gets loaded, and thus unclear how early I'd need to load my custom file (nor what else I might break by moving its loading around). I fear that juggling the timing like that would become an endless game of whack-a-mole. > Otherwise, you can still avoid the extra load: > > (when (boundp 'comint-password-prompt-regexp) > (setq password-word-equivalents > '("PIN" "password" "passcode" "passphrase" "pass phrase")) > ;; Reset to new standard value. > (setq comint-password-prompt-regexp > (eval (car (get 'comint-password-prompt-regexp 'standard-value))))) Aha, that must be deep "defvar" magic. I'd never heard of 'standard-value before. I think I'll stick with reloading the whole library; it's clearer to me. Thanks. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 10:57:44 2019 Received: (at 35523) by debbugs.gnu.org; 1 May 2019 14:57:44 +0000 Received: from localhost ([127.0.0.1]:44575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLqg4-0004xT-1l for submit@debbugs.gnu.org; Wed, 01 May 2019 10:57:44 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:33744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLqg1-0004xD-Mk for 35523@debbugs.gnu.org; Wed, 01 May 2019 10:57:42 -0400 Received: by mail-qt1-f173.google.com with SMTP id g7so20292330qtc.0 for <35523@debbugs.gnu.org>; Wed, 01 May 2019 07:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=vNbtdpwh+eFWNyGltiowdnh7uXG+Eb5IWyMy3uc3QM4=; b=Ld+ZTLCmRT1SXX/LmUMOGnPNJB/EjtAokmH7vBTeQlINiwFzmq0J0I7JNjhqwSr47r ZR5Z5RcYA0b713j1gXjeN7+qD7+VQkdjo5CgvhoM/I6EkJyhZc41XjPXT+mCWyOBR+Yq zdRhhaQkWt3tmPSI6pjCo2+TPLVbcqX8vK5iUwVyvGsU+fisWY39jt4rZZmOcvFfGs4S uACYppllhaRheyAR8TZFkFEqOBkwWps8QRDKHCKoBKRCCE1QweC2QT2LFDIuAZTzu14I ATbebn9iZ97lbpQdSOTaD6pYH6NFFe8BJjF2NBgs0tM+7ghZG3Tqs2S41y7o5358utal bzyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=vNbtdpwh+eFWNyGltiowdnh7uXG+Eb5IWyMy3uc3QM4=; b=uDIOjz8DhRaRkFpHE0OovfqbAQpWuq2zilSnpf6oykEEyZ8oxKwcurg1bsK1cxv9Ie W6Qp9msGwv3YVo9KFzbfPhDPfriArVLOX7YR+IjpwfCei4ZxwQRW/LIIrvX9Js0UGO9r zMtMQ7uhBcjbgARHiJhG+5P82rLbn/S45jLq3jS9w38hZD+xqhSi3Xg1wlBDPuNmeX/T a+B0wF4BBFJTvUZnwwjE/PTB1x8F/APA1Agd9RY3wfvN/0nB3NBv6OsjwYZSVhVbeQNa nBowbMRdCMFyzIuMz2HKBPNCLYn3F7qqqk8bShwkwLThEdiT8OQCdzJrJiV4X+UxwkhO +APg== X-Gm-Message-State: APjAAAWpsNnAelsF1bt8cNb9E1cRKU+FLK9145ti/e5t2n5I5LmH4sI4 y8LZByXt2VWQoJuGQK3PHeSS2hzQ X-Google-Smtp-Source: APXvYqyiTQAaq764mYeUuinqPwBzE0DDaBYL+FigYZoQQ1pGWp+gdnYUBSnIanyuM43gSUw1uvb/4g== X-Received: by 2002:ac8:ff6:: with SMTP id f51mr74972qtk.116.1556722655734; Wed, 01 May 2019 07:57:35 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.googlemail.com with ESMTPSA id n7sm8437813qtl.43.2019.05.01.07.57.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 01 May 2019 07:57:34 -0700 (PDT) From: npostavs@gmail.com To: "Basil L. Contovounesios" Subject: Re: bug#35523: 26.1.92; Please add "PIN" to password-word-equivalents References: <87imuunxfq.fsf@gmail.com> <87y33qw90a.fsf@tcd.ie> Date: Wed, 01 May 2019 10:57:33 -0400 In-Reply-To: <87y33qw90a.fsf@tcd.ie> (Basil L. Contovounesios's message of "Wed, 01 May 2019 15:21:25 +0100") Message-ID: <8536lymdcy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35523 Cc: 35523@debbugs.gnu.org, Noam Postavsky , Eric Hanchrow X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Basil L. Contovounesios" writes: > Noam Postavsky writes: > >> Eric Hanchrow writes: >> >>> In related news: it's surprisingly difficult to control this behavior by >>> simply customizing password-word-equivalents; afaict, that variable has >>> an effect only when comint.el loads, which appears to happen before my >>> custom file gets loaded. >> >> You could try loading your custom file earlier, or loading comint >> later. Otherwise, you can still avoid the extra load: >> >> (when (boundp 'comint-password-prompt-regexp) >> (setq password-word-equivalents >> '("PIN" "password" "passcode" "passphrase" "pass phrase")) >> ;; Reset to new standard value. >> (setq comint-password-prompt-regexp >> (eval (car (get 'comint-password-prompt-regexp 'standard-value))))) > > Would the function custom-reevaluate-setting be of use here? Yes, that should work (unless there is an unwanted saved-value, I think that only happens if you've customized and saved during the current session). From debbugs-submit-bounces@debbugs.gnu.org Wed May 01 10:57:47 2019 Received: (at 35523) by debbugs.gnu.org; 1 May 2019 14:57:47 +0000 Received: from localhost ([127.0.0.1]:44578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLqg7-0004xi-Ag for submit@debbugs.gnu.org; Wed, 01 May 2019 10:57:47 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]:40209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLqg6-0004xJ-3E for 35523@debbugs.gnu.org; Wed, 01 May 2019 10:57:46 -0400 Received: by mail-qt1-f171.google.com with SMTP id y49so14525235qta.7 for <35523@debbugs.gnu.org>; Wed, 01 May 2019 07:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6bvs3116jd+80wr0RiyFkQUBQKJsg3pevbjzIddNOME=; b=PmBfKy5Nh60gdWWRb6iRWOlaTeEZ6xlgLcNXlFM5KiBVsEg06LOmOTmZAfFRHqINrQ Ac0P+GgoCpY2zQhHbwQ0PehoVS8gpB8WfkTbhJYaK/6fRMXO/KlObVkMlE5PoTJdQ9ie DnSItmzH36g8KtgKgFupgsLXm7CsBDTezrF+NroRs+8rbfbrS4elyrLSs4L/n4SOSs9l 278yBtWq5AZVFmI6TGTSlFqvcZJmHr6sFvQZtlJMTr/AhO6JPrUllxvfV+92oNLb9dPo ZObtKb5RhxqvCkY1+DISfo+vCc6s17rHi/Rw0HmDB8DATt8BJmhxt6OW2wYMbm5wNbN4 URsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6bvs3116jd+80wr0RiyFkQUBQKJsg3pevbjzIddNOME=; b=CDqcboPLNrJVqrUThzEIi+FmTYqBXour3mu4e1FeTH83OzupGArcox33VInMFXBe4r QpdLhJvii0nd0wDddCSK8V6YxRk+mjHR6j+ib64tm2iSltEKdf50uwLpsKOA8KeOTVmh ukobl+GvNUAUUhPb89gtf2g9A1rAHzAlPhawdlBBxDjke0uLkJQQPPIMHctF0FLKSfCV 4FqkllMhK2goZRH6ogyqM5xUwZfp6TIh/a5MbW1Tb5QoooQS4PiIUc8AsXe4Hl8gBF2k F+9qR/Rqnl7muGKw9VMnaJ5CNSU/cvRLqrD2X8e5vauVkB7lFfIrxz3W5JgPSfptRz/I 2ZIQ== X-Gm-Message-State: APjAAAX34vE/DxIlPr3eNqn1CbGnsB0Pom8/fOWplrUjSmIoi3qvGYZ7 tgSGwv95abXHaA/4DUmIeiNcHks+qFTi3GtxKj0= X-Google-Smtp-Source: APXvYqzhevsXe5LFSyQmdn/+BFBiLt16A2csDtIMjAgvVKreGWoLgeDVbWGO3fhgGIl/BOQktL1sYmAzT8pivHa05LE= X-Received: by 2002:ac8:3582:: with SMTP id k2mr46944801qtb.315.1556722660169; Wed, 01 May 2019 07:57:40 -0700 (PDT) MIME-Version: 1.0 References: <87imuunxfq.fsf@gmail.com> <87y33qw90a.fsf@tcd.ie> In-Reply-To: <87y33qw90a.fsf@tcd.ie> From: Eric Hanchrow Date: Wed, 1 May 2019 10:57:28 -0400 Message-ID: Subject: Re: bug#35523: 26.1.92; Please add "PIN" to password-word-equivalents To: "Basil L. Contovounesios" Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35523 Cc: Noam Postavsky , 35523@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, May 1, 2019 at 10:21 AM Basil L. Contovounesios wrote: > Would the function custom-reevaluate-setting be of use here? That works beautifully; thanks! From debbugs-submit-bounces@debbugs.gnu.org Sat May 04 13:42:14 2019 Received: (at 35523) by debbugs.gnu.org; 4 May 2019 17:42:14 +0000 Received: from localhost ([127.0.0.1]:52187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMyft-0003ll-Bg for submit@debbugs.gnu.org; Sat, 04 May 2019 13:42:13 -0400 Received: from mail-qk1-f173.google.com ([209.85.222.173]:41454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMyfq-0003lP-Ro; Sat, 04 May 2019 13:42:11 -0400 Received: by mail-qk1-f173.google.com with SMTP id g190so1553819qkf.8; Sat, 04 May 2019 10:42:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=wqTlNQJ/adQOKkY0cr7QD0U7glwmxUhgrinfMivQM+g=; b=nZgf6GEsnWXjjOyEOofFlKN8X5rIFWzdxWe2tInk+7Wt0Rkjt9zG0bngBm7PFlX9i/ +kAyD88+ptZxLVdyMXB4ujBRmVNxlfNw3zqjbauv7y/lyzOkHVI5PRxG4X9Hev/Ycgf0 m0NWUDCXBngfVzzOSdoU4rnQExIaGlRqJJeHyzvdpOEmTkFcJQ8uMzweakqUTbG4rdxq Fh347bS8d70zXONZKNvTgYuaEPJxBLXhSrNkwT9N6O0X2w/gd73YeRjwSWE5jRtv9MWU Xq2SlO5H0nRuJAtUEmSluVD83s9wOFP7IE48TL9Hczf9qewxh8TCcYPDn2dNS3CMTVi4 xaZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=wqTlNQJ/adQOKkY0cr7QD0U7glwmxUhgrinfMivQM+g=; b=WG+TGVlG44e9pkz+u8xgqT4PtAFEScymErInIcfLAgEAEBDM/j0p03+jcoQpYkwqS+ EdX23PtyjY1kuMKvkeJXDE1EOUaPUZE2PLBlIs1X/fIB7VM2qM9/4NPNeZgY3riauJoE nYbOwz10h5SA8+5sBKF7kulkUNu6bRqrvexE9xMA06DaT0Bnfp9QES+QPke3vHQUfaRu Wu4DxrZuVgW1sPiSbE+C4AwXpaPsofSsRry/F8dbRlt8ziE6t4BnSfwpB9rWNGJ9/odp QQfL9HBSZDR1AhvCm9mUaTXqHXygaTyyG+q/ANwsUkWAclxyTMMEUUNiiNSYpZB796uH mfdA== X-Gm-Message-State: APjAAAX8ZTyBmD8pNmn4Ymvwus4TyqIzdHUK+65fyjB6c27DqZLs5rAU 3uWBexNDLN+wHZstALXq7L1OOWKL X-Google-Smtp-Source: APXvYqwEhH3Nn3F3iXWcAQDQhbQ+t/PhPiqZ9mby5fbAI3FNIVavMnR0oWYC2hLPiL/QznZlEfsk1Q== X-Received: by 2002:ae9:f816:: with SMTP id x22mr13543867qkh.200.1556991724983; Sat, 04 May 2019 10:42:04 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id u15sm3892865qth.54.2019.05.04.10.42.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 May 2019 10:42:04 -0700 (PDT) From: Noam Postavsky To: Eric Hanchrow Subject: Re: bug#35523: 26.1.92; Please add "PIN" to password-word-equivalents References: Date: Sat, 04 May 2019 13:42:02 -0400 In-Reply-To: (Eric Hanchrow's message of "Wed, 1 May 2019 08:25:41 -0400") Message-ID: <87v9yqm80l.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35523 Cc: 35523@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain severity 35523 minor tags 35523 + patch quit Eric Hanchrow writes: > Where I work, I often run a command that prompts me like this: > > PIN for erichan: > > The current default value of comint-password-prompt-regexp doesn't hide > my typing, but I imagine it would if "PIN" were one of the elements of > password-word-equivalents. So technicalities of (re)setting custom option values aside, anyone have objections to adding "pin" to password-word-equivalents? --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-Add-pin-to-password-word-equivalents-Bug-35523.patch Content-Transfer-Encoding: quoted-printable Content-Description: patch >From a5382d158fd2d047c73f018b6fc8d0a2888f57a0 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sat, 4 May 2019 13:20:42 -0400 Subject: [PATCH] Add "pin" to password-word-equivalents (Bug#35523) * lisp/international/mule-conf.el (password-word-equivalents): Add "pin". --- lisp/international/mule-conf.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf= .el index c84dc819d1..69a505d306 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el @@ -1585,7 +1585,7 @@ (aset latin-extra-code-table ?\225 t) (aset latin-extra-code-table ?\226 t) =20 (defcustom password-word-equivalents - '("password" "passcode" "passphrase" "pass phrase" + '("password" "passcode" "passphrase" "pass phrase" "pin" ; These are sorted according to the GNU en_US locale. "=EC=95=94=ED=98=B8" ; ko "=E3=83=91=E3=82=B9=E3=83=AF=E3=83=BC=E3=83=89" ; ja @@ -1636,7 +1636,7 @@ (defcustom password-word-equivalents English. Different case choices should not be assumed to be included; callers should bind `case-fold-search' to t." :type '(repeat string) - :version "24.4" + :version "27.1" :group 'processes) =20 ;; The old code-pages library is obsoleted by coding systems based on --=20 2.11.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 06 19:31:09 2019 Received: (at 35523) by debbugs.gnu.org; 6 Jun 2019 23:31:09 +0000 Received: from localhost ([127.0.0.1]:50790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZ1qe-0004YQ-MX for submit@debbugs.gnu.org; Thu, 06 Jun 2019 19:31:08 -0400 Received: from mail-it1-f175.google.com ([209.85.166.175]:55914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZ1qb-0004Xo-DT; Thu, 06 Jun 2019 19:31:06 -0400 Received: by mail-it1-f175.google.com with SMTP id i21so64185ita.5; Thu, 06 Jun 2019 16:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hXYJ0DK0KrcnMCTPR5Wp3Qu+XyyH+dKDCC2tZoncotk=; b=L9s6Fri4RrC1KU5RPjIUXgD/1mgSQ0kb34Zmh0zVB9WNMY/XjLSESf9b+uSQ5+R9W7 YRkrJAuDLnj35hwPAptdsWkIQEhQmPJYczyi4S2FDVUXQJivwObgheybi3hYvnkr105x /XPMG5h0zAg9TfNbv/i7ZKXdMYiasQGiq9oPFnexM6I0fEjshuDaByGxYX/XbA8hXw2a 0UL2o1jLTQlB4j7uiekrCjBrtwtHKAYUkx2Qy6NCQZBjhXgZWQtbYW4oBIXVbr9uHgY6 GIBOV8wLPNOAuHMX5+VAreSLqtFT09aCvJvnqW47hO9Fssfam8gtPUkK7k20SHH0m2Dp rlNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hXYJ0DK0KrcnMCTPR5Wp3Qu+XyyH+dKDCC2tZoncotk=; b=GJjtTKjfpNpMkFQkpN32Ksjxnd5K1/Q4p3UxQrZhFaji778k0Bk3hHqysOD4B8tae/ mSN9ZpWtyOwf1hl6QsvelrXHqSOk8ATVwPtoYQhfb1E8KR5IFYPzgyiX5PmyCaEZqKEE T3wIdHMjiGOP8FlJpLva8J219v/xIVRFKR6QrdjyEafi9GmrEzXIDpP9Xtiyq9bSDKup BIh1DdCp6/TCUjZ/jR3esF4loc9GGHBz4AEaiUk/0vnsikLk6Q9BaX7tWqhRIjbW9w0A UU0bccgcL6kEcUeEycWpuIsWyOQbNO8qxJUghlPm84Aa4XgrdJo3f25e9sT2IDzyXfjE JLGQ== X-Gm-Message-State: APjAAAWLys30QLu64u2PaEWNYzznRXlH6bwtYf3XjREsljGnn7dMxn7z 3YqHF0kZ37ngwzc74VRzdenM0vcO X-Google-Smtp-Source: APXvYqzTh8du5eFhSb3SNYW/GtEW/sjcCSo37Wqv7KTPGiN1T1iws3jHCST6EHMQ0GGnId5WV12irQ== X-Received: by 2002:a02:9a0f:: with SMTP id b15mr26596019jal.32.1559863859254; Thu, 06 Jun 2019 16:30:59 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id g189sm111684itg.35.2019.06.06.16.30.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Jun 2019 16:30:58 -0700 (PDT) From: Noam Postavsky To: Eric Hanchrow Subject: Re: bug#35523: 26.1.92; Please add "PIN" to password-word-equivalents References: <87v9yqm80l.fsf@gmail.com> Date: Thu, 06 Jun 2019 19:30:57 -0400 In-Reply-To: <87v9yqm80l.fsf@gmail.com> (Noam Postavsky's message of "Sat, 04 May 2019 13:42:02 -0400") Message-ID: <87ftom2swe.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35523 Cc: 35523@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 35523 fixed close 35523 27.1 quit > So technicalities of (re)setting custom option values aside, anyone have > objections to adding "pin" to password-word-equivalents? I guess not, pushed to master. a14eb43215 2019-06-06T19:29:42-04:00 "Add "pin" to password-word-equivalents (Bug#35523)" https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=a14eb43215b5cbb99175d2b23f582011948b2eaa From unknown Wed Jun 18 23:04:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 05 Jul 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator