From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: [RFC] Org Minor Mode? Date: Sun, 13 Apr 2014 18:07:33 +0200 Message-ID: <87a9bpw6uy.fsf@gmail.com> References: <87ha61f4rk.fsf@gmail.com> <8738hlkn64.fsf@gmail.com> <87k3aw0zmx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZMvL-0006cX-Oc for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 12:06:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZMvD-0003TC-H1 for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 12:06:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:45610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZMvD-0003T7-Aw for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 12:06:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WZMvB-0001yd-NZ for emacs-orgmode@gnu.org; Sun, 13 Apr 2014 18:06:17 +0200 Received: from e178190200.adsl.alicedsl.de ([85.178.190.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Apr 2014 18:06:17 +0200 Received: from tjolitz by e178190200.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Apr 2014 18:06:17 +0200 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 Bastien writes: > Hi Thorsten, > > Nicolas Goaziou writes: > >> Thorsten Jolitz writes: >> >>> What do you think - is there any chance that Org-mode switches from >>> static hardcoded regexp strings (all over the place) to dynamic >>> regexps calculated at runtime (using libraries like drx.el or rx.el)? >> >> I hope not. The syntax should stabilize, not drift away. > > Agreed. Maybe there are some hardcoded regexps that we can factor > out, but dynamically building those fundamental regexp is a deadend. In the case of regexps its of course not considered bad practice to write "^foo$" many times in a program, so nobody is to blame here, but the issue is the same as writing (message "What a wonderful world") many times in a program and then entering a depressed state. Would have been better to write (message "What a %s world" current-world-view) ... -- cheers, Thorsten