emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] org-transpose-word: inherit text mode syntax table?


From: Nicolas Goaziou
Subject: Re: [O] [PATCH] org-transpose-word: inherit text mode syntax table?
Date: Mon, 03 Nov 2014 21:12:29 +0100

Hello,

Eric Abrahamsen <address@hidden> writes:

> Something that has subconsciously bothered me for years:
> `org-transpose-words' does its transposition using a blank syntax table,
> rather than inheriting from text-mode-syntax-table, meaning we don't get
> any of the default text-mode transposition behavior. The most immediate
> problem is that apostrophes get "left behind" during transposition. Ie:
>
> I can't| transpose this --> I can transpose|'t this
>
> and not
>
> I can't| transpose this --> I transpose can't| this
>
> The fix would be as simple as the attached patch. I don't know if this
> would break anything elsewhere, but I can't imagine it would...

Applied. Thank you.


Regards,

-- 
Nicolas Goaziou



reply via email to

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