bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17706: 24.4.50; locked file error in rmail-insert-inbox-text


From: Ken Olum
Subject: bug#17706: 24.4.50; locked file error in rmail-insert-inbox-text
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.

                                        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 address@hidden
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))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]