From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: michael.albinus@gmx.de, emacs-devel@gnu.org
Subject: Re: master 39e3fce0d5e0: 'read-passwd' can toggle the visibility of passwords
Date: Fri, 15 Mar 2024 17:11:43 +0200 [thread overview]
Message-ID: <864jd78r80.fsf@gnu.org> (raw)
In-Reply-To: <jwvplvvk4rk.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Fri, 15 Mar 2024 09:29:18 -0400)
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Michael Albinus <michael.albinus@gmx.de>, emacs-devel@gnu.org
> Date: Fri, 15 Mar 2024 09:29:18 -0400
>
> > The changes in the above commit cause the following warning when
> > compiling simple.el:
> >
> > In read-passwd-toggle-visibility:
> > simple.el:10880:18: Warning: reference to free variable `icon-preference'
>
> Does the patch below fix the problem?
> [ I remember seeing the warning a few days ago, but can't reproduce it
> right now. ]
No, it makes things worse:
In read-passwd-mode:
simple.el:10907:16: Warning: reference to free variable `read-passwd--show-password-icon'
simple.el:10912:12: Warning: reference to free variable `mode-line-faces'
simple.el:10915:4: Error: `define-icon' defined after use in (define-icon read-passwd--hide-password-icon nil '((image "conceal.svg" "conceal.pbm" :height (0.8 . em)) (symbol " ") (text "<\\>")) "Mode line icon to hide a visible password." :group mode-line-faces :version "30.1" :help-echo "mouse-1: Toggle password visibility") (missing `require' of a library file?)
simple.el:10915:16: Warning: reference to free variable `read-passwd--hide-password-icon'
In end of data:
simple.el:10907:4: Warning: the function `define-icon' might not be defined at runtime.
simple.el:10883:19: Warning: the function `icon-string' might not be defined at runtime.
Makefile:289: recipe for target `../lisp/simple.elc' failed
next prev parent reply other threads:[~2024-03-15 15:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-15 8:07 master 39e3fce0d5e0: 'read-passwd' can toggle the visibility of passwords Eli Zaretskii
2024-03-15 8:23 ` Michael Albinus
2024-03-15 8:55 ` Eli Zaretskii
2024-03-15 11:55 ` Andreas Schwab
2024-03-15 12:19 ` Michael Albinus
2024-03-15 12:47 ` Andreas Schwab
2024-03-15 12:52 ` Eli Zaretskii
2024-03-15 18:20 ` Michael Albinus
2024-03-15 18:25 ` Stefan Monnier
2024-03-15 13:29 ` Stefan Monnier
2024-03-15 15:11 ` Eli Zaretskii [this message]
2024-03-15 17:55 ` Stefan Monnier
2024-03-15 18:23 ` Michael Albinus
2024-03-22 17:43 ` Michael Albinus
2024-04-04 15:24 ` Michael Albinus
2024-03-15 18:37 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=864jd78r80.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.