From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: FW: bug#32758: 26.1 emacs-mac 7.2; forward-sentence in eww Date: Wed, 10 Oct 2018 18:28:25 +0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1539170826 354 195.159.176.226 (10 Oct 2018 11:27:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2018 11:27:06 +0000 (UTC) Cc: help-gnu-emacs To: van@scratch.space Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 10 13:27:02 2018 Return-path: Envelope-to: geh-help-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 1gACdp-0008PV-SM for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Oct 2018 13:27:01 +0200 Original-Received: from localhost ([::1]:56607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gACfw-0007vk-7V for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Oct 2018 07:29:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gACfO-0007uX-Qv for help-gnu-emacs@gnu.org; Wed, 10 Oct 2018 07:28:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gACfO-0001Nv-5F for help-gnu-emacs@gnu.org; Wed, 10 Oct 2018 07:28:38 -0400 Original-Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:33471) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gACfN-0001Nc-UV for help-gnu-emacs@gnu.org; Wed, 10 Oct 2018 07:28:38 -0400 Original-Received: by mail-oi1-x234.google.com with SMTP id a203-v6so3800663oib.0 for ; Wed, 10 Oct 2018 04:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vSJilsSS/ie4HHDRKaxFe7Yc8UoA09IBF5Tj1XVQTcQ=; b=N79muixsEy2YxmQd9jJRLeajyGCHBawUQyPL2Ey0pgXBuoDFQNI12aAK1PSZy3eC3w lWeqA6Rs6oe+zcBJap1b1Q+wLYYJ6/F7Dt7HozG3u4UarFG7ooC2XOpxRhWq7nkA/06i 5D20Gvjvcc2r51ZNET4ACuU9wm2WVGS0oMtDuto4cIxAtZXtDHajPETPx0B1roLK0pis IXJJLieMcGVCfV58e4g/NQliTUlStJF7u9yRshTaPmaKRUmvFs66iykU0wD0ldp2p/uR mIQ/qgzswTFPfm5P08N8RqbRS4B4Wiixe4wSfIKG7+N5ypizoLydMEmLFbhz+IqnskN8 awrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vSJilsSS/ie4HHDRKaxFe7Yc8UoA09IBF5Tj1XVQTcQ=; b=fUuGwNAamgt1HfkwsgmEUmYDfmLNk2xmrYfCFhocr5mj27259rYxB1qWGrSGkHiABR gZddWmkxzsLrt9ai+guHerm7hDM1xNGIs6HWZCQC4+K50/zSIh+6zpbwSO6+JYS3vzGp OgYQSC90o5xRGwYizD/fiAD0YDfyRjfR47p5TFJLU7tyHb9GytzbGYfubLqQFujQzg/e 4zz9KMzQhlSlD/16xGyqHE/s28xbzIMj95Hz2RHZjtxLTTe3P76OKHeBWwSG/b8gMfT9 QzZSiceFQS6pZbDNCp8oxSaUyGc39D8aSfIJsyWUF+tWW+AyZQREggtjBXUT++Qxam7k BGeQ== X-Gm-Message-State: ABuFfogIUMzjqJKS9gKePxRg4cIbspl1JCUZLocKOSsf3E1nyp8sVMdM KQGSDYyVF78jCv6rK3GjvGDsbo6v+Yl7LNKfdU7nsg== X-Google-Smtp-Source: ACcGV61gvYQJ6Shikq7AxymvUQC6pdjbQp06ukdIR5bCisONhDxNxTdqpzY5P0p4C11478avGb7C68y5D2ViAic//n4= X-Received: by 2002:aca:5907:: with SMTP id n7-v6mr1459659oib.166.1539170916735; Wed, 10 Oct 2018 04:28:36 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118236 Archived-At: On Wed, Oct 10, 2018 at 5:17 PM Van L wrote: > I am looking for a one-space after punctuation sentence-ending for M-e to= jump by. > > Disabling the following variable stops short at Nov. or Gov. (see below) > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 (setq sentence-end-double-space nil) > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 Haley=E2=80=99s departure also stoked speculation she could rep= lace Lindsey Graham as the senator from > =E2=94=82 South Carolina, a possibility that Trump played down. Talk in W= ashington is that should Trump > =E2=94=82 replace Attorney General Jeff Sessions with Graham after the No= v. 6 congressional elections, > =E2=94=82 South Carolina Gov. Henry McMaster would be responsible for sel= ecting a replacement to serve > =E2=94=82 until the 2020 election. McMaster was previously Haley=E2=80=99= s No. 2 in the state. > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > and I=E2=80=99m aware of names like A. B. C. Nurmagomedov which will stop= early, too. It might be a good idea to treat the sequence =E2=80=9Cperiod followed by a single non-breaking space=E2=80=9D as not ending a sentence. This, coupled with the proper use of non-breaking spaces with abbreviations and initials, will go a long way in solving the above false positive in sentence end detection. > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 178 (defun sentence-end () =E2=80=A6 > =E2=94=82 191 ;; We accept non-break space along with space. =E2=80=A6 > =E2=94=82 199 "[ \u00a0\t\n]*"))) > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80