emacs-orgmode
[Top][All Lists]
Advanced

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

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


From: Bastien
Subject: Re: [O] including emphasis characters as word characters?
Date: Sun, 23 Dec 2012 00:30:08 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

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.

Thanks for this,

-- 
 Bastien



reply via email to

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