GNU bug report logs - #4717
23.1.50; C-M-h in bibtex mode

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Tue, 13 Oct 2009 15:35:04 UTC

Severity: minor

Tags: moreinfo

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #36 received at 4717 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: dieter <at> duenenhof-wilhelm.de (H. Dieter Wilhelm)
Cc: 4717 <at> debbugs.gnu.org, Chong Yidong <cyd <at> stupidchicken.com>,
 Roland Winkler <winkler <at> gnu.org>, sdl.web <at> gmail.com
Subject: Re: bug#4717: 23.1.50; C-M-h in bibtex mode
Date: Wed, 05 Nov 2014 10:37:56 -0500
> Summary of this thread from 2009 about the unusual behaviour of
> C-M-h (bibtex-mark-entry) in BibTeX mode
> 1) In BibTeX mode C-M-h does (still) not switch on a transient region

Indeed.

Ideally BibTeX's C-M-h should not be rebound, and instead
beginning-of-defun-function and end-of-defun-function should be set in
such as way that mark-defun marks the same text as bibtex-mark-entry.

> 4) The optional argument ALLOW-EXTEND is not explained in the doc string

It is, tho indirectly:

   Interactively, if this command is repeated
   or (in Transient Mark mode) if the mark is active,
   it marks the next defun after the ones already marked.

> I would like to volunteer and also argue that point 2) i. e. putting
> point *behind* a marked element(s) and advancing the marking from point
> is advantageous for large elements (pages, defuns, paragraphs), when the
> marked elements might span outside of the current window and the marking
> commands are repeated.  In this case the buffer is scrolled
> automatically with the new boundary and possible additional marking
> targets become visible.

Of course, C-SPC M-C-e M-C-e M-C-e would work about as well in that
case ;-)


        Stefan




This bug report was last modified 3 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.