From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.bugs Subject: bug#25015: 26.0.50; beginning-of-defun-raw goes too far Date: Thu, 24 Nov 2016 22:18:28 +0100 Message-ID: <877f7sr2zf.fsf@mbork.pl> References: <87bmx5qbbx.fsf@mbork.pl> <83d1hk6cga.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1480022356 31808 195.159.176.226 (24 Nov 2016 21:19:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2016 21:19:16 +0000 (UTC) User-Agent: mu4e 0.9.17; emacs 26.0.50.3 Cc: 25015@debbugs.gnu.org, 25015-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 24 22:19:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cA1QE-0007PZ-DC for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 22:19:10 +0100 Original-Received: from localhost ([::1]:42287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cA1QH-0008Ld-Vt for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 16:19:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cA1Q9-0008LB-Pv for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 16:19:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cA1Q6-0003Io-Ek for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 16:19:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cA1Q6-0003Ig-BU for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 16:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cA1Q5-0005ma-Uu for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 16:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2016 21:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25015 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25015-submit@debbugs.gnu.org id=B25015.148002231622190 (code B ref 25015); Thu, 24 Nov 2016 21:19:01 +0000 Original-Received: (at 25015) by debbugs.gnu.org; 24 Nov 2016 21:18:36 +0000 Original-Received: from localhost ([127.0.0.1]:40782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cA1Pg-0005ll-2e for submit@debbugs.gnu.org; Thu, 24 Nov 2016 16:18:36 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:52710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cA1Pe-0005lX-0q; Thu, 24 Nov 2016 16:18:34 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 8C1591DA042; Thu, 24 Nov 2016 22:18:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9DllvwWwEzh6; Thu, 24 Nov 2016 22:18:30 +0100 (CET) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 3CAC81DA037; Thu, 24 Nov 2016 22:18:30 +0100 (CET) In-reply-to: <83d1hk6cga.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:126063 Archived-At: On 2016-11-24, at 17:59, Eli Zaretskii wrote: >> From: Marcin Borkowski >> Date: Thu, 24 Nov 2016 14:03:30 +0100 >> >> consider this in an Elisp-mode buffer: >> >> --8<---------------cut here---------------start------------->8--- >> ;; Comment header >> >> -!-(defun func-1 (arg) >> "docstring" >> body) >> --8<---------------cut here---------------end--------------->8--- >> >> (-!- means the point). > > This means point is actually _before_ the function, right? Now that I think of it... yes. >> Type M-x beginning-of-defun-raw. The point moves to the beginning >> of buffer instead of staying where it is. > > Do you still think it's a problem? Yes and no. I can see now that this is not necessarily a bug. OTOH, if you now press M-h instead of e.g. C-M-a, you will see why I considered this a problem. (And this is in stock mark-defun; my version has the same problem, I'll have to think how to deal with it.) I'm thus closing this, and sorry for the noise. -- Marcin Borkowski