unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17706: 24.4.50; locked file error in rmail-insert-inbox-text
@ 2014-06-05 20:10 Ken Olum
  2014-06-06  8:03 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Ken Olum @ 2014-06-05 20:10 UTC (permalink / raw)
  To: 17706

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.

                                        Ken

In GNU Emacs 24.4.50.2 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2014-05-31 on cosmos
Repository revision: 115761 kdo@cosmos.phy.tufts.edu-20140521165819-mg0m9yc98nkdigwg
Windowing system distributor `The Cygwin/X Project', version 11.0.10903000
System Description:	Ubuntu 12.04.4 LTS

Configured features:
XPM JPEG TIFF GIF PNG SOUND NOTIFY LIBXML2 FREETYPE XFT ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
M-x r e p o r t - b u g <return>

Recent messages:
Loading /home/kdo/emacs-init.el (source)...done
Loading /home/kdo/emacs-init-mail.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug sendmail rmailmm message dired
format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils shell pcomplete diff-mode
easy-mmode thingatpt inf-lisp easymenu comint ansi-color ring warnings
cl-macs cl gv cl-loaddefs cl-lib time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
inotify dynamic-setting font-render-setting x-toolkit x multi-tty emacs)

Memory information:
((conses 16 91223 6890)
 (symbols 48 19727 0)
 (miscs 40 86 95)
 (strings 32 16889 5090)
 (string-bytes 1 467813)
 (vectors 16 11696)
 (vector-slots 8 396271 4956)
 (floats 8 76 53)
 (intervals 56 169 0)
 (buffers 960 11)
 (heap 1024 37890 602))





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-05-28 10:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).