From unknown Thu Sep 18 19:00:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18847 <18847@debbugs.gnu.org> To: bug#18847 <18847@debbugs.gnu.org> Subject: Status: 24.4; Inconsistent behaviour of M-h with negative arguments Reply-To: bug#18847 <18847@debbugs.gnu.org> Date: Fri, 19 Sep 2025 02:00:42 +0000 retitle 18847 24.4; Inconsistent behaviour of M-h with negative arguments reassign 18847 emacs submitter 18847 dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) severity 18847 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 26 19:28:02 2014 Received: (at submit) by debbugs.gnu.org; 26 Oct 2014 23:28:02 +0000 Received: from localhost ([127.0.0.1]:36262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XiXE9-0000Kv-4k for submit@debbugs.gnu.org; Sun, 26 Oct 2014 19:28:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39945) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XiXE6-0000Kg-CW for submit@debbugs.gnu.org; Sun, 26 Oct 2014 19:27:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiXDr-0005G8-SE for submit@debbugs.gnu.org; Sun, 26 Oct 2014 19:27:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiXDr-0005G4-PF for submit@debbugs.gnu.org; Sun, 26 Oct 2014 19:27:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiXDi-0002sQ-Mh for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 19:27:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiXDZ-0005DA-LI for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 19:27:34 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:53549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiXDZ-0005Cy-8U for bug-gnu-emacs@gnu.org; Sun, 26 Oct 2014 19:27:25 -0400 Received: by mail-la0-f44.google.com with SMTP id hs14so4977222lab.17 for ; Sun, 26 Oct 2014 16:27:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:mime-version:content-type; bh=NuWTRd4eud/rih3X/CUM+LXxchvRISHKpZ4yFlx678w=; b=iCbXNhpBBihzsbsIgN9dCFJebebwRnORItLewI5//s4TbGgWU5970au7T0HyMnFJHB y1+K1bodj321K//N/QETb/y9jrGmqr5vPKhQpb7Ckuv1vf/O6+Spr7O8EVSpS5EFbLqV DQNUXpKinla0fKXeCPsH3nc/Y7GjZpVtTxgYn7MKhZwvVyHNyUGrWxQ4ynGIs+7Xw+7S YHERB+RSVhgr3r1Vj3uoaCzWNjboQKU8CuQLzfI/LGuQrfOQ5vHva3aYNlOLSVpUhTpk wPfSsN/1GHMNmDcs71S1fZXUKkAJt8VQmd4ivFL9PEhcfFH9cdUoTDZrZgDIa9wLueae fEDg== X-Received: by 10.112.93.231 with SMTP id cx7mr4999849lbb.89.1414366043574; Sun, 26 Oct 2014 16:27:23 -0700 (PDT) Received: from vsl28t2g.ww011 (p57ACF456.dip0.t-ipconnect.de. [87.172.244.86]) by mx.google.com with ESMTPSA id qg4sm4343988lbb.36.2014.10.26.16.27.22 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 26 Oct 2014 16:27:22 -0700 (PDT) From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) To: bug-gnu-emacs@gnu.org Subject: 24.4; Inconsistent behaviour of M-h with negative arguments Date: Mon, 27 Oct 2014 00:27:20 +0100 Message-ID: <877fzmqunb.fsf@vsl28t2g.ww011> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello, please try M-- M-h M-h M-h. below some paragraphs. The behaviour is not in line with the other marking commands like M-@, ... Here's a suggestion and a matching patch: (defun mark-paragraph (&optional arg allow-extend) "Put mark at beginning of this paragraph, point at end. The paragraph marked is the one that contains point or follows point. With argument ARG, puts mark at the end of a following paragraph, so that the number of paragraphs marked equals ARG. If ARG is negative, point is put at the beginning of this paragraph, mark is put at the end of this or a previous paragraph. Interactively, if this command is repeated or (in Transient Mark Mode) if the mark is active, it marks the next ARG paragraphs after the ones already marked. This means when activating the mark before using this command, the current paragraph is only marked from point." (interactive "P\np") (let ((numeric-arg (prefix-numeric-value arg))) (cond ((eobp) ; smart-aleck? (backward-paragraph (abs numeric-arg)) (push-mark nil t t) (forward-paragraph (abs numeric-arg))) ((and allow-extend ;we already called this function or have ;a (possibly empty) region (or (eq last-command this-command) (region-active-p))) (if arg (setq arg numeric-arg) (if (< (mark) (point)) (setq arg -1) (setq arg 1))) (set-mark (save-excursion (goto-char (mark)) (forward-paragraph arg) (point)))) ((zerop numeric-arg) (message "Will not mark zero paragraphs.")) (t (forward-paragraph numeric-arg) (push-mark nil t t) (backward-paragraph numeric-arg))))) Thank you for your troubles! diff -c /usr/local/src/emacs-24.4/lisp/textmodes/paragraphs.el /usr/local/src/emacs/lisp/textmodes/paragraphs.el *** /usr/local/src/emacs-24.4/lisp/textmodes/paragraphs.el 2014-03-21 06:34:40.000000000 +0100 --- /usr/local/src/emacs/lisp/textmodes/paragraphs.el 2014-10-27 00:22:41.874845901 +0100 *************** *** 370,403 **** (forward-paragraph (- arg))) (defun mark-paragraph (&optional arg allow-extend) ! "Put point at beginning of this paragraph, mark at end. ! The paragraph marked is the one that contains point or follows point. ! With argument ARG, puts mark at end of a following paragraph, so that ! the number of paragraphs marked equals ARG. ! If ARG is negative, point is put at end of this paragraph, mark is put ! at beginning of this or a previous paragraph. ! Interactively (or if ALLOW-EXTEND is non-nil), if this command is ! repeated or (in Transient Mark mode) if the mark is active, ! it marks the next ARG paragraphs after the ones already marked." ! (interactive "p\np") ! (unless arg (setq arg 1)) ! (when (zerop arg) ! (error "Cannot mark zero paragraphs")) ! (cond ((and allow-extend ! (or (and (eq last-command this-command) (mark t)) ! (and transient-mark-mode mark-active))) ! (set-mark ! (save-excursion ! (goto-char (mark)) ! (forward-paragraph arg) ! (point)))) ! (t ! (forward-paragraph arg) ! (push-mark nil t t) ! (backward-paragraph arg)))) (defun kill-paragraph (arg) "Kill forward to end of paragraph. --- 370,417 ---- (forward-paragraph (- arg))) (defun mark-paragraph (&optional arg allow-extend) ! "Put mark at beginning of this paragraph, point at end. ! The paragraph marked is the one that contains point or follows ! point. ! With argument ARG, puts mark at the end of a following paragraph, ! so that the number of paragraphs marked equals ARG. ! If ARG is negative, point is put at the beginning of this ! paragraph, mark is put at the end of this or a previous ! paragraph. ! Interactively, if this command is repeated or (in Transient Mark ! Mode) if the mark is active, it marks the next ARG paragraphs ! after the ones already marked. This means when activating the ! mark before using this command, the current paragraph is only ! marked from point." ! (interactive "P\np") ! (let ((numeric-arg (prefix-numeric-value arg))) ! (cond ((eobp) ; smart-aleck? ! (backward-paragraph (abs numeric-arg)) ! (push-mark nil t t) ! (forward-paragraph (abs numeric-arg))) ! ((and allow-extend ;we already called this function or have ! ;a (possibly empty) region ! (or (eq last-command this-command) ! (region-active-p))) ! (if arg ! (setq arg numeric-arg) ! (if (< (mark) (point)) ! (setq arg -1) ! (setq arg 1))) ! (set-mark ! (save-excursion ! (goto-char (mark)) ! (forward-paragraph arg) ! (point)))) ! ((zerop numeric-arg) ! (message "Will not mark zero paragraphs.")) ! (t ! (forward-paragraph numeric-arg) ! (push-mark nil t t) ! (backward-paragraph numeric-arg))))) (defun kill-paragraph (arg) "Kill forward to end of paragraph. Diff finished. Mon Oct 27 00:22:49 2014 -- Best wishes H. Dieter Wilhelm Darmstadt, Germany From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 27 05:20:41 2014 Received: (at submit) by debbugs.gnu.org; 27 Oct 2014 09:20:42 +0000 Received: from localhost ([127.0.0.1]:36363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XigTc-0007Mh-M9 for submit@debbugs.gnu.org; Mon, 27 Oct 2014 05:20:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55095) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XigTZ-0007MP-0o for submit@debbugs.gnu.org; Mon, 27 Oct 2014 05:20:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XigTM-0005FN-Ub for submit@debbugs.gnu.org; Mon, 27 Oct 2014 05:20:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XigTM-0005FG-S3 for submit@debbugs.gnu.org; Mon, 27 Oct 2014 05:20:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XigTG-0008MB-TG for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 05:20:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XigTA-0005C4-Tz for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 05:20:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:57847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XigTA-0005Au-Jt for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 05:20:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XifX1-0003yY-BR for bug-gnu-emacs@gnu.org; Mon, 27 Oct 2014 09:20:03 +0100 Received: from p57acd226.dip0.t-ipconnect.de ([87.172.210.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Oct 2014 09:20:03 +0100 Received: from dieter by p57acd226.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Oct 2014 09:20:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Subject: Re: bug#18847: 24.4; Inconsistent behaviour of M-h with negative arguments Date: Mon, 27 Oct 2014 08:37:44 +0100 Organization: The Church of Emacs Lines: 291 Message-ID: <8738aaq7xz.fsf@vsl28t2g.ww011> References: <877fzmqunb.fsf@vsl28t2g.ww011> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p57acd226.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:Iw53S0/620lZew01ZDTPBctBmyw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > Hello, > > please try M-- M-h M-h M-h. > > below some paragraphs. The behaviour is not in line with the other > marking commands like M-@, ... > > Here's a suggestion and a matching patch: I'm sorry, I overlooked a special case: (defun mark-paragraph (&optional arg allow-extend) "Put mark at beginning of this paragraph, point at end. The paragraph marked is the one that contains point or follows point. With argument ARG, puts mark at the end of this or a following paragraph, so that the number of paragraphs marked equals ARG. If ARG is negative, point is put at the beginning of this paragraph, mark is put at the end of this or a previous paragraph. Interactively, if this command is repeated or (in Transient Mark Mode) if the mark is active, it marks the next ARG paragraphs after the region already marked. This also means when activating the mark immediately before using this command, the current paragraph is only marked from point." (interactive "P\np") (let ((numeric-arg (prefix-numeric-value arg))) (cond ((eobp) ; smart-aleck? (backward-paragraph (abs numeric-arg)) (push-mark nil t t) (forward-paragraph (abs numeric-arg))) ((and allow-extend (or (region-active-p) (and (eq last-command this-command) mark-active))) (if arg (setq arg numeric-arg) (if (< (mark) (point)) (setq arg -1) (setq arg 1))) (set-mark (save-excursion (goto-char (mark)) (forward-paragraph arg) (point)))) ((zerop numeric-arg) (message "Will not mark zero paragraphs.")) (t (forward-paragraph numeric-arg) (push-mark nil t t) (backward-paragraph numeric-arg))))) diff -c /usr/local/src/emacs-24.4/lisp/textmodes/paragraphs.el /usr/local/src/emacs/lisp/textmodes/paragraphs.el *** /usr/local/src/emacs-24.4/lisp/textmodes/paragraphs.el 2014-03-21 06:34:40.000000000 +0100 --- /usr/local/src/emacs/lisp/textmodes/paragraphs.el 2014-10-27 08:31:27.457755345 +0100 *************** *** 370,403 **** (forward-paragraph (- arg))) (defun mark-paragraph (&optional arg allow-extend) ! "Put point at beginning of this paragraph, mark at end. ! The paragraph marked is the one that contains point or follows point. ! With argument ARG, puts mark at end of a following paragraph, so that ! the number of paragraphs marked equals ARG. ! If ARG is negative, point is put at end of this paragraph, mark is put ! at beginning of this or a previous paragraph. ! Interactively (or if ALLOW-EXTEND is non-nil), if this command is ! repeated or (in Transient Mark mode) if the mark is active, ! it marks the next ARG paragraphs after the ones already marked." ! (interactive "p\np") ! (unless arg (setq arg 1)) ! (when (zerop arg) ! (error "Cannot mark zero paragraphs")) ! (cond ((and allow-extend ! (or (and (eq last-command this-command) (mark t)) ! (and transient-mark-mode mark-active))) ! (set-mark ! (save-excursion ! (goto-char (mark)) ! (forward-paragraph arg) ! (point)))) ! (t ! (forward-paragraph arg) ! (push-mark nil t t) ! (backward-paragraph arg)))) (defun kill-paragraph (arg) "Kill forward to end of paragraph. --- 370,416 ---- (forward-paragraph (- arg))) (defun mark-paragraph (&optional arg allow-extend) ! "Put mark at beginning of this paragraph, point at end. ! The paragraph marked is the one that contains point or follows ! point. ! With argument ARG, puts mark at the end of this or a following ! paragraph, so that the number of paragraphs marked equals ARG. ! If ARG is negative, point is put at the beginning of this ! paragraph, mark is put at the end of this or a previous ! paragraph. ! Interactively, if this command is repeated or (in Transient Mark ! Mode) if the mark is active, it marks the next ARG paragraphs ! after the region already marked. This also means when activating ! the mark immediately before using this command, the current ! paragraph is only marked from point." ! (interactive "P\np") ! (let ((numeric-arg (prefix-numeric-value arg))) ! (cond ((eobp) ; smart-aleck? ! (backward-paragraph (abs numeric-arg)) ! (push-mark nil t t) ! (forward-paragraph (abs numeric-arg))) ! ((and allow-extend ! (or (region-active-p) ! (and (eq last-command this-command) mark-active))) ! (if arg ! (setq arg numeric-arg) ! (if (< (mark) (point)) ! (setq arg -1) ! (setq arg 1))) ! (set-mark ! (save-excursion ! (goto-char (mark)) ! (forward-paragraph arg) ! (point)))) ! ((zerop numeric-arg) ! (message "Will not mark zero paragraphs.")) ! (t ! (forward-paragraph numeric-arg) ! (push-mark nil t t) ! (backward-paragraph numeric-arg))))) (defun kill-paragraph (arg) "Kill forward to end of paragraph. Diff finished. Mon Oct 27 08:31:56 2014 > (defun mark-paragraph (&optional arg allow-extend) > "Put mark at beginning of this paragraph, point at end. > The paragraph marked is the one that contains point or follows > point. > > With argument ARG, puts mark at the end of a following paragraph, > so that the number of paragraphs marked equals ARG. > > If ARG is negative, point is put at the beginning of this > paragraph, mark is put at the end of this or a previous > paragraph. > > Interactively, if this command is repeated or (in Transient Mark > Mode) if the mark is active, it marks the next ARG paragraphs > after the ones already marked. This means when activating the > mark before using this command, the current paragraph is only > marked from point." > (interactive "P\np") > (let ((numeric-arg (prefix-numeric-value arg))) > (cond ((eobp) ; smart-aleck? > (backward-paragraph (abs numeric-arg)) > (push-mark nil t t) > (forward-paragraph (abs numeric-arg))) > ((and allow-extend ;we already called this function or have > ;a (possibly empty) region > (or (eq last-command this-command) > (region-active-p))) > (if arg > (setq arg numeric-arg) > (if (< (mark) (point)) > (setq arg -1) > (setq arg 1))) > (set-mark > (save-excursion > (goto-char (mark)) > (forward-paragraph arg) > (point)))) > ((zerop numeric-arg) > (message "Will not mark zero paragraphs.")) > (t > (forward-paragraph numeric-arg) > (push-mark nil t t) > (backward-paragraph numeric-arg))))) > > > Thank you for your troubles! > > diff -c /usr/local/src/emacs-24.4/lisp/textmodes/paragraphs.el /usr/local/src/emacs/lisp/textmodes/paragraphs.el > *** /usr/local/src/emacs-24.4/lisp/textmodes/paragraphs.el 2014-03-21 06:34:40.000000000 +0100 > --- /usr/local/src/emacs/lisp/textmodes/paragraphs.el 2014-10-27 00:22:41.874845901 +0100 > *************** > *** 370,403 **** > (forward-paragraph (- arg))) > > (defun mark-paragraph (&optional arg allow-extend) > ! "Put point at beginning of this paragraph, mark at end. > ! The paragraph marked is the one that contains point or follows point. > > ! With argument ARG, puts mark at end of a following paragraph, so that > ! the number of paragraphs marked equals ARG. > > ! If ARG is negative, point is put at end of this paragraph, mark is put > ! at beginning of this or a previous paragraph. > > ! Interactively (or if ALLOW-EXTEND is non-nil), if this command is > ! repeated or (in Transient Mark mode) if the mark is active, > ! it marks the next ARG paragraphs after the ones already marked." > ! (interactive "p\np") > ! (unless arg (setq arg 1)) > ! (when (zerop arg) > ! (error "Cannot mark zero paragraphs")) > ! (cond ((and allow-extend > ! (or (and (eq last-command this-command) (mark t)) > ! (and transient-mark-mode mark-active))) > ! (set-mark > ! (save-excursion > ! (goto-char (mark)) > ! (forward-paragraph arg) > ! (point)))) > ! (t > ! (forward-paragraph arg) > ! (push-mark nil t t) > ! (backward-paragraph arg)))) > > (defun kill-paragraph (arg) > "Kill forward to end of paragraph. > --- 370,417 ---- > (forward-paragraph (- arg))) > > (defun mark-paragraph (&optional arg allow-extend) > ! "Put mark at beginning of this paragraph, point at end. > ! The paragraph marked is the one that contains point or follows > ! point. > > ! With argument ARG, puts mark at the end of a following paragraph, > ! so that the number of paragraphs marked equals ARG. > > ! If ARG is negative, point is put at the beginning of this > ! paragraph, mark is put at the end of this or a previous > ! paragraph. > > ! Interactively, if this command is repeated or (in Transient Mark > ! Mode) if the mark is active, it marks the next ARG paragraphs > ! after the ones already marked. This means when activating the > ! mark before using this command, the current paragraph is only > ! marked from point." > ! (interactive "P\np") > ! (let ((numeric-arg (prefix-numeric-value arg))) > ! (cond ((eobp) ; smart-aleck? > ! (backward-paragraph (abs numeric-arg)) > ! (push-mark nil t t) > ! (forward-paragraph (abs numeric-arg))) > ! ((and allow-extend ;we already called this function or have > ! ;a (possibly empty) region > ! (or (eq last-command this-command) > ! (region-active-p))) > ! (if arg > ! (setq arg numeric-arg) > ! (if (< (mark) (point)) > ! (setq arg -1) > ! (setq arg 1))) > ! (set-mark > ! (save-excursion > ! (goto-char (mark)) > ! (forward-paragraph arg) > ! (point)))) > ! ((zerop numeric-arg) > ! (message "Will not mark zero paragraphs.")) > ! (t > ! (forward-paragraph numeric-arg) > ! (push-mark nil t t) > ! (backward-paragraph numeric-arg))))) > > (defun kill-paragraph (arg) > "Kill forward to end of paragraph. > > Diff finished. Mon Oct 27 00:22:49 2014 -- Best wishes H. Dieter Wilhelm Darmstadt, Germany From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 28 13:05:11 2014 Received: (at 18847) by debbugs.gnu.org; 28 Oct 2014 17:05:11 +0000 Received: from localhost ([127.0.0.1]:37959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjACk-0001Rj-Qb for submit@debbugs.gnu.org; Tue, 28 Oct 2014 13:05:11 -0400 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:56429) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjACi-0001Ra-5V for 18847@debbugs.gnu.org; Tue, 28 Oct 2014 13:05:08 -0400 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 9111884F43; Tue, 28 Oct 2014 13:05:07 -0400 (EDT) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 470631E5874; Tue, 28 Oct 2014 13:04:44 -0400 (EDT) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 16B07B4245; Tue, 28 Oct 2014 13:04:44 -0400 (EDT) From: Stefan Monnier To: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Subject: Re: bug#18847: 24.4; Inconsistent behaviour of M-h with negative arguments Message-ID: References: <877fzmqunb.fsf@vsl28t2g.ww011> Date: Tue, 28 Oct 2014 13:04:44 -0400 In-Reply-To: <877fzmqunb.fsf@vsl28t2g.ww011> (H. Dieter Wilhelm's message of "Mon, 27 Oct 2014 00:27:20 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 18847 Cc: 18847@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) > please try M-- M-h M-h M-h. > below some paragraphs. The behaviour is not in line with the other > marking commands like M-@, ... Could you give more details about which differences you're thinking of? I have my ideas, but they don't seem to match yours, at least based on my reading of your patch. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 30 12:35:04 2014 Received: (at 18847) by debbugs.gnu.org; 30 Oct 2014 16:35:04 +0000 Received: from localhost ([127.0.0.1]:40704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xjsgh-0007OD-7M for submit@debbugs.gnu.org; Thu, 30 Oct 2014 12:35:03 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:40581) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xjsge-0007Nl-P4 for 18847@debbugs.gnu.org; Thu, 30 Oct 2014 12:35:01 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s9UGYw0C031758; Thu, 30 Oct 2014 12:34:59 -0400 Received: by ceviche.home (Postfix, from userid 20848) id EAA106610C; Thu, 30 Oct 2014 12:35:00 -0400 (EDT) From: Stefan Monnier To: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Subject: Re: bug#18847: 24.4; Inconsistent behaviour of M-h with negative arguments Message-ID: References: <877fzmqunb.fsf@vsl28t2g.ww011> <87oasvq1ja.fsf@vsl28t2g.ww011> Date: Thu, 30 Oct 2014 12:35:00 -0400 In-Reply-To: <87oasvq1ja.fsf@vsl28t2g.ww011> (H. Dieter Wilhelm's message of "Tue, 28 Oct 2014 23:20:41 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5110=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5110> : inlines <1462> : streams <1330543> : uri <1830472> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 18847 Cc: 18847@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) [ Be careful to keep 18847@debbugs.gnu.org in the Cc, please. ] > 1) The sole real bug - in my opinion - is that M-h doesn't retain the > "marking direction" from a negative argument when repeating. OK, I agree with this, it's a plain bug. > 2) When applying M-h (or any other marking command) at the end of a > buffer (at least interactively, I failed to address this), the right > thing to do is marking (a) previous element(s). I would like to know > if you find this a good idea. I have no opinion on this, I never use M-h myself. > 3) M-h (C-M-h and C-x C-p ) differ from C-@ and C-M-@ that they are > always marking (a) whole element(s). I wanted to clarify in the > documentation string that a marking from point is also achievable > with M-h. So this part is just a docstring change, right? > 4) M-h does signal an error applying zero as an argument, the other > marking commands just ignore zero, so I thought a message might be a > good compromise to the current state... I have no opinion on this one either. It doesn't seem terribly important, so reducing discrepancies in this case might be the dominating factor. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 03 12:56:13 2014 Received: (at 18847) by debbugs.gnu.org; 3 Nov 2014 17:56:13 +0000 Received: from localhost ([127.0.0.1]:47786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlLrQ-0005xM-UO for submit@debbugs.gnu.org; Mon, 03 Nov 2014 12:56:13 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:61986) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlLrN-0005x7-VO for 18847@debbugs.gnu.org; Mon, 03 Nov 2014 12:56:10 -0500 Received: by mail-lb0-f181.google.com with SMTP id l4so3087116lbv.12 for <18847@debbugs.gnu.org>; Mon, 03 Nov 2014 09:56:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; bh=QekHHlpvd9dEsoXZ6nUoP7Bz8kaF2nnkxo0Mi1t98do=; b=TPi/YjuzC+f97xrgsLScBWEqe7KmbkNAsc63HiO4K2EXNy41tn746dyWF64OGZoZwR X+3rsAQtIssZbNz2wMcaQZ3/IcQis/X8M9TObcm/lZ1Gakmutqw+x8o2OlvfBlrPZu9n yKhe4aRV1cGvSGO0gV+s/ypvVB6CCkPmjMHsmDlQBIQclSf81M+39NpGpflHIzcIDOJA vpUAE6YKVfaO24VMsjvUqsNuRlMA42MnqjfCUHCBksG3kE7XffUPoazeSib9lcAHu/iU 6t8hJiwvYO8CVSFtIJ+pdCBUKoEdRrPxZjNoq3Lb2+4eAD29DkBvTRZkr2EzeaWpdQvV 8S2g== X-Received: by 10.112.169.106 with SMTP id ad10mr52740262lbc.13.1415037363606; Mon, 03 Nov 2014 09:56:03 -0800 (PST) Received: from vsl28t2g.ww011 (p4FD4F4FD.dip0.t-ipconnect.de. [79.212.244.253]) by mx.google.com with ESMTPSA id or5sm8191666lbb.42.2014.11.03.09.56.02 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 03 Nov 2014 09:56:03 -0800 (PST) From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) To: Stefan Monnier Subject: Re: bug#18847: 24.4; Inconsistent behaviour of M-h with negative arguments References: <877fzmqunb.fsf@vsl28t2g.ww011> <87oasvq1ja.fsf@vsl28t2g.ww011> Date: Mon, 03 Nov 2014 18:56:00 +0100 Message-ID: <877fzc418v.fsf@vsl28t2g.ww011> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18847 Cc: 18847@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Stefan Monnier writes: > [ Be careful to keep 18847@debbugs.gnu.org in the Cc, please. ] Sorry, I overlooked the Cc field. .... >> 2) When applying M-h (or any other marking command) at the end of a >> buffer (at least interactively, I failed to address this), the right >> thing to do is marking (a) previous element(s). I would like to know >> if you find this a good idea. > > I have no opinion on this, I never use M-h myself. Interesting, no M-h! Anyway, in the meantime I tested M-h more thoroughly in these borderline cases and I think its behaviour is actually not correct. I suggest to separate this issue and possible enhancements from the current subject. >> 3) M-h (C-M-h and C-x C-p ) differ from C-@ and C-M-@ that they are >> always marking (a) whole element(s). I wanted to clarify in the >> documentation string that a marking from point is also achievable >> with M-h. > > So this part is just a docstring change, right? Exactly. >> 4) M-h does signal an error applying zero as an argument, the other >> marking commands just ignore zero, so I thought a message might be a >> good compromise to the current state... > > I have no opinion on this one either. It doesn't seem terribly > important, so reducing discrepancies in this case might be the > dominating factor. Right, I dropped the zero argument message. (But still inhibited M-h to activate the mark in this situation.) Thank you for your patience Dieter (defun mark-paragraph (&optional arg allow-extend) "Put point at beginning of this paragraph, mark at end. The paragraph marked is the one that contains point or follows point. With argument ARG, puts mark at the end of this or a following paragraph, so that the number of paragraphs marked equals ARG. If ARG is negative, point is put at the end of this paragraph, mark is put at the beginning of this or a previous paragraph. Interactively (or if ALLOW-EXTEND is non-nil), if this command is repeated or (in Transient Mark mode) if the mark is active, it marks the next ARG paragraphs after the region already marked. This also means when activating the mark immediately before using this command, the current paragraph is only marked from point." (interactive "P\np") (let ((numeric-arg (prefix-numeric-value arg))) (cond ((zerop numeric-arg)) ((and allow-extend (or (and (eq last-command this-command) mark-active) (region-active-p))) (if arg (setq arg numeric-arg) (if (< (mark) (point)) (setq arg -1) (setq arg 1))) (set-mark (save-excursion (goto-char (mark)) (forward-paragraph arg) (point)))) (t (forward-paragraph numeric-arg) (push-mark nil t t) (backward-paragraph numeric-arg))))) diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index 3e77d37..e1a735d 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -370,34 +370,47 @@ See `forward-paragraph' for more information." (forward-paragraph (- arg))) (defun mark-paragraph (&optional arg allow-extend) - "Put point at beginning of this paragraph, mark at end. -The paragraph marked is the one that contains point or follows point. - -With argument ARG, puts mark at end of a following paragraph, so that -the number of paragraphs marked equals ARG. - -If ARG is negative, point is put at end of this paragraph, mark is put -at beginning of this or a previous paragraph. - -Interactively (or if ALLOW-EXTEND is non-nil), if this command is -repeated or (in Transient Mark mode) if the mark is active, -it marks the next ARG paragraphs after the ones already marked." - (interactive "p\np") - (unless arg (setq arg 1)) - (when (zerop arg) - (error "Cannot mark zero paragraphs")) - (cond ((and allow-extend - (or (and (eq last-command this-command) (mark t)) - (and transient-mark-mode mark-active))) - (set-mark - (save-excursion - (goto-char (mark)) - (forward-paragraph arg) - (point)))) - (t - (forward-paragraph arg) - (push-mark nil t t) - (backward-paragraph arg)))) + "Put mark at beginning of this paragraph, point at end. +The paragraph marked is the one that contains point or follows +point. + +With argument ARG, puts mark at the end of this or a following +paragraph, so that the number of paragraphs marked equals ARG. + +If ARG is negative, point is put at the beginning of this +paragraph, mark is put at the end of this or a previous +paragraph. + +Interactively, if this command is repeated or (in Transient Mark +Mode) if the mark is active, it marks the next ARG paragraphs +after the region already marked. This also means when activating +the mark immediately before using this command, the current +paragraph is only marked from point." + (interactive "P\np") + (let ((numeric-arg (prefix-numeric-value arg))) + (cond ((eobp) ; smart-aleck? + (backward-paragraph (abs numeric-arg)) + (push-mark nil t t) + (forward-paragraph (abs numeric-arg))) + ((and allow-extend + (or (region-active-p) + (and (eq last-command this-command) mark-active))) + (if arg + (setq arg numeric-arg) + (if (< (mark) (point)) + (setq arg -1) + (setq arg 1))) + (set-mark + (save-excursion + (goto-char (mark)) + (forward-paragraph arg) + (point)))) + ((zerop numeric-arg) + (message "Will not mark zero paragraphs.")) + (t + (forward-paragraph numeric-arg) + (push-mark nil t t) + (backward-paragraph numeric-arg))))) (defun kill-paragraph (arg) "Kill forward to end of paragraph. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 15 14:13:10 2014 Received: (at 18847) by debbugs.gnu.org; 15 Nov 2014 19:13:10 +0000 Received: from localhost ([127.0.0.1]:34114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpimT-0006px-MR for submit@debbugs.gnu.org; Sat, 15 Nov 2014 14:13:10 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:38500) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XpimR-0006pp-JI for 18847@debbugs.gnu.org; Sat, 15 Nov 2014 14:13:08 -0500 Received: by mail-wg0-f49.google.com with SMTP id x13so21836089wgg.8 for <18847@debbugs.gnu.org>; Sat, 15 Nov 2014 11:13:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=B9KPMRFjuAJcpi/1E+81Dfp4wbbJeiDv130v29tb3LU=; b=x9yoaCk6xFXb5JzI8zD2bXzaehQN5hDYanH4iv3cBe0+GTc2aBqbYBZaMfPqUNOQQu VcnmWFt5brKcEmPaZpYRHLXTmKTVc2B5K0kPAU7E3Epv5jHj7uua8jh4Gto5Edw3CcWE KGUs+dO1+Le2sj+LeMD9vtAO44WxZBdIyyneLJ5w+OdfsWc/m0dZ0koFCZsCLpVN7T63 s7urbRfnd1QSNH9NVgytQmbftdB9bra1yzGriE9cB//qrq6HH1Jhkh4T6/dGYx76A8QV 1eoIDEm4e7WCbrhsyax5TogUou5iXeNcppKbcwmXilf0gUu0VwaTi3+LD1kWVbPYoHlq T3Ig== X-Received: by 10.194.5.227 with SMTP id v3mr25549007wjv.63.1416078786827; Sat, 15 Nov 2014 11:13:06 -0800 (PST) Received: from vsl28t2g.ww011 (p57ACDB2D.dip0.t-ipconnect.de. [87.172.219.45]) by mx.google.com with ESMTPSA id da3sm44323272wjb.12.2014.11.15.11.13.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Nov 2014 11:13:05 -0800 (PST) From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) To: Stefan Monnier Subject: Re: bug#18847: 24.4; Inconsistent behaviour of M-h with negative arguments References: <877fzmqunb.fsf@vsl28t2g.ww011> <87oasvq1ja.fsf@vsl28t2g.ww011> <877fzc418v.fsf@vsl28t2g.ww011> Date: Sat, 15 Nov 2014 20:13:03 +0100 In-Reply-To: <877fzc418v.fsf@vsl28t2g.ww011> (H. Dieter Wilhelm's message of "Mon, 03 Nov 2014 18:56:00 +0100") Message-ID: <87ppco2s74.fsf@vsl28t2g.ww011> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18847 Cc: 18847@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) The following patches 1) solve bug#18847 (when applying M-h with negative arguments and repeating this command) 2) solve another - not reported - bug. When, e.g. at the end of the buffer, the numbers of paragraphs left in the buffer is less than ARG, then paragraphs are also marked *before* the current paragraph (contradicting the function's documentation) 3) (hopefully) clarifying a bit the documentation of mark-paragraph 4) aligning the behaviour of a zero argument to other marking commands (doing nothing, no error signal) It still remains one anomaly - in my opinon - but only for a fringe case, at the moment C-h and forward/backward-paragraph consider empty lines at the end or the beginning of the buffer as an additional paragraph... Anyway, could some good soul apply the patches to emacs-24? Thank you Dieter diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a6ab3b8..463753c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-11-15 H. Dieter Wilhelm + * textmodes/paragraph.el (mark-paragraph): Handling of + negative arguments (bug#18847) + 2014-11-14 Ivan Andrus * progmodes/python.el (python-ffap-module-path): Use diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index 3e77d37..d17cf09 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -371,33 +371,47 @@ See `forward-paragraph' for more information." (defun mark-paragraph (&optional arg allow-extend) "Put point at beginning of this paragraph, mark at end. -The paragraph marked is the one that contains point or follows point. +The paragraph marked is the one that contains point or follows +point. -With argument ARG, puts mark at end of a following paragraph, so that -the number of paragraphs marked equals ARG. +With argument ARG, puts mark at the end of this or a following +paragraph, so that the number of paragraphs marked equals ARG. -If ARG is negative, point is put at end of this paragraph, mark is put -at beginning of this or a previous paragraph. +If ARG is negative, point is put at the end of this paragraph, +mark is put at the beginning of this or a previous paragraph. Interactively (or if ALLOW-EXTEND is non-nil), if this command is -repeated or (in Transient Mark mode) if the mark is active, -it marks the next ARG paragraphs after the ones already marked." - (interactive "p\np") - (unless arg (setq arg 1)) - (when (zerop arg) - (error "Cannot mark zero paragraphs")) - (cond ((and allow-extend - (or (and (eq last-command this-command) (mark t)) - (and transient-mark-mode mark-active))) - (set-mark - (save-excursion - (goto-char (mark)) - (forward-paragraph arg) - (point)))) - (t - (forward-paragraph arg) - (push-mark nil t t) - (backward-paragraph arg)))) +repeated or (in Transient Mark mode) if the mark is active, it +marks the next ARG paragraphs after the region already marked. +This also means when activating the mark immediately before using +this command, the current paragraph is only marked from point." + (interactive "P\np") + (let ((numeric-arg (prefix-numeric-value arg))) + (cond ((zerop numeric-arg)) + ((and allow-extend + (or (and (eq last-command this-command) mark-active) + (region-active-p))) + (if arg + (setq arg numeric-arg) + (if (< (mark) (point)) + (setq arg -1) + (setq arg 1))) + (set-mark + (save-excursion + (goto-char (mark)) + (forward-paragraph arg) + (point)))) + ;; don't activate the mark when at eob + ((and (eobp) (> numeric-arg 0))) + (t + (unless (save-excursion + (forward-line 0) + (looking-at paragraph-start)) + (backward-paragraph (signum numeric-arg))) + (push-mark + (save-excursion + (forward-paragraph numeric-arg) + (point)) t t))))) (defun kill-paragraph (arg) "Kill forward to end of paragraph. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 12 12:55:20 2020 Received: (at control) by debbugs.gnu.org; 12 Aug 2020 16:55:20 +0000 Received: from localhost ([127.0.0.1]:45369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5u24-0000UC-Cf for submit@debbugs.gnu.org; Wed, 12 Aug 2020 12:55:20 -0400 Received: from mail-yb1-f171.google.com ([209.85.219.171]:35888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5u23-0000Tt-2M for control@debbugs.gnu.org; Wed, 12 Aug 2020 12:55:19 -0400 Received: by mail-yb1-f171.google.com with SMTP id g3so1738079ybc.3 for ; Wed, 12 Aug 2020 09:55:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=M9XfQrmPCHRcY5dMivQCmlN8OxDiE/LjsrHo35kMDtg=; b=bBHXk7P0EFjbMy/ebtlgN561HWQ8xVzNmEBbceQXzzjrj6R502H/zevq7JGEDVT+CJ M7MjXClT9bokiA2d9x64/ppO8NKPnhOc8MmN6yjVfuvKFf/VpxceSPdhrEM//+k5ZuqA 4ynack7OPhxeL0+qy6nfBbde60PFx3WK6U5ge64XGt0+SbqogOwUZ+i4/OPQm9H41dxJ 53Y3MDUdXtU+7bSMAni4BrLx9hR9GwufP1JgXdnisX41BX7jhvW38Z1oeVdRH/5eCB+Q AvgNGkIp3+f+LZ3CWkrZ0LATT1TyqHFb5w0HvA3X5asYM7geWl09vrXPuF7LYx7688TU kjrQ== X-Gm-Message-State: AOAM530RwIw5eCtnR1I9rq0Y7tt1ua7n9vF/iT7c9Gq//jGEnebgHShu v7e5R1VaV/ujpZkutHIZL2rT/7LXQVMyQcjR4UYK3EGS4ZE= X-Google-Smtp-Source: ABdhPJz0n6BLGubgVOay9n5jkDs4N+O1e3sHNpB7mLPo9lNH1da2QGKLGPXxJDFYYvMJHkizqaN6oiRbvXs9FwVM2nM= X-Received: by 2002:a5b:508:: with SMTP id o8mr426424ybp.43.1597251313337; Wed, 12 Aug 2020 09:55:13 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 09:55:12 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 12 Aug 2020 09:55:12 -0700 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 18847 + patch thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.171 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.171 listed in wl.mailspike.net] 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 18847 + patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 13 05:52:12 2020 Received: (at 18847) by debbugs.gnu.org; 13 Aug 2020 09:52:12 +0000 Received: from localhost ([127.0.0.1]:46948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k69u8-0001wG-29 for submit@debbugs.gnu.org; Thu, 13 Aug 2020 05:52:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k69u6-0001vz-Dt for 18847@debbugs.gnu.org; Thu, 13 Aug 2020 05:52:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FsG4oDvBtzSlqSwM27RXtm6aJbic/lX2fPt84MB9rhY=; b=g3KV0WMOiftDlrnGwQeAkG49a+ noQspxdfJSWQ/NPNfvmt9FvIlLlxuRWH2Wpg6sgp5h3QxC6YHOm/woBY733wMVd/mKdY/+CF9WANa QS//eAIWaMKndEhBEiS6bxl2Jw/AvZLor/SZE4rcyNSvPC3cZnfutMYmMeGTaMsjdptg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k69tv-0004hn-VQ; Thu, 13 Aug 2020 11:52:03 +0200 From: Lars Ingebrigtsen To: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Subject: Re: bug#18847: 24.4; Inconsistent behaviour of M-h with negative arguments References: <877fzmqunb.fsf@vsl28t2g.ww011> <87oasvq1ja.fsf@vsl28t2g.ww011> <877fzc418v.fsf@vsl28t2g.ww011> <87ppco2s74.fsf@vsl28t2g.ww011> Date: Thu, 13 Aug 2020 11:51:58 +0200 In-Reply-To: <87ppco2s74.fsf@vsl28t2g.ww011> (H. Dieter Wilhelm's message of "Sat, 15 Nov 2014 20:13:03 +0100") Message-ID: <87zh6yg9fl.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > The following patches > > 1) solve bug#18847 (when applying M-h with negative arguments and > repeating this command) > > 2) solve another - not reported - bug. When, e.g. at the end of the > buffer [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18847 Cc: Stefan Monnier , 18847@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > The following patches > > 1) solve bug#18847 (when applying M-h with negative arguments and > repeating this command) > > 2) solve another - not reported - bug. When, e.g. at the end of the > buffer, the numbers of paragraphs left in the buffer is less than > ARG, then paragraphs are also marked *before* the current paragraph > (contradicting the function's documentation) > > 3) (hopefully) clarifying a bit the documentation of mark-paragraph > > 4) aligning the behaviour of a zero argument to other marking commands > (doing nothing, no error signal) Thanks; I've now applied this patch to Emacs 28 (with some small whitespace changes). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 13 05:52:18 2020 Received: (at control) by debbugs.gnu.org; 13 Aug 2020 09:52:18 +0000 Received: from localhost ([127.0.0.1]:46951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k69uE-0001wY-AZ for submit@debbugs.gnu.org; Thu, 13 Aug 2020 05:52:18 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k69uC-0001wE-9S for control@debbugs.gnu.org; Thu, 13 Aug 2020 05:52:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tqCMCjDkDce8Tjo7qh4ltudjoP3ewg0xkSqiucwh6e8=; b=tLRhNv3vBfdRRENZETIQYftucX dAS8EFtEEoz0Gn00AuuTjjXzODegDO4z6H6tJ4Jn00hVQJy1zpCLr5WVFOv95mK/Wbw5y39EwCJz+ cadJeaNH+p1/yq7RfNztPcCIyXHMd+6C7CrMOCpaYB89ZKDTrEkgnxFP0QW22k83h4EM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k69u4-0004i5-FP for control@debbugs.gnu.org; Thu, 13 Aug 2020 11:52:10 +0200 Date: Thu, 13 Aug 2020 11:52:07 +0200 Message-Id: <87y2mig9fc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18847 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18847 fixed close 18847 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18847 fixed close 18847 28.1 quit From unknown Thu Sep 18 19:00:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Sep 2020 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 08:15:41 2021 Received: (at control) by debbugs.gnu.org; 11 Oct 2021 12:15:41 +0000 Received: from localhost ([127.0.0.1]:56927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZuDU-0002UC-LT for submit@debbugs.gnu.org; Mon, 11 Oct 2021 08:15:41 -0400 Received: from mail-pj1-f53.google.com ([209.85.216.53]:54090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZuDT-0002NH-8G for control@debbugs.gnu.org; Mon, 11 Oct 2021 08:15:39 -0400 Received: by mail-pj1-f53.google.com with SMTP id ls18so13128319pjb.3 for ; Mon, 11 Oct 2021 05:15:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=zYOATk75sI8UIDhp96oa3UoWBjvy0l9/CyuQHLMtwKw=; b=iAmDqjCpbN+XI5JpO6QQjRRlHmz0k6r6IFYPIhzbQuQZ0KDJ+Qo+74m1I12rBu2/gO vNjfeLEQR6Gy4hvVu7fbu1A+2sBxrQ1IYgdrqYY2AUysE10UHyyMVgMeL2tSBStYFtlB 4BuvctNP4QC/tnj9W4U6iYUJU8fBpGd5aoQfxBlHXc7/NPrDj9l9cYbgKILzgSishWWg ZIfojUOkGulpB5VdV7BPZ4ctzlKPSMLFf/+/+phXXLZZiJ7fZTZCwctAVg4atKkv7KiG mELU60xDBRcp4rlrdXj/f391O2XpYH1LAe/KJQ/Urs9sA1EbJbMAX7SSjph5NCcFyzTb xImg== X-Gm-Message-State: AOAM5316W9puZMviVtEfBebKBHHngTLwfSUHGAJAoRoBzHTFpStwmkFo dfpqcLret23FpirIQhZqhDIYna966rW6NSaQex/GkZ6t X-Google-Smtp-Source: ABdhPJxs5E/mlbZuEVmbHb6NlqxFtb/BUkVEgRGHnJtGaWuYdr/6NjNr5rtqz/txuFN5LRVGGErEnnwsEcMQtFsnwDc= X-Received: by 2002:a17:90a:c70d:: with SMTP id o13mr12252505pjt.143.1633954533615; Mon, 11 Oct 2021 05:15:33 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 Oct 2021 05:15:33 -0700 From: Stefan Kangas In-Reply-To: (Stefan Kangas's message of "Sat, 3 Apr 2021 20:01:02 -0500") References: <87wnxdhh54.fsf@gnus.org> <86pn2lk637.fsf@duenenhof-wilhelm.de> <871rf16our.fsf@gnus.org> <86czyjj9yl.fsf@duenenhof-wilhelm.de> <87czyhymiz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Date: Mon, 11 Oct 2021 05:15:33 -0700 Message-ID: Subject: Re: bug#45318: 28.0.50; mark-paragraph To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" Bcc: control@debbugs.gnu.org X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control Cc: "H. Dieter Wilhelm" , 45318@debbugs.gnu.org, 18847@debbugs.gnu.org, Richard Stallman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) unarchive 18847 reopen 18847 tags 18847 - patch forcemerge 18847 45318 thanks Stefan Kangas writes: > Lars Ingebrigtsen writes: > >> "H. Dieter Wilhelm" writes: >> >>> Right, below is my suggestion, please have a look. >>> >>> Many thanks >>> >>> Dieter >>> >>> PS: Please tell me if I can prepare patches in a better way or >>> format.. >> >> The patch format looks good. :-) >> >> However, this still doesn't quite restore how mark-paragraph works in >> Emacs 27 -- it leaves point in other places than it was. >> >> So I've reverted the previous change for now, and I've added a test. >> Could you have a look at the test >> >> cd check; make paragraphs-tests >> >> (it's the last one), and redo your original patch in a way that doesn't >> break the behaviour as demonstrated by this test? > > That was 12 weeks ago. Any news here? It seems like Bug#18847 was fixed in a way that was lead to other regressions. That fix has since been reverted, so I'm reopening that bug and merging this later bug with that one. From unknown Thu Sep 18 19:00:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug No longer marked as fixed in versions 28.1 and reopened. Date: Mon, 11 Oct 2021 12:16:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug No longer marked as fixed in versions 28.1 and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 08:53:32 2021 Received: (at control) by debbugs.gnu.org; 11 Oct 2021 12:53:32 +0000 Received: from localhost ([127.0.0.1]:57047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZuo8-00014o-2z for submit@debbugs.gnu.org; Mon, 11 Oct 2021 08:53:32 -0400 Received: from mail-pg1-f170.google.com ([209.85.215.170]:46726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZuo6-00014P-9y for control@debbugs.gnu.org; Mon, 11 Oct 2021 08:53:30 -0400 Received: by mail-pg1-f170.google.com with SMTP id m21so10735347pgu.13 for ; Mon, 11 Oct 2021 05:53:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=H40oClF4Zo7QCMx1VNwDgCVIl6yHazOt0oy5mlZZWs4=; b=2LD2abW3Uu3KcqvF/80h5VBrUfcuOvO4WJko9Zq/0TDY24JtJOAwqfEjHTQeuPrWR/ hSShqsLoUneWhjoz4+YIA1kj3LBBETn+ZWXq+j8d0oyvmC+pCCsQfjN3JabjNhycrNyQ u8hUl3QNpmm9PSwE/0nggvMKDNJxnTzk72tReoEuOGP1j3gT8MWqmLCx5f2Me8k3lP/l Pp+jxu2FGrlJzzbtegqCnq36nvdd7VqX2dQfzgEF54luHx/wb+svCUi2DZPs1sjs7Aj5 g8n4mdwsg8vfkbH/I9AktVJXx9Z0zx+ajBvHHB0wPGwP2mmXxdLfT7+pND5A+1TXJ3oj r6RQ== X-Gm-Message-State: AOAM530zLIVBFRB5rL4WY3yuQ+MLU3zM0DjbB0692J80/FgL09BauqAF SATTGJg2nhKcrYVJE2XHZlNdkfca5B1FYaey022h/Skq X-Google-Smtp-Source: ABdhPJzwg0XcSMlUd0fdAS7NY/bjs9a5WBIemZVCg8tO5M4dlwT2G0LRMJ07e4ASJP9E7sybutnBdNYvrHw4VcDVkro= X-Received: by 2002:a63:d506:: with SMTP id c6mr17938726pgg.42.1633956804634; Mon, 11 Oct 2021 05:53:24 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 Oct 2021 05:53:24 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Mon, 11 Oct 2021 05:53:24 -0700 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 18847 - fixed thanks Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.170 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.170 listed in wl.mailspike.net] 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 18847 - fixed thanks Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.170 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.215.170 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager tags 18847 - fixed thanks