all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12028: Lock file name
@ 2012-07-23  1:03 Suvayu Ali
  2012-07-29 23:17 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Suvayu Ali @ 2012-07-23  1:03 UTC (permalink / raw)
  To: 12028

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.





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

* bug#12028: Lock file name
  2012-07-23  1:03 bug#12028: Lock file name Suvayu Ali
@ 2012-07-29 23:17 ` Glenn Morris
  2012-07-29 23:30   ` suvayu ali
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2012-07-29 23:17 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: 12028

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.





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

* bug#12028: Lock file name
  2012-07-29 23:17 ` Glenn Morris
@ 2012-07-29 23:30   ` suvayu ali
  0 siblings, 0 replies; 3+ messages in thread
From: suvayu ali @ 2012-07-29 23:30 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 12028

Hi Glenn,

On Mon, Jul 30, 2012 at 1:17 AM, Glenn Morris <rgm@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.





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

end of thread, other threads:[~2012-07-29 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-23  1:03 bug#12028: Lock file name Suvayu Ali
2012-07-29 23:17 ` Glenn Morris
2012-07-29 23:30   ` suvayu ali

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.