From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Romain Francoise Newsgroups: gmane.emacs.devel Subject: Re: find-library-name fails if file (with no extension) exists. Date: Wed, 22 Nov 2006 20:47:02 +0100 Organization: orebokech dot com Message-ID: <87slgb2rih.fsf@pacem.orebokech.com> References: <8764d8u085.fsf@pacem.orebokech.com> <873b8c7ecr.fsf@pacem.orebokech.com> <87vel8549g.fsf@pacem.orebokech.com> <871wnv60ys.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164224822 18990 80.91.229.2 (22 Nov 2006 19:47:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Nov 2006 19:47:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 22 20:47:00 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gmy3f-0002NM-Rg for ged-emacs-devel@m.gmane.org; Wed, 22 Nov 2006 20:47:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gmy3f-0004tH-DM for ged-emacs-devel@m.gmane.org; Wed, 22 Nov 2006 14:46:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gmy3U-0004sp-Dp for emacs-devel@gnu.org; Wed, 22 Nov 2006 14:46:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gmy3S-0004sb-Hf for emacs-devel@gnu.org; Wed, 22 Nov 2006 14:46:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gmy3S-0004sV-CT for emacs-devel@gnu.org; Wed, 22 Nov 2006 14:46:46 -0500 Original-Received: from [82.67.41.165] (helo=yeast.orebokech.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gmy3S-0004p4-Cf for emacs-devel@gnu.org; Wed, 22 Nov 2006 14:46:46 -0500 Original-Received: from pacem.orebokech.com (pacem.orebokech.com [192.168.1.3]) by yeast.orebokech.com (Postfix) with ESMTP id 546C512C2B for ; Wed, 22 Nov 2006 20:46:45 +0100 (CET) Original-Received: by pacem.orebokech.com (Postfix, from userid 1000) id 449DE5244A; Wed, 22 Nov 2006 20:47:02 +0100 (CET) Original-To: "Emacs Devel" X-Face: }9mYu,e_@+e!`Z-P5kVXa3\_b:hdJ"B)ww[&=b<2=awG:GOIM (Juanma Barranquero's message of "Wed\, 22 Nov 2006 20\:34\:49 +0100") 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:62690 Archived-At: "Juanma Barranquero" writes: > The current behavior, then, has the problem that compiling files with > no extension, or non-default ones: > mylib => mylib.elc > mylib.dat => mylib.dat.elc > but help from describe-function and friends points to nonexistent > "mylib.el" and "mylib.dat.el". Yes, because of `describe-simplify-lib-file-name'... The reliable approach would be to look into the compiled file, it contains the source file's name. But it would be overkill. -- Romain Francoise | The sea! the sea! the open it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the | ever free! --Bryan W. Procter