GNU bug report logs -
#761
23.0.60; doc for temp-buffer-show-hook
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 761 in the body.
You can then email your comments to 761 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#761
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Drew Adams" <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
emacs -Q
The doc string and Elisp manual both say exactly the same thing for
`temp-buffer-show-hook'. This part of that text should be removed:
"This hook is normally set up with a function to make
the buffer read only, and find function names and variable names
in it, provided the major mode is Help mode."
It's just not true. Looking at the Emacs source code that sets
`temp-buffer-show-hook', not to mention third-party code that sets it,
this part of the text is not appropriate. "Normally" does not apply
here, and neither does "typically" or anything else.
All that should be said is said in the first part of the text: "Normal
hook run by `with-output-to-temp-buffer' after displaying the buffer.
When the hook runs, the temporary buffer is current, and the window it
was displayed in is selected." You can use it for anything you want
to.
Also, the manual just duplicates the doc string verbatim. Is there
nothing else to say?
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-08-01 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
Reply sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
"Drew Adams" <drew.adams <at> oracle.com>
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #10 received at 761-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Okay, I've removed the offending sentence from the docstring and the
lispref file.
> Also, the manual just duplicates the doc string verbatim. Is there
> nothing else to say?
Not as far as I can tell.
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sat, 20 Sep 2008 14:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 334 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.