unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Hanchrow <offby1@blarg.net>
Subject: Re: c-mark-function goes too far
Date: Sun, 07 Jan 2007 15:31:27 -0800	[thread overview]
Message-ID: <87wt3ypg6o.fsf@offby1.atm01.sea.blarg.net> (raw)
In-Reply-To: 000c01c73202$ec8e9880$6506a8c0@fountain

>>>>> "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	other threads:[~2007-01-07 23:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-07  2:24 c-mark-function goes too far Pete Klammer
2007-01-07 23:31 ` Eric Hanchrow [this message]
     [not found] ` <mailman.2837.1168213818.2155.bug-gnu-emacs@gnu.org>
2007-01-09 23:53   ` Miles Bader
2007-01-10 18:46     ` Richard Stallman
2007-01-10 20:44       ` Alan Mackenzie
2007-01-11  4:55         ` Miles Bader
2007-01-11  5:10         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wt3ypg6o.fsf@offby1.atm01.sea.blarg.net \
    --to=offby1@blarg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).