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 13:21:37 -0600 Message-ID: <87wqq4l872.fsf@gmail.com> References: <87a9n35g25.fsf@gmail.com> <87fvwuuez8.fsf@gmail.com> <87li6lelx1.fsf@gmail.com> <87ehccmoz4.fsf@gmail.com> <874nd8ph8x.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlOiZ-0001WW-Iq for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 15:22:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlOiY-0001MZ-Cl for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 15:22:27 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:33603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlOiY-0001MV-5z for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 15:22:26 -0400 Received: by mail-pd0-f178.google.com with SMTP id w11so1611351pde.9 for ; Sat, 08 Jun 2013 12:22:25 -0700 (PDT) In-Reply-To: <874nd8ph8x.fsf@gmail.com> (Vitalie Spinu's message of "Sat, 08 Jun 2013 20:52:30 +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: Vitalie Spinu Cc: Michael Brand , Org Mode Vitalie Spinu writes: > >> Eric Schulte > >> on Sat, 08 Jun 2013 12:05:32 -0600 wrote: > > [...] > > >> > >> 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 personally find it quite confusing. Babel names that contain > src-block semantically refer to the whole thing. This one refers to the > pointer. If brevity is very important I would rather drop "current": > > `org-babel-src-block-location' > > or probably even more suggestive: > > `org-babel-src-block-beginning'. > I like "current" because it is similar to other variables which are dynamically bound by Org-mode and without it there is no indication that it points to a block which is active *now*. I've changed the variable name to your previous suggestion of `org-babel-current-src-block-location'. If anyone really wants brevity they can add the following to their config. ;; -*- emacs-lisp -*- (defun loc () org-babel-current-src-block-location) Cheers, -- Eric Schulte http://cs.unm.edu/~eschulte