From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glauber Alex Dias Prado Newsgroups: gmane.emacs.help Subject: Re: Recover file hints at startup Date: Thu, 24 Dec 2009 22:15:18 -0200 Message-ID: <86ljgrj4dl.fsf@gmail.com> References: <873a31vop8.wl%richard.lewis@gold.ac.uk> <867hsdjpu8.fsf@gmail.com> <87ljgst3u9.wl%richard.lewis@gold.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261700162 5707 80.91.229.12 (25 Dec 2009 00:16:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Dec 2009 00:16:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Richard Lewis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 25 01:15:55 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NNxqU-0001xR-W7 for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Dec 2009 01:15:55 +0100 Original-Received: from localhost ([127.0.0.1]:51094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNxqU-0001eI-Tk for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Dec 2009 19:15:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NNxq6-0001dV-U7 for help-gnu-emacs@gnu.org; Thu, 24 Dec 2009 19:15:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNxq2-0001cU-5d for help-gnu-emacs@gnu.org; Thu, 24 Dec 2009 19:15:30 -0500 Original-Received: from [199.232.76.173] (port=48310 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNxq2-0001cQ-1H for help-gnu-emacs@gnu.org; Thu, 24 Dec 2009 19:15:26 -0500 Original-Received: from mail-qy0-f196.google.com ([209.85.221.196]:57012) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NNxq1-0004oW-Rr for help-gnu-emacs@gnu.org; Thu, 24 Dec 2009 19:15:25 -0500 Original-Received: by qyk34 with SMTP id 34so4204418qyk.14 for ; Thu, 24 Dec 2009 16:15:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :face:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=heiTsajDp/uBX5JmiEnrvWq/cgICtCaQ/OCuKjdELH8=; b=ukSA8QnylRRFhRpRsiJi0AtiDDH6A/WEsIroGkoTo28qn52YjSYk9mkfmVhVe4bwj/ lSpKOQBfEgKwsjCL0BRGvv6zV7/CuAObv3l8QQV9aDRTcM74KFcBnINT1VPxDEqKrwgR PYFaHq4+sq1KeJXc5zR6IwX9fDKwYI42XDjHg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=d1ALsPS1J6FrtSQFOKFRIYORtTrkF0U1VREIebMubEFpVl0pU8vG5Z+3KtFjgw6zgw JAcu1Ls1reul9wqxP3GdyoX0B5VO0fXoo2gOBHtTxDdH2llT72+PHgaN3mpIVCFTYK1f Z8m7jqSb2YINDauTwOIYBvpe4mlMdIyGRsiRQ= Original-Received: by 10.224.63.133 with SMTP id b5mr6093023qai.296.1261700124630; Thu, 24 Dec 2009 16:15:24 -0800 (PST) Original-Received: from localhost ([187.2.104.232]) by mx.google.com with ESMTPS id 20sm7663263qyk.9.2009.12.24.16.15.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 24 Dec 2009 16:15:23 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAACVBMVEX9/Py9sZ6FcE5gCec3 AAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAwAAAAMADO7oxXAAABGklEQVQoz02RPW6E MBCFx6uQwlWKJQUHSJFTUKUmUowiVylWSOtT7BEoshRUKQCt3ykz4x+wKfCnGea9eRDxUX8UjzIX qpYMDlsPE6EC0ANjBL5NwBqg7j36Fb4LAIPZAGHGG8PG4AXeeQBmfsYdvA2gBbBaLGcWtQEc/FPL tU8hx9IC1AhZTEFK8U3gFjd4BQYgtKmf2Nmm3ZQIB6+aF3VsPUAzipEIA3gMNsiLDbWk5jSgeVD3 bDMsvOEVse1FDP2ecijUoyNMKcoTJ+AyEH+r55yrmLoXQKaE+lFAU1b0tYSyTfsCqq8S0u87h9EJ hpB6Gq0vopOMKtlyF3XdUSH9TZW90d5XuzaLuOl+GNDYDtMqJpXOBzv7B2mugjLxx2cLAAAAQnRF WHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQRUcgdjYyKSwgcXVh bGl0eSA9IDEwMAowBf9PAAAAJXRFWHRjcmVhdGUtZGF0ZQAyMDA5LTA1LTI2VDA3OjM2OjUwLTAz OjAw8P7KDgAAABF0RVh0anBlZzpjb2xvcnNwYWNlADIsdVWfAAAAIHRFWHRqcGVnOnNhbXBsaW5n LWZhY3RvcgAyeDIsMXgxLDF4MUn6prQAAAAldEVYdG1vZGlmeS1kYXRlADIwMDktMDUtMjZUMDc6 MzY6NTAtMDM6MDCvT7w6AAAAAElFTkSuQmCC In-Reply-To: <87ljgst3u9.wl%richard.lewis@gold.ac.uk> (Richard Lewis's message of "Thu, 24 Dec 2009 22:16:46 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70849 Archived-At: Richard Lewis writes: > At Thu, 24 Dec 2009 20:06:49 -0200, > Glauber Alex Dias Prado wrote: >> >> Lennart Borgman writes: >> >> > On Wed, Dec 23, 2009 at 11:19 PM, Glauber Alex Dias Prado >> > wrote: >> >> Richard Lewis writes: >> >> >> >>> Hi there, >> >>> >> >>> I run Emacs 23 in daemon mode and occasionally it crashes. Sometimes >> >>> this means that autosave files (#...#) are left lying around for my >> >>> org-mode files. This causes a problem when restarting the Emacs >> >>> daemon: when starting org-mode it prompts that such-and-such.org has >> >>> unsaved changes, consider using M-x recover-this-file and then waits >> >>> for me to hit return. okay, you can redefine de function after-find-file on your .emacs and comment out the line containing (file-newer-than-file-p ...) on its definition at files.el >> >>> >> >>> This is fine, except when my Emacs daemon is starting without a >> >>> controlling terminal (e.g. when it starts as part of my login >> >>> process). It ends up waiting indefinitely for keyboard input. >> >>> >> >>> Any ideas how I can fix this? >> >> the fancy one is dont do this :). >> > >> > >> > A less glamorous answer is perhaps "send a bug report". With a fix or >> > without a fix. >> i said that cause i like to see emacs starting up and dont think it is a >> good idea to start it automatically at background, so dont do this, >> sorry for missing the explanation. >> > Yes, I guessed that was what you were thinking. Doesn't mean that I > shouldn't want to be able to do it, though. surely