unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Colascione <dancol@dancol.org>
To: Masatake YAMATO <yamato@redhat.com>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH 1/2] Merge subword-mode and capitalized-words-mode
Date: Tue, 07 Aug 2012 14:00:43 -0700	[thread overview]
Message-ID: <502181FB.8080902@dancol.org> (raw)
In-Reply-To: <50217DED.30505@dancol.org>

[-- Attachment #1: Type: text/plain, Size: 811 bytes --]

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.
> 
> Good catch. (thing-at-point 'word) returns the right subword, but ispell has its
> own ispell-get-word function. Can we just change ispell to use thing-at-point?
> 

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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]

  reply	other threads:[~2012-08-07 21:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07 17:03 [PATCH 0/2] Merge subword-mode and capitalized-words-mode; add to UI Daniel Colascione
2012-08-07 17:03 ` [PATCH 1/2] Merge subword-mode and capitalized-words-mode Daniel Colascione
2012-08-07 18:33   ` Masatake YAMATO
2012-08-07 20:43     ` Daniel Colascione
2012-08-07 21:00       ` Daniel Colascione [this message]
2012-08-08  2:58       ` Eli Zaretskii
2012-08-07 20:37   ` Stefan Monnier
2012-08-07 17:03 ` [PATCH 2/2] For better visibility, add subword-mode to options menu Daniel Colascione
2012-08-08  7:53   ` Chong Yidong
2012-08-08 16:25     ` Daniel Colascione
  -- strict thread matches above, loose matches on Subject: below --
2011-12-30  2:03 [PATCH 1/2] Merge subword-mode and capitalized-words-mode Daniel Colascione
2011-12-30 11:23 ` Stefan Monnier
2012-01-04 15:54   ` Masatake YAMATO

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502181FB.8080902@dancol.org \
    --to=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=yamato@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).