[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HowTo: Avoid packages like TPU
From: |
Stefan Monnier |
Subject: |
Re: HowTo: Avoid packages like TPU |
Date: |
Mon, 06 Aug 2007 11:31:49 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> With loaddefs.el in Emacs 22, rarely used packages like tpu end up
> showing up in the default obarray operated upon by mapatoms. Is there
> a way to avoid this?
Not without increasing the amount of work people need to do to enable TPU
emulation, so I think this is not an option.
> 0) mapatoms finds commands like "set cursor free" from tpu-extras
> 1) In using reflection, it ends up loading tpu-extras.el (even
> though I have no intention of using tpu)
This is a problem in Emacspeak: it should not itself load packages.
> 2) Worse, tpu-extras is evil -- it redefines things like newline
That's a bug. All such bugs should be reported via M-x report-emacs-bug.
By principle, loading an elisp package should not have any adverse affect
(it should basically have no effect other than the expected ones: define
additional functions and variables and maybe a few more).
> 3) And even worse, tpu-current-line (used by the redefined newline)
> raises errors at times when called from display-warning.
I do not understand this one. Can you expand on it?
Stefan