From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.devel Subject: inconsistent parsing functions in bibtex-mode Date: Wed, 30 May 2018 13:46:33 -0500 Message-ID: <61833.21401.424935.23310@gargle.gargle.HOWL> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1527705885 15347 195.159.176.226 (30 May 2018 18:44:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 May 2018 18:44:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 30 20:44:41 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fO65R-0003tm-H7 for ged-emacs-devel@m.gmane.org; Wed, 30 May 2018 20:44:41 +0200 Original-Received: from localhost ([::1]:40265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fO67Y-0002Zy-C0 for ged-emacs-devel@m.gmane.org; Wed, 30 May 2018 14:46:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fO67I-0002Y5-2P for emacs-devel@gnu.org; Wed, 30 May 2018 14:46:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fO67H-0006UO-7c for emacs-devel@gnu.org; Wed, 30 May 2018 14:46:36 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fO67H-0006UK-3o for emacs-devel@gnu.org; Wed, 30 May 2018 14:46:35 -0400 Original-Received: from [2602:30a:2e52:d720:65b7:1416:12e7:8bfb] (port=50228 helo=regnitz) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1fO67G-00060Z-Md for emacs-devel@gnu.org; Wed, 30 May 2018 14:46:34 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225829 Archived-At: Unexpectedly I was hit again by an old problem with bibtex-mode: This mode defines functions bibtex-beginning-of-entry and bibtex-end-of-entry which are *similar* to beginning-of-defun and end-of-defun. However: repeated calls of these functions do not move point beyond the current BibTeX entry. So, while it would be nice in bibtex-mode to bind beginning-of-defun-function and end-of-defun-function to these bibtex-mode functions, this won't work at the moment. Hence my question: how to deal with this? I guess the options are: (1) Keep the behavior of these functions the way they are. (2) Align the behavior of these functions with what other modes do. I want to check here before possibly investing more time into option (2). I doubt that many people use these commands interactively in a way that changing their behavior would disturb their work flow. I expect that (if at all) this may affect people who have somehow customized bibtex-mode for their needs. But it's hard to predict details.