all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: lock mechanism like in desktop.el
Date: Sun, 30 Aug 2009 15:58:53 -0400	[thread overview]
Message-ID: <jwv8wh18496.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ab1h7k0z.fsf_-_@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sun, 30 Aug 2009 11:01:16 +0200")

> desktop.el has a lock mechanism that is independent of external
> programs.  I'd prefer such a solution.  Maybe the lock mechanism in
> desktop.el could be made more generic (and moved from desktop.el to
> simple.el/files.el?)  so that other packages could use it without
> duplicating the code (and loading desktop.el).

We already have such functionality (lock-buffer, unlock-buffer,
file-locked-p), or am I missing something?


        Stefan




  reply	other threads:[~2009-08-30 19:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <op.uywjaz0jq40fbn@balu.cs.uni-paderborn.de>
     [not found] ` <87r5v7lpzj.fsf@jidanni.org>
     [not found]   ` <87tyzw12p0.fsf@uwo.ca>
     [not found]     ` <m3d46e43op.fsf@passepartout.tim-landscheidt.de>
     [not found]       ` <871vmthodp.fsf@newton.gmurray.org.uk>
2009-08-30  9:01         ` lock mechanism like in desktop.el (was: accidentally started gnus) Reiner Steib
2009-08-30 19:58           ` Stefan Monnier [this message]
2009-08-30 20:13             ` lock mechanism like in desktop.el Juanma Barranquero
2009-08-31  0:38               ` Stefan Monnier
2009-08-31  0:46                 ` Juanma Barranquero

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=jwv8wh18496.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=ding@gnus.org \
    --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.