GNU bug report logs - #11227
lock files not deleted

Previous Next

Package: emacs;

Reported by: Kurt Harriger <kurt <at> fullcontact.com>

Date: Wed, 11 Apr 2012 19:59:02 UTC

Severity: wishlist

Merged with 7246

Fixed in version 24.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11227 in the body.
You can then email your comments to 11227 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11227; Package emacs. (Wed, 11 Apr 2012 19:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kurt Harriger <kurt <at> fullcontact.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 11 Apr 2012 19:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kurt Harriger <kurt <at> fullcontact.com>
To: bug-gnu-emacs <at> gnu.org, kurtharriger <at> gmail.com
Subject: lock files not deleted
Date: Wed, 11 Apr 2012 13:36:42 -0600
[Message part 1 (text/plain, inline)]
I frequently find that lock files such as .#core.clj are not deleted. 
For some reason files named .#name cause other commandline tools to fail
on OS X such as grep -R pattern . and build tools like leiningen.  

I have not experienced any emacs crashes reciently so I don't believe
these files were left behind by unclean termination, but have yet to
consistently reproduce the issue.  

I do not like to save files manually, so I have autosave configured to
automatically save dirty buffers every second, so these lock files 
should not need to exist for more than a second but for what ever reason
I keep finding them.

My autosave config (and full emacs config) is here:
https://bitbucket.org/kurtharriger/emacs.d/src/20de37046196/init.d/60-auto-save.el

Would it is possible to save lock files elsewhere? or change the
pattern filename.emacslock or something that would not result in other
commandline tools failing but I couldnt find any settings for this?

--


In GNU Emacs 24.0.95.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2012-04-02 on bob.porkrind.org
Windowing system distributor `Apple', version 10.3.1138
Configured using:
 `configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin'
 '--with-ns' 'build_alias=i686-apple-darwin'
 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: en_US.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Clojure

Minor modes in effect:
  recentf-mode: t
  midje-mode: t
  hi-lock-mode: t
  slime-mode: t
  paredit-mode: t
  hl-line-mode: t
  idle-highlight-mode: t
  tabbar-mwheel-mode: t
  tabbar-mode: t
  savehist-mode: t
  delete-selection-mode: t
  global-auto-revert-mode: t
  global-auto-complete-mode: t
  auto-complete-mode: t
  ido-ubiquitous-mode: t
  show-paren-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  hs-minor-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <down-mouse-1> <drag-mouse-1> <help-echo> 
<help-echo> <help-echo> <help-echo> <down-mouse-1> 
<mouse-movement> <mouse-movement> <help-echo> <drag-mouse-1> 
<help-echo> <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> <up> <return> ( c o m m e n t SPC C-) <down> 
C-e <left> <return> <return> <up> <tab> ( g e t - h 
<backspace> e n h <tab> SPC <wheel-up> <double-wheel-up> 
<triple-wheel-up> <triple-wheel-up> <wheel-up> <double-wheel-up> 
<triple-wheel-up> <triple-wheel-up> <wheel-down> <double-wheel-down> 
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down> 
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down> 
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> 
<mouse-1> <down-mouse-1> <mouse-1> <return> ( b i n 
d i n g SPC [ * h o s t * SPC <help-echo> <down-mouse-1> 
<mouse-1> C-c <C-up> C-c <C-up> C-c <C-up> C-c <C-up> 
C-c <C-up> <down> <down> <down> <down> <down> <wheel-up> 
<double-wheel-up> <triple-wheel-up> <wheel-up> <double-wheel-up> 
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up> 
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up> 
<wheel-down> <double-wheel-down> <help-echo> <down-mouse-1> 
<mouse-movement> <mouse-movement> <drag-mouse-1> <right> 
C-a <right> <right> <right> <right> <right> <right> 
<right> <right> <right> <right> <down-mouse-1> <mouse-1> 
<double-down-mouse-1> <double-mouse-1> <down-mouse-1> 
<mouse-movement> <mouse-movement> <drag-mouse-1> s-c 
<down-mouse-1> <mouse-1> <left> <left> s-v <right> 
<return> <return> <down> C-a C-k <up> <up> s-v C-a 
<tab> C-e <left> t e e <backspace> s t 0 <tab> <backspace> 
- f i e <tab> s-s <down> <left> <backspace> <backspace> 
<backspace> <backspace> <backspace> <down> C-a C-d 
<up> <up> <up> <right> <right> <right> C-d C-d C-d 
l e t [ C-) C-) C-d <down> <up> C-e <left> C-) C-) 
<down> <down> <down> <down> C-d C-d C-d C-d C-d C-d 
C-d <up> <up> <right> <up> <up> <right> <right> <right> 
<down> C-k <up> <up> C-e <return> s-v <down> C-a <right> 
<right> C-k <up> <up> C-e <return> s-v <down> <up> 
<left> <C-S-right> <up> C-d C-d C-d C-d C-k C-k s-s 
C-e C-x C-e <down> <up> <up> <up> <up> <return> s-s 
C-c C-k <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> 
C-s M-s <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> 
M-x r e p o r t - b u <backspace> <backspace> <ret
urn>

Recent messages:
(No changes need to be saved) [2 times]
Saving file /Users/kurtharriger/code/fc/cherry-pitter/src/cherry_pitter/enrichment/core.clj...
Wrote /Users/kurtharriger/code/fc/cherry-pitter/src/cherry_pitter/enrichment/core.clj
Compiling /Users/kurtharriger/code/fc/cherry-pitter/src/cherry_pitter/enrichment/core.clj...
Compilation finished. (No warnings)  [0.04 secs]
Highlighting notes...
Compilation finished. (No warnings)  [0.04 secs]
Preparing compilation log...
Compilation finished. (No warnings)  [0.04 secs]
(No changes need to be saved)

Load-path shadows:
/Users/kurtharriger/.emacs.d/elpa/json-1.2/json hides /Applications/Emacs.app/Contents/Resources/lisp/json

Features:
(shadow sort flyspell ispell emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader debug arc-mode archive-mode cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
mule-util recentf tree-widget multi-isearch conf-mode dired mail-extr
midje-mode midje-mode-praise clojure-test-mode which-func imenu compile
newcomment hi-lock help-mode view ffap network-stream auth-source eieio
assoc gnus-util password-cache starttls tls slime-eldoc-d8b3cf74
slime-repl-79b38c83 slime-repl slime-frame-colors-a24dd450
slime-frame-colors byte-opt warnings slime-dbd975fa slime bytecomp
byte-compile cconv macroexp apropos hideshow pp vc-git clojure-mode
eldoc elisp-slime-nav etags paredit hl-line saveplace
idle-highlight-mode thingatpt color-theme wid-edit sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils reporter tabbar alpha
tempbuf moz-reload-mode moz derived comint regexp-opt ansi-color ring
server savehist delsel autorevert auto-complete easy-mmode popup
org-install alpha-autoloads auctex-autoloads tex-site info easymenu
clojure-test-mode-autoloads clojure-mode-autoloads
color-theme-ir-black-autoloads color-theme-autoloads js2-mode-autoloads
json-autoloads markdown-mode-autoloads marmalade-autoloads
furl-autoloads midje-mode-autoloads oddmuse-autoloads
rainbow-delimiters-autoloads scpaste-autoloads htmlize-autoloads
slime-autoloads starter-kit-bindings-autoloads windmove
starter-kit-eshell-autoloads starter-kit-lisp-autoloads
elisp-slime-nav-autoloads starter-kit-autoloads edmacro kmacro smex cl
starter-kit-misc ido-ubiquitous ido paren starter-kit-defuns uniquify
advice help-fns advice-preload magit-autoloads ido-ubiquitous-autoloads
smex-autoloads find-file-in-project-autoloads
idle-highlight-mode-autoloads paredit-autoloads tuareg-autoloads
caml-autoloads yaml-mode-autoloads package tabulated-list time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
fontset image fringe lisp-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 loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process ns
multi-tty emacs)


[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11227; Package emacs. (Wed, 11 Apr 2012 22:39:01 GMT) Full text and rfc822 format available.

Message #8 received at 11227 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Kurt Harriger <kurt <at> fullcontact.com>
Cc: 11227 <at> debbugs.gnu.org, kurtharriger <at> gmail.com
Subject: Re: bug#11227: lock files not deleted
Date: Wed, 11 Apr 2012 18:37:09 -0400
Patch to disable lock files (nothing really came of it):

http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg01020.html




Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 11 Apr 2012 22:42:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11227; Package emacs. (Wed, 11 Apr 2012 23:46:02 GMT) Full text and rfc822 format available.

Message #13 received at 11227 <at> debbugs.gnu.org (full text, mbox):

From: Kurt Harriger <kurt <at> fullcontact.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11227 <at> debbugs.gnu.org, kurtharriger <at> gmail.com
Subject: Re: bug#11227: lock files not deleted
Date: Wed, 11 Apr 2012 17:44:10 -0600
[Message part 1 (text/plain, inline)]
I'll give it a try.   
I noticed that this patch is not in the master branch and I read through the associated thread and although there was discussion of alternate implementation no-one stepped up to implement the alternative implementation and there did not appear to be any objections to this patch as is? any chance this could be merged into master?

Thanks!


-- 
Kurt Harriger
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Wednesday, April 11, 2012 at 4:37 PM, Glenn Morris wrote:

> 
> Patch to disable lock files (nothing really came of it):
> 
> http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg01020.html 

[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11227; Package emacs. (Thu, 12 Apr 2012 22:18:02 GMT) Full text and rfc822 format available.

Message #16 received at 11227 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Kurt Harriger <kurt <at> fullcontact.com>
Cc: 11227 <at> debbugs.gnu.org, kurtharriger <at> gmail.com
Subject: Re: bug#11227: lock files not deleted
Date: Thu, 12 Apr 2012 18:16:04 -0400
Kurt Harriger wrote:

> any chance this could be merged into master?

I'd be happy to add it at some point, if there no objections.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11227; Package emacs. (Fri, 13 Apr 2012 13:39:02 GMT) Full text and rfc822 format available.

Message #19 received at 11227 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11227 <at> debbugs.gnu.org, kurtharriger <at> gmail.com,
	Kurt Harriger <kurt <at> fullcontact.com>
Subject: Re: bug#11227: lock files not deleted
Date: Fri, 13 Apr 2012 09:37:24 -0400
>> any chance this could be merged into master?
> I'd be happy to add it at some point, if there no objections.

Fine by me,


        Stefan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11227; Package emacs. (Sun, 15 Apr 2012 00:45:01 GMT) Full text and rfc822 format available.

Message #22 received at 11227 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Dave Abrahams <dave <at> boostpro.com>
Cc: 11227 <at> debbugs.gnu.org, kurtharriger <at> gmail.com
Subject: Re: bug#11227: lock files not deleted
Date: Sat, 14 Apr 2012 20:42:47 -0400
Hi,

Re your patch from
http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg01020.html

to disable lock files.

I would like to apply this, but I noticed that you don't have a
copyright assignment for Emacs. I see you completed one for Gnus some
months ago. Would you mind doing another one for Emacs?
(It's a shame the first one was not for Emacs, since that would have
covered Gnus as well, but vice versa does not apply.)

(I know you said you would place it in the public domain, but we would
still need paperwork for that. An assignment is better, if you don't
mind.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11227; Package emacs. (Sun, 15 Apr 2012 02:17:02 GMT) Full text and rfc822 format available.

Message #25 received at 11227 <at> debbugs.gnu.org (full text, mbox):

From: Dave Abrahams <dave <at> boostpro.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11227 <at> debbugs.gnu.org, kurtharriger <at> gmail.com
Subject: Re: bug#11227: lock files not deleted
Date: Sat, 14 Apr 2012 22:14:34 -0400
on Sat Apr 14 2012, Glenn Morris <rgm-AT-gnu.org> wrote:

> Hi,
>
> Re your patch from
> http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg01020.html
>
> to disable lock files.
>
> I would like to apply this, but I noticed that you don't have a
> copyright assignment for Emacs. I see you completed one for Gnus some
> months ago. Would you mind doing another one for Emacs?

Not at all.  Caveat: the last time it took the administrator months to
process it.

> (It's a shame the first one was not for Emacs, since that would have
> covered Gnus as well, but vice versa does not apply.)

I asked for a blanket agreement so I wouldn't have to do this over and
over again, but FSF said their lawyers had told them not to do that.

> (I know you said you would place it in the public domain, but we would
> still need paperwork for that. An assignment is better, if you don't
> mind.)

No problem.  Send the papers to

Dave Abrahams
45 Walnut St
Somerville, MA 02143

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11227; Package emacs. (Thu, 10 May 2012 01:03:02 GMT) Full text and rfc822 format available.

Message #28 received at 11227 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Dave Abrahams <dave <at> boostpro.com>
Cc: 11227 <at> debbugs.gnu.org, kurtharriger <at> gmail.com
Subject: Re: bug#11227: lock files not deleted
Date: Wed, 09 May 2012 21:00:35 -0400
close 11227 24.2
stop

In the current trunk, creation of lockfiles can now be prevented through
the `create-lockfiles' option.




bug marked as fixed in version 24.2, send any further explanations to 11227 <at> debbugs.gnu.org and Kurt Harriger <kurt <at> fullcontact.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 10 May 2012 01:03:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 07 Jun 2012 11:24:02 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 03 Aug 2012 16:18:01 GMT) Full text and rfc822 format available.

Forcibly Merged 7246 11227. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 03 Aug 2012 16:18:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Sep 2012 11:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.