* Is this a bug? (buffer getting killed when I close emacsclient with C-x # and reopen)
@ 2016-01-19 18:59 Sampath Weerasinghe
2016-01-19 19:08 ` Barry Margolin
0 siblings, 1 reply; 2+ messages in thread
From: Sampath Weerasinghe @ 2016-01-19 18:59 UTC (permalink / raw)
To: help-gnu-emacs
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Is this a bug? (buffer getting killed when I close emacsclient with C-x # and reopen)
2016-01-19 18:59 Is this a bug? (buffer getting killed when I close emacsclient with C-x # and reopen) Sampath Weerasinghe
@ 2016-01-19 19:08 ` Barry Margolin
0 siblings, 0 replies; 2+ messages in thread
From: Barry Margolin @ 2016-01-19 19:08 UTC (permalink / raw)
To: help-gnu-emacs
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 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-19 19:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-19 18:59 Is this a bug? (buffer getting killed when I close emacsclient with C-x # and reopen) Sampath Weerasinghe
2016-01-19 19:08 ` Barry Margolin
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.