From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AN8xA4SiT1/ldgAA0tVLHw (envelope-from ) for ; Wed, 02 Sep 2020 13:47:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +GS4OoOiT19QDwAAB5/wlQ (envelope-from ) for ; Wed, 02 Sep 2020 13:47:47 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 68218940509 for ; Wed, 2 Sep 2020 13:47:46 +0000 (UTC) Received: from localhost ([::1]:47940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDT72-0005w6-GX for larch@yhetil.org; Wed, 02 Sep 2020 09:47:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDT54-0005um-EE for emacs-orgmode@gnu.org; Wed, 02 Sep 2020 09:45:42 -0400 Received: from mout.web.de ([212.227.15.3]:54575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDT52-0004js-IM for emacs-orgmode@gnu.org; Wed, 02 Sep 2020 09:45:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1599054338; bh=clpd7sM/g83o1Yu2C5nfxl5vOnBp+c50sg3SBhhvlpM=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=O93AVhrf5wtb7wOvv6zyWz+1pcV2D272oBAoc59lwbQZBBJ6OonS22TFLsCszqzXh vZEc+rqOJoIOLZSGa/DigsAeW39TyLCzLmlI0p/JNg0Pwc/PJkWZfurd0sKSAkUQbZ uuaX9twUNllM41UrZo1o06jrGRni3jfJ52489gpI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.218.220.78]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MHGdf-1kPpA239oB-00E693; Wed, 02 Sep 2020 15:45:37 +0200 From: Michael Heerdegen To: Robert Pluim Subject: Re: Headline generation as in diary? References: <878sdth8fm.fsf@web.de> <87zh697ctp.fsf@ucl.ac.uk> <874kohh6el.fsf@web.de> <87v9gxcg9k.fsf@web.de> Date: Wed, 02 Sep 2020 15:45:36 +0200 In-Reply-To: (Robert Pluim's message of "Wed, 02 Sep 2020 08:54:05 +0200") Message-ID: <87mu28l2bj.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:yGi2/JAgHDU/UqY28E043Nz/LxMuBbtw8zu5DKPGd16TQUTSkdu nUsHRkJ7+beDsSoQyGQ8F0RLM8Y/Q2SrUQDyPZqdtzGsKsPasCoh/qeKByMSIqVL2eocHhW 2Ax2eZ9Jd4vle3XNy2CSVWW/6Xn6eN5S+gWKtslz3kdUzIad4RIdItLG5kGFHTj3KYMh/tW KD+GHu9G58rC5MttXoflA== X-UI-Out-Filterresults: notjunk:1;V03:K0:P+1DatAEzUA=:fZ+DjlU9hd0gKAZH834KjP sI9hB6Xs4BsgDaN1RkHmyeLILst/DM5rY1z/QUOFlwmdQe7lpSZjpfjvBu8O4Avin/r53ENSd 33Ptv/5oNnUwg0Bmq0gp67VqKwoV8ydq67/DRel9rI7GrOp8VqGV03pB2oXgc1g29Yrnc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nARcCWtAwV0uorTSODnJP8jk3pHgNu/Es 0+F1mGATAdHn31+HJCmUXCAT2G1UlraNtI+i7NA== Received-SPF: pass client-ip=212.227.15.3; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/02 09:45:38 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b=O93AVhrf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: Oc2Y09/ls9AL Robert Pluim writes: > How about: > > diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el > index 78fe13303..9049b3a42 100644 > --- a/lisp/org-agenda.el > +++ b/lisp/org-agenda.el > @@ -5772,7 +5772,7 @@ displayed in agenda view." > r (replace-match "" nil nil r))) > (if (string-match "\\S-" r) > (setq txt r) > - (setq txt "SEXP entry returned empty string")) > + (setq txt (org-no-properties (org-get-heading t t t t)))) > (setq txt (org-agenda-format-item extra txt level category tags 'ti= me)) > (org-add-props txt props 'org-marker marker > 'date date 'todo-state todo-state Thanks for looking at this. Ok - That gives me a headline in the agenda, but a wrong one (more or less, a random headline in the same file, at a seemingly unrelated location). > (I=CA=BCm guessing yet-another-config-variable is unnecessary) I think so toom yes. > >> You can use them in timestamps as well, which is useful for > >> weird time > >> periods > >>=20 > >> ** Just before midnight on a few days 23:00-24:00 > >> <%%(org-block 2020 8 31 2020 9 2)> > >> <%%(org-block 2020 9 10 2020 9 12)> > > Michael> But it seems those time stamps are not allowed to span > Michael> multiple lines > Michael> (at least I don't get it work). Seems org doesn't > Michael> recognize them as > Michael> such? > > It=CA=BCs working fine for me in org-9.3.6. Note that I have my default > agenda view set to a fortnight, and those dates span two different > weeks. I didn't mean time spans. What doesn't work for me are time _stamps_ that span multiple text lines. Thanks, Michael.