GNU bug report logs - #6652
[Feature Request] [emacs] location of file for help for variables and functions should list full path

Previous Next

Package: emacs;

Reported by: Terrence Brannon <schemelab <at> gmail.com>

Date: Fri, 16 Jul 2010 17:14:01 UTC

Severity: wishlist

Done: Eli Zaretskii <eliz <at> gnu.org>

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 6652 in the body.
You can then email your comments to 6652 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#6652; Package emacs. (Fri, 16 Jul 2010 17:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Terrence Brannon <schemelab <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 16 Jul 2010 17:14:01 GMT) Full text and rfc822 format available.

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

From: Terrence Brannon <schemelab <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [Feature Request] [emacs] location of file for help for variables and
	functions should list full path
Date: Fri, 16 Jul 2010 13:06:46 -0400
[Message part 1 (text/plain, inline)]
*When debugging load-path issues, one often wonders where a function or
variable was defined. Since the help-for-help for a variable only lists the
file of a function, you have to click on the file link, then find the
default-directory for that file to see what file it really was loaded from.*
*
*
*
*
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6652; Package emacs. (Tue, 20 Jul 2010 13:24:02 GMT) Full text and rfc822 format available.

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

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#6652: [Feature Request] [emacs] location of file for help
	for variables and functions should list full path
Date: Tue, 20 Jul 2010 07:23:47 -0600
Terrence Brannon wrote:
> *When debugging load-path issues, one often wonders where a function or 
> variable was defined. Since the help-for-help for a variable only lists 
> the file of a function, you have to click on the file link, then find 
> the default-directory for that file to see what file it really was 
> loaded from.*

In the *Help* buffer, TAB to the hyperlink, then M-x locate-library --
oops, locate-library does not provide a default for its LIBRARY argument
when called interactively [patch forthcoming].

So, TAB to the hyperlink, then C-u C-x =.  Search for help-args, then
TAB to the [Show] hyperlink (or move to the end of the buffer and M-TAB
to [Show]).  RET (or mouse-2) will display the full file name in the
*Pp Eval Output* buffer.

-- 
Kevin Rodgers
Denver, Colorado, USA





Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 03 Apr 2020 12:02:01 GMT) Full text and rfc822 format available.

Notification sent to Terrence Brannon <schemelab <at> gmail.com>:
bug acknowledged by developer. (Fri, 03 Apr 2020 12:02:02 GMT) Full text and rfc822 format available.

Message #13 received at 6652-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Štěpán Němec <stepnem <at> gmail.com>
Cc: 6679-done <at> debbugs.gnu.org, kevin.d.rodgers <at> gmail.com,
 6652-done <at> debbugs.gnu.org
Subject: Re: bug#6679: locate-library does not provide a default when called
 interactively
Date: Fri, 03 Apr 2020 15:01:08 +0300
> From: Štěpán Němec
>  <stepnem <at> gmail.com>
> Date: Sat, 28 Mar 2020 22:59:44 +0100
> Cc: 6679 <at> debbugs.gnu.org
> 
> On Tue, 20 Jul 2010 21:14:09 -0600
> Kevin Rodgers wrote:
> 
> > Assuming that complexity is justified, it ought to be factored into a
> > read-library-name utility that both find-library and locate-library use.
> 
> The first part has since happened (`read-library-name'), all that is
> needed is the latter. Patch attached.
> 
> > `C-h a -library\'' returns apropos-library and load-library in addition to
> > find-library and locate-library, but it's not clear to me that they would
> > benefit from a default.
> 
> The patch also handles `load-library'. The set of arguments/completions
> expected/provided by `apropos-library' is slightly different and
> requires other validation, so `read-library-name' wouldn't really help
> there.

Thanks, pushed to the master branch.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 May 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 360 days ago.

Previous Next


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