From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Masatake YAMATO Newsgroups: gmane.emacs.bugs Subject: bug#28685: 25.3; wrong handling ~/.cpp.el Date: Fri, 20 Oct 2017 03:55:52 +0900 (JST) Organization: Red Hat Japan, Inc. Message-ID: <20171020.035552.800342183488363647.yamato@redhat.com> References: <20171017.192303.945206897976012626.yamato@redhat.com> <871sm2gd1g.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1508439431 27459 195.159.176.226 (19 Oct 2017 18:57:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Oct 2017 18:57:11 +0000 (UTC) Cc: 28685@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 19 20:57:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5G08-0006KA-MP for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Oct 2017 20:57:04 +0200 Original-Received: from localhost ([::1]:50848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5G0F-00037T-Qg for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Oct 2017 14:57:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5G09-00037N-IH for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 14:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5G06-0002Jw-Ht for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 14:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42030) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5G06-0002Jf-Dt for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 14:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e5G06-0004qs-1E for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2017 14:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Masatake YAMATO Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Oct 2017 18:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28685 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 28685-submit@debbugs.gnu.org id=B28685.150843936218570 (code B ref 28685); Thu, 19 Oct 2017 18:57:01 +0000 Original-Received: (at 28685) by debbugs.gnu.org; 19 Oct 2017 18:56:02 +0000 Original-Received: from localhost ([127.0.0.1]:50711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5Fz7-0004pQ-VC for submit@debbugs.gnu.org; Thu, 19 Oct 2017 14:56:02 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:40060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5Fz6-0004ow-E6 for 28685@debbugs.gnu.org; Thu, 19 Oct 2017 14:56:00 -0400 Original-Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8FFA081138; Thu, 19 Oct 2017 18:55:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 8FFA081138 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=yamato@redhat.com Original-Received: from localhost (unknown [10.64.242.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 61050600C2; Thu, 19 Oct 2017 18:55:53 +0000 (UTC) In-Reply-To: <871sm2gd1g.fsf@users.sourceforge.net> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 19 Oct 2017 18:55:54 +0000 (UTC) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:138724 Archived-At: cpp-config-file is a customizable variable. So a user can change its name. Masatake YAMATO On Tue, 17 Oct 2017 08:43:39 -0400, Noam Postavsky wrote: > Masatake YAMATO writes: > >> On Sat, 14 Oct 2017 18:11:06 -0400, Glenn Morris wrote: > >> + ((file-readable-p (locate-user-emacs-file cpp-config-file)) >> + (load-file (locate-user-emacs-file cpp-config-file)))) > > This would find ~/.emacs.d/.cpp.el, but I believe we would rather get > ~/.emacs.d/cpp.el. Which is to say, we want > > (locate-user-emacs-file "cpp.el" ".cpp.el") >