[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cedet-called-interactively-p hangs on emacs 24.3.50.1
From: |
Lluís |
Subject: |
Re: cedet-called-interactively-p hangs on emacs 24.3.50.1 |
Date: |
Thu, 20 Dec 2012 15:06:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
[Adding emacs-devel]
Summary:
CEDET has a `cedet-called-interactively-p' that is translated into a macro or an
alias depending on the Emacs version on which it is being compiled [1].
When called, it looks like it gets stuck on an infinite loop. Manually replacing
that code with a defalias (from `cedet-called-interactively-p' to
`called-interactively-p') results in the same.
Manually replacing it with a function solves it, but AFAIU an alias or macro
should work:
#v+
(defun cedet-called-interactively-p (arg)
(called-interactively-p arg))
#v-
Emacs 24.2.1 with the same CEDET version was working properly.
Any ideas why this might happen?
[1]
http://cedet.bzr.sourceforge.net/bzr/cedet/code/trunk/annotate/head%3A/lisp/cedet/cedet-compat.el#L181
Thanks,
Lluis
andres ramirez writes:
> Hi List.
> Adding more info to this. My Cedet verion is very recent.
> 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 <address@hidden> 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
- Re: cedet-called-interactively-p hangs on emacs 24.3.50.1,
Lluís <=