From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#22554: 24.5; enriched-mode: C-S-a/S-Home doesn't mark to beginning of line Date: Thu, 4 Feb 2016 08:46:40 -0800 (PST) Message-ID: References: <56B3447C.6070604@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1454604450 15448 80.91.229.3 (4 Feb 2016 16:47:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 16:47:30 +0000 (UTC) To: Travis Evans , 22554@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 17:47:16 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 1aRN3m-0002g5-2Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 17:47:10 +0100 Original-Received: from localhost ([::1]:42846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRN3l-0005np-44 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 11:47:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRN3g-0005nj-Vz for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:47:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRN3d-00043I-QU for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:47:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRN3d-00043A-Mf for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:47:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRN3d-0003jK-Hs for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2016 16:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22554 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22554-submit@debbugs.gnu.org id=B22554.145460441114321 (code B ref 22554); Thu, 04 Feb 2016 16:47:01 +0000 Original-Received: (at 22554) by debbugs.gnu.org; 4 Feb 2016 16:46:51 +0000 Original-Received: from localhost ([127.0.0.1]:60504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRN3T-0003iv-Kf for submit@debbugs.gnu.org; Thu, 04 Feb 2016 11:46:51 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:42837) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRN3R-0003eS-SJ for 22554@debbugs.gnu.org; Thu, 04 Feb 2016 11:46:50 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u14GkhYM014468 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 4 Feb 2016 16:46:43 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u14GkgvM013065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 4 Feb 2016 16:46:42 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u14GkgeE014831; Thu, 4 Feb 2016 16:46:42 GMT In-Reply-To: <56B3447C.6070604@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112414 Archived-At: > After launching Emacs with =E2=80=98emacs -Q=E2=80=99, typing =E2=80=9CC-= x b newbuffer M-x > enriched-mode=E2=80=9D, then =E2=80=9C||abcdefgfoo=E2=80=9D followed by C= -S-a or S-, point > returns to the =E2=80=98a=E2=80=99 with nothing highlighted. In other mod= es, this key > returns to the very beginning of the line starting with =E2=80=98|=E2=80= =99 and with the > line marked, as expected. C-S-e/S- still works as expected in this > and other modes. I could not find anything in the Enriched Text section > of the Emacs manual that mentions this discrepancy. Confirmed, in text mode. Even just `C-a' returns to the `a' and not bol. And this is the case at least as far back as Emacs 20. `C-a' and `C-S-a' is bound in text mode to `beginning-of-line-text' (not to `beginning-of-line'). The doc for that command does not seem to cover the case of `|'. It says only that it "moves past the lef-margin indentation, the fill-prefix, and any indentation used for centering or right-justifying the line". The culprit seems to be `adaptive-fill-mode'. (looking-at adaptive-fill-regexp) returns t. The doc string should mention this part of the behavior, I think. It seems that the point-moving behavior here is not a bug, but there is a doc bug here.