all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
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	[thread overview]
Message-ID: <barmar-43AFC1.14082419012016@88-209-239-213.giganet.hu> (raw)
In-Reply-To: 12cf0a54-6239-4953-b56d-8b0fe2fbfcd9@googlegroups.com

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	other threads:[~2016-01-19 19:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=barmar-43AFC1.14082419012016@88-209-239-213.giganet.hu \
    --to=barmar@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.