emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: C indentation error.


From: Richard Stallman
Subject: Re: C indentation error.
Date: Sat, 18 Mar 2006 03:43:57 -0500

    >   I got an  error with some C indentation in  macro definitions in GNU
    >  Emacs 22.0.50.34 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
    >  2006-03-02.
    >
    >   Error is triggered by:
    >
    >   With emacs -Q :
    >   In scratch, insert the following:
    >
    > #foo :\
    > bar
    >
    >   Toggle to c-mode, and try to indent the last line.
    >
    >   I get: Invalid search bound (wrong side of point).

        However, looking at the  code of search_command, I'm wondering why
        an error could  be output even if  noerror is t or a  symbol [1] ;
        fixing this that way :

The noerror argument means "no error if the search fails".
Invalid arguments are a different issue.

I will clarify this in the Lisp manual.

So your proposed change in search.c should not be installed.
Instead, the code in CC mode should be fixed not to pass
invalid search bounds.




reply via email to

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