GNU bug report logs - #26866
25.2; Customize Lockfile Name and Contents

Previous Next

Package: emacs;

Reported by: Wesley Ellis <ellisgen <at> gmail.com>

Date: Wed, 10 May 2017 16:47:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 25.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 26866 in the body.
You can then email your comments to 26866 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#26866; Package emacs. (Wed, 10 May 2017 16:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wesley Ellis <ellisgen <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 10 May 2017 16:47:02 GMT) Full text and rfc822 format available.

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

From: Wesley Ellis <ellisgen <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.2; Customize Lockfile Name and Contents
Date: Wed, 10 May 2017 11:42:05 -0500
[Message part 1 (text/plain, inline)]
--text follows this line--

This is more of a feature request/request for information.
This concerns emacs on windows 10.

I work in a small team that has been using Dreamweaver to maintain
a website maintained on a local network webserver. We each maintain
a local copy of the website and perform checkouts on the remote
files. After editing is complete we push the changes and check
the files in.

Dreamweaver uses lock files to control the checkin/checkout
processs. I've recently started using emacs and have found
that emacs also uses lock files, but the format is different
from the format used by Dreamweaver. I can change
`create-lcokfiles` to nil to disable the creation of lockfles,
but I cannot modify the format or naming convention used.

A dreamweaver lock file for test.html would be test.html.LCK
and the contents would contain the name and email address
of the user who created it (like so: WesEllis||wes <at> gnu.org).

Is there a way, or could we create a way to customize
lockfile format and naming conventions?



In GNU Emacs 25.2.1 (x86_64-w64-mingw32)
 of 2017-04-24 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 10.0.10240
Configured using:
 'configure --without-dbus --without-compress-install 'CFLAGS=-O2
 -static -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: HTML

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-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
  transient-mark-mode: t

Recent messages:
next-line: End of buffer
Saving file c:/Users/xb0g/Desktop/test.html...
Wrote c:/Users/xb0g/Desktop/test.html
Saving file c:/Users/xb0g/Desktop/test.html...
Wrote c:/Users/xb0g/Desktop/test.html
Saving file c:/Users/xb0g/Desktop/test.html...
Wrote c:/Users/xb0g/Desktop/test.html
<apps> is undefined
Type "q" to restore previous buffer.


Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail ielm comint ansi-color ring
sgml-mode eieio-opt speedbar sb-image ezimage dframe find-func thingatpt
debug tutorial apropos timezone parse-time bookmark pp dichromacy-theme
deeper-blue-theme wombat-theme whiteboard-theme wheatgrass-theme
tsdh-light-theme tsdh-dark-theme tango-theme tango-dark-theme
misterioso-theme manoj-dark-theme light-blue-theme leuven-theme
cus-theme cus-edit cus-start cus-load face-remap info thai-util
thai-word lao-util view shr-color color network-stream nsm starttls
url-http tls gnutls url-gw url-cache url-auth eww mm-url gnus gnus-ems
nnheader wid-edit url-queue url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source cl-seq eieio eieio-core cl-macs url-vars mailcap shr seq
byte-opt gv bytecomp byte-compile cl-extra cconv dom subr-x browse-url
rmailmm message idna dired format-spec rfc822 mml mml-sec password-cache
epg epg-config gnus-util mm-decode mm-bodies mm-encode mailabbrev
gmm-utils mailheader mail-parse rfc2231 rmail rfc2047 rfc2045 ietf-drums
mm-util help-fns help-mode cl-loaddefs pcase cl-lib mail-prsvr
mail-utils cal-move cal-menu easymenu calendar cal-loaddefs server
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded 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
w32notify w32 multi-tty make-network-process emacs)

Memory information:
((conses 16 365910 48318)
 (symbols 56 40122 1)
 (miscs 48 456 689)
 (strings 32 67849 6768)
 (string-bytes 1 2419296)
 (vectors 16 22367)
 (vector-slots 8 589461 25484)
 (floats 8 487 420)
 (intervals 56 19377 103)
 (buffers 976 35))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26866; Package emacs. (Mon, 15 May 2017 00:26:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Wesley Ellis <ellisgen <at> gmail.com>
Cc: 26866 <at> debbugs.gnu.org
Subject: Re: bug#26866: 25.2; Customize Lockfile Name and Contents
Date: Sun, 14 May 2017 20:25:11 -0400
Wesley Ellis wrote:

> I work in a small team that has been using Dreamweaver to maintain
> a website maintained on a local network webserver. We each maintain
> a local copy of the website and perform checkouts on the remote
> files. After editing is complete we push the changes and check
> the files in.
>
> Dreamweaver uses lock files to control the checkin/checkout
> processs. I've recently started using emacs and have found
> that emacs also uses lock files, but the format is different
> from the format used by Dreamweaver. I can change
> `create-lcokfiles` to nil to disable the creation of lockfles,
> but I cannot modify the format or naming convention used.
>
> A dreamweaver lock file for test.html would be test.html.LCK
> and the contents would contain the name and email address
> of the user who created it (like so: WesEllis||wes <at> gnu.org).
>
> Is there a way, or could we create a way to customize
> lockfile format and naming conventions?

From an Emacs point-of-view, allowing the lockfile name to be customized
doesn't make sense. If two different Emacs use different lockfile
names, this defeats the entire purpose of lockfiles.

What you describe above sounds more like a locking VCS, which would be
supported by Emacs's vc.el and such. But since Dreamweaver is
proprietary software, I doubt Emacs will add support for it.




Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 15 May 2017 00:29:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 26866 <at> debbugs.gnu.org and Wesley Ellis <ellisgen <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 10 Jan 2019 00:19:02 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 Feb 2019 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 78 days ago.

Previous Next


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