bug-gnulib
[Top][All Lists]
Advanced

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

Re: getting EBADF on MSVC


From: Paul Eggert
Subject: Re: getting EBADF on MSVC
Date: Mon, 19 Sep 2011 15:30:50 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14

On 09/19/11 14:37, Bruno Haible wrote:
>    DONE_MSVC_INVAL
> 
> But what's the point of that semicolon?

I don't know what Bastien's point was, but one problem that I'm having
with those macros is that Emacs doesn't indent code properly when
those macros are used.  For example, if I put the cursor at the start
of the next line and type TAB, Emacs indents the next line by two more
than it should.  If I put a semicolon after DONE_MSVC_INVAL, Emacs
indents properly.

Also, my version of Emacs sometimes highlights DONE_MSVC_INVAL in
green (I don't know why), as if it were a type name, without
highlighting the other macro names.  If I put a semicolon after it the
green highlighting goes away.

I'd rather have an approach that looks and feels more like ordinary C
code.  It's too much hassle dealing with metalinguistic macros.



reply via email to

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