From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: auth-source.el: help-print-return-message
Date: Thu, 24 Feb 2011 13:25:31 -0600 [thread overview]
Message-ID: <871v2xz13o.fsf@lifelogs.com> (raw)
In-Reply-To: <87fwrdntqn.fsf@marauder.physik.uni-ulm.de>
On Thu, 24 Feb 2011 20:00:00 +0100 Reiner Steib <reinersteib+gmane@imap.cc> wrote:
RS> when compiling Gnus (from git), I get...
RS> $ emacs --version
RS> GNU Emacs 23.1.1
RS> [...]
RS> $ make
RS> [...]
RS> In end of data:
RS> auth-source.el:1331:1:Warning: the function `help-print-return-message' is not
RS> known to be defined.
RS> When opening the IMAP server, I hit `?' at the "Save auth info to file"
RS> prompt:
RS> | Opening TLS connection to `imap.foo.invalid'...done
RS> | Save auth info to file ~/.authinfo.gpg? y/n/N/e/?:
RS> | Unable to open server nnimap+imap.foo.invalid due to: \
RS> | Symbol's function definition is void: help-print-return-message
RS> | Opening nnimap server on imap.foo.invalid...failed:
RS> | Server denied access
RS> | nnimap+imap.foo.invalid:INBOX error: BAD Please login first
This function is supposed to DTRT to dismiss the help buffer (which I
create with `help-mode'). I asked in the bug report and I'll ask here:
can someone tell me a good way to show pop-up help in Emacs? I looked
at the source and everyone does it differently (I counted 5 different
ways before I have up). Also it has to work in XEmacs and older Emacsen
so I hope someone can help me out.
One way I thought might work is just to replace the y/n/N part of the
prompt with the expanded versions (and then ? again will unexpand
them). So:
"prompt ... y/n/?" => user inputs ?? => "prompt ... yes/no but ... /?"
=> user inputs ?? => back to original prompt
This has the advantage of not requiring new windows.
Thanks!
Ted
next prev parent reply other threads:[~2011-02-24 19:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-24 19:00 Reiner Steib
2011-02-24 19:25 ` Ted Zlatanov [this message]
2011-02-24 20:56 ` Reiner Steib
2011-02-24 21:57 ` Ted Zlatanov
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=871v2xz13o.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=ding@gnus.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).