|
From: | Ilya Shlyakhter |
Subject: | Re: [O] [RFC] Org Minor Mode? |
Date: | Thu, 24 Apr 2014 17:06:59 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 4/19/2014 8:57 AM, Bastien wrote:
Hi Thorsten, Thorsten Jolitz <address@hidden> writes:In summary, its about: 1. generalize the regexp constants and vars (allow for comment-syntax, when org-minor-mode) 2. deal with hardcoded regexp-snippets in functions (my proposoal: replace "^" with org-BOL, "$" with org-EOL, "\\*" with org-STAR) 3. outcomment new lines after calls to Org commands.I still think there is a simpler way, I'll explore this and I'll let you know.
What about using advice on regexp functions to transform the regexps(when invoked in org-minor-mode buffers) so that $ is replaced with "; $" etc?
One other issue is the use of the number of stars to determine outline level.
[Prev in Thread] | Current Thread | [Next in Thread] |