From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitalie Spinu Subject: Re: link abbreviation with multiple params, e. g. for geo locations Date: Fri, 07 Jun 2013 21:54:50 +0200 Message-ID: <87li6lelx1.fsf@gmail.com> References: <87a9n35g25.fsf@gmail.com> <87fvwuuez8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul2kU-0006F0-QC for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 15:55:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ul2kS-0003au-2b for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 15:54:58 -0400 Received: from mail-we0-x232.google.com ([2a00:1450:400c:c03::232]:53948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ul2kR-0003ad-Sj for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 15:54:56 -0400 Received: by mail-we0-f178.google.com with SMTP id u53so3385319wes.37 for ; Fri, 07 Jun 2013 12:54:55 -0700 (PDT) In-Reply-To: (Michael Brand's message of "Fri, 7 Jun 2013 21:16:00 +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: Michael Brand Cc: Org Mode , Eric Schulte >> Michael Brand >> on Fri, 7 Jun 2013 21:16:00 +0200 wrote: [...] >> >> Perhaps the variable name should be updated, but this extension is >> simply a generalization to include inline code blocks as well. I don't >> find it misleading. [...] > If yes then I understand only now that the functionality of the new > variable is of course the same for the changes in both commits and > therefore the name has to be the same for the changes in both commits. > But for me it would have helped to have some other name, containing > neither "src-block", which I associate it with #+BEGIN_SRC but > not #+CALL line or inline call_, nor "head", which I associate > with #+HEADER. I would like to suggest org-babel-exec-marker. What do > you and Vitalie (CCed) think? I named it with "head" because head is the local variable in org-babel-get-src-block-info referring to that position. There are other functions that use -head: org-babel-goto-src-block-head, org-babel-where-is-src-block-head. But, I agree that it might be better called beg, location or position. I think "src-block" is not misleading, there are plenty of foo-src-block-bar in babel. May be then: org-babel-current-src-block-location? The -exec- part stands for -executed- and, might be drop. It should be explicitly named because this is a global variable which is bound only during the processing of src-blocks, simply 'loc wouldn't work. Vitalie