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

Re: [owner@bugs.debian.org: Bug#29352 acknowledged by developer (Emacs postrm doesn't remove its site-lisp directory)]

Julian Gilbey <J.D.Gilbey@qmw.ac.uk> writes:

> I would strongly recommend coming up with some way of avoiding this
> problem.  Perhaps the following simple strategy would work:
>  - remove the /usr/share/<flavor>/site-lisp ->
>    /usr/share/emacs/<version>/site-lisp symlink, and replace
>    /usr/share/<flavor>/site-lisp with a real directory.  (This must be
>    done with extreme care, though, given the nature of dpkg.)

I'm tired, and it's late, and I haven't given this a lot of thought,
but what would happen if we just switched things around so that the
real directory is /usr/share/<flavor>/site-lisp, and
/usr/share/emacs/<version> is the symlink.  Then add-on packages could
safely place their files in /usr/share/<flavor>/site-lisp, and across
minor version upgrades, the symlink would just change.

If that would work, and wouldn't be too dangerous to implement, then I
think I like it better than adding an additional directory, though I'm
not decided either way yet...

Either way, I'd like to fix the problem if we can come up with a good

Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930

Reply to: