From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Schockaert Subject: Re: Detect parent with SCHEDULED or DEADLINE Date: Fri, 15 Apr 2016 01:11:23 +0200 Message-ID: <87r3e7bxb8.fsf@artlab.createcnix.lan> References: <87bn5dupt4.fsf@artlab.createcnix.lan> <87vb3kx1r6.fsf@alphapapa.net> <87r3e8zmrf.fsf@nicolasgoaziou.fr> <87h9f48xfz.fsf@alphapapa.net> <87mvowzkox.fsf@nicolasgoaziou.fr> <87vb3jc22c.fsf@artlab.createcnix.lan> <87twj3c13z.fsf@artlab.createcnix.lan> <87vb3jdd1x.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqqQn-0004Oc-BZ for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 19:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqqQk-00036v-5y for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 19:12:13 -0400 Received: from smtp3.tech.numericable.fr ([82.216.111.39]:55225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqqQj-00036l-RN for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 19:12:10 -0400 In-reply-to: <87vb3jdd1x.fsf@alphapapa.net> 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" To: Adam Porter Cc: emacs-orgmode@gnu.org Adam Porter writes: > Christophe Schockaert writes: > >> (save-excursion >> (save-restriction >> (widen) > > Hi Christophe, > > Thanks for sharing the solution! Here's something you might want to add > to it, something I recently discovered. The `org-with-wide-buffer' > macro can replace those three lines: Heye, Great \o/ I am amazed to see the many subtlelties under the cover ! Chr. -- ---------------> mailto:R3vLibre@citadels.eu Once it's perfectly aimed, the flying arrow goes straight to its target. [...]