all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lluís <xscript@gmx.net>
To: emacs-devel@gnu.org
Cc: "Alex Ott" <alexott@gmail.com>,
	"andres.ramirez" <andres.ramirez@kipuamutay.com>,
	Lluís <xscript@gmx.net>,
	"CEDET Devel" <cedet-devel@lists.sourceforge.net>
Subject: Re: cedet-called-interactively-p hangs on emacs 24.3.50.1
Date: Thu, 20 Dec 2012 15:06:04 +0100	[thread overview]
Message-ID: <87bodou8c3.fsf_-_@fimbulvetr.bsc.es> (raw)
In-Reply-To: <87623x1yv8.wl%andres.ramirez@kipuamutay.com> (andres ramirez's message of "Wed, 19 Dec 2012 17:05:47 -0500")

[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 <xscript@gmx.net> 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



       reply	other threads:[~2012-12-20 14:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87obhsxz7s.fsf@fimbulvetr.bsc.es>
     [not found] ` <CALV1_=+T-2tJbyFQn-9o2LtoazQRk9p_5K5BY=4CRkXdULYFsA@mail.gmail.com>
     [not found]   ` <87623x1yv8.wl%andres.ramirez@kipuamutay.com>
2012-12-20 14:06     ` Lluís [this message]
2012-12-20 14:25       ` cedet-called-interactively-p hangs on emacs 24.3.50.1 Stefan Monnier
2012-12-20 14:47         ` joakim
2012-12-20 14:58           ` Lluís
2012-12-20 16:03           ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bodou8c3.fsf_-_@fimbulvetr.bsc.es \
    --to=xscript@gmx.net \
    --cc=alexott@gmail.com \
    --cc=andres.ramirez@kipuamutay.com \
    --cc=cedet-devel@lists.sourceforge.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.