GNU bug report logs - #7530
describe-function etc. should remember locations from $HOME too

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Thu, 2 Dec 2010 04:00:04 UTC

Severity: minor

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7530 in the body.
You can then email your comments to 7530 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7530; Package emacs. (Thu, 02 Dec 2010 04:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 02 Dec 2010 04:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: describe-function etc. should remember locations from $HOME too
Date: Thu, 02 Dec 2010 12:05:04 +0800
We do
(describe-function (quote gnus-summary-w3m-safe-toggle-inline-images))
and see
    gnus-summary-w3m-safe-toggle-inline-images is an interactive compiled
    Lisp function.

    (gnus-summary-w3m-safe-toggle-inline-images &optional ARG)

    Toggle displaying of all images in the article buffer.
              If the prefix arg is given, force displaying of images.

    [back]

And wonder "why does it usually say what file it is in, but not today?"

Well that is because it was in
~/.emacs-w3m.elc
~/.emacs-w3m

Therefore, when these files are initially scanned, they should be
remembered, just like all the other .el's and .elc's are. Why make an
exception for those few that are in $HOME? Same with describe-variable,
and any file read at any time.

And if an item really was from just doing a ^X^E etc. and not from any
file, the describe-* commands should mention that too! Thanks.

emacs-version "24.0.50.1"




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7530; Package emacs. (Mon, 20 Dec 2010 10:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 7530 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jidanni <at> jidanni.org
Cc: 7530 <at> debbugs.gnu.org
Subject: Re: bug#7530: describe-function etc. should remember locations from
	$HOME too
Date: Mon, 20 Dec 2010 19:00:28 +0800
jidanni <at> jidanni.org writes:

> We do
> (describe-function (quote gnus-summary-w3m-safe-toggle-inline-images))
> and see
>     gnus-summary-w3m-safe-toggle-inline-images is an interactive compiled
>     Lisp function.
>
> And wonder "why does it usually say what file it is in, but not today?"
>
> Well that is because it was in
> ~/.emacs-w3m.elc
> ~/.emacs-w3m

Please provide a minimal recipe for reproducing this bug, including a
minimal .emacs file.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7530; Package emacs. (Tue, 21 Dec 2010 00:04:02 GMT) Full text and rfc822 format available.

Message #11 received at 7530 <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: cyd <at> stupidchicken.com
Cc: 7530 <at> debbugs.gnu.org
Subject: Re: bug#7530: describe-function etc. should remember locations from
	$HOME too
Date: Tue, 21 Dec 2010 08:07:31 +0800
>>>>> "CY" == Chong Yidong <cyd <at> stupidchicken.com> writes:

CY> Please provide a minimal recipe for reproducing this bug, including a
CY> minimal .emacs file.

http://jidanni.org/comp/configuration/.emacs
(describe-function (quote jidanni-tidy-buffer))
Why doesn't it tell us that it came from ~/.emacs or ~/.emacs.elc?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7530; Package emacs. (Tue, 21 Dec 2010 02:42:02 GMT) Full text and rfc822 format available.

Message #14 received at 7530 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jidanni <at> jidanni.org
Cc: 7530 <at> debbugs.gnu.org
Subject: Re: bug#7530: describe-function etc. should remember locations from
	$HOME too
Date: Tue, 21 Dec 2010 10:47:56 +0800
jidanni <at> jidanni.org writes:

>>>>>> "CY" == Chong Yidong <cyd <at> stupidchicken.com> writes:
>
> CY> Please provide a minimal recipe for reproducing this bug, including a
> CY> minimal .emacs file.
>
> http://jidanni.org/comp/configuration/.emacs
> (describe-function (quote jidanni-tidy-buffer))
> Why doesn't it tell us that it came from ~/.emacs or ~/.emacs.elc?

Please provide a MINIMAL recipe for reproducing this bug.  The
configuration file you specified contains links to various third-party
packages, any one of which could be causing the bug.

I tried with a .emacs file containing just the line

(defun foo () 1)

Then, in emacs,

C-h f foo RET
=> foo is a Lisp function in `.emacs'.

as expected; no bug here.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7530; Package emacs. (Tue, 21 Dec 2010 03:46:01 GMT) Full text and rfc822 format available.

Message #17 received at 7530 <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: cyd <at> stupidchicken.com
Cc: 7530 <at> debbugs.gnu.org
Subject: Re: bug#7530: describe-function etc. should remember locations from
	$HOME too
Date: Tue, 21 Dec 2010 11:51:54 +0800
>>>>> "CY" == Chong Yidong <cyd <at> stupidchicken.com> writes:
CY> I tried with a .emacs file containing just the line

CY> (defun foo () 1)

CY> Then, in emacs,

CY> C-h f foo RET
CY> => foo is a Lisp function in `.emacs'.

CY> as expected; no bug here.

Ah ha! But not if you byte-compile your .emacs.
B runs the command dired-do-byte-compile ...




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7530; Package emacs. (Tue, 21 Dec 2010 06:39:02 GMT) Full text and rfc822 format available.

Message #20 received at 7530 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jidanni <at> jidanni.org
Cc: 7530 <at> debbugs.gnu.org
Subject: Re: bug#7530: describe-function etc. should remember locations from
	$HOME too
Date: Tue, 21 Dec 2010 14:45:09 +0800
jidanni <at> jidanni.org writes:

>>>>>> "CY" == Chong Yidong <cyd <at> stupidchicken.com> writes:
> CY> I tried with a .emacs file containing just the line
>
> CY> (defun foo () 1)
>
> CY> Then, in emacs,
>
> CY> C-h f foo RET
> CY> => foo is a Lisp function in `.emacs'.
>
> CY> as expected; no bug here.
>
> Ah ha! But not if you byte-compile your .emacs.
> B runs the command dired-do-byte-compile ...

Fixed, thanks.




bug closed, send any further explanations to jidanni <at> jidanni.org Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Tue, 21 Dec 2010 06:39:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 18 Jan 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.