all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glauber Alex Dias Prado <smade4@gmail.com>
To: Richard Lewis <richardlewis@fastmail.co.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Recover file hints at startup
Date: Thu, 24 Dec 2009 22:34:47 -0200	[thread overview]
Message-ID: <86bphnj3h4.fsf@gmail.com> (raw)
In-Reply-To: <86ljgrj4dl.fsf@gmail.com> (Glauber Alex Dias Prado's message of "Thu, 24 Dec 2009 22:15:18 -0200")

Glauber Alex Dias Prado <smade4@gmail.com> writes:

> Richard Lewis <richardlewis@fastmail.co.uk> writes:
>
>> At Thu, 24 Dec 2009 20:06:49 -0200,
>> Glauber Alex Dias Prado wrote:
>>> 
>>> Lennart Borgman <lennart.borgman@gmail.com> writes:
>>> 
>>> > On Wed, Dec 23, 2009 at 11:19 PM, Glauber Alex Dias Prado
>>> > <smade4@gmail.com> wrote:
>>> >> Richard Lewis <richardlewis@fastmail.co.uk> 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
>
thinking more about, you could then re-redefine it to its default trough a
hook with delay at after-init-hook, ugly but would work for your needs i
think.
>>> >>>
>>> >>> 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




      reply	other threads:[~2009-12-25  0:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 12:50 Recover file hints at startup Richard Lewis
2009-12-23 22:19 ` Glauber Alex Dias Prado
2009-12-23 22:35   ` Lennart Borgman
2009-12-24 22:06     ` Glauber Alex Dias Prado
     [not found]     ` <mailman.151.1261692550.18930.help-gnu-emacs@gnu.org>
2009-12-24 22:16       ` Richard Lewis
2009-12-25  0:15         ` Glauber Alex Dias Prado
2009-12-25  0:34           ` Glauber Alex Dias Prado [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bphnj3h4.fsf@gmail.com \
    --to=smade4@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=richardlewis@fastmail.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.