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

emacspeak and emacs 22 GTK bug?



Try commenting out the advice definition in emacspeak-advice.el,
compile, and restart emacs-gtk.

I've got no idea why only emacs-gtk bombs but it would be  good
to start by first taking out the redundancy.

>>>>> "Tim" == Tim Cross <tcross@rapttech.com.au> writes:
    Tim> Today I tried to install emacspeak on a machine where
    Tim> the default emacs is the GTK version of emacs. However,
    Tim> there appears to be a problem with the advice emacspeak
    Tim> provides for global-set-key. The system goes into an
    Tim> infinite loop on startup and bombs out once the maximum
    Tim> eval depth has been exceeded. The following backtrace is
    Tim> created
    Tim> 
    Tim> Debugger entered--Lisp error: (error "Lisp nesting
    Tim> exceeds `max-lisp-eval-depth'")
    Tim> ad-Orig-global-set-key([f7]
    Tim> planner-create-task-from-buffer)
    Tim> ad-Orig-global-set-key([f7]
    Tim> planner-create-task-from-buffer)
    Tim> ad-Orig-global-set-key([f7]
    Tim> planner-create-task-from-buffer)
    Tim> ad-Orig-global-set-key([f7]
    Tim> planner-create-task-from-buffer)
    Tim> ad-Orig-global-set-key([f7]
    Tim> planner-create-task-from-buffer)
    Tim> ad-Orig-global-set-key([f7]
    Tim> planner-create-task-from-buffer) ....
    Tim> 
    Tim> 
    Tim> I've cut out most of the backtrace as its many many
    Tim> lines of this form. Its weird to get this only with the
    Tim> GTK version of emacs 22. I've confirmed it works
    Tim> perfectly with the non-GTK version. I've also confirmed
    Tim> the problem doesn't occur when not running emacspeak and
    Tim> the GTK version.
    Tim> 
    Tim> I looked at emacspeak and found that there is two sets
    Tim> of before advice being created which appear to do the
    Tim> same thing. The first one in emacspeak-advice.el is very
    Tim> straight forward and just provides spoken prompt for the
    Tim> interactive use of global-set-key. The second one is a
    Tim> macro that is (I think) used to achieve roughly the same
    Tim> thing, but in a more generic manner. It is in
    Tim> emacpseak-fix-interactive.el.
    Tim> 
    Tim> Around 12 months ago or more, I did run emacs 22 GTK
    Tim> version with emacspeak with no problems. So, I guess its
    Tim> either something that has changed in emacspeak or the
    Tim> GTK version of emacs 22.
    Tim> 
    Tim> I will overcome this problem by installing the standard
    Tim> emacs 22 version. I just wanted to report this in case
    Tim> anyone else is thinking about trying the GTK version and
    Tim> for Raman's reference. If someone already has a fix, I'd
    Tim> be interested. However, as GTK doesn't really offer
    Tim> anything to me that the standard version doesn't already
    Tim> provide, it falls into the category of low priority
    Tim> IMO. I'm mainly reporting it so that there is a record
    Tim> in the archives and just in case Raman is interested. It
    Tim> may become an issue in the future if we begin to see
    Tim> either divergence between the X tolkit and GTK versions
    Tim> or if distributions start to ship the GTK version by
    Tim> default.
    Tim> 
    Tim> As both the GTK and X Toolkit versions of emacs 22 use
    Tim> the same elisp for global-set-key, the problem must be
    Tim> something relating to the low level (i.e. C level)
    Tim> bindings with the GTK libraries. This means there could
    Tim> be other areas where emacspeak may have problems in the
    Tim> GTK version.
    Tim> 
    Tim> Tim
    Tim> 
    Tim> 
    Tim> -- Tim Cross tcross@rapttech.com.au
    Tim> 
    Tim> There are two types of people in IT - those who do not
    Tim> manage what they understand and those who do not
    Tim> understand what they manage.
    Tim> 
    Tim> -----------------------------------------------------------------------------
    Tim> To unsubscribe from the emacspeak list or change your
    Tim> address on the emacspeak list send mail to
    Tim> "emacspeak-request@cs.vassar.edu" with a subject of
    Tim> "unsubscribe" or "help"

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
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@cs.vassar.edu" with a
subject of "unsubscribe" or "help"



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

priestdo@cs.vassar.edu No Soliciting!

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

Emacspeak Files | Emacspeak Blog | Search the archive