From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Shlyakhter Subject: Re: [RFC] Org Minor Mode? Date: Thu, 24 Apr 2014 17:06:59 -0400 Message-ID: References: <87ha61f4rk.fsf@gmail.com> <8738hlkn64.fsf@gmail.com> <87eh11w77i.fsf@gmail.com> <87oazykbp5.fsf@bzg.ath.cx> <87k3amfxae.fsf@gmail.com> <87ioq5hoze.fsf@bzg.ath.cx> <87d2gdtyqq.fsf@gmail.com> <878ur1pjdo.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdUUx-00011b-Q9 for emacs-orgmode@gnu.org; Thu, 24 Apr 2014 21:00:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdQrU-0006zc-I2 for emacs-orgmode@gnu.org; Thu, 24 Apr 2014 17:07:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:48838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdQrU-0006yY-Be for emacs-orgmode@gnu.org; Thu, 24 Apr 2014 17:07:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WdQrS-0002dz-9y for emacs-orgmode@gnu.org; Thu, 24 Apr 2014 23:07:14 +0200 Received: from wrls-140-247-0-38.wrls.harvard.edu ([140.247.0.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Apr 2014 23:07:14 +0200 Received: from ilya_shl by wrls-140-247-0-38.wrls.harvard.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Apr 2014 23:07:14 +0200 In-Reply-To: <878ur1pjdo.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 4/19/2014 8:57 AM, Bastien wrote: > Hi Thorsten, > > Thorsten Jolitz 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.