From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Should autoloaded functions show LIB.el for its location? Date: Sun, 18 Dec 2005 10:47:02 +0100 Message-ID: <43A53016.1030904@student.lu.se> References: <43A41242.9070709@student.lu.se> <43A4128B.9090203@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080805030608060007020308" X-Trace: sea.gmane.org 1134902837 22610 80.91.229.2 (18 Dec 2005 10:47:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2005 10:47:17 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 18 11:47:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Enw39-0001mT-9Y for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2005 11:45:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Enw3w-0000Vc-7o for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2005 05:46:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnvNI-0002GC-Dz for emacs-devel@gnu.org; Sun, 18 Dec 2005 05:02:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Env90-0006jd-RC for emacs-devel@gnu.org; Sun, 18 Dec 2005 04:47:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Env8z-0006jJ-Rv for emacs-devel@gnu.org; Sun, 18 Dec 2005 04:47:54 -0500 Original-Received: from [81.228.8.164] (helo=pne-smtpout2-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnvBj-00027C-FI; Sun, 18 Dec 2005 04:50:43 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn2.hy.skanova.net (7.2.069.1) id 43A17870000ADFC2; Sun, 18 Dec 2005 10:47:02 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47984 Archived-At: This is a multi-part message in MIME format. --------------080805030608060007020308 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Richard M. Stallman wrote: > > I just noticed that for an autoloaded function like `apropos-variable' > > the location is shown as "apropos", not "apropos.el". Is that > > intentional? > > > In describe-function of course. Sorry. > >Since the file's name is `apropos.el', it would be clearer (all else >being equal) to show `apropos.el'. > Does the attached small fix do the right thing? --------------080805030608060007020308 Content-Type: text/plain; name="help-fns.el.autolfix" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="help-fns.el.autolfix" Index: help-fns.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/help-fns.el,v retrieving revision 1.82 diff -c -r1.82 help-fns.el *** help-fns.el 30 Nov 2005 15:52:49 -0000 1.82 --- help-fns.el 18 Dec 2005 09:43:37 -0000 *************** *** 322,328 **** ((eq (car-safe def) 'macro) "a Lisp macro") ((eq (car-safe def) 'autoload) ! (setq file-name (nth 1 def)) (format "%s autoloaded %s" (if (commandp def) "an interactive" "an") (if (eq (nth 4 def) 'keymap) "keymap" --- 322,328 ---- ((eq (car-safe def) 'macro) "a Lisp macro") ((eq (car-safe def) 'autoload) ! (setq file-name (concat (nth 1 def) ".el")) (format "%s autoloaded %s" (if (commandp def) "an interactive" "an") (if (eq (nth 4 def) 'keymap) "keymap" --------------080805030608060007020308 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --------------080805030608060007020308--