From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: npostavs@users.sourceforge.net
Newsgroups: gmane.emacs.bugs
Subject: bug#5751: Strange behaviour of ff-find-other-file
Date: Thu, 25 Aug 2016 21:25:54 -0400
Message-ID: <877fb4tj6l.fsf@users.sourceforge.net>
References: <7B99D88E-806D-412D-8CCD-0EDB6CDF6588@gmx.net>
	<m2shttzdod.fsf@Andrews-MacBook-Pro.local>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1472174780 31368 195.159.176.226 (26 Aug 2016 01:26:20 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 26 Aug 2016 01:26:20 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
Cc: 5751@debbugs.gnu.org, Arne Schmitz <arne.schmitz@gmx.net>
To: Andrew Hyatt <ahyatt@gmail.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 26 03:26:16 2016
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1bd5uR-0007lo-A3
	for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Aug 2016 03:26:15 +0200
Original-Received: from localhost ([::1]:58623 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1bd5uO-0003jN-Oo
	for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2016 21:26:12 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44373)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bd5uJ-0003iK-Bv
	for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 21:26:08 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bd5uE-0000CF-Aw
	for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 21:26:07 -0400
Original-Received: from debbugs.gnu.org ([208.118.235.43]:43243)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bd5uE-0000By-7s
	for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 21:26:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
	(envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1bd5uD-0001mH-V0
	for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 21:26:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: npostavs@users.sourceforge.net
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Fri, 26 Aug 2016 01:26:01 +0000
Resent-Message-ID: <handler.5751.B5751.14721747446807@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 5751
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: notabug
Original-Received: via spool by 5751-submit@debbugs.gnu.org id=B5751.14721747446807
	(code B ref 5751); Fri, 26 Aug 2016 01:26:01 +0000
Original-Received: (at 5751) by debbugs.gnu.org; 26 Aug 2016 01:25:44 +0000
Original-Received: from localhost ([127.0.0.1]:40955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1bd5tw-0001ld-KZ
	for submit@debbugs.gnu.org; Thu, 25 Aug 2016 21:25:44 -0400
Original-Received: from mail-it0-f45.google.com ([209.85.214.45]:38539)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <npostavs@gmail.com>)
	id 1bd5tu-0001lL-N8; Thu, 25 Aug 2016 21:25:43 -0400
Original-Received: by mail-it0-f45.google.com with SMTP id n128so121439239ith.1;
	Thu, 25 Aug 2016 18:25:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; 
	h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
	:user-agent:mime-version;
	bh=H97iQOar8vpLCJdSznZalqV80YDyLKc0/l9if2u4Gr4=;
	b=B98CIcGQDWUB1lQoDsJrJR+h/QFwnqHKHYotRxUAy4VwloupM/yaVUDejqZLsNds5R
	j5sKOXNAOpiJT/zP23aPSHqipHEorV63pDwhUPWqYZ6wrzE9nzLEVy6SdemZZOJDcHC9
	LbIO9PB2Qy9N8JpiDjXQkmoab/hkSSSM+jF632Lv5WGjExuB+myjvgn+LJ0ddvxKIEQa
	v0MpBDgR075KRYZv0FA9kyWA626ICWY3F5AvwMUd26Z6Hs8yK7saFJZY7Vb/nno4urpX
	b8iEiYXaUyv4upCcafH5A1K+lT0QH0S+ymqjH/JFAhxT5da3xtG8QN2e+kjAoAQTI0F1
	ERFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:sender:from:to:cc:subject:references:date
	:in-reply-to:message-id:user-agent:mime-version;
	bh=H97iQOar8vpLCJdSznZalqV80YDyLKc0/l9if2u4Gr4=;
	b=ZxaHNlPTEnAUUXtG+fFxoYVr5YzU15WPNGHQLACaFlRi7XcbppTuhWoZkx62CfeDfg
	zf/lVAl7lhAZYzxUm+mAMI0W9ijbRkKGXo7g3eMkRagXUeuP2uTLnkhWbuChGScNcZuq
	zPnbMyUGlcgOZoH/TeECATc4Tx+qvIf7EG7wlL9QHihVvTs0LTxS7t2hAPhJ6B6BEAOq
	Or10KFAxMnfsoIjwJRKoLTp7MGHZXn585T99Lzo9Fq+Zd7Mu2KrCsK81OjlymI2Ubq9i
	0sEo5cbuzeIbqV1R561G0QdFZAjgW2aD2ohXrlHZibl33eFq/mYc3zxx0I3zk2Eai+Uj
	zaxg==
X-Gm-Message-State: AE9vXwMxTFIfp6HXY52EPYbSddyD7TpkA73rhd/PtX7GcXrLHOF2ogDwzKDHEvlyBxRfuw==
X-Received: by 10.107.19.8 with SMTP id b8mr602270ioj.9.1472174737168;
	Thu, 25 Aug 2016 18:25:37 -0700 (PDT)
Original-Received: from zony ([45.2.7.130]) by smtp.googlemail.com with ESMTPSA id
	h63sm14942524ita.12.2016.08.25.18.25.36
	(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
	Thu, 25 Aug 2016 18:25:36 -0700 (PDT)
In-Reply-To: <m2shttzdod.fsf@Andrews-MacBook-Pro.local> (Andrew Hyatt's
	message of "Thu, 25 Aug 2016 00:16:02 -0400")
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" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-gnu-emacs/>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
	<mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
	<bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:122677
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/122677>

reopen 5751
tags 5751 - notabug
severity 5751 wishlist
retitle 5751 Let ff-find-other-file search other directories (in "project"?)
quit

Andrew Hyatt <ahyatt@gmail.com> writes:

> Sorry for the delay in response here.  I think I understand what you are
> saying, but I think we probably would both agree this is more of a
> feature request than a bug.
>
> But I'm not sure it makes sense as a feature request - just because you
> have foo.c and foo.h, it is dangerous to think they are related just
> because they both exist as buffers.  I frequently have multiple copies
> of the same file open in different directories to work on different
> issues - it would be a bug if ff-find-other-file started flipping
> between two very different working directories.
>
> So, I'm closing this one as not a bug. 

I'm reopening, because I think this does make sense as a feature
request.  Generally foo.c and foo.h will be related if they are in the
same "project", so probably the user will want the file to be found in
this case.  I think Emacs recently got some kind of "project API" thing,
perhaps that can be used for this?