From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uBVzMiVWvV/nFQAA0tVLHw (envelope-from ) for ; Tue, 24 Nov 2020 18:51:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gFFLLiVWvV9pfgAA1q6Kng (envelope-from ) for ; Tue, 24 Nov 2020 18:51:17 +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 39D3E9404C2 for ; Tue, 24 Nov 2020 18:51:17 +0000 (UTC) Received: from localhost ([::1]:47092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khdPG-0007rM-QP for larch@yhetil.org; Tue, 24 Nov 2020 13:51:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khdMf-0006V4-V8 for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 13:48:36 -0500 Received: from mout.web.de ([217.72.192.78]:44481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khdMZ-0005m6-5e for emacs-orgmode@gnu.org; Tue, 24 Nov 2020 13:48:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1606243671; bh=YAyev9TBX3ybLzPFOQwgfMwlQ5d8D+UpA5O3LoIM4aY=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=VJNQSF5zTtwvMCx+kPHhA4EDuXHlDeImcSk1bCG70afc/8XXeSjXtqUNmcdtp9aOH bZhiNC/QpBKjaK4OGcOR20m+3ayTxyb8xUpRdoeU6rHsaCq1K579/NKSSlh2dPj1rV 9lNaicVkKoR/4oRTcLcw0puSm1182qF47xEUoGhg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([80.136.19.238]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MYeys-1kmX9p1TfO-00VQg2; Tue, 24 Nov 2020 19:47:51 +0100 References: <87mtz84om9.fsf@localhost> User-agent: mu4e 1.4.13; emacs 27.1 From: "Dr. Arne Babenhauserheide" To: Jean Louis Subject: Re: One vs many directories In-reply-to: Date: Tue, 24 Nov 2020 19:47:51 +0100 Message-ID: <87360yegmg.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:lRp7X63q5aCQQwtM+VWRUCLcXfZwmoGhfh16PpzUZT6SO4pQ57e ahltBbW6mJrJmuYEa+2WBG487K0/Pyxe8X6pj/RJt5i5No43DtBVqbO/dK47IEltTdTylgS 9zcruxKQBL701a4md1XP08I7FGzPuGTHJVySKCOfC9mUmsZwsl0IfKDHZH46wsYK4bRI9yw mM9LtsO5ZIXOqwk32TppQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:O8Px8jRA0QA=:GsSo98j6yHNGS+QxiSnUvY 6GUugkSsHmrDARGG3L9xxsQF5ELwDRMdMKB2cIeMFnHWj/gCtqTuaa6mQ+R9ur0G69ykVaO95 /ByIazoSVCaW2H+SZTbICusMzz0e5Fi0IqW6XKNLBiB72ET0/NHdEpuvRnj017OCmzQSgGkcQ xHKSbt1whDxQm73CNnrS+IigbxY3gzD/BHgdsUD711JVC8J5AV+MIo4uBYgJb2yvrPAdo5ssL a9RJr0j7xj09E/E8Creb/qGTq1vo9PSA09DejB7gU35sKXqWeKGy+3SKur10AiirUqTRUAhUq HN9XRXcYWugvsgOHnXi8I0+jfdfhaNPMnyn0cxXDMBwKucRuHWBoZqHt26j9xAHbt9avnGjHJ ZXGhxMsWlsrTHQmx6Jh3qzVQ5IY4W8P9LqfxgDHGMiTifa5dfYMjViHZbYxBU3KFnBdnNHVtn 4UMsCS4Rb93/kn0UtyAtbOTG6aCXpD/MLypElKj9Rz9UspJRFIchHxgtNqlYquWlPAMGoK6Xj q23Xw98yY7mpfDbQnbvxdc2UCI4ZL+6INZpdkdv2H3ZxcYvBKaVXgxYwGGIrNsJOm3bxI5erQ b9dYONlor5H02+EAxtvwXrMm0b4j/y8BivUxNLA5IVAOLlAkFlRYE85wZW8D3vvu2EhRC7dnl iEUX3/ZdJEXhMtX3ZgDWLum2TUjKWLDQQO/2XNrF5eIDLsVQAP8nwny2aAyyKwMM3curYxXOy /PYKDEMXnUCcHRd64ORT1BF0raPgpcnTcbchBLdUMpBU295wqSfecBuKIj+jLBjz7A+iFdOK3 almzZNosx3B+kkkGPtL4mKC9orMDKNEHS8cfto0QjtCu8zqQNLsGsXJW4l52Ltf3095yZEw8o rk1/T9SvCQgEe8ihj9Yw== Received-SPF: pass client-ip=217.72.192.78; envelope-from=arne_bab@web.de; helo=mout.web.de 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_H2=-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: Texas Cyberthal , emacs-orgmode@gnu.org, Ihor Radchenko Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=web.de header.s=dbaedf251592 header.b=VJNQSF5z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=web.de (policy=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.49 X-TUID: hAx9l2nv2L2c --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jean Louis writes: > Some people maybe access multiple Org files through Agenda, me I > don't. Some items are "non existent" and I do not know how to ask > agenda to refresh itself. Simply press the letter g. For my own setup I run code in a hook to update the agenda whenever I change a TODO state, clock in or clock out, but that has performance problems when I do it while the Agenda is shown. (defvar todo-modified-from-agenda nil "Indicates whether org-mode todo = state changes were triggered from the agenda. Check this to avoid trying to= propagate the change back into the agenda") ;; continuously update agenda view, from http://thomasf.github.io/solar= ized-css/test/org-hacks.html (defun kiwon/org-agenda-redo-in-other-window () "Call org-agenda-redo function even in the non-agenda buffer." (interactive) (when (not (and (boundp 'todo-modified-from-agenda) todo-modified-fro= m-agenda)) ; org-state non-nil means we=E2=80=99re coming from the org-afte= r-todo-state-change-hook, which would throw when changing todo states from = agenda due to a circular action (let ((agenda-window (get-buffer-window (or (and (boundp 'org-agend= a-buffer-name) org-agenda-buffer-name) "plan.org") t))) (when agenda-window (with-selected-window agenda-window (org-agenda-redo)))))) ;; advice agenda todo to avoid redo, thanks to http://nullprogram.com/b= log/2013/01/22/ (defadvice org-agenda-todo (before org-agenda-disable-redo activate) (setq todo-modified-from-agenda t)) (defadvice org-agenda-todo (after org-agenda-enable-redo activate) (setq todo-modified-from-agenda nil)) =20=20=20=20 (add-hook 'org-clock-in-hook 'kiwon/org-agenda-redo-in-other-window) (add-hook 'org-clock-out-hook 'kiwon/org-agenda-redo-in-other-window) (add-hook 'org-after-todo-state-change-hook 'kiwon/org-agenda-redo-in-o= ther-window) Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAl+9VVgQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD6wfnD/9WfV8rxuoSFKYU3ug1iZJvyInEfsQ2P6oz nRXgjdKmlYRs9TsLI2qE06r52YSaRH/GEhbccO2jQteEx1b9KPCFkdFhtOLcVYY0 Dgk5EystPDnfNkk2VALlbdE/euWBVWEBeXx/eD2EnV75xbVB4NN0lMfXWOZlUt1h D+vMsFfK4o6PrEeNFsuK9/eFvveKOymxPqstrTrBbhgHDMcj2LhtBtBF/Gz5SLBP aQtEJjLRZa+HIC/ZyVLR1oR2+cRpofd3sG/EVLKLqEFU8wmNCk4LWI6Q6KqJsO3P f0lybEuwXVWkWRpgcvmHHtT2XGrlPWOtJspjJY4qMG0VuH2e1oAsk2+sjcOm9Vug movTjByGY/Iha7CPfTR0irqLD19De7D/JUMiB2rxH+yNxFee3StfZON6JzjK1UPA BOrnjXqfonuf55zjpBtYcjguIg4GkT1pDslTGcokbakPnaY4oreyIt3dJH22YgPY YMdEhugJXaClIl4CnGt+bvvgEeZETMAXCNAQB+ZMv9FNpfbN+2HsW0NpkimR94nk HGzpY+wUzA2TLLVOvlkrcm6m7XsVDTPskDhZLeOLiAIw879EzyPmSHvpfUmCldoB GscDPz9cNMxJ/XiiYfxam93EkxyM3OKF5A51sD+/8OzlOCz+NonTfjyq59G609Bw mKCXBLstzIjEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAl+9VVgQHGFy bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSJV4A/0UqtsDSfFIJ9/DSx0qSSoTIsEO fNALA5fhw338twdmrhM/LzR2iZiZ2+GL5KxjzKceOWnEo0/VY/v1thvBhxaq58Nu mBSMLk+5zusBiU6QWCum4N5aYkQPX+4Zge+kjG5NPh7VSMlEVvv9Oha3ihJlDovI Jj59w713EOLVdjzbZw== =bQCM -----END PGP SIGNATURE----- --=-=-=--