GNU bug report logs - #12028
Lock file name

Previous Next

Package: emacs;

Reported by: Suvayu Ali <fatkasuvayu+linux <at> gmail.com>

Date: Mon, 23 Jul 2012 01:10:02 UTC

Severity: wishlist

Tags: wontfix

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 12028 in the body.
You can then email your comments to 12028 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#12028; Package emacs. (Mon, 23 Jul 2012 01:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Suvayu Ali <fatkasuvayu+linux <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 23 Jul 2012 01:10:02 GMT) Full text and rfc822 format available.

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

From: Suvayu Ali <fatkasuvayu+linux <at> gmail.com>
To: Emacs bug report <bug-gnu-emacs <at> gnu.org>
Subject: Lock file name
Date: Mon, 23 Jul 2012 03:03:15 +0200
Hi Emacs devs,

I am using GNU Emacs 24.1.50.1 (built 2012-07-21). I see the file naming
scheme for lock files is `.#<old name>'. I seemed to recall there was
trailing hash like this `.#<old name>#'. But on the Emacs help list I
was told there was no trailing hash in the past. So my request is, can a
trailing hash be added?

My issue in particular is, the lock file gets picked by a glob like
`*.cxx'; with a trailing hash, this would only match source files. This
can be a problem with tools that only support very basic globbing.

Thanks for your consideration.

PS: I'm not subscribed, please CC me in any discussion on this topic.

-- 
Suvayu

Open source is the future. It sets us free.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12028; Package emacs. (Sun, 29 Jul 2012 23:25:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Suvayu Ali <fatkasuvayu+linux <at> gmail.com>
Cc: 12028 <at> debbugs.gnu.org
Subject: Re: bug#12028: Lock file name
Date: Sun, 29 Jul 2012 19:17:06 -0400
Suvayu Ali wrote:

> I am using GNU Emacs 24.1.50.1 (built 2012-07-21). I see the file naming
> scheme for lock files is `.#<old name>'. I seemed to recall there was
> trailing hash like this `.#<old name>#'. But on the Emacs help list I
> was told there was no trailing hash in the past. So my request is, can a
> trailing hash be added?
>
> My issue in particular is, the lock file gets picked by a glob like
> `*.cxx'; with a trailing hash, this would only match source files. This
> can be a problem with tools that only support very basic globbing.

I don't think Emacs needs to change the (very long-standing) name of
lockfiles for the sake of inflexible tools that cannot exclude dotfiles
(note that normal shell globbing does not match dotfiles at all). Emacs
24.2 will have an option `create-lockfiles' that you can set to nil to
disable the generation of lockfiles altogether, hopefully that works for
you.




Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 29 Jul 2012 23:25:02 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 29 Jul 2012 23:25:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12028; Package emacs. (Sun, 29 Jul 2012 23:39:01 GMT) Full text and rfc822 format available.

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

From: suvayu ali <fatkasuvayu+linux <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12028 <at> debbugs.gnu.org
Subject: Re: bug#12028: Lock file name
Date: Mon, 30 Jul 2012 01:30:38 +0200
Hi Glenn,

On Mon, Jul 30, 2012 at 1:17 AM, Glenn Morris <rgm <at> gnu.org> wrote:
> Suvayu Ali wrote:
>
>> I am using GNU Emacs 24.1.50.1 (built 2012-07-21). I see the file naming
>> scheme for lock files is `.#<old name>'. I seemed to recall there was
>> trailing hash like this `.#<old name>#'. But on the Emacs help list I
>> was told there was no trailing hash in the past. So my request is, can a
>> trailing hash be added?
>>
>> My issue in particular is, the lock file gets picked by a glob like
>> `*.cxx'; with a trailing hash, this would only match source files. This
>> can be a problem with tools that only support very basic globbing.
>
> I don't think Emacs needs to change the (very long-standing) name of
> lockfiles for the sake of inflexible tools that cannot exclude dotfiles

I guess you are right. I use the tool only because I have to, it's a
real pain. :(

> (note that normal shell globbing does not match dotfiles at all). Emacs
> 24.2 will have an option `create-lockfiles' that you can set to nil to
> disable the generation of lockfiles altogether, hopefully that works for
> you.

This will work well thank you. :)

-- 
Suvayu

Open source is the future. It sets us free.




bug closed, send any further explanations to 12028 <at> debbugs.gnu.org and Suvayu Ali <fatkasuvayu+linux <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 10 Feb 2013 03:01: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. (Sun, 10 Mar 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 187 days ago.

Previous Next


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