From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#17467: 24.3; locate-library returning spurious path Date: Sun, 11 May 2014 20:32:51 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1399854794 24636 80.91.229.3 (12 May 2014 00:33:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2014 00:33:14 +0000 (UTC) Cc: 17467@debbugs.gnu.org To: Alex Kosorukoff Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 12 02:33:06 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WjeB0-0006I2-8O for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 May 2014 02:33:06 +0200 Original-Received: from localhost ([::1]:34770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjeAz-0004MV-NQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 May 2014 20:33:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjeAw-0004LX-Ve for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 20:33:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjeAw-0001w9-7f for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 20:33:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjeAw-0001w5-4j for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 20:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WjeAv-00081a-K8 for bug-gnu-emacs@gnu.org; Sun, 11 May 2014 20:33:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 May 2014 00:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17467 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17467-submit@debbugs.gnu.org id=B17467.139985477630832 (code B ref 17467); Mon, 12 May 2014 00:33:01 +0000 Original-Received: (at 17467) by debbugs.gnu.org; 12 May 2014 00:32:56 +0000 Original-Received: from localhost ([127.0.0.1]:59872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjeAp-00081D-Jr for submit@debbugs.gnu.org; Sun, 11 May 2014 20:32:56 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:54036 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WjeAn-000815-A5 for 17467@debbugs.gnu.org; Sun, 11 May 2014 20:32:53 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WjeAl-0002MS-NK; Sun, 11 May 2014 20:32:51 -0400 X-Spook: Al Jazeera CISU FSF Ruby Ridge Sears Tower propaganda X-Ran: fy6/2Tgz8OUmmow5_tuxj.$;]#7FIc`")6y'\9>|?/o[j[9lRA23]P~wMtZVoqnKan6bMo X-Hue: blue X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88946 Archived-At: Alex Kosorukoff wrote: > I think these file names are more appropriate for data files, not > executable ones. It is undesirable that a name "tramp.gz" will shadow a > valid library file "tramp.elc" that won't be found as a result. When you > say those names aren't spurious, do you have a particular example of an > emacs elisp library in mind which file name ends with a suffix other than > .el .elc .el.gz .elc.gz? I think the main difference is that I assume that > this list is exhaustive and you imply that it is not. You can prove me > wrong by a single example. I've somewhat lost track of exactly what you want an example of, but: When Gnus starts, it will read the `gnus-site-init-file' (`.../site-lisp/gnus-init' by default) and `gnus-init-file' (`~/.gnus' by default) files. These are normal Emacs Lisp files and can be used to avoid cluttering your `~/.emacs' and `site-init' files with Gnus stuff. Gnus will also check for files with the same names as these, but with `.elc' and `.el' suffixes. In other words, if you have set `gnus-init-file' to `~/.gnus', it will look for `~/.gnus.elc', `~/.gnus.el', and finally `~/.gnus' (in this order). and it uses locate-library to do that.