Bug 8289 - problems about file locking of emacs/xemacs/xemacs20
Summary: problems about file locking of emacs/xemacs/xemacs20
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-10-12 18:30 UTC by TAOKA Satoshi
Modified: 1999-01-02 19:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.29 KB, patch)
1998-10-12 18:30 UTC, TAOKA Satoshi
no flags Details | Diff
file.diff (1.57 KB, patch)
1998-10-12 18:30 UTC, TAOKA Satoshi
no flags Details | Diff
file.diff (1.78 KB, patch)
1998-10-12 18:30 UTC, TAOKA Satoshi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.