From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Llu=C3=ADs?= Newsgroups: gmane.emacs.devel,gmane.emacs.cedet Subject: Re: cedet-called-interactively-p hangs on emacs 24.3.50.1 Date: Thu, 20 Dec 2012 15:06:04 +0100 Message-ID: <87bodou8c3.fsf_-_@fimbulvetr.bsc.es> References: <87obhsxz7s.fsf@fimbulvetr.bsc.es> <87623x1yv8.wl%andres.ramirez@kipuamutay.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1356012385 5521 80.91.229.3 (20 Dec 2012 14:06:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2012 14:06:25 +0000 (UTC) Cc: Alex Ott , "andres.ramirez" , =?utf-8?Q?Llu=C3=ADs?= , CEDET Devel To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 20 15:06:39 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tlglj-0008C4-4d for ged-emacs-devel@m.gmane.org; Thu, 20 Dec 2012 15:06:39 +0100 Original-Received: from localhost ([::1]:44399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlglV-0004Hb-Eq for ged-emacs-devel@m.gmane.org; Thu, 20 Dec 2012 09:06:25 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlglM-00049B-9J for emacs-devel@gnu.org; Thu, 20 Dec 2012 09:06:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlglG-0000ZR-Je for emacs-devel@gnu.org; Thu, 20 Dec 2012 09:06:16 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:64178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlglG-0000ZJ-9s for emacs-devel@gnu.org; Thu, 20 Dec 2012 09:06:10 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.38]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MJYbl-1Tn3H91aV1-0034Ib for ; Thu, 20 Dec 2012 15:06:08 +0100 Original-Received: (qmail invoked by alias); 20 Dec 2012 14:06:06 -0000 Original-Received: from unknown (EHLO localhost) [84.88.51.85] by mail.gmx.net (mp038) with SMTP; 20 Dec 2012 15:06:06 +0100 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX19p7YAIBb5pKSAOh+gpX8z3E682gSDAS8fenXBLtk WDB8eoSyWkNihl Mail-Followup-To: emacs-devel@gnu.org, Alex Ott , =?utf-8?Q?Llu=C3=ADs?= , CEDET Devel , andres.ramirez In-Reply-To: <87623x1yv8.wl%andres.ramirez@kipuamutay.com> (andres ramirez's message of "Wed, 19 Dec 2012 17:05:47 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155684 gmane.emacs.cedet:6216 Archived-At: [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 repl= acing 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=20 > 2. GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll b= ars) > 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: >>=20 >> 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 >>=20 >> On Mon, Dec 17, 2012 at 8:20 PM, Llu=C3=ADs wrote: >> > For some reason I don't understand I had to replace all the related tr= ickery 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' i= s 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 --=20 "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