From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Schmitt Subject: Re: Re: [ANN] Org-babel integrated into Org-mode Date: Sat, 26 Jun 2010 20:45:49 +0200 Message-ID: <4C264ADD.1070201@cs.tu-berlin.de> References: <87wrtp78rg.fsf@gmail.com> <87aaqkvqdi.fsf@mundaneum.com> <87iq585rb9.fsf@gmail.com> <87mxuji0n9.fsf@gmail.com> <87zkyiuqpt.fsf@gmail.com> <87fx09bx9h.fsf@gmail.com> <87k4plvjr0.fsf@gmail.com> <877hllbt72.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=38938 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSaO8-0004lq-Rm for emacs-orgmode@gnu.org; Sat, 26 Jun 2010 14:46:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSaO7-0003KN-Dy for emacs-orgmode@gnu.org; Sat, 26 Jun 2010 14:46:00 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:54404) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSaO7-0003Jo-5p for emacs-orgmode@gnu.org; Sat, 26 Jun 2010 14:45:59 -0400 In-Reply-To: <877hllbt72.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Also sprach Eric Schulte: > Štěpán Němec writes: > >> "Eric Schulte" writes: >> >>> Štěpán Němec writes: >>> >>> [...] >>>> >>>> How come some of your rewrites above still use the `org-babel-' prefix? >>>> (As a side note, I don't see what Emacs guidelines suggest `ob-' is more >>>> appropriate than `org-babel-', and I would personally prefer to retain >>>> the latter -- it's much more descriptive.) >>>> >>>> Štěpán >>>> >>> [...] >> The only restriction on file names I can recall is this section >> from Appendix D of the Emacs Lisp Reference Manual: >> >> * Please keep the names of your Emacs Lisp source files to 13 >> characters or less. This way, if the files are compiled, the >> compiled files' names will be 14 characters or less, which is >> short enough to fit on all kinds of Unix systems. >> Are there any unix systems running emacs 22 (iirc org-mode doesn't support emacs 21 anymore) which have problems with long filenames? We're living in the 21st century, aren't we? [...] >> >> It would make a lot of sense to at least still begin the file names with >> `org' IMHO, if at all possible. >> > > hmm, the longest (non-language-specific) file name is already 12 > characters long, > > (length "ob-tangle.el") ;; => 12 > > which doesn't give us much room to play around with. Looking at a > couple of possible prefixes, and the related leftover characters for > differentiating the *-tangle, *-comint, *-ref, etc... core babel files, > yields the following > > | prefix | remaining characters | > |----------+----------------------| > | ob- | 5 | > | org-b- | 2 | > | orgb- | 3 | > | org-bbl- | 0 | > | bbl- | 4 | > | babel- | 2 | > #+TBLFM: $2='(sbe leftover (prefix $$1)) > > #+source: leftover > #+begin_src emacs-lisp :var prefix="" > (- > ;; length w/o .el > (- 13 (length ".el")) > ;; length of prefix > (length prefix)) > #+end_src > > Personally, none of the above seem to be particularly superior to the > current naming scheme, given the fact that we need to fit multiple files > behind this prefix. I think you have to add 2 to each of the numbers above. But the conclusion surely remains the same... Greetings, Stephan