From: Eli Zaretskii <eliz@gnu.org>
To: Ken Olum <kdo@cosmos.phy.tufts.edu>
Cc: 17706@debbugs.gnu.org
Subject: bug#17706: 24.4.50; locked file error in rmail-insert-inbox-text
Date: Fri, 06 Jun 2014 11:03:44 +0300 [thread overview]
Message-ID: <83ha3y4g7z.fsf@gnu.org> (raw)
In-Reply-To: <q52lhtb5d8u.fsf@cosmos.phy.tufts.edu>
> From: Ken Olum <kdo@cosmos.phy.tufts.edu>
> Date: Thu, 05 Jun 2014 16:10:25 -0400
>
> If I have two invocations of emacs and in one I have modified but not
> saved my RMAIL file, and then I try to read my mail in the other,
> rmail-insert-inbox-text gives the error "RMAIL file ... is locked". I
> think it should call ask-user-about-lock instead, so I have the
> opportunity to steal the lock and so forth.
>
> This happens to me because I run emacs on the same server machine from
> home and work, so if I go home without saving my mail file, I will get
> this problem when I tried to read my mail from home. But it seems to me
> that it has only started happening recently, even though the code in
> rmail-insert-inbox-text has been there a long time. Previously I always
> got the usual query: "... locked by kdo... (pid ....): (s, q, p, ?)?".
> Perhaps it was formerly trying to modify file earlier in the process,
> before the explicit check at the start of rmail-insert-inbox-text, and
> so generating the usual query.
Can you please give a complete recipe starting with "emacs -Q" in both
sessions? I tried something I thought you were doing, but couldn't
reproduce it. I got the "locked by NNNN (pid nnn): (s, q, p, ?)"
message, as you expected.
next prev parent reply other threads:[~2014-06-06 8:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-05 20:10 bug#17706: 24.4.50; locked file error in rmail-insert-inbox-text Ken Olum
2014-06-06 8:03 ` Eli Zaretskii [this message]
2014-06-06 15:09 ` Ken Olum
2014-06-06 15:39 ` Eli Zaretskii
2014-06-06 15:50 ` Eli Zaretskii
2014-06-06 16:29 ` Ken Olum
2014-06-07 8:34 ` Eli Zaretskii
2014-06-07 12:42 ` Ken Olum
2014-06-14 12:16 ` Ken Olum
2014-06-14 13:16 ` Eli Zaretskii
2014-06-26 19:52 ` Ken Olum
2014-06-27 9:34 ` Eli Zaretskii
2014-06-27 15:54 ` Glenn Morris
2014-06-27 19:39 ` Eli Zaretskii
2014-06-27 19:54 ` Glenn Morris
2014-06-27 20:03 ` Eli Zaretskii
2016-05-23 20:23 ` Mark Lillibridge
2016-05-28 10:48 ` Eli Zaretskii
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=83ha3y4g7z.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=17706@debbugs.gnu.org \
--cc=kdo@cosmos.phy.tufts.edu \
/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.