Bug 8289

Summary: problems about file locking of emacs/xemacs/xemacs20
Product: Ports & Packages Reporter: TAOKA Satoshi <taoka>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff
none
file.diff none

Description TAOKA Satoshi 1998-10-12 18:30:00 UTC
There are problems about file locking of editors/{emacs,xemacs,xemacs20}

[xemacs]
In pkg/PLIST, '/var/run/xemacs/lock' should change to
'/var/run/emacs/lock'.

Note that the patch about editors/emacs includes another change for
editors/emacs/Makefile.
It is from 'xemacs -batch -eval ...' to
'xemacs -no-site-file -no-init-file -batch -eval ...' in it.
I think it is needed.

[xemacs20]
In pkg/PLIST, '/var/run/xemacs/lock' should change to
'/var/run/emacs/lock'.
configure should run with a option '--with-clash-detection'.
Because, if it does not specified then xemacs-20.4/src/filelock.c
is not compiled.

[emacs]
editors/emacs have not be changed about emacs lock directory yet.
So please apply the patch for emacs-19.34b in the PR.

Note that the patch creates a new file emacs/files/emacs.sh.

-----------------------------------------------------------------
By the way, the method of file locking of emacs-20.3 is different
from one of the other emacs familty.
emacs-20.3 makes a symlink (e.g ./.#foo -> taoka@host.name.ac.jp) in
the current directory,
and the others make a file including PID in /var/run/emacs/lock
on FreeBSD.

Fix: [xemacs]

[xemacs20]
[emacs]
Comment 1 Steve Price freebsd_committer freebsd_triage 1998-12-13 23:09:52 UTC
State Changed
From-To: open->feedback

The lock file has already been moved.  Can you send us a patch for 
the remainder of the fixes against the current port?  Thanks. 
Comment 2 Steve Price freebsd_committer freebsd_triage 1999-01-02 19:40:07 UTC
State Changed
From-To: feedback->closed

Problem appears to have already been fixed.