From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: suvayu ali Newsgroups: gmane.emacs.help Subject: Re: OS X Lion - Emacs resume after computer shutdown Date: Tue, 15 Nov 2011 19:34:58 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1321382132 2311 80.91.229.12 (15 Nov 2011 18:35:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2011 18:35:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Chris Henderson Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 15 19:35:27 2011 Return-path: Envelope-to: geh-help-gnu-emacs@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 1RQNqx-0003ct-Ks for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Nov 2011 19:35:27 +0100 Original-Received: from localhost ([::1]:41359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQNqw-0004Tv-Vz for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Nov 2011 13:35:26 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:50502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQNqs-0004Tp-Bc for help-gnu-emacs@gnu.org; Tue, 15 Nov 2011 13:35:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RQNqr-0001gd-C8 for help-gnu-emacs@gnu.org; Tue, 15 Nov 2011 13:35:22 -0500 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:36756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RQNqr-0001g8-1e for help-gnu-emacs@gnu.org; Tue, 15 Nov 2011 13:35:21 -0500 Original-Received: by bke17 with SMTP id 17so7639971bke.0 for ; Tue, 15 Nov 2011 10:35:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=J9kCUBV0rc8lr++5bkA42AgAvMe6y6tJHqVRmY7XfCQ=; b=rtIXs7Egxgn5y5pBPPBmpf90yqAOgRBnZVErinkrYZ0iWu3gmJV6kXjKnh4m5YgO+K fVIlVwsFmLD03s1yviW0f51Hwe2b2TcH0g7Lue+YWoaWM0wmrVX4qxpTqtWKiArBL2Yq zFXLFBzLU83F2nQlGY3WgFUkuWcQlxTRAIvVk= Original-Received: by 10.205.130.147 with SMTP id hm19mr1558705bkc.63.1321382119107; Tue, 15 Nov 2011 10:35:19 -0800 (PST) Original-Received: by 10.205.35.1 with HTTP; Tue, 15 Nov 2011 10:34:58 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: q4cmEfewPTh0VZCB6twpEKFaepI X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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:82924 Archived-At: Hi Chris, On Tue, Nov 15, 2011 at 10:47, Chris Henderson wrote: > I'm running Emacs 22.1.1 on OS X Lion (10.7.2). > > Lion has a feature of resuming applications on computer (re)start. But if I keep > emacs open and try to shutdown the computer, it asks to exit emacs first. Is > there anyway to avoid shutting down emacs every time I have to shutdown the > computer? > > I'm using the Terminal program that comes with Lion and it stays open when I > shutdown the computer without any issues. > If you are really "shutting down", then I don't think OS X actually resumes the running applications. This is more of a session restore. OS X is probably not aware that the terminal is running an application in it, you can try running emacs graphically and see if that helps. I am not familiar with OS X so I could be completely wrong. As an alternative you can try hibernating instead of shutting down. > Thanks. > GL -- Suvayu Open source is the future. It sets us free.