poporg icon indicating copy to clipboard operation
poporg copied to clipboard

poporg does not know how to deal with `elisp-function-name'

Open tj64 opened this issue 11 years ago • 0 comments

Hi Francois,

I use outorg.el for editing subtrees and poporg for editing the comment-strings of (function) definitions. There is one serious drawback that really limits the usability of poporg:

it does not know how to handle the typical and ubiquitous function or variable names surrounded by backquote and quote, like ``elisp-function-name`' e.g.

I don't have the time to dig deeper into this, but its obviously due to the fact that these names don't have string fontification. Thus, running ``poporg-dwim`' on a long function doc-string does not offer me the whole doc-string for editing in Org-mode, but just the substring until the next "quote-surrounded" function or variable name.

A fix would be to make poporg recognise the font used for these "quote-surrounded" function or variable names (in my case they are blue) as part of the surrounding string (recognized by its string font). Otherwise, this really breaks poporg - with e.g. 5 such "quote-surrounded" function or variable names inside one doc-string, one would need to call ``poporg-dwim`' 5 times to edit that doc-string in Org-mode.

Cheers Thorsten

tj64 avatar Aug 01 '13 18:08 tj64