all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Angelo Graziosi" <Angelo.Graziosi@roma1.infn.it>
Cc: emacs-devel@gnu.org
Subject: Re: On desktop loking
Date: Sat, 28 Jul 2007 00:18:10 +0200	[thread overview]
Message-ID: <f7ccd24b0707271518v70162971q448e2c8ddd4b2145@mail.gmail.com> (raw)
In-Reply-To: <Pine.OSF.4.58.0707272214060.3059@ax0rm1.roma1.infn.it>

On 7/27/07, Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> wrote:

> This does not look as a solution ("Do not eat, you beacome fat!").

You could try looking at desktop.el. Perhaps you'd find
`desktop-load-locked-desktop', which, if set to t, will
unconditionally load the desktop file.

> I confirm it is very, very annoying!

I find much more annoying to accidentally destroy a desktop used by
other instance of Emacs just because I didn't realize I already had an
Emacs running...

> Suppose that the system crashes, the '.emacs.desktop.lock' is not deleted
> and you have to restart the PC and emacs: it says
>
>    'Warning: desktop file appears to be in use by PID...'
>
> but it is the firt tipe you starts emacs! there are not processes using
> the desktop file!

No, but there's a file that says to Emacs that an Emacs instance
identified by PID was using the desktop. It is normal procedure for
your system to crash, or are you complaining because of the
possibility of it happening and Emacs asking you about it?

> Is this a clean logic?

Yes, I think so. And Davis Herring, who designed the feature, surely
agrees with me...

> It is my opinion that there is something of 'illogic' in this.

When Emacs finds the desktop locked, does it not ask you about reusing
it nonetheless?

Could you please describe as accurately as possible the use case
that's causing you trouble?

             Juanma

  reply	other threads:[~2007-07-27 22:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 20:24 On desktop loking Angelo Graziosi
2007-07-27 22:18 ` Juanma Barranquero [this message]
2007-08-01 17:26 ` Davis Herring
  -- strict thread matches above, loose matches on Subject: below --
2007-07-27 16:07 Angelo Graziosi
2007-07-27 16:26 ` Leo

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=f7ccd24b0707271518v70162971q448e2c8ddd4b2145@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=Angelo.Graziosi@roma1.infn.it \
    --cc=emacs-devel@gnu.org \
    /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.