From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David L" Newsgroups: gmane.emacs.help Subject: Re: buffer for unopened file? Date: Fri, 19 Oct 2007 10:53:18 -0700 Message-ID: References: <87przbks0e.fsf@moley.moleskin.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1754523075==" X-Trace: ger.gmane.org 1192816428 11835 80.91.229.12 (19 Oct 2007 17:53:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2007 17:53:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 19 19:53:48 2007 Return-path: Envelope-to: geh-help-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 1Iiw2c-0004Uf-Uu for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Oct 2007 19:53:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iiw2V-0005Au-HF for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Oct 2007 13:53:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iiw2E-0005AF-Sc for help-gnu-emacs@gnu.org; Fri, 19 Oct 2007 13:53:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iiw2D-00058h-Cv for help-gnu-emacs@gnu.org; Fri, 19 Oct 2007 13:53:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iiw2D-00058W-3b for help-gnu-emacs@gnu.org; Fri, 19 Oct 2007 13:53:21 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iiw2C-0004tS-IT for help-gnu-emacs@gnu.org; Fri, 19 Oct 2007 13:53:21 -0400 Original-Received: by nf-out-0910.google.com with SMTP id f5so526432nfh for ; Fri, 19 Oct 2007 10:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=BdPKxV6oZp72r9EQlcZk/T7kVis60vMME70nkl+dDps=; b=tppZaGlNOixjFmLsxJMc8STcYofVYbUl1cerN4lqih9ySzfV+XGu0PM4c1/UVEqel3rkqYyTQHZBS07ZYC5LB0RyUOA7W4uu7UwC44/v0SJ50A5BbiPG+iFKlkcDWlJ7CVajIuj0Hkmx85gt+YWPJHSdvgvaEnkRIn5xEgquslU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dSbChR5mLBrXnHs9bTRVqxeVXQBHSttP90/yk8w9PvlmiV3dOCwomAHN3uR3YqSB/qY2pkTNlvFodjcX451wEEHOOt+Am9N3rrG/btvQVhR6qyxtJ+rWQBClo1mWBzG908KlLLb2X+vR93Wu9B99QUfXAtpZdPYlamR48VSTGkY= Original-Received: by 10.86.89.4 with SMTP id m4mr1537430fgb.1192816398092; Fri, 19 Oct 2007 10:53:18 -0700 (PDT) Original-Received: by 10.86.93.20 with HTTP; Fri, 19 Oct 2007 10:53:18 -0700 (PDT) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48588 Archived-At: --===============1754523075== Content-Type: multipart/alternative; boundary="----=_Part_11109_1257713.1192816398085" ------=_Part_11109_1257713.1192816398085 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/19/07, Drew Adams wrote: > Making files available in the buffer list means visiting them, even if > they > are not displayed. So if by "open" he means visit, then what he wants is > impossible That's what I figured, but I hoped there might be a layer of abstraction between the list of buffers and the actual buffers that would allow the buffer to be lazy opened when the buffer was actually visited. So the buffer list would be a combination of real buffers and buffers that could exist by visiting a file if the user tried to view that buffer. The use case is that I have a makefile that generates dependencies for an application and those dependencies are scattered around a directory tree with other files that aren't dependencies. When I'm working on the source code, I sometimes want to open a file that I know starts with xyz, but I don't know its directory or what it ends with. It would be nice to use buffer name completion to find the file. What I do today is a tags search for something I know is in that file, but sometimes I can't think of exactly what's in it. If I could just type C-x b xyz and see a list of all of the (pseudo)buffers that begin with xyz or search my ECB alphabetized buffer list for the file, that would be great. > > So I think he's gotten some help for his problem from both of us, > depending > on what he really wants. ;-) Yes, thank you all for your suggestions. I'll try them out. ------=_Part_11109_1257713.1192816398085 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On 10/19/07, Drew Adams <drew.adams@oracle.com> wrote:
<snip>
Making files available in the buffer list means visiting them, even if they
are not displayed. So if by "open" he means visit, then what he wants is
impossible
That's what I figured, but I hoped there might be a layer
of abstraction between the list of buffers and the actual
buffers that would allow the buffer to be lazy opened
when the buffer was actually visited.  So the buffer
list would be a combination of real buffers and
buffers that could exist by visiting a file if the user
tried to view that buffer.

The use case is that I have a makefile that
generates dependencies for an application
and those dependencies are scattered around
a directory tree with other files that aren't
dependencies.  When I'm working on the source
code, I sometimes want to open a file that I know
starts with xyz, but I don't know its directory or
what it ends with.  It would be nice to use buffer
name completion to find the file.  What I do today
is a tags search for something I know is in that
file, but sometimes I can't think of exactly what's
in it.  If I could just type C-x b xyz<tab> and see
a list of all of the (pseudo)buffers that begin
with xyz or search my ECB alphabetized
buffer list for the file, that would be great.
 

So I think he's gotten some help for his problem from both of us, depending
on what he really wants. ;-)
Yes, thank you all for your suggestions.  I'll try them out.
 

------=_Part_11109_1257713.1192816398085-- --===============1754523075== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1754523075==--