From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2002: marked as done (`beginning-of-defun' pushes mark undocumentedly. It shouldn't!) Date: Sun, 25 Jan 2009 23:35:03 +0000 Message-ID: References: <20090125234411.GB6588@muc.de> <20090123112714.GA3056@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1232926503-22494-0" X-Trace: ger.gmane.org 1232927043 26137 80.91.229.12 (25 Jan 2009 23:44:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 23:44:03 +0000 (UTC) To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 00:45:15 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 1LREf3-0004N0-8F for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 00:45:05 +0100 Original-Received: from localhost ([127.0.0.1]:35126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LREdl-0005x0-IR for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 18:43:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LREdZ-0005r0-Oe for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 18:43:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LREdY-0005qa-5h for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 18:43:32 -0500 Original-Received: from [199.232.76.173] (port=42841 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LREdX-0005qQ-SO for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 18:43:31 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41466) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LREdX-00073y-Bh for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 18:43:31 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PNhT0u024901; Sun, 25 Jan 2009 15:43:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0PNZ3Vc022521; Sun, 25 Jan 2009 15:35:03 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2002 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:24538 Archived-At: This is a multi-part message in MIME format... ------------=_1232926503-22494-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 25 Jan 2009 23:44:11 +0000 with message-id <20090125234411.GB6588@muc.de> and subject line Re: bug#2002: `beginning-of-defun' pushes mark undocumente= dly. It shouldn't! has caused the Emacs bug report #2002, regarding `beginning-of-defun' pushes mark undocumentedly. It shouldn't! to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 2002: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2002 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1232926503-22494-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 23 Jan 2009 11:08:48 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0NB8i2W021745 for ; Fri, 23 Jan 2009 03:08:46 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQJu0-0006f8-3o for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 06:08:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQJtz-0006eQ-6u for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 06:08:43 -0500 Received: from [199.232.76.173] (port=34367 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQJtz-0006eK-3M for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 06:08:43 -0500 Received: from colin.muc.de ([193.149.48.1]:4589 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQJty-0006w7-KC for bug-gnu-emacs@gnu.org; Fri, 23 Jan 2009 06:08:42 -0500 Received: (qmail 71677 invoked by uid 3782); 23 Jan 2009 11:08:40 -0000 Received: from acm.muc.de (pD9E51D5E.dip.t-dialin.net [217.229.29.94]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Fri, 23 Jan 2009 12:08:38 +0100 Received: (qmail 3468 invoked by uid 1000); 23 Jan 2009 11:27:14 -0000 Date: Fri, 23 Jan 2009 11:27:14 +0000 To: bug-gnu-emacs@gnu.org Subject: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! Message-ID: <20090123112714.GA3056@muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 Hi, Emacs! I was "horrified" to find `beginning-of-defun' pushes the mark. OK, maybe I should wake up, this having been done as long ago as 2004-05-01 in .../emacs-lisp/lisp.el 1.53. However, this pushing of the mark is NOT DOCUMENTED, neither in the Emacs nor the Elisp manual. THIS IS A BUG!!!! This marking is fine (maybe) when a user types C-M-a. Actually, I think it's of marginal utility - it's about as likely to be a nuisance as to be helpful. The marking is NOT ACCEPTABLE when begining-of-defun is used in a lisp program. Using b-o-d in a program is a reasonable thing to do. The feature, if it is to remain must be documented in both manuals. OK, I'm volunteering to do this. ;-) POSSIBLE FIXES ============== 1. A new customizable option, with a name better than `defun-movement-leaves-mark'. This could be bound to nil by lisp programs. 2. Document that lisp programs should use `beginning-of-defun-raw'. (Does this exist in XEmacs?). 3. Revert b-o-d to leaving the mark well alone. What do people think? -- Alan Mackenzie (Nuremberg, Germany). ------------=_1232926503-22494-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2002-done) by emacsbugs.donarmstrong.com; 25 Jan 2009 23:25:31 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.muc.de (qmailr@colin.muc.de [193.149.48.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PNPSdf021177 for <2002-done@emacsbugs.donarmstrong.com>; Sun, 25 Jan 2009 15:25:29 -0800 Received: (qmail 57698 invoked by uid 3782); 25 Jan 2009 23:25:27 -0000 Received: from acm.muc.de (pD9E50198.dip.t-dialin.net [217.229.1.152]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 26 Jan 2009 00:25:25 +0100 Received: (qmail 7023 invoked by uid 1000); 25 Jan 2009 23:44:11 -0000 Date: Sun, 25 Jan 2009 23:44:11 +0000 To: 2002-done@emacsbugs.donarmstrong.com Subject: Re: bug#2002: `beginning-of-defun' pushes mark undocumentedly. It shouldn't! Message-ID: <20090125234411.GB6588@muc.de> References: <20090123112714.GA3056@muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090123112714.GA3056@muc.de> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de On Fri, Jan 23, 2009 at 11:27:14AM +0000, Alan Mackenzie wrote: > Hi, Emacs! > I was "horrified" to find `beginning-of-defun' pushes the mark. OK, > maybe I should wake up, this having been done as long ago as 2004-05-01 > in .../emacs-lisp/lisp.el 1.53. > However, this pushing of the mark is NOT DOCUMENTED, neither in the > Emacs nor the Elisp manual. THIS IS A BUG!!!! Closed - there is no bug. The report was a mistake. -- Alan Mackenzie (Nuremberg, Germany). ------------=_1232926503-22494-0--