unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 5525@debbugs.gnu.org
Subject: bug#5525: 23.1; In c-mode, C-M-h multiple times does nothing
Date: Sat, 06 Feb 2010 14:33:43 -0500	[thread overview]
Message-ID: <i5eikyyx9k.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <2f987f0d1002041303ibb30909o34730025c10c17bf@mail.gmail.com> (Dani Moncayo's message of "Thu\, 4 Feb 2010 22\:03\:43 +0100")

Dani Moncayo wrote:

> So, Why i can't select f2 when i run the C-M-h command several times
> in a row?

Because in c-mode, C-M-h doesn't run mark-defun, it runs C-mode's
version of mark-defun, which doesn't have the feature you describe.
I'm sure other modes are guilty of this too (eg the Fortran ones are).

This feature could be added to each mode's version, but the right
thing is probably to just leave C-M-h bound to the standard
mark-defun. Provided end-of-defun-function etc are set to the correct
mode-specific values, mark-defun ought to do the right thing in each
mode anyway.

But it probably isn't appropriate to change this for 23.2 at this
stage.






  reply	other threads:[~2010-02-06 19:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-04 21:03 bug#5525: 23.1; In c-mode, C-M-h multiple times does nothing Dani Moncayo
2010-02-06 19:33 ` Glenn Morris [this message]
2012-03-08 11:49 ` bug#5525: Bug #5525: " Alan Mackenzie

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=i5eikyyx9k.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=5525@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    /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).