From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.help Subject: Re: problem starting emacs --deamon Date: Thu, 11 Oct 2012 10:39:14 +0200 Message-ID: <507685B2.2090202@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349944777 27893 80.91.229.3 (11 Oct 2012 08:39:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Oct 2012 08:39:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 11 10:39:44 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 1TMEIv-0007ms-1A for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Oct 2012 10:39:41 +0200 Original-Received: from localhost ([::1]:49838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMEIo-0003HH-Mn for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Oct 2012 04:39:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMEIc-0003HB-86 for help-gnu-emacs@gnu.org; Thu, 11 Oct 2012 04:39:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMEIa-0004nl-Ep for help-gnu-emacs@gnu.org; Thu, 11 Oct 2012 04:39:22 -0400 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:57254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMEIa-0004na-83 for help-gnu-emacs@gnu.org; Thu, 11 Oct 2012 04:39:20 -0400 Original-Received: by mail-bk0-f41.google.com with SMTP id jm1so745905bkc.0 for ; Thu, 11 Oct 2012 01:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:newsgroups:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=xdvGIWZi6tUDihQlhZiehMf+OX4bfENQz3kKZyJyw2k=; b=S0ItUbtNXcSu3CyVapTjIjSXwCs8VC9NzXbDaW7PXB7uLYK7UBa28tC9pedIjNEr8X qHkvmFVCChRVO8Zw3OWBsAgVjekbIvVzUf87mYHIz2eiYO/RvIZfyFR8VdnUS8D4/DPb axC8P40/I3xfTH4q/aMbaCSvkRpmoULx4rrLGstnMm7aiBkXVihHxVOB8iEVi5NIyLz1 qIpqGYMGMT8ICzjdg0kGCwau1MpAuO3kIdnRCgChh+trqDMFUk4Wnk8Mg3XB+cOjoOgk kHbytPOmnIBvuLtwp1Xaab+jCEgv6uGu95T/FSDH3b3pm0oWTamG5kaLjGyMKH3m1c2z o9Aw== Original-Received: by 10.204.130.200 with SMTP id u8mr50292bks.38.1349944759354; Thu, 11 Oct 2012 01:39:19 -0700 (PDT) Original-Received: from ?IPv6:2a01:e35:8baa:b070:48e7:4ca8:4156:e444? ([2a01:e35:8baa:b070:48e7:4ca8:4156:e444]) by mx.google.com with ESMTPS id fm5sm2807991bkc.5.2012.10.11.01.39.15 (version=SSLv3 cipher=OTHER); Thu, 11 Oct 2012 01:39:17 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121004 Thunderbird/16.0 Original-Newsgroups: gmane.emacs.help In-Reply-To: X-Enigmail-Version: 1.5a1pre X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:87172 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/10/12 18:24, Rainer M Krug wrote: > Hi > > I would like to start emacs --daemon when I log in. In theory, it should work when I execute > > emacs --daemon > > but it stops with the following message: > > > HakSim.org has auto save data; consider M-x recover-this-file > > > when I press enter emacs finishes starting as daemon. But when I autoexecute this upon login, > I obviously can't press RETURN as I don't see this. > > Now I understand the message, although I can't recover the file, but my question is: > > How can I make sure that emacs --daemon starts even if I have aotorecover files? Thanks, I found the following on stackexchange (http://stackoverflow.com/questions/4933134/emacs-daemon-startup-freezes-if-file-has-auto-save-data) but I have no idea what to do with the code? I tried to put it in my init.el, but it seems that it is only processed afterwards emacs waits for input? Rainer > > Rainer > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB2hbIACgkQoYgNqgF2egr9UgCfQ8mc5tOVTNIrtrNd7vsh+LTM RvQAnA+lOlkXpU+mxsG8+a+BHq7iC1jH =I989 -----END PGP SIGNATURE-----