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

HowTo: Avoid packages like TPU



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?

I use reflection via mapatoms to find interactive commands that
need to be speech-enabled in Emacspeak, and one unfortunate
consequence is the following:

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)
2) Worse, tpu-extras is evil -- it redefines things like newline
3) And even worse, tpu-current-line (used by the redefined newline)
       raises errors at times when called from display-warning.

In the minimum it would be nice if optional packages that
redefine core functionality such as command `newline' didn't get
accidentally pulled in.


In GNU Emacs 22.1.50.11 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-08-04 on labrador
configured using `configure  '--prefix=/usr/local' '--with-toolkit=gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: nil

Major mode: Shell

Minor modes in effect:
  jabber-activity-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  dired-omit-mode: t
  dynamic-completion-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-readonly-mode: t
  shell-dirtrack-mode: t
  display-time-mode: t
  desktop-save-mode: t
  auto-insert-mode: t
  encoded-kbd-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t

Recent input:
SPC a t t a c h i n g SPC a SPC s t a c k - t r a c 
e ; SPC t h o u g h SPC I SPC n o w SPC h a v e SPC 
a SPC f i x SPC f o r SPC e m a c s p e a k , SPC i 
t SPC w o u l d SPC b e SPC ESC DEL p r o b a b l y 
SPC b e SPC u s e f u l SPC t o SPC f i x SPC t h e 
DEL DEL DEL SPC t h e SPC s i g n a l SPC t h a t SPC 
i s SPC b e i n g SPC r a i s e d SPC f o DEL r o m 
SPC a SPC c o d e SPC h y g e n e SPC p o i n t SPC 
o f SPC v i e w . RET RET C-c C-a ~ / . s i g n a l 
TAB ESC DEL s i g n TAB C-g C-x @ h s c d RET l s SPC 
. s i g TAB * RET C-p ESC > ESC [ [ C C-c C-a ~ / . 
s i g n a l TAB DEL C-g C-g ESC m C-p C-x i ~ / . s 
i g n a l TAB RET ESC m C-p C-p C-c C-c y y e s RET 
C-e m c d RET C-x m C-g C-g C-e m ESC [ [ D ESC x r 
e p o r t - e m a c s - b TAB RET

Recent messages:
Completing file name...
Partially completed
Quit [2 times]
Convert non-ASCII letters to hexadecimal? (y or n) 
Sending...
Added to /home/raman/Mail/outgoing
Sending...done
~ 
Composing a message
Quit
Quit

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog