From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 1/2] Merge subword-mode and capitalized-words-mode Date: Tue, 07 Aug 2012 14:00:43 -0700 Message-ID: <502181FB.8080902@dancol.org> References: <20120808.033347.1098400470410804074.yamato@redhat.com> <50217DED.30505@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFE570ED336AD5950E953637B" X-Trace: dough.gmane.org 1344373281 1109 80.91.229.3 (7 Aug 2012 21:01:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 21:01:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Masatake YAMATO Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 23:01:21 2012 Return-path: Envelope-to: ged-emacs-devel@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 1Syqtx-00084t-Tu for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 23:01:18 +0200 Original-Received: from localhost ([::1]:56779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syqtw-0005pA-R1 for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 17:01:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syqtr-0005kz-Rn for emacs-devel@gnu.org; Tue, 07 Aug 2012 17:01:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syqtq-0006rK-MT for emacs-devel@gnu.org; Tue, 07 Aug 2012 17:01:11 -0400 Original-Received: from dancol.org ([96.126.100.184]:38815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syqtq-0006rE-GM for emacs-devel@gnu.org; Tue, 07 Aug 2012 17:01:10 -0400 Original-Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[0.0.0.0]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Syqto-0007vR-Rr; Tue, 07 Aug 2012 14:01:08 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: <50217DED.30505@dancol.org> X-Enigmail-Version: 1.4.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 96.126.100.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152297 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFE570ED336AD5950E953637B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 8/7/2012 1:43 PM, Daniel Colascione wrote: > On 8/7/2012 11:33 AM, Masatake YAMATO wrote: >> >>> -;; TODO: ispell-word. >>> - >> >> Does this mean subword-mode can handle ispell with your patch? >> If yes, it is really nice. >> If not, please keep the TODO item in the comment of the file. >=20 > Good catch. (thing-at-point 'word) returns the right subword, but ispel= l has its > own ispell-get-word function. Can we just change ispell to use thing-at= -point? >=20 Another thing that doesn't work is regexp's word boundary support (\b and= B\), which only looks at syntax tables. I'm not sure about the best way to fix= it, though: do we really want to run arbitrary elisp inside the regex matcher= ? It doesn't seem feasible to go add text properties everywhere there's a word= boundary either. --------------enigFE570ED336AD5950E953637B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAhgf4ACgkQ17c2LVA10VvMHwCgq7+OAo7JsFJHWQ5DSfJj9j+3 CAgAoNAMTLoI6jTpBm7tpINjbyVefRwl =BSkl -----END PGP SIGNATURE----- --------------enigFE570ED336AD5950E953637B--