unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: 5525@debbugs.gnu.org
Subject: bug#5525: 23.1; In c-mode, C-M-h multiple times does nothing
Date: Thu, 4 Feb 2010 22:03:43 +0100	[thread overview]
Message-ID: <2f987f0d1002041303ibb30909o34730025c10c17bf@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3584 bytes --]

I've tried the C-M-h command at the beginning of a very simple buffer in
c-mode.

The first time i use de command, the first "defun" is selected, but when i
repeat the command more times, nothing happens, but there are more defun's
after the first one!!

This is my c-mode buffer:

-------------------------
int f1()
{
  return 1;
}


int f2()
{
  return 1;
}
-------------------------

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



In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-10 on crested, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure  '--build=x86_64-linux-gnu'
'--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var/lib'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: es_ES.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
  iswitchb-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
n M-h M-h M-h M-h C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-g M-h M-h M-h M-h C-g C-h C-h C-h C-g C-g
C-g C-g M-h M-h M-h C-g C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-k C-x C-s C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p M-h M-h M-h
M-h C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-g M-h M-h M-h M-h M-h C-g C-M-h C-M-h C-M-h C-M-h
C-M-h C-M-h C-M-h C-M-h C-M-h C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-g
s-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-f C-f C-f C-f g e <backspace>
<backspace> f 1 C-d C-d C-d C-d C-d C-d C-d C-d C-d
C-n C-n C-n C-n C-n C-n C-b C-b C-f <backspace> f 2
C-d C-d C-d C-d C-d C-d C-d C-d C-x C-s C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-a
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-x C-s C-k C-k
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
C-k C-p C-p C-n C-e <return> <return> i = 4 N <backspace>
; <return> <return> r e t u r n SPC i ; C-x C-s C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-M-h C-M-h
C-M-h C-M-h C-M-h C-M-h C-n C-n C-n C-g C-M-h C-M-h
C-M-h M-x r e p o r t SPC e m a SPC b u SPC <return>
C-c C M-x M-p <return>

Recent messages:
Saving file /home/dani/emacs/prueba.c...
Wrote /home/dani/emacs/prueba.c
Saving file /home/dani/emacs/prueba.c...
Wrote /home/dani/emacs/prueba.c
Saving file /home/dani/emacs/prueba.c...
Wrote /home/dani/emacs/prueba.c
Mark set [6 times]
Quit
Mark set [3 times]
/usr/bin/mail is not an executable.  Setting mail-interactive to t.
Quit

[-- Attachment #2: Type: text/html, Size: 4159 bytes --]

             reply	other threads:[~2010-02-04 21:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-04 21:03 Dani Moncayo [this message]
2010-02-06 19:33 ` bug#5525: 23.1; In c-mode, C-M-h multiple times does nothing Glenn Morris
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=2f987f0d1002041303ibb30909o34730025c10c17bf@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=5525@debbugs.gnu.org \
    /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).