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

Re: ems-interactive-p, a bug in call-interactively-p?




W dniu 2013-10-17 14:47, Dmitri Paduchikh pisze:
I think this is because ems-interactive-p is defined as defsubst. If you
run Emacspeak from the compiled files its definition gets substituted
inline and call-interactively-p is called in place. Otherwise
ems-interactive-p is called as an usual function and this call isn't
interactive, hence called-interactively-p is false.

Replacing (ems-interactive-p) directly with (call-interactively-p 'interactive) in emacspeak-forward-char fixes the issue. This confirms your statement. Thank you for pointing that out. I am an elisp beginner. This defsubst property is not mentioned in docs.

What do I do now? Any suggestions?

Jarek

-----------------------------------------------------------------------------
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 | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog