bug#5525: 23.1; In c-mode, C-M-h multiple times does nothing
From:
Dani Moncayo
Subject:
bug#5525: 23.1; In c-mode, C-M-h multiple times does nothing
Date:
Thu, 4 Feb 2010 22:03:43 +0100
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 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