From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: link abbreviation with multiple params, e. g. for geo locations Date: Sat, 08 Jun 2013 12:05:32 -0600 Message-ID: <87ehccmoz4.fsf@gmail.com> References: <87a9n35g25.fsf@gmail.com> <87fvwuuez8.fsf@gmail.com> <87li6lelx1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlNyL-0000yi-Vb for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 14:34:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlNyL-0004A2-0k for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 14:34:41 -0400 Received: from mail-pa0-x235.google.com ([2607:f8b0:400e:c03::235]:60943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlNyK-00049q-QF for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 14:34:40 -0400 Received: by mail-pa0-f53.google.com with SMTP id tj12so1551508pac.40 for ; Sat, 08 Jun 2013 11:34:40 -0700 (PDT) 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: Vitalie Spinu Cc: Michael Brand , Org Mode > > 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? > How about the shorter `org-babel-current-src-block'? It is somewhat more ambiguous, but the only reasonable options would be location or name, and not every code block has a name. I think the added brevity is worth the ambiguity, but I'm not strongly committed either way. I'll happily commit whatever is generally appealing. -- Eric Schulte http://cs.unm.edu/~eschulte