From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: org-babel-where-is-src-block-head Date: Tue, 07 Sep 2010 16:46:01 -0400 Message-ID: <878w3dwad2.fsf@stats.ox.ac.uk> References: <38B5DC68-38DC-4F36-8D26-F050D4F42036@tsdye.com> <87fwxlweqx.fsf@stats.ox.ac.uk> <81k4mxuzam.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=48087 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot53P-00042N-QU for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 16:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ot53O-0004Df-Be for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 16:46:07 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:53579) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot53O-0004DI-1w for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 16:46:06 -0400 In-Reply-To: <81k4mxuzam.fsf_-_@gmail.com> (Jambunathan K.'s message of "Wed, 08 Sep 2010 01:00:25 +0530") 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: Jambunathan K Cc: emacs-orgmode Mailinglist Jambunathan K writes: >> [1] E.g. `org-babel-where-is-src-block-head' may not be the "proper" way >> to detect if we're in a src block. >> > > I wonder what the proper way is ... > > At different points in the past, I had looked for org-at-babel-p or > something similar. I invariably wound up using > org-babel-where-is-src-block-head ... I notice Carsten has the utility function `org-in-regexps-block-p'. I don't think it is used in babel so far. Dan > > Jambunathan K. > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode