unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Roland Winkler <roland.winkler@physik.uni-erlangen.de>
Cc: 4717@emacsbugs.donarmstrong.com
Subject: bug#4717: 23.1.50; C-M-h in bibtex mode
Date: Thu, 15 Oct 2009 16:56:31 -0400	[thread overview]
Message-ID: <8763agjs00.fsf@stupidchicken.com> (raw)

Hi Roland,

Could you take a look at this bug?  There seems to be no good reason for
bibtex to behave differently than the rest of Emacs.  What bibtex-mode
probably needs to do is to bind beginning/end-of-defun-function to
bibtex-beginning/end-of-entry.  Then you can remove bibtex-mark-entry
(or rather make it an obsolete alias for mark-defun).

WDYT?

> C-M-h which runs bibtex-mark-entry in BibTeX-mode seems to be
> inconsistent with C-M-h in other modes. For example, C-M-h in
> emacs-lisp-mode will mark the 'defun' with highlighted region and the
> point in the beginning of the region.

> In BibTeX mode, however, the region is _not_ highlighted and the point
> is left at the end of the region.

> I wonder if this inconsistency can be done away with.





             reply	other threads:[~2009-10-15 20:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 20:56 Chong Yidong [this message]
2009-10-15 23:09 ` bug#4717: 23.1.50; C-M-h in bibtex mode Roland Winkler
2009-10-18 17:09 ` Roland Winkler
2009-10-18 20:31   ` Chong Yidong
2009-10-19  3:38     ` Roland Winkler
2009-10-13 15:26       ` Leo
2014-11-04 16:15         ` H. Dieter Wilhelm
2014-11-05 15:37           ` Stefan Monnier
2014-11-11 23:53         ` H. Dieter Wilhelm
2022-02-07  0:50       ` Lars Ingebrigtsen
2022-03-07  2:53         ` Lars Ingebrigtsen
2022-03-07  8:18           ` Colin Baxter
2022-03-07 17:39             ` Roland Winkler

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=8763agjs00.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=4717@emacsbugs.donarmstrong.com \
    --cc=roland.winkler@physik.uni-erlangen.de \
    /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).