From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: HowTo: quit an emacs --daemon Date: Tue, 22 Nov 2011 19:43:34 -0800 Message-ID: <20172.27622.733797.115016@gargle.gargle.HOWL> Reply-To: raman@google.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322019827 14114 80.91.229.12 (23 Nov 2011 03:43:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2011 03:43:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 23 04:43:44 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RT3kM-0005Am-9e for ged-emacs-devel@m.gmane.org; Wed, 23 Nov 2011 04:43:42 +0100 Original-Received: from localhost ([::1]:57806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT3kL-0002cK-DW for ged-emacs-devel@m.gmane.org; Tue, 22 Nov 2011 22:43:41 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT3kJ-0002c4-4K for emacs-devel@gnu.org; Tue, 22 Nov 2011 22:43:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RT3kI-00070B-B8 for emacs-devel@gnu.org; Tue, 22 Nov 2011 22:43:39 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:65431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT3kI-000706-88 for emacs-devel@gnu.org; Tue, 22 Nov 2011 22:43:38 -0500 Original-Received: by iaek3 with SMTP id k3so1471575iae.0 for ; Tue, 22 Nov 2011 19:43:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:content-type:content-transfer-encoding:message-id:date :to:subject:x-mailer:reply-to:from:x-attribution; bh=R8ENa+hjeL6l9emkqAApoDra6/LMidArCihjG4Ax404=; b=rp3tTz/em5DBe0qSjd/r2vJXn5PJCwmvpSq1AGCGqo3AE5mRPmcGpXtBTQEj8/DCnd 5+bXw3T8h8eMVF1SEoV7meD5r1xhQYuTTTE2U++t8e3m8Ib9RXp1XcR+8BndeHoe1Rok o+gAmEszjMy9e/ECLTs/m3D7IjbzG1U8NHHcU= Original-Received: by 10.50.169.33 with SMTP id ab1mr26100182igc.0.1322019816886; Tue, 22 Nov 2011 19:43:36 -0800 (PST) Original-Received: from labrador.google.com (c-71-202-188-217.hsd1.ca.comcast.net. [71.202.188.217]) by mx.google.com with ESMTPS id dd36sm67805859ibb.7.2011.11.22.19.43.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Nov 2011 19:43:36 -0800 (PST) X-Mailer: VM 8.1.1 under 24.0.91.1 (i686-pc-linux-gnu) x-attribution: tvr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146167 Archived-At: Now that Ihave started using emacs --daemon, I kill emacs even more rarely than I used to --- but sometimes Ido have to e.g., after rebuilding emacs from git/bzr. In those cases, quitting out of all emacsclient sessions still keeps the daemon around -- and killing that process feels crude -- it then leaves files like the emacs.desktop file locked. Is there a clean way of asking a running emacs --daemon process to quit? -- Best Regards, --raman