emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HELP, PLEASE! Syntax problem!


From: A Soare
Subject: Re: HELP, PLEASE! Syntax problem!
Date: Fri, 27 Nov 2009 08:16:24 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> Hello Stefan, Hello Emacs,
> 
> In the following fragment of code:
> 
> 1   int a = foo (
> 2       1);
> 3   #define X(A, B)                                 \
> 4       do {                                        \
> 5           printf (A, B);                          \
> 6       } while (0)
> 
> 7   int a = foo (
> 8       1);
> 
> , there is a C macro between lines 3 and 6.  The syntax-table properties
> here have been manipulated (see below).  Putting point at the "(" in L5
> and doing C-M-n takes point to after ")" ON LINE 8.  Similar things
> happen with C-M-p, C-M-u from various places inside the macro
> 


For me it works correctly:

GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-23

Have you tried also the semantic-mode?

Normally the semantic mode should never miss (locally or globally), unless the
code has bugs.




Alin











reply via email to

[Prev in Thread] Current Thread [Next in Thread]