From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Meurer Newsgroups: gmane.emacs.help Subject: Re: Making emacsclient more friendly toward multiple terminal tabs Date: Tue, 3 Apr 2012 10:14:41 -0600 Message-ID: References: <20120403093149.GA25147@joerg.workgroup> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333469726 10826 80.91.229.3 (3 Apr 2012 16:15:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2012 16:15:26 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 03 18:15:23 2012 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 1SF6O9-0002Yi-T6 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Apr 2012 18:15:22 +0200 Original-Received: from localhost ([::1]:59368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF6O8-0002Ay-NS for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Apr 2012 12:15:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF6Ny-0002AO-Vw for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 12:15:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SF6Ns-0005hW-Qx for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 12:15:10 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:46026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF6Ns-0005fT-JU for help-gnu-emacs@gnu.org; Tue, 03 Apr 2012 12:15:04 -0400 Original-Received: by obbta14 with SMTP id ta14so6830075obb.0 for ; Tue, 03 Apr 2012 09:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=J3v96MJYi7uopXH0Xv2L3F+BAkCNYrZnDqwt7d2Cp7I=; b=Xj+QqSbzcFHQtGf1jjWOULmv9Nq4d47pvVhKNXW0ScH7017Cgz491IGF7Dh9k6UEed nlwbSeKcoeBGSP/9j1HScNfOm0IvN8W/94UWf+e382RmOHh68JzaVJKBIKJyyqL49DVh PHN3K+ID7DpggwskBXSgaVDw6uGxUUd/aLENsPcYiO7evF+OjXO8Jo6EBGWAc+eXGc+w 9K2AUeMUPA3agc99gUxHHG8Y5YvQtmEjWMhECYvhTH5ffmcO4o5hKb6WdAVchLJthSOE bfO9HBw18DBYBIn5euOPUBbmzrCTL95sQetFIRj9YwbTYLSxSz9Y2mvO4E3A0J7XlSlE +cTA== Original-Received: by 10.182.50.100 with SMTP id b4mr19779711obo.45.1333469701690; Tue, 03 Apr 2012 09:15:01 -0700 (PDT) Original-Received: by 10.182.109.41 with HTTP; Tue, 3 Apr 2012 09:14:41 -0700 (PDT) In-Reply-To: <20120403093149.GA25147@joerg.workgroup> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 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:84292 Archived-At: On Tue, Apr 3, 2012 at 3:31 AM, Gregor Zattler wrote: > Hi Aaron, > * Aaron Meurer [02. Apr. 2012]: >> - Very often, when I close an emacsclient (with C-x C-s C-x C-c), it >> bugs me about saving buffers in other emacsclients. > > The way to close editing documents opend with one emacsclient is > server-edit per default bound to 'C-x #'. OK, I guessed this might solve at least some of the problems. How do I rebind C-x C-c to server-edit when I'm in emacsclient mode, but still use save-buffers-kill-terminal in regular emacs (which I do occasionally use)? Aaron Meurer > > >> - If I open a file, make a change, then close it without saving, and >> reopen it, the change is still there. =A0I understand why this happens, >> because the buffer remains open in the daemon, but this is not really >> what I want. > > Also, if you use server-edit to close a buffer, you are then > asked if you want to save the buffer. =A0If not it's unchanged when > you open the file next time with emacsclient. =A0This brings up > your other problemn about stopping Emacs with open prompts. > > > Ciao, Gregor > -- > =A0-... --- .-. . -.. ..--.. ...-.- >