From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Olum Newsgroups: gmane.emacs.bugs Subject: bug#17706: 24.4.50; locked file error in rmail-insert-inbox-text Date: Thu, 05 Jun 2014 16:10:25 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401999093 20447 80.91.229.3 (5 Jun 2014 20:11:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Jun 2014 20:11:33 +0000 (UTC) To: 17706@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 05 22:11:25 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wse0S-0000et-L5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 22:11:24 +0200 Original-Received: from localhost ([::1]:43565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wse0S-0002NF-1s for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Jun 2014 16:11:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wse0G-0002Mz-Kj for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 16:11:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wse06-0002KZ-Ob for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 16:11:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wse06-0002KV-L4 for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 16:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wse06-0003J4-4Z for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 16:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Olum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jun 2014 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17706 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140199905712693 (code B ref -1); Thu, 05 Jun 2014 20:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jun 2014 20:10:57 +0000 Original-Received: from localhost ([127.0.0.1]:46120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wse00-0003Ia-PG for submit@debbugs.gnu.org; Thu, 05 Jun 2014 16:10:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47604) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wsdzy-0003IF-0i for submit@debbugs.gnu.org; Thu, 05 Jun 2014 16:10:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wsdzj-0002HH-4P for submit@debbugs.gnu.org; Thu, 05 Jun 2014 16:10:48 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wsdzi-0002HB-Vf for submit@debbugs.gnu.org; Thu, 05 Jun 2014 16:10:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wsdzc-00029C-Fq for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 16:10:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsdzW-0002FP-BU for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 16:10:32 -0400 Original-Received: from cosmos.phy.tufts.edu ([130.64.83.16]:48154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsdzW-0002FK-8S for bug-gnu-emacs@gnu.org; Thu, 05 Jun 2014 16:10:26 -0400 Original-Received: from kdo by cosmos.phy.tufts.edu ([local]:local) with local id 1WsdzW-00067P-00 - Using Exim-4.80.1 (MandrivaLinux) MTA (return-path ); Thu, 05 Jun 2014 16:10:26 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90080 Archived-At: 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 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))