From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21072: 24.5; inconsistent behaviour of `C-M-h (mark-defun)' in Emacs Lisp Date: Sun, 01 May 2016 20:17:08 +0300 Message-ID: <83r3dln1ez.fsf@gnu.org> References: <55A74B3C.8030608@gmail.com> <87k2jm2bay.fsf@amu.edu.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462123125 32002 80.91.229.3 (1 May 2016 17:18:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 17:18:45 +0000 (UTC) Cc: rfflrccrd@gmail.com, 21072@debbugs.gnu.org To: Marcin Borkowski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 01 19:18:34 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awv0r-0004V7-Mr for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 19:18:33 +0200 Original-Received: from localhost ([::1]:33728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awv0k-0007ca-Ha for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 13:18:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awv0a-0007RA-U6 for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 13:18:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awv0P-00024v-8E for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 13:18:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awv0P-00023a-58 for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 13:18:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awv0L-0003Lr-OI for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 13:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 May 2016 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21072 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21072-submit@debbugs.gnu.org id=B21072.146212304912845 (code B ref 21072); Sun, 01 May 2016 17:18:01 +0000 Original-Received: (at 21072) by debbugs.gnu.org; 1 May 2016 17:17:29 +0000 Original-Received: from localhost ([127.0.0.1]:60893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awuzp-0003L7-Lb for submit@debbugs.gnu.org; Sun, 01 May 2016 13:17:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awuzp-0003Kw-0g for 21072@debbugs.gnu.org; Sun, 01 May 2016 13:17:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awuza-0001wl-7a for 21072@debbugs.gnu.org; Sun, 01 May 2016 13:17:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awuza-0001wC-4N; Sun, 01 May 2016 13:17:14 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2755 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1awuzU-0003vL-3G; Sun, 01 May 2016 13:17:08 -0400 In-reply-to: <87k2jm2bay.fsf@amu.edu.pl> (message from Marcin Borkowski on Mon, 25 Apr 2016 13:11:01 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:117522 Archived-At: > From: Marcin Borkowski > Date: Mon, 25 Apr 2016 13:11:01 +0200 > Cc: 21072@debbugs.gnu.org > > On 2015-07-16, at 08:12, Raffaele Ricciardi wrote: > > > Dear Emacs maintainers, > > > > the documentation for `mark-defun' says: > > > > The defun marked is the one that contains point or follows point. > > > > However, Emacs may mark the preceding defun instead, and it may > > mark an unrelated preceding comment along with the defun. > > Confirmed on GNU Emacs 25.1.50.8 (commit 912e915). FWIW, I don't see why the behavior flagged "incorrect" is deemed incorrect. It looks correct to me. In all of those examples point is between 2 functions, so what exactly is "correct" is open to discussion. Am I missing something?