From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oItiCEtT02BuWQAAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 17:29:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sDQSBEtT02AsHgAA1q6Kng (envelope-from ) for ; Wed, 23 Jun 2021 15:29:15 +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 64BB0166F3 for ; Wed, 23 Jun 2021 17:29:14 +0200 (CEST) Received: from localhost ([::1]:39766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw4oT-0000i3-Ge for larch@yhetil.org; Wed, 23 Jun 2021 11:29:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33532) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw4nx-0000hv-Nb for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 11:28:41 -0400 Received: from mail.tuxteam.de ([5.199.139.25]:54105) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1lw4nv-00059j-86 for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 11:28:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=Gkj0xFFyulWJmCsUKamFne2mSaFQ3n5b/msJNgnDVo8=; b=AiUwRy20drcunMBuVLQxGzYThgj/10xRwFqj/ywiZulz9zGxHyKXxPbPkT9AT92jPQq1wIvzo5Ii3et0Hd73KPcSfsTjcDOlc7waAp+FE6ZLfIZ4ncz22HYaIbGLRFjz3Oq4hc181LT0mIlk1SRYUtauUqWW9im4+KsanW8frv2KdfnsAsBQoAIqy5ybH1rbLJ3QN4j0AWzxwHYlv0v6w4OORC8H5heWqQQACLMl8uiAKJ/Gt7PUlysH+3G0vC3ErdL3mzZsIHKDFjiR6JdqS/sxBuIowRy9yQDRHnqpuWXeEUs+XWPYC596WjxFDxWU/MLWXllzzTgikP9Gk/WMPw==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1lw4ns-0005JK-Lx; Wed, 23 Jun 2021 17:28:36 +0200 Date: Wed, 23 Jun 2021 17:28:36 +0200 From: tomas@tuxteam.de To: Marco Wahl Subject: Re: Calendar vs. org-agenda exit Message-ID: <20210623152836.GA18563@tuxteam.de> References: <1d8c2e28-a7c1-7d37-152c-2aac07b54978@posteo.net> <20210623091540.GF32294@tuxteam.de> <87k0mkwqzh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline In-Reply-To: <87k0mkwqzh.fsf@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de 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, 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=1624462154; 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=Gkj0xFFyulWJmCsUKamFne2mSaFQ3n5b/msJNgnDVo8=; b=pMBr3l55DtpXRbIfP8BS2c/1MOpHR+YZxG/BBW2yC5jPAFsTO+F0YbucDskF9oFpWFWu9C woGcxINEFjaVQ5mLhEpXFDG8GaH88Q3ITYZw5MC3zA7pwUtLiQq3o7AhEshaQ6ic3uXrXr dqH+GZVDifbDMczQjCEamP3lk7hBk4gpSkAsr0lWnv0XntAWhVoiFFJGVVrJ10ygl/mvXz O9x5YW7BDw1UHPS8AL7qMMXacXUULyskmc2UItwSREBAZ5U7LL6jQ0UDINf1sIvKh1NedE UKETkzV6tGpErjC6AeLVx8X7/8cQNi57JU8w+yEYozt3vNlk5ZeGIbGGmIEuxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624462154; a=rsa-sha256; cv=none; b=mn0QR0niDqOx98IlbJS27oiwhmtTUELUttLMAT+SclKvR5unWEfXq5+yPSJY2bFZr1XkRj D/+JUb8QyU4Gp/9ciPp4hqA2/1sbYoV7xDnOPhaOWQmB7yKd4Kk2Dc102juKWVM7lv01Hz M842KvI65keEq+UPylqpKO9MD8RszogdruJGVlQy3esAWSwTHoGVG+26Sxy8SfFqntKP/i P0ljJ4qFkX8mUg7y413AftZMfutWSQY0CIw/WBL7NJLiLf496bldpbT0vafQY/QzqlUexx rJwZz2q6PtvLiyf7/bbdqNv9XMqXI4SKmLjvSO6KAE6HkLfe6i8u9NaJ6p2O+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=AiUwRy20; 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: -4.73 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=AiUwRy20; 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-Migadu-Queue-Id: 64BB0166F3 X-Spam-Score: -4.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: RjSBV7n0XIY7 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 23, 2021 at 05:16:50PM +0200, Marco Wahl wrote: > Hi. >=20 > > is org mode rebinding keys in the calendar? >=20 > Yes. "c" calls the Org agenda. >=20 > "i" in the calendar calls org-agenda-diary-entry when > org-agenda-diary-file has been configured. (See function > org--setup-calendar-bindings.) Thanks! This must be it, I'll have a look and report back. > > 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" >=20 > > 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. >=20 > Thanks for providing a detailed path to the error. But I can't > reproduce this error; I get >=20 > - diary buffer is open, with a new line primed with date >=20 > instead of the error. I must have mis-communicated. The above (i.e. diary buffer opens with no error) happens after the -Q. Note that it is the non-org diary. > Since you start with -Q and command org-agenda-diary-entry is a command > in org-agenda this looks suspicious AFAICT. >=20 > Does the >=20 > - M-x load-library "org" >=20 > mix in some weird Org version and/or setting? And btw why load Org a > second time? No, it is the first load of org. I'll look into org-agenda diary file, as you suggest above. Cheers - t --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmDTUyQACgkQBcgs9XrR2kaIzgCfTVbZXIjkvhtZRA7NKR03LMVy JXgAn2oJKotiuGtESgLeH1cO/5a/RdYg =0Blx -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--