help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this a bug? (buffer getting killed when I close emacsclient with


From: Barry Margolin
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
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <12cf0a54-6239-4953-b56d-8b0fe2fbfcd9@googlegroups.com>,
 Sampath Weerasinghe <oystersauce8@gmail.com> 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 ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]