[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] including emphasis characters as word characters?

From: Eric Abrahamsen
Subject: Re: [O] including emphasis characters as word characters?
Date: Sun, 23 Dec 2012 12:14:56 +0800
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux)

Bastien <address@hidden> writes:

> Hi Eric,
> Eric Abrahamsen <address@hidden> writes:
>> Would it make sense to add the markup characters (ie, the car of every
>> item in `org-emphasis-alist') to the list of word characters, so that as
>> we're moving/deleting/transposing by word in org, the markup characters
>> are included? I mean with a sentence like:
>> #+BEGIN_SRC org
>> I read a book called /Fortress Besieged/ and it was awful.
>> #+END_SRC
>> If point is at end of the sentence, I'd like to be able to hit "M-6 M-b"
>> and have point end up just before the first slash, then hit "M-2 M-d" and
>> kill both words plus second slash.
>> Would this be a bad idea for some reason?
> I think it is a good idea to use a syntax table for these characters,
> but not for org-mode in general.  So there is now `org-transpose-words'
> which uses the new syntax table temporarily.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]