From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18847: 24.4; Inconsistent behaviour of M-h with negative arguments Date: Thu, 30 Oct 2014 12:35:00 -0400 Message-ID: References: <877fzmqunb.fsf@vsl28t2g.ww011> <87oasvq1ja.fsf@vsl28t2g.ww011> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414777866 27098 80.91.229.3 (31 Oct 2014 17:51:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 17:51:06 +0000 (UTC) Cc: 18847@debbugs.gnu.org To: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 18:50:58 2014 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 1XkGLi-0007CS-In for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2014 18:50:58 +0100 Original-Received: from localhost ([::1]:40232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkGLi-000076-29 for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2014 13:50:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkEHl-0003Ug-JC for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2014 11:42:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xjshe-0001jC-Rb for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 12:36:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjshe-0001j4-OF for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 12:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xjshe-0007Pd-7o for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 12:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Oct 2014 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18847 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18847-submit@debbugs.gnu.org id=B18847.141468690428414 (code B ref 18847); Thu, 30 Oct 2014 16:36:02 +0000 Original-Received: (at 18847) by debbugs.gnu.org; 30 Oct 2014 16:35:04 +0000 Original-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 Original-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 Original-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 Original-Received: by ceviche.home (Postfix, from userid 20848) id EAA106610C; Thu, 30 Oct 2014 12:35:00 -0400 (EDT) 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) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95309 [ 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