all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: `C-h f' doesn't show file where function comes from
Date: Mon, 08 Sep 2008 09:31:36 +0900	[thread overview]
Message-ID: <b4mtzcr4gwn.fsf@jpl.org> (raw)
In-Reply-To: b4m7i9n5wb9.fsf@jpl.org

>>>>> Katsumi Yamaoka wrote:
> It relates to whether Emacs is installed or not.
[...]
> Here is a patch:

I think displaying the ".gz" extension in file names is needless
because of `auto-compression-mode'.  Please replace the last patch
with this:

--- help-fns.el~	2008-09-01 21:41:33 +0000
+++ help-fns.el	2008-09-08 00:30:41 +0000
@@ -295,7 +295,8 @@
 	;; When the Elisp source file can be found in the install
 	;; directory return the name of that file - `file-name' should
 	;; have become an absolute file name ny now.
-	(and (file-readable-p lib-name) lib-name)))
+	(or (and (file-readable-p lib-name) lib-name)
+	    (and (file-readable-p (concat lib-name ".gz")) lib-name))))
      ((let* ((lib-name (file-name-nondirectory file-name))
 	     ;; The next form is from `describe-simplify-lib-file-name'.
 	     (file-name




  reply	other threads:[~2008-09-08  0:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-05  0:57 `C-h f' doesn't show file where function comes from Katsumi Yamaoka
2008-09-05  1:04 ` Francis Litterio
2008-09-05  7:23 ` martin rudalics
2008-09-05  8:02   ` Katsumi Yamaoka
2008-09-05  8:17     ` martin rudalics
2008-09-05 12:25       ` Katsumi Yamaoka
2008-09-06 12:22         ` martin rudalics
2008-09-08  0:13           ` Katsumi Yamaoka
2008-09-08  0:31             ` Katsumi Yamaoka [this message]
2008-09-08  6:55               ` martin rudalics
2008-09-08  6:55             ` martin rudalics
2008-09-08  8:39               ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mtzcr4gwn.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.