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: Suvayu Ali
Subject: Re: [O] including emphasis characters as word characters?
Date: Wed, 21 Nov 2012 14:46:22 +0100
User-agent: Mutt/1.5.21 (2011-07-01)

On Wed, Nov 21, 2012 at 01:19:54PM +0800, Eric Abrahamsen wrote:
> 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?
> 

IMO unless it can be done conditionally, as in it is not part of a word
when not used as markup, it will be very bad.  What about legitimate
uses like:

  I am feeling blue / green.

or,

  Addition is denoted by the + sign.

...?

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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