Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: auth-source.el: help-print-return-message
Date: Thu, 24 Feb 2011 15:57:36 -0600	[thread overview]
Message-ID: <8739ndt7sf.fsf@lifelogs.com> (raw)
In-Reply-To: <877hcpnoce.fsf@marauder.physik.uni-ulm.de>

On Thu, 24 Feb 2011 21:56:33 +0100 Reiner Steib <reinersteib+gmane@imap.cc> wrote: 

RS> On Do, Feb 24 2011, Ted Zlatanov wrote:
>> 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.

RS> The prompts for scoring (-> `gnus-score-insert-help´) and
RS> `save-buffers-kill-emacs´ (-> `map-y-or-n-p´) are similar.

The first one is complicated and would tie auth-source.el tightly with
the rest of Gnus (which I'm trying to avoid because autoloading
`auth-source-search' should work outside of Gnus).

I pushed in a change to use `save-excursion' and `delete-window' because
all the other setups seemed too complicated.  But if it's not working
right, please let me know.

I also think that maybe I want something other than read-char.  It
errors out if I hit a cursor key, for instance.  What would be a good
function to use that supports prompts in XEmacs?  `read-key'?
`read-char-exclusive'?

Thanks!
Ted




      reply	other threads:[~2011-02-24 21:57 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
2011-02-24 20:56   ` Reiner Steib
2011-02-24 21:57     ` Ted Zlatanov [this message]

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=8739ndt7sf.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).