From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Is this a bug? (buffer getting killed when I close emacsclient with C-x # and reopen) Date: Tue, 19 Jan 2016 14:08:24 -0500 Organization: A noiseless patient Spider Message-ID: References: <12cf0a54-6239-4953-b56d-8b0fe2fbfcd9@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1453230621 27861 80.91.229.3 (19 Jan 2016 19:10:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2016 19:10:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 19 20:10:20 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aLbfY-0004J4-4H for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jan 2016 20:10:20 +0100 Original-Received: from localhost ([::1]:38897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLbfX-0001Fs-Cp for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jan 2016 14:10:19 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder.erje.net!2.eu.feeder.erje.net!feeder2.usenet.farm!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Injection-Info: barmar.motzarella.org; posting-host="78fb7125a45724f15e21604c94a7d968"; logging-data="7000"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tUqNxla/qjg6JFRMDjJhj" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:ucNahGBu4tOpVpjO60xtYatNs3w= Original-Xref: usenet.stanford.edu gnu.emacs.help:216501 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108791 Archived-At: In article <12cf0a54-6239-4953-b56d-8b0fe2fbfcd9@googlegroups.com>, Sampath Weerasinghe wrote: > I have emacs started as a daemon and use emacsclient to connect to it. I > primary use emacsclient inside the OS X terminal with the -nw option. > > The specfic command i use is: > /Applications/Emacs.app/Contents/MacOS/bin/emacsclient /tmp/foo -nw -c -s > /tmp/emacs501/work_guigo > > So I have two files in /tmp/, named foo and baa. In my terminal.app, I open > foo with /Applications/Emacs.app/Contents/MacOS/bin/emacsclient /tmp/foo -nw > -c -s /tmp/emacs501/work_guigo > > Emacs tells me, "When done with a buffer, type C-x #", so I do that. I'm done > with it for now, but I'm not done with it for today, so I want the foo file > to remain in my "C-x b" buffers list. > > So I'm back in the terminal, I open baa with > /Applications/Emacs.app/Contents/MacOS/bin/emacsclient /tmp/baa -nw -c -s > /tmp/emacs501/work_guigo > > Now when I do a C-x b, I don't see foo in the list of open buffers. > > Is this a bug? See the variables server-kill-new-buffers and server-temp-file-regexp. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***