From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Paul W. Rankin" Newsgroups: gmane.emacs.bugs Subject: bug#39483: 27.0.60; ispell ignores syntax/category tables word boundaries Date: Sat, 08 Feb 2020 19:28:40 +1000 Message-ID: References: <83r1z6dzoa.fsf@gnu.org> <83h801eblf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="50385"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.2.0; emacs 27.0.60 Cc: 39483@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 08 10:29:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j0MQL-000D1O-9D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Feb 2020 10:29:13 +0100 Original-Received: from localhost ([::1]:39302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0MQK-0002Gk-8V for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Feb 2020 04:29:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33216) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0MQB-0002Eu-G5 for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2020 04:29:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0MQA-00005x-E4 for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2020 04:29:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44633) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0MQA-00005I-AR for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2020 04:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j0MQA-0003JC-6u for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2020 04:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Paul W. Rankin" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2020 09:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39483 X-GNU-PR-Package: emacs Original-Received: via spool by 39483-submit@debbugs.gnu.org id=B39483.158115413612705 (code B ref 39483); Sat, 08 Feb 2020 09:29:02 +0000 Original-Received: (at 39483) by debbugs.gnu.org; 8 Feb 2020 09:28:56 +0000 Original-Received: from localhost ([127.0.0.1]:50606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0MQ3-0003Ir-SF for submit@debbugs.gnu.org; Sat, 08 Feb 2020 04:28:56 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0MQ2-0003If-BP for 39483@debbugs.gnu.org; Sat, 08 Feb 2020 04:28:54 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3E88621F16; Sat, 8 Feb 2020 04:28:49 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 08 Feb 2020 04:28:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= bO3gG6KwRDlGeX0IBikbXKvTmKFd43XkCOKhyWKJe+c=; b=jqPt4DvXFtMX0qp6 xjjRO6vbGr5nap4fHtPwpIKDcyHLYY+H4sE5n4UlE/qfOnt7FU4WmImBRe1ouGXB 3U2ARSojpNZWXS73B8Io4NkimeGniioAVV8trmkT1RlEzoNkXkeQZpIZmFkh+tlQ OIt8d6FXm/x/5O8yJHR8HwNVWLqh0MO7JBUGV/Y6O5X9RZoZt1thq5t92Oj3S8kT JXiQlY4R9MFvuR1CLdUeDWWilVvHUddu0q8iXRh+ZlonXWmrsWFHMpxFuuJKVfxY i2Ds6RWMqdjNDi/+lzzddbWGgA7x7b5JvqvMiJHjsf9BbFqihn7Q+SJWBdZjljvl bAeG4w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=bO3gG6KwRDlGeX0IBikbXKvTmKFd43XkCOKhyWKJe +c=; b=MIU3P2EDQaJHpYkyvbuj2mWj41GrO8Frtxa9q5RtSjnLg0JcjsDj3zuB8 mncqBGzhenLeyeMEAZvzeD6Pivh9HqltoAmYekitF8WwD/J46VGI192h7S9NQ89J euzImdyEjpZqlnsG6n9JRx0XhCFF+S/RZnWCekuzCzaaVERdZVXuoOdSgghoj1C8 tD5ztOz+xLo6BXp0uuZDLLcUcSN16EJlCX5A6EYCfKAmPTlTWJh4Nj193beXvJSo WHAMiw/RcpFGLzAqFH2pFm8HAsDmqMs1vzorAkjl5MMjNc4iiX4MLsMsq7WvLnw8 ld9ZCAZU0HGj15jehuT3HwCKIz43Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrheejgddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffujgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpedfrfgruhhl ucghrdcutfgrnhhkihhnfdcuoehhvghllhhosehprghulhifrhgrnhhkihhnrdgtohhmqe enucfkphepuddvtddrvddvrdduleegrdejgeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehhvghllhhosehprghulhifrhgrnhhkihhnrdgtoh hm X-ME-Proxy: Original-Received: from localhost (unknown [120.22.194.74]) by mail.messagingengine.com (Postfix) with ESMTPA id B538C30605C8; Sat, 8 Feb 2020 04:28:47 -0500 (EST) In-reply-to: <83h801eblf.fsf@gnu.org> 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175778 Archived-At: On Sat, Feb 08 2020, Eli Zaretskii wrote: >> >> From: "Paul W. Rankin" >> >> Attempts at workarounds: >> >> >> >> I've tried altering slot 3 of the corresponding `ispell-dictionary-ba= se-alist' >> >> entries from "[']" to "['=E2=80=99]" to no avail. >> > >> > That's the right direction, but you didn't follow it far enough. >> > First, ispell-dictionary-base-alist is the default value, and is used >> > to produce ispell-dictionary-alist, which is one you should change >> > (alternatively, customize ispell-local-dictionary-alist). >> >> Thanks, that got it. > > I'd be interested to see your solution in full, for the record. I went down the wrong path with syntax tables when I saw M-f/M-b was stepping through the word like doesn|=E2=80=99|t| so I figured it was about= word boundaries. Searching through the manual I couldn't find anything in "(emacs) Quotation Marks" or "(emacs) Spelling" but found the references to syntax tables regarding word boundaries in "(elisp) Word Motion". As it turns out it was just a case of customising ispell-local-dictionary-alist and adding both a default and "en_US" entry with OTHERCHARS regexp as "['=E2=80=99]" pretty much exactly as the docstring on ispell-dictionary-alist says.