From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#671: 23.0.60; To source or not to source (from help) Date: Fri, 08 Aug 2008 14:43:03 -0400 Message-ID: References: <489C1757.3060504@gmx.at> Reply-To: Stefan Monnier , 671@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218497320 2651 80.91.229.12 (11 Aug 2008 23:28:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2008 23:28:40 +0000 (UTC) Cc: 671@emacsbugs.donarmstrong.com, Bug-Gnu-Emacs , 587@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 12 01:29:31 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KSgp1-0003xu-Fx for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Aug 2008 01:29:07 +0200 Original-Received: from localhost ([127.0.0.1]:55217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSgo5-000672-Ck for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 19:28:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSgnU-0005X8-Fz for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 19:27:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSgnS-0005WD-Kx for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 19:27:32 -0400 Original-Received: from [199.232.76.173] (port=55798 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSgnS-0005Vr-8l for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 19:27:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57850) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSgnR-0006eo-Oq for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 19:27:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7BNRO1I017788; Mon, 11 Aug 2008 16:27:26 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7BNA4bO012054; Mon, 11 Aug 2008 16:10:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 11 Aug 2008 23:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 671 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12184957049497 (code B ref -1); Mon, 11 Aug 2008 23:10:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 11 Aug 2008 23:01:44 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7BN1e3m009474 for ; Mon, 11 Aug 2008 16:01:41 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSgOS-0002bQ-02 for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 19:01:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSgOQ-0002aQ-7m for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 19:01:39 -0400 Original-Received: from [199.232.76.173] (port=47741 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSgOP-0002aG-UK for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 19:01:37 -0400 Original-Received: from smtp-01.arnet.com.ar ([200.45.191.24]:45839) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KSgOO-00041P-RL for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 19:01:37 -0400 Original-Received: (qmail 23581 invoked from network); 11 Aug 2008 22:59:46 -0000 Original-Received: from unknown (HELO ceviche.home) (190.30.131.157) by 0 with SMTP; 11 Aug 2008 22:59:46 -0000 Original-Received: by ceviche.home (Postfix, from userid 20848) id 34F5EB406B; Fri, 8 Aug 2008 14:43:03 -0400 (EDT) In-Reply-To: <489C1757.3060504@gmx.at> (martin rudalics's message of "Fri, 08 Aug 2008 11:52:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 11 Aug 2008 19:27:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19304 Archived-At: > Personally, I'd prefer something like the following in both cases: > (unless (or (eq file-name 'C-source) > (file-exists-p file-name)) > (setq file-name (find-source-lisp-file file-name))) I'd use file-readable-p, but otherwise, it sounds fine, Stefan