From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#4717: 23.1.50; C-M-h in bibtex mode Date: Thu, 15 Oct 2009 16:56:31 -0400 Message-ID: <8763agjs00.fsf@stupidchicken.com> Reply-To: Chong Yidong , 4717@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255640876 18744 80.91.229.12 (15 Oct 2009 21:07:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2009 21:07:56 +0000 (UTC) Cc: 4717@emacsbugs.donarmstrong.com To: Roland Winkler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 15 23:07:45 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MyXY0-0001Ra-CO for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2009 23:07:44 +0200 Original-Received: from localhost ([127.0.0.1]:48014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyXXz-0001D8-Or for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2009 17:07:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyXXc-0000wS-IS for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2009 17:07:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyXXX-0000qn-Fq for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2009 17:07:19 -0400 Original-Received: from [199.232.76.173] (port=55774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyXXW-0000q4-NY for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2009 17:07:15 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55474) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyXXV-0003r9-UV for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2009 17:07:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9FL7BDh018448; Thu, 15 Oct 2009 14:07:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9FL55VL017495; Thu, 15 Oct 2009 14:05:05 -0700 Resent-Date: Thu, 15 Oct 2009 14:05:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 15 Oct 2009 21:05:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4717 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4717-submit@emacsbugs.donarmstrong.com id=B4717.125564019816366 (code B ref 4717); Thu, 15 Oct 2009 21:05:05 +0000 Original-Received: (at 4717) by emacsbugs.donarmstrong.com; 15 Oct 2009 20:56:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pantheon-po43.its.yale.edu (pantheon-po43.its.yale.edu [130.132.50.104]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9FKubuS016363 for <4717@emacsbugs.donarmstrong.com>; Thu, 15 Oct 2009 13:56:38 -0700 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n9FKuVXu005966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Oct 2009 16:56:31 -0400 Original-Received: by furry (Postfix, from userid 1000) id 9DFBAC070; Thu, 15 Oct 2009 16:56:31 -0400 (EDT) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 15 Oct 2009 17:07:19 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31974 Archived-At: 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.