[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: with-output-to-temp-buffer and help-mode
From: |
Leo Liu |
Subject: |
Re: with-output-to-temp-buffer and help-mode |
Date: |
Sat, 26 Jul 2014 02:12:40 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (CentOS 6.5) |
On 2014-07-25 08:34 -0700, Drew Adams wrote:
> What we got instead was a new macro for help (good) and a blind
> removal of the help-mode stuff from the existing "temp" macro (bad!).
You seem to believe with-output-to-temp-buffer is only about help mode.
Now there are places in emacs that show otherwise, for example, check
display-completion-list. The doc says the macro runs
temp-buffer-setup-hook which normally sets up the buffer in help mode.
So entering help mode is the default behaviour but not the only one, and
the decision is up to the user.
Cheers,
Leo
Re: with-output-to-temp-buffer and help-mode, Glenn Morris, 2014/07/25
RE: with-output-to-temp-buffer and help-mode, Drew Adams, 2014/07/25