From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uKXHII9Q02CJUQAAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 17:17:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aL18HI9Q02C6HgAA1q6Kng (envelope-from ) for ; Wed, 23 Jun 2021 15:17:35 +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 CBC631E634 for ; Wed, 23 Jun 2021 17:17:34 +0200 (CEST) Received: from localhost ([::1]:58824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw4dB-0002Qi-Qf for larch@yhetil.org; Wed, 23 Jun 2021 11:17:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw4cg-0002QM-38 for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 11:17:03 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:36740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lw4cb-0005af-3t for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 11:16:59 -0400 Received: by mail-ed1-x536.google.com with SMTP id h2so4015233edt.3 for ; Wed, 23 Jun 2021 08:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=dG0E/tqlsJ9+V0fXgycWWcDvumXqhw0nSGK14uyqCwI=; b=hpYU0VU0rDn+mNl0u2k4EecKlU06BmWvueoL4ZQZw9sSfKfHQ3UymwkmaT3TM58FSu 9EFgErmvV5jWe8l4KUPgtTAbAuxPDF1HE0zSUGmEquzVYUvw2w/YP8I7L9fZr626PMyE MApbqqhsvBTUAJvnd6k8wVpnWqquxYZC+VbFAVCB9rRn8J/epHXeyVQLjn6LBWhBNucz 7sQNvTAGuHTC8Pg/fHwGNxUxly3g//nXF9eLXzYMlc85VMlpwBTUEUdNAVJBQaDSm+gJ ckbhiQ2ZQ+ZLk7sJ+dRF1Zciyt63wVUg2V6aK6KNgUzpHsMwGM0kJ+HokY3HhExve3Y8 cY4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=dG0E/tqlsJ9+V0fXgycWWcDvumXqhw0nSGK14uyqCwI=; b=l4jdTnXxF2/E72vQNvGNeHYrG0Sj5q8R+GFz8rkfFe6R8R7TnIfjdV7/A4p600vmhc t4ES7nadv2xPO+ZmPVUyuRI9ziNBbyU+6P6aQLbTMEj47KFcZ2kXtQA1JPavghzFKshM w74fMAWLglDHr12pv3k58g3rkPQQAFoycet8q/KfUFiwItE0pNm3aQ3a/L5PzW8r4XqU iZsA7jjQXiQIg3Ak9RmUfihiozAJBke9DfQwEgh5GOYJM1SgcaNoTTyN+2dcITb1rLIW CQatMcY98CEFisHWtU73jczkfVGZwfDr3ld/aTcpE7kKOCmmZrQfOwImjgCuH5an/pxk rfCw== X-Gm-Message-State: AOAM53356icjthrlm/FUaWlLf2OnyxGqEErrh/7wp4tN3ALio/wjsGvO 0722DuMv+vvUQVaNqrEMOTE= X-Google-Smtp-Source: ABdhPJxr53MBdoKRgMHg3XQ1sZHbvVCoBAiXafUpgvEPqm09yoG4vmyYPoqsGpeKOxJ0f6fzWw7XiA== X-Received: by 2002:a05:6402:289f:: with SMTP id eg31mr230988edb.171.1624461413929; Wed, 23 Jun 2021 08:16:53 -0700 (PDT) Received: from aspire-5942 (p200300d8674bce00644889f6e95a1004.dip0.t-ipconnect.de. [2003:d8:674b:ce00:6448:89f6:e95a:1004]) by smtp.gmail.com with ESMTPSA id f18sm206723edu.5.2021.06.23.08.16.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 08:16:51 -0700 (PDT) From: Marco Wahl To: Subject: Re: Calendar vs. org-agenda exit References: <1d8c2e28-a7c1-7d37-152c-2aac07b54978@posteo.net> <20210623091540.GF32294@tuxteam.de> Date: Wed, 23 Jun 2021 17:16:50 +0200 In-Reply-To: <20210623091540.GF32294@tuxteam.de> (tomas@tuxteam.de's message of "Wed, 23 Jun 2021 11:15:41 +0200") Message-ID: <87k0mkwqzh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=marcowahlsoft@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624461455; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dG0E/tqlsJ9+V0fXgycWWcDvumXqhw0nSGK14uyqCwI=; b=oCwF9aqcCb0p86XkulwUS3ZkRfkLteo4k308/bRNa1dFzGWSrKKpp9AJLc4V3TWNKTB7Yz CHURw3fOnhmiTMq2lGRTQIGX4RUoKTjMRJK9XPDKNXZlb2GU5NbeSY9CjbzC9cBApXlghD nW91gANHU2dAAvowElauDopVWH2kgxNpUtEP/6UWxuYANQPi6/ciQBizMPBGRjLkNtp3oQ Y2IL6nBSsmBKGbiPyftZr8bwrx8PPhFZs/C3TI/44GzSyhNggKQhv6SPbdXKFKJXsYi7gm Nx+MtgqC8wiVEnUBP3NnE64A3DLZfUMxTmBhXMlP+uhUkb13OycjXTPsjfY0Bw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624461455; a=rsa-sha256; cv=none; b=tBdoMbLg/KKDORMP+g5SKHp/EaCZL+mT8aaCjYmscE60ARJPWJ0AUNoNdw9SxpAdIM7BXA UVeXMYB1e/yXGc7Kti7Jkcyr/W8ukqy/gwrEHh4B7XnnCPgsDv0lavbnls7pvN7YT4nf1U llkNYNLAVm5zR3j/l6ulWLRMek3ZVgLxafDDfHcvfiSClqpqTRgFCXUfuF2BSdEbvQ5XBX X/1/+BIGS7NiRkvvVQ1jKZTJctwjmY89nxX0Tgd5c2tfT9rG/f0sROOCnqy8Dj+D3RepMz T5FpZP8DBIHJ8nDe/y8jTWlzhi9Cmiom1HwmQNupj3g8/jivr1WI4aW1Y9EBbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hpYU0VU0; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=hpYU0VU0; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: CBC631E634 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: wJooT9ep7tcf Hi. > is org mode rebinding keys in the calendar? Yes. "c" calls the Org agenda. "i" in the calendar calls org-agenda-diary-entry when org-agenda-diary-file has been configured. (See function org--setup-calendar-bindings.) > I ask, because I've been using traditional calendar+diary; now, > when I try to insert an entry (i-d in calendar), I get > > "Wrong type argument: commandp, org-agenda-diary-entry" > The following experiment points in Org's general direction: > > - emacs -Q > - M-x calendar > - with point on some date, i-d > - diary buffer is open, with a new line primed with date > - M-x load-library "org" > - again, in calendar, i-d > - the above error results. > > I'm not sure yet whether I fat-fingered something, so I'd like > some hints in investigating before declaring this to be a bug. Thanks for providing a detailed path to the error. But I can't reproduce this error; I get - diary buffer is open, with a new line primed with date instead of the error. Since you start with -Q and command org-agenda-diary-entry is a command in org-agenda this looks suspicious AFAICT. Does the - M-x load-library "org" mix in some weird Org version and/or setting? And btw why load Org a second time? Best regards, -- Marco