[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: two function requests
From: |
Alp Aker |
Subject: |
Re: two function requests |
Date: |
Wed, 1 Aug 2012 12:35:55 -0400 |
>> (2) (forward-clause), (backward-clause) commands, which would be much more
>> useful than (forward-sentence), (backward-sentence), particularly when
>> formatting / reading pre-20th century literature, with its page-length
>> Herman Melville sentences.
>>
>> I suppose a function that sets point to next comma is what I am looking
>> for,
>> even if I'd be stuck incrementally moving inside of lists from time to
>> time.
>
> Adapt forward-sentence and backward-sentence to your needs. C-h f <RET>
> function-name will give you a link to the function code.
You don't need to alter the function itself for this sort of use. All
you need to do is set the value of `sentence-end' to the appropriate
regex.