andres.ramirez <andres.ramirez@...> writes:
> Hi List.
>
> Adding more info to this. My Cedet verion is very recent.
H have the exact same issue and I think I now understand the problem.
For an ugly fix, try this:
(defmacro internal--called-interactively-p--get-frame (n)
;; `sym' will hold a global variable, which will be used kind of like C's
;; "static" variables.
(let ((sym (make-symbol "base-index")))
`(progn
(defvar ,sym
(let ((i 1))
(while (not (or (eq (nth 1 (backtrace-frame i))
'called-interactively-p)
(eq (nth 1 (backtrace-frame i))
'cedet-called-interactively-p)))
(setq i (1+ i)))
i))
;; (unless (eq (nth 1 (backtrace-frame ,sym)) 'called-interactively-p)
;; (error "called-interactively-p: %s is out-of-sync!" ,sym))
(backtrace-frame (+ ,sym ,n)))))
so, the problem seems to be a change in emacs core for
called-interactively-p. It wont complete if one alias the definition of
called-interactively-p as Cedet does. So the ugly test fix is to check
for this particular alias. Obviously a correct fix needs to be made.
>
> I have two version of emacs:
>
>
>
> 1. GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.2) of
> 2012-11-18 on eric
> 2. GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
> of 2012-12-14 on paracas
>
> On 1 It works without problems. Problems just on 2.
>
> Regards
> At Wed, 19 Dec 2012 08:26:18 +0100,
> Alex Ott wrote:
>>
>> I can confirm this, this happened since 15.11.2012 - at least this is
>> last version of emacs-snapshot at Debian that works for me. I'll try
>> to find time and debug this, but can't promise that this will be done
>> before holidays
>>
>> On Mon, Dec 17, 2012 at 8:20 PM, Lluís <xscript@...> wrote:
>> > For some reason I don't understand I had to replace all the related trickery in
>> > cedet-compat with:
>> >
>> > #v+
>> > (defun cedet-called-interactively-p (arg)
>> > (called-interactively-p arg))
>> > #v-
>> >
>> > Otherwise the system hangs every time `cedet-called-interactively-p' is called.
>> >
>> > Defining it as an alias to `called-interactively-p' also hangs.
>> >
>> > I'm not sure if this is related to CEDET or Emacs itself.
>> >
>> >
>> > Lluis
>> >
>> > --
>> > "And it's much the same thing with knowledge, for whenever you learn
>> > something new, the whole world becomes that much richer."
>> > -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
>> > Tollbooth
>> >
>> > ------------------------------------------------------------------------------
>> > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> > Remotely access PCs and mobile devices and provide instant support
>> > Improve your efficiency, and focus on delivering more value-add services
>> > Discover what IT Professionals Know. Rescue delivers
>> > http://p.sf.net/sfu/logmein_12329d2d> > _______________________________________________
>> > Cedet-devel mailing list
>> > Cedet-devel@...
>> > https://lists.sourceforge.net/lists/listinfo/cedet-devel>
>>
>>
>> --
>> With best wishes, Alex Ott
>> http://alexott.net/> Twitter: alexott_en (English), alexott (Russian)
>> Skype: alex.ott
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
> Cedet-devel mailing list
> Cedet-devel@...
> https://lists.sourceforge.net/lists/listinfo/cedet-devel
--
Joakim Verona
|