GNU bug report logs - #5640
23.1.92; [patch] cedet: use of c(a|d)ddr functions

Previous Next

Package: emacs;

Reported by: Eduard Wiebe <usenet <at> pusto.de>

Date: Wed, 24 Feb 2010 14:36:02 UTC

Severity: normal

Tags: patch

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5640 in the body.
You can then email your comments to 5640 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5640; Package emacs. (Wed, 24 Feb 2010 14:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Eduard Wiebe <usenet <at> pusto.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 24 Feb 2010 14:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Eduard Wiebe <usenet <at> pusto.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1.92; [patch] cedet: use of c(a|d)ddr functions
Date: Wed, 24 Feb 2010 15:35:44 +0100
 Hello,

i received following error message while trying cedet.

Idle Parse Error: "#<buffer test.js> - Symbol's function definition is void: caddr"
Mark set [2 times]

My simple fix follows:

2010-02-24  Eduard Wiebe  <usenet <at> pusto.de>

	* javascript.el (wisent-javascript-jv-expand-tag): Avoid
	c(ad)ddr and use c(ad)r of cddr.


diff --git a/lisp/cedet/semantic/wisent/javascript.el b/lisp/cedet/semantic/wisent/javascript.el
index 34afb75..480fbec 100644
--- a/lisp/cedet/semantic/wisent/javascript.el
+++ b/lisp/cedet/semantic/wisent/javascript.el
@@ -48,8 +48,8 @@ to this variable NAME."
               elts  (cdr elts)
               clone (semantic-tag-clone tag (car elt))
 	      value (car (cdr elt))
-              start (if elts  (caddr elt) (semantic-tag-start tag))
-              end   (if xpand (cdddr elt) (semantic-tag-end   tag))
+              start (if elts  (car (cddr elt)) (semantic-tag-start tag))
+              end   (if xpand (cdr (cddr elt)) (semantic-tag-end   tag))
               xpand (cons clone xpand))
 	;; Set the definition of the cloned tag
 	(semantic-tag-put-attribute clone :default-value value)

-- 
Eduard Wiebe





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5640; Package emacs. (Wed, 24 Feb 2010 15:15:03 GMT) Full text and rfc822 format available.

Message #8 received at 5640 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Eduard Wiebe <usenet <at> pusto.de>
Cc: 5640 <at> debbugs.gnu.org
Subject: Re: bug#5640: 23.1.92; [patch] cedet: use of c(a|d)ddr functions
Date: Wed, 24 Feb 2010 10:13:57 -0500
Eduard Wiebe <usenet <at> pusto.de> writes:

> i received following error message while trying cedet.
>
> Idle Parse Error: "#<buffer test.js> - Symbol's function definition is void: caddr"
> Mark set [2 times]
>
> My simple fix follows:
>
> 2010-02-24  Eduard Wiebe  <usenet <at> pusto.de>
>
> 	* javascript.el (wisent-javascript-jv-expand-tag): Avoid
> 	c(ad)ddr and use c(ad)r of cddr.

Thank you.  I've checked it in.




bug closed, send any further explanations to Eduard Wiebe <usenet <at> pusto.de> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Wed, 24 Feb 2010 15:15:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Mar 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.