From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Van L Newsgroups: gmane.emacs.bugs Subject: bug#32758: 26.1 emacs-mac 7.2; forward-sentence in eww overshoots to paragraph ending Date: Sun, 7 Oct 2018 22:00:11 +1100 Message-ID: References: <83y3bzf2ee.fsf@gnu.org> <41DEB3C8-F38E-42AF-88AC-43AFA7BB08E7@scratch.space> <83r2hreyii.fsf@gnu.org> <64E5349A-1933-41FC-9D3D-94B4A516A3C9@scratch.space> <83r2hpel3o.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1538909951 14313 195.159.176.226 (7 Oct 2018 10:59:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2018 10:59:11 +0000 (UTC) Cc: 32758@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 07 12:59:06 2018 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 1g96mA-0003bo-1Y for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2018 12:59:06 +0200 Original-Received: from localhost ([::1]:41895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g96oG-0004Jg-ME for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2018 07:01:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g96o7-0004Hh-1T for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 07:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g96o3-0006Or-N6 for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 07:01:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34827) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g96o2-0006ON-2u for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 07:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g96o2-0003mQ-0J for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2018 07:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Van L Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Oct 2018 11:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32758 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32758-submit@debbugs.gnu.org id=B32758.153891002114447 (code B ref 32758); Sun, 07 Oct 2018 11:01:01 +0000 Original-Received: (at 32758) by debbugs.gnu.org; 7 Oct 2018 11:00:21 +0000 Original-Received: from localhost ([127.0.0.1]:39085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g96nN-0003kv-5N for submit@debbugs.gnu.org; Sun, 07 Oct 2018 07:00:21 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:46687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g96nL-0003ke-12 for 32758@debbugs.gnu.org; Sun, 07 Oct 2018 07:00:19 -0400 Original-Received: from epi.local (220-244-158-222.tpgi.com.au [220.244.158.222]) (Authenticated sender: van@scratch.space) by relay10.mail.gandi.net (Postfix) with ESMTPSA id C5A09240007; Sun, 7 Oct 2018 11:00:16 +0000 (UTC) In-Reply-To: <83r2hpel3o.fsf@gnu.org> X-Mailer: Apple Mail (2.3124) 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:150974 Archived-At: >>> Patches >>> welcome. Will it be enough for a `sentence-end-single-space=E2=80=99 variable to = go in paragraphs.el and to fit in the sentence-end function among the = re-patterns lines 190 to 200? 25.3.1 Emacs paragraphs.el=20 netbsd-8.0 =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 178 (defun sentence-end () =E2=94=82 179 "Return the regexp describing the end of a sentence. =E2=94=82 180 =20 =E2=94=82 181 This function returns either the value of the variable = `sentence-end' =E2=94=82 182 if it is non-nil, or the default value constructed from = the =E2=94=82 183 variables `sentence-end-base', = `sentence-end-double-space', =E2=94=82 184 `sentence-end-without-period' and = `sentence-end-without-space'. =E2=94=82 185 =20 =E2=94=82 186 The default value specifies that in order to be = recognized as the =E2=94=82 187 end of a sentence, the ending period, question mark, or = exclamation point =E2=94=82 188 must be followed by two spaces, with perhaps some = closing delimiters =E2=94=82 189 in between. See Info node `(elisp)Standard Regexps'." =E2=94=82 190 (or sentence-end =E2=94=82 191 ;; We accept non-break space along with space. =E2=94=82 192 (concat (if sentence-end-without-period "\\w[ = \u00a0][ \u00a0]\\|") =E2=94=82 193 "\\(" =E2=94=82 194 sentence-end-base =E2=94=82 195 (if sentence-end-double-space =E2=94=82 196 "\\($\\|[ \u00a0]$\\|\t\\|[ \u00a0][ = \u00a0]\\)" "\\($\\|[\t \u00a0]\\)") =E2=94=82 197 "\\|[" sentence-end-without-space "]+" =E2=94=82 198 "\\)" =E2=94=82 199 "[ \u00a0\t\n]*"))) =E2=94=82 200 =20 =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80