emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

server.el and gnuserv.el incompatibilities


From: Jason Rumney
Subject: server.el and gnuserv.el incompatibilities
Date: 28 Nov 2001 22:54:17 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

A recent post to gnu.emacs.help has revealed just how incompatible
server.el and gnuserv.el are due to namespace conflicts.

gnuserv.el protects the user from loading it when server.el is already
loaded with the code below. Perhaps server.el should do something
similar (although it would be better not to throw an error if
possible, since that would still prevent the "processes" custom group
from displaying, which was what the original report was about).


;; server.el and gnuserv.el can't coexist because of conflicting defvar's and
;; function names. 

(if (and (boundp 'server-buffer-clients)
         (not (featurep 'gnuserv)))
    (error "Can't run gnuserv because server.el appears to be loaded already"))


-- 
Jason Rumney





reply via email to

[Prev in Thread] Current Thread [Next in Thread]