[TxMt] Duplicating "kill-sentence" in TM

Max Noel maxfnoel at gmail.com
Mon Nov 6 13:19:43 UTC 2006


On 11/6/06, Allan Odgaard <throw-away-1 at macromates.com> wrote:
> On 6. Nov 2006, at 12:53, Hannu Rajaniemi wrote:
>
> > [...] Getting this to work in e.g. Markdown mode (where I do most
> > of my writing) would be enough. Any ideas?
>
> The only non-trivial part here is to define "sentence", does a
> sentence start at the beginning of a line or after punctuation, and
> end at end of line or after punctuation? How about abbreviations like
> e.g. that one, should it have a list of such exceptions or spot them
> based on simple patterns, etc.

IIRC Emacs considers that a sentence ends with a period followed with
either 2 spaces, a linefeed or a formfeed character.

-- Max



More information about the textmate mailing list