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

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

Re: c-mark-function goes too far


From: Eric Hanchrow
Subject: Re: c-mark-function goes too far
Date: Sun, 07 Jan 2007 15:31:27 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

>>>>> "Pete" == Pete Klammer <NETRONICS-PE@comcast.net> writes:

    Pete> In certain cases, `M-C-h' (`c-mark-function') goes too far.
    Pete> The bottom (mark) is placed at end-of-buffer, if my function
    Pete> looks like this ...

    Pete> void myfunction( void ) { mychar = getch() ;
    Pete> }

I don't remember the details, but I think Emacs always assumed that
function definitions begin with a left-brace at the left column.
Presumably c-mark-function is making that same assumption, and
searching forward for one, and not finding it.

-- 
When it comes to electronic voting, most liberals are just plain
old-fashioned nuts.
        -- Joe Andrew, former chairman of the Democratic National
           Committee





reply via email to

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