GNU bug report logs - #26612
25.2; find-file.el -vs- project.el

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Tom Tromey <tom@HIDDEN>; dated Sat, 22 Apr 2017 20:21:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 26612 <at> debbugs.gnu.org:


Received: (at 26612) by debbugs.gnu.org; 6 Aug 2017 20:59:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 06 16:59:53 2017
Received: from localhost ([127.0.0.1]:45023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1deSeO-000073-Pn
	for submit <at> debbugs.gnu.org; Sun, 06 Aug 2017 16:59:52 -0400
Received: from mail-wm0-f49.google.com ([74.125.82.49]:38015)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1deSeM-00006p-NW
 for 26612 <at> debbugs.gnu.org; Sun, 06 Aug 2017 16:59:51 -0400
Received: by mail-wm0-f49.google.com with SMTP id m85so54825261wma.1
 for <26612 <at> debbugs.gnu.org>; Sun, 06 Aug 2017 13:59:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=BUdnj3tE+SIvGrhepKWgha4ajM5ItEt0fJDWcYK5a2U=;
 b=t8zhfPiqs0+VCp0T4f+x0d635PK/da9w0exW8LlPEYhdjrTRvCihIJzk/BZUZoV5pm
 Iq9p/4pQNAXOZax5hKZfBY/zMW0S1w9FI7fl5q1bqZ5SNvyXI6d0zhRoJuaABOfXVbuP
 hGR56MATzU57sqYUAWMHz3dGwiFOGX4NBqKp5A0PpYxi/mIbwypt3de4UcEPP7oCeUyr
 8UTnVhj9Gq+2eyzWVS1OmFsmZzjv1ptCE9AHfe6ekHpR5JUM28kXDWy3+kCPLRPDZ/RI
 0Tkqt0J6s1e33kATUD8ymGY5tcONMNB2gFUDqaR7O0GwSvheoiFmdcsBKkg3jc2mTBgD
 /4kg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=BUdnj3tE+SIvGrhepKWgha4ajM5ItEt0fJDWcYK5a2U=;
 b=GQLQt2nrj+6RmLmPp80DZW9w8Cxpb3PhO4BS4bTeh1/Zfy7ktHGg4FvQriM5saWTwv
 Ky0wiGlo+krraPJv+fGoUwTbqZPltzQk98mOCK21MbMXhMBe7qaj/xqqyKMxenvkAGyk
 OeMWnVQopYG4kbOP6Wqfr3ZJKwI4kePaxhmZZKB1mqZxJm/1BFnsfNg2Kt+Xb59+L9Zo
 V7QLwJRIwHywaTQzofHkcxKSEWrgsqDSwAVLW02sG+lVZUjx57An7FvnucIivOmhDjHz
 omjnlFIdlD+TWq22LdY6ESRwQ3nIw+dkrdPOAs1OW5W5bPuYToYpyvq5gy5LrWmnGOfr
 GDiA==
X-Gm-Message-State: AHYfb5jq54uJuiYEGLaZKl0cJ+DrSuGp1TYWRAkH0aONajhBPWHvr3hj
 KfayYEA286KZOQYVLks=
X-Received: by 10.28.55.193 with SMTP id e184mr5431452wma.75.1502053184470;
 Sun, 06 Aug 2017 13:59:44 -0700 (PDT)
Received: from [192.168.1.3] ([185.105.174.193])
 by smtp.googlemail.com with ESMTPSA id 94sm13814691wrb.55.2017.08.06.13.59.42
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 06 Aug 2017 13:59:42 -0700 (PDT)
Subject: Re: bug#26612: 25.2; find-file.el -vs- project.el
To: Tom Tromey <tom@HIDDEN>
References: <87bmro42lt.fsf@HIDDEN>
 <3c1c8559-f70e-f27c-ef0c-59de3b16a282@HIDDEN> <87tw1ledek.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <115a5b79-4865-c4e8-2208-2fa58f19b18f@HIDDEN>
Date: Sun, 6 Aug 2017 23:59:41 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101
 Thunderbird/55.0
MIME-Version: 1.0
In-Reply-To: <87tw1ledek.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 26612
Cc: 26612 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

On 8/6/17 3:41 AM, Tom Tromey wrote:

> Dmitry> What would that command be called, though? And what generic
> Dmitry> function(s) on projects will we need to add?
> 
> The plain function is ff-find-other-file, so maybe
> project-ff-find-other-file?

"ff" meaning "find file"? Not a very semantic name, I'd say.

> Dmitry> So maybe do a search inside project-file-completion-table, for a file
> Dmitry> name matching the current (but with swapped extension)?
> 
> That would work fine, at least as a first draft.

Great!

> As an aside, why are EDE and project.el separate things?

1. Written by different people at different times (naturally).

2. project.el is an API with a sample (ish) implementation based on VC. 
The idea is that core Emacs code (like commands we have in project.el) 
can rely on it, and then a third-party implementation like Projectile 
can define an adapter "project.el backend", and then the said Emacs 
commands will automatically use Projectile (its config files, efficient 
file cache, etc) when the user has Projectile installed. Same for EDE 
users, and we include such adapter already.

We want to improve the VC-backend project backend too, though.

3. For dependencies purposes: Projectile users won't want to load EDE.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26612; Package emacs. Full text available.

Message received at 26612 <at> debbugs.gnu.org:


Received: (at 26612) by debbugs.gnu.org; 6 Aug 2017 00:41:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 05 20:41:52 2017
Received: from localhost ([127.0.0.1]:43921 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1de9df-00039m-Tp
	for submit <at> debbugs.gnu.org; Sat, 05 Aug 2017 20:41:52 -0400
Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:35145
 helo=outbound-ss-1812.hostmonster.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tom@HIDDEN>) id 1de9de-00039Z-Al
 for 26612 <at> debbugs.gnu.org; Sat, 05 Aug 2017 20:41:50 -0400
Received: from cmgw3 (cmgw4 [10.0.90.84])
 by gproxy1.mail.unifiedlayer.com (Postfix) with ESMTP id 3D1F61766DE
 for <26612 <at> debbugs.gnu.org>; Sat,  5 Aug 2017 18:41:15 -0600 (MDT)
Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with 
 id tch91v00S2f2jeq01chCXN; Sat, 05 Aug 2017 18:41:15 -0600
X-Authority-Analysis: v=2.2 cv=epiv9shX c=1 sm=1 tr=0
 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17
 a=KeKAF7QvOSUA:10 a=vaJtXVxTAAAA:8 a=CDldphtj5hWdVYo6SScA:9
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=yO2NYZfFrSOdSTyWaBVbFWnAfQP2lwETkFdtZOWy7P4=; b=L+9CMlRJ4DQHQAkO+m3sv3ePDC
 wm5qKCirRl4PzbfNifE/5lQ1A3VS+jANVIvio59Qg7W7x1inOKH1NTJHV8on5oLFX7SX50oRc76sA
 /+eKLUJ07AV/9PNIK4hskE2SG;
Received: from 75-166-24-97.hlrn.qwest.net ([75.166.24.97]:34592 helo=bapiya)
 by box522.bluehost.com with esmtpsa
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87)
 (envelope-from <tom@HIDDEN>)
 id 1de9cz-003lCR-Fy; Sat, 05 Aug 2017 18:41:09 -0600
From: Tom Tromey <tom@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#26612: 25.2; find-file.el -vs- project.el
References: <87bmro42lt.fsf@HIDDEN>
 <3c1c8559-f70e-f27c-ef0c-59de3b16a282@HIDDEN>
X-Attribution: Tom
Date: Sat, 05 Aug 2017 18:41:07 -0600
In-Reply-To: <3c1c8559-f70e-f27c-ef0c-59de3b16a282@HIDDEN> (Dmitry Gutov's
 message of "Mon, 1 May 2017 05:05:27 +0300")
Message-ID: <87tw1ledek.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - box522.bluehost.com
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - tromey.com
X-BWhitelist: no
X-Source-IP: 75.166.24.97
X-Exim-ID: 1de9cz-003lCR-Fy
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: 75-166-24-97.hlrn.qwest.net (bapiya) [75.166.24.97]:34592
X-Source-Auth: tom+tromey.com
X-Email-Count: 2
X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ==
X-Local-Domain: yes
X-Spam-Score: -2.8 (--)
X-Debbugs-Envelope-To: 26612
Cc: Tom Tromey <tom@HIDDEN>, 26612 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.8 (--)

>>>>> "Dmitry" == Dmitry Gutov <dgutov@HIDDEN> writes:

Dmitry> What would that command be called, though? And what generic
Dmitry> function(s) on projects will we need to add?

The plain function is ff-find-other-file, so maybe
project-ff-find-other-file?

Dmitry> For instance, we already have project-roots, and all directories that
Dmitry> don't match project-ignores are considered to be inside the project.

Dmitry> So maybe do a search inside project-file-completion-table, for a file
Dmitry> name matching the current (but with swapped extension)?

That would work fine, at least as a first draft.

As an aside, why are EDE and project.el separate things?

Tom




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26612; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

Message received at 26612 <at> debbugs.gnu.org:


Received: (at 26612) by debbugs.gnu.org; 1 May 2017 02:05:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 30 22:05:36 2017
Received: from localhost ([127.0.0.1]:48330 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d50iV-0001ch-WD
	for submit <at> debbugs.gnu.org; Sun, 30 Apr 2017 22:05:36 -0400
Received: from mail-wr0-f174.google.com ([209.85.128.174]:36805)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1d50iU-0001cT-Ee
 for 26612 <at> debbugs.gnu.org; Sun, 30 Apr 2017 22:05:34 -0400
Received: by mail-wr0-f174.google.com with SMTP id l50so58521300wrc.3
 for <26612 <at> debbugs.gnu.org>; Sun, 30 Apr 2017 19:05:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=xv0I1Hv7+PoWGu+7BdFrRTsYQdMLaGAHvdy+qF9y20Y=;
 b=vTIVVrr1OYTGZcukQJXcG9YCQqE4kQL8rsTuDLLGVGIShz/CbTDhsocIjFVsbHm9ag
 09uGdczIIfNtYEGihoiOlyAhh3ITcSNNiMNhJUT2OWtiqOxAr9M456HHNpDotG8bOfOW
 zORoP00ONusaOjz7MBRxFE+WQ73P5N8AlH59/xCGW1cpc2LClih8rrpVPuimSvrwZshT
 MRUmUdVt0u8a0POtP6f+WnpAwMNIv/BbzDptR+r5CuhEYpvInuB6HzBRVjkXfi0O5hf+
 tIox3rxbJHaTks+Uvd3QZTKTkqhIcQbwxrow1bJoFTKnAQyVaUBuOgQLwMmGHq8Q2lkp
 t6cw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=xv0I1Hv7+PoWGu+7BdFrRTsYQdMLaGAHvdy+qF9y20Y=;
 b=s9ARrhF8Gf7WBwSPFKIQB3GCvJOOFbdiIh/XOjXySHPGqdKUMhjSricaqp5Q5jyiPL
 0hUXypxtKsu2EXzJ32ahxcppYsNna6syHYI8GHDLUwcDp2hAWLWl+LF2orxzGGdqbpIa
 PYeF4EvL9U7gJ8m595thIwc+qpSygMmMxKWDvO4WnLikUs8c+P7i0Pv6lHciQlYOpe3u
 WVKxf3/s0eq24FJwD3CvWGgL7IVLU6pPbAx3Z5whodo7/3omUBZaHXNQbxWIOsScRLi9
 RrERC0k1sASG5nOullgIGGCoKDKAVmeMBP+BMtOdSg2sR2QpeE9kqb8R+JqNBE8P0ajm
 KS1w==
X-Gm-Message-State: AN3rC/65iqG2OLNXe+ILfnmb8K4ttZAwMtFKahniobrl6Qh4jaW1b+ha
 yJNaEK/xLb2bj6x5nHo=
X-Received: by 10.223.170.195 with SMTP id i3mr16704700wrc.49.1493604328750;
 Sun, 30 Apr 2017 19:05:28 -0700 (PDT)
Received: from [192.168.1.3] ([185.105.173.156])
 by smtp.googlemail.com with ESMTPSA id z90sm18856058wrc.36.2017.04.30.19.05.27
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 30 Apr 2017 19:05:28 -0700 (PDT)
Subject: Re: bug#26612: 25.2; find-file.el -vs- project.el
To: Tom Tromey <tom@HIDDEN>, 26612 <at> debbugs.gnu.org
References: <87bmro42lt.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <3c1c8559-f70e-f27c-ef0c-59de3b16a282@HIDDEN>
Date: Mon, 1 May 2017 05:05:27 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101
 Thunderbird/53.0
MIME-Version: 1.0
In-Reply-To: <87bmro42lt.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 26612
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

Hi Tom,

On 22.04.2017 23:19, Tom Tromey wrote:
> 
> I use find-file.el to switch between headers and implementations for C
> and C++ code.
> 
> It seems like it would be a good idea for this to integrate with
> project.el, so that if a project is set up, by default
> ff-find-other-file will look in the project's directories for the
> relevant file.

It sounds useful, at least for C/C++ programmers.

What would that command be called, though? And what generic function(s) 
on projects will we need to add?

Ideally, this would help different kinds of projects, but if the 
C/C++-specific command is easier to do by itself, that's okay too.

For instance, we already have project-roots, and all directories that 
don't match project-ignores are considered to be inside the project.

So maybe do a search inside project-file-completion-table, for a file 
name matching the current (but with swapped extension)?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#26612; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Apr 2017 20:20:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 22 16:20:19 2017
Received: from localhost ([127.0.0.1]:34753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d21Vy-0001sl-Uf
	for submit <at> debbugs.gnu.org; Sat, 22 Apr 2017 16:20:19 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41963)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tom@HIDDEN>) id 1d21Vx-0001sW-3M
 for submit <at> debbugs.gnu.org; Sat, 22 Apr 2017 16:20:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1d21Vq-0002GU-7H
 for submit <at> debbugs.gnu.org; Sat, 22 Apr 2017 16:20:11 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59688)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tom@HIDDEN>) id 1d21Vq-0002GK-3S
 for submit <at> debbugs.gnu.org; Sat, 22 Apr 2017 16:20:10 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:32934)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1d21Vo-0001e6-FS
 for bug-gnu-emacs@HIDDEN; Sat, 22 Apr 2017 16:20:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tom@HIDDEN>) id 1d21Vj-0002C6-Dm
 for bug-gnu-emacs@HIDDEN; Sat, 22 Apr 2017 16:20:08 -0400
Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:51092
 helo=gproxy8.mail.unifiedlayer.com)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tom@HIDDEN>) id 1d21Vi-0002B5-T7
 for bug-gnu-emacs@HIDDEN; Sat, 22 Apr 2017 16:20:03 -0400
Received: from cmgw2 (unknown [10.0.90.83])
 by gproxy8.mail.unifiedlayer.com (Postfix) with ESMTP id 8B97B1ADBEC
 for <bug-gnu-emacs@HIDDEN>; Sat, 22 Apr 2017 14:19:34 -0600 (MDT)
Received: from box522.bluehost.com ([74.220.219.122]) by cmgw2 with 
 id BYKW1v00U2f2jeq01YKZb5; Sat, 22 Apr 2017 14:19:34 -0600
X-Authority-Analysis: v=2.2 cv=Ibz3YSia c=1 sm=1 tr=0
 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17
 a=AzvcPWV-tVgA:10 a=TSbVqHtbAAAA:8 a=NaBNEV6Y9MUdQ3FXzMEA:9
 a=GoA1UgpfIxOIakSR:21 a=fRCvSPmbAs4X0q4G:21 a=NJcUIoPEKLAEIzHnl83t:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:
 Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=TdyjaTgtCKmip1THWQQGuGv1hQTZbjWhQHU2iGP1sWo=; b=x24ABJMlnnqClnlJQYnlbxyC78
 MuaB4x6cbN7G1i2/9XCFpTe1cdYcjIStibU2GdQ1LQra3yM3oamw7leKHWRgntneeWaxcv30sP9BE
 RD4q6Owq2phaGBRrJhjHbxIQ0;
Received: from 75-166-63-71.hlrn.qwest.net ([75.166.63.71]:36888 helo=bapiya)
 by box522.bluehost.com with esmtpsa
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87)
 (envelope-from <tom@HIDDEN>)
 id 1d21VC-000816-NE; Sat, 22 Apr 2017 14:19:30 -0600
From: Tom Tromey <tom@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; find-file.el -vs- project.el
X-Attribution: Tom
Date: Sat, 22 Apr 2017 14:19:26 -0600
Message-ID: <87bmro42lt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - box522.bluehost.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - tromey.com
X-BWhitelist: no
X-Source-IP: 75.166.63.71
X-Exim-ID: 1d21VC-000816-NE
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Source-Sender: 75-166-63-71.hlrn.qwest.net (bapiya) [75.166.63.71]:36888
X-Source-Auth: tom+tromey.com
X-Email-Count: 1
X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


I use find-file.el to switch between headers and implementations for C
and C++ code.

It seems like it would be a good idea for this to integrate with
project.el, so that if a project is set up, by default
ff-find-other-file will look in the project's directories for the
relevant file.

Tom




In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.8)
 of 2017-03-02 built on bapiya
Repository revision: 6e788ef0e262fafc014c21f4ad52cc5dc9f1715b
Windowing system distributor 'Fedora Project', version 11.0.11901000
System Description:	Fedora release 25 (Twenty Five)

Configured using:
 'configure --prefix=/home/tromey/Emacs/install/ --with-modules'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 MODULES

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  flyspell-mode: t
  which-function-mode: t
  erc-services-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-networks-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-netsplit-mode: t
  erc-hl-nicks-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  savehist-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  auto-fill-function: do-auto-fill
  transient-mark-mode: t

Recent messages:
Opening nntp server on news.gmane.org...done
C-c t is undefined
Quit
Type C-x 1 to delete the help window, C-M-v to scroll help.
C-x C-g is undefined
Mark saved where search started [2 times]
Saving file /home/tromey/EMACS...
Delete excess backup versions of /home/tromey/EMACS? (y or n) y
Wrote /home/tromey/EMACS
Mark saved where search started [3 times]

Load-path shadows:
/home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /home/tromey/Emacs/install/share/emacs/25.2/lisp/play/bubbles
/home/tromey/.emacs.d/elpa/soap-client-3.1.1/soap-inspect hides /home/tromey/Emacs/install/share/emacs/25.2/lisp/net/soap-inspect
/home/tromey/.emacs.d/elpa/soap-client-3.1.1/soap-client hides /home/tromey/Emacs/install/share/emacs/25.2/lisp/net/soap-client

Features:
(shadow emacsbug etags dired-aux gnus-draft whitespace json map
elcomp/toplevel elcomp/ssa elcomp/eltoc elcomp/name-map elcomp/c-renames
elcomp/eh-cleanup elcomp/dom elcomp/cprop elcomp/comp-debug
elcomp/cmacros elcomp/c-inl elcomp/typeinf elcomp/subst
elcomp/jump-thread elcomp/linearize elcomp/dce elcomp/props
elcomp/coalesce elcomp/back elcomp/iter elcomp sgml-mode eww url-queue
css-mode smie texinfo tabify man dwarf-mode autoconf autoconf-mode gud
wpuzzle 100secwp autoload cus-edit lisp-mnt url-handlers url-http url-gw
url-auth org-bullets org-element org-rmail org-mhe org-irc org-info
org-gnus org-docview doc-view image-mode org-bibtex bibtex org-bbdb
org-w3m org org-macro org-footnote org-pcomplete org-list org-faces
org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval
org-compat org-macs org-loaddefs gnus-fun xref project eieio-opt
speedbar sb-image ezimage dframe find-func debug rx rust-mode scheme
gnus-html xml url-cache mm-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf make-mode rect tcl
jka-compr idutils derived smerge-mode shr-color url-util shr dom subr-x
browse-url term/xterm xterm log-view shell find-file log-edit pcvs-util
ffap url-parse url-vars misearch multi-isearch goto-addr bbdb-sc
supercite regi bbdb-message vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn
vc-cvs vc-rcs mailalias mail-hist nnir copyright find-dired dabbrev
add-log bug-reference vc-git diff-mode easy-mmode cc-mode cc-fonts
cc-guess cc-menus cc-cmds sort smiley gnus-cite flow-fill mm-archive
gnus-async gnus-bcklg mail-extr qp gnus-ml disp-table gnus-topic nndraft
nnmh nnfolder utf-7 bbdb-gnus bbdb-mua bbdb-com crm network-stream nsm
starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg
nntp gnus-cache gnus-registry registry eieio-compat eieio-base gnus-art
mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group
gnus-undo smtpmail sendmail gnus-start gnus-cloud nnimap nnmail
mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int
gnus-range message idna dired rfc822 mml mml-sec epg mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev
gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils flyspell
ispell diminish edmacro kmacro projectile grep compile ibuf-ext ibuffer
dash appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs
which-func imenu minimap autorevert filenotify cus-start cus-load status
erc-services erc-list erc-menu erc-join erc-ring erc-networks
erc-pcomplete pcomplete erc-track erc-match erc-netsplit erc-hl-nicks
color erc-button erc-fill erc-stamp wid-edit erc-goodies erc erc-backend
erc-compat format-spec auth-source eieio gnus-util mm-util help-fns
mail-prsvr password-cache thingatpt pp warnings advice vc-dir ewoc vc
vc-dispatcher cc-styles cc-align cc-engine cc-vars cc-defs bbdb
bbdb-site timezone ange-ftp comint ansi-color ring server savehist
finder-inf dwarf-mode-autoloads gdb-shell-autoloads eieio-core
lisppaste-autoloads pydoc-info-autoloads info-look cl-seq cl-macs cl
weblogger-autoloads info package epg-config seq byte-opt gv bytecomp
byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib
bbdb-loaddefs time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 2358052 535436)
 (symbols 48 135954 14)
 (miscs 40 36287 14591)
 (strings 32 501883 194129)
 (string-bytes 1 14464742)
 (vectors 16 109512)
 (vector-slots 8 2587191 124214)
 (floats 8 993 974)
 (intervals 56 238943 2684)
 (buffers 976 353))




Acknowledgement sent to Tom Tromey <tom@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#26612; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.