emacs-devel
[Top][All Lists]
Advanced

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

Re: Moving handlers out of desktop.el


From: Juri Linkov
Subject: Re: Moving handlers out of desktop.el
Date: Tue, 13 Apr 2004 23:46:15 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Juri Linkov <address@hidden> writes:
> I believe the question whether to place these functions into a service
> module or a client module is mostly a matter of taste.  The desktop
> package at least currently consistently uses the former approach,
> placing all mode handling functions in desktop.el.
>
> But there are Emacs packages which are inconsistent in this question.
> For example, why the speedbar package has the code for Info support
> in info.el, but speedbar support for dired in speedbar.el?

dired is not a good example, since speedbar doesn't use functions from
dired package.  But speedbar.el uses imenu, etags, ange-ftp.  However,
this is not too wrong.  What actually is wrong is the speedbar related
code in info.el.  Polluting info.el with the code supporting all
packages that might use Info internal functions is too bad.  I think
all speedbar related code should be moved from info.el either to
speedbar.el or to a new file with the name like speedbar-info.el.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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