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 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 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 i = 4 N ; 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 C-c C M-x M-p 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