From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: bug#4717: 23.1.50; C-M-h in bibtex mode Date: Sun, 18 Oct 2009 22:38:45 -0500 Message-ID: <19163.57157.842686.926110@regnitz.physics.niu.edu> References: <8763agjs00.fsf@stupidchicken.com> <19163.19389.592808.77535@regnitz.physics.niu.edu> <87ws2sbg0k.fsf@stupidchicken.com> Reply-To: Roland Winkler , 4717@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1255924062 20832 80.91.229.12 (19 Oct 2009 03:47:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 03:47:42 +0000 (UTC) Cc: 4717@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 19 05:47:28 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 1MzjDQ-00026g-2B for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Oct 2009 05:47:24 +0200 Original-Received: from localhost ([127.0.0.1]:42816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzjDP-00061t-BF for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Oct 2009 23:47:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MzjDL-00060L-DR for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 23:47:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MzjDG-0005z3-Ux for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 23:47:18 -0400 Original-Received: from [199.232.76.173] (port=44347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzjDG-0005z0-Ni for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 23:47:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57160) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MzjDF-0000ER-UQ for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2009 23:47: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 n9J3lCib019642; Sun, 18 Oct 2009 20:47:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9J3j5N0019150; Sun, 18 Oct 2009 20:45:05 -0700 Resent-Date: Sun, 18 Oct 2009 20:45:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Roland Winkler" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 19 Oct 2009 03:45: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.125592353118335 (code B ref 4717); Mon, 19 Oct 2009 03:45:05 +0000 Original-Received: (at 4717) by emacsbugs.donarmstrong.com; 19 Oct 2009 03:38:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from tfkpsv.physik.uni-erlangen.de (tfkpsv.physik.uni-erlangen.de [131.188.164.197]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9J3cn4r018332 for <4717@emacsbugs.donarmstrong.com>; Sun, 18 Oct 2009 20:38:51 -0700 Original-Received: from regnitz.physics.niu.edu (adsl-68-77-29-3.dsl.emhril.ameritech.net [68.77.29.3]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id BE3CE84B34; Mon, 19 Oct 2009 05:38:48 +0200 (CEST) In-Reply-To: <87ws2sbg0k.fsf@stupidchicken.com> X-Mailer: VM 8.2 trial under 23.1.50.1 (i686-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 18 Oct 2009 23:47:18 -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:32087 Archived-At: On Sun Oct 18 2009 Chong Yidong wrote: > > mark-defun does not put point where beginning-of-defun puts it. But > > if there is an empty line preceding the beginning-of-defun location, > > mark-defun will put point there. Why? The docstring of mark-defun > > does not explain this behavior. > > I don't know the answer. This behavior dates to 1993, though, so I > don't think it's feasible to change it for Lisp mode. Agreed, changing it will probably break something. Could it be that the empty line was included so that in a sequence of defuns (each normally separated by one empty line) mark-defun could by used, for example in combination with kill-region and yank to move around defuns in a simple way? No matter whether something like that or anything else was the actual reason for implementing this behavior, the docstring should always document the actual behavior Roland