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 eMhuLf/x1GBNaAAAgWs5BA (envelope-from ) for ; Thu, 24 Jun 2021 22:58:39 +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 +EYpKf/x1GBOFgAA1q6Kng (envelope-from ) for ; Thu, 24 Jun 2021 20:58:39 +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 01E941B576 for ; Thu, 24 Jun 2021 22:58:39 +0200 (CEST) Received: from localhost ([::1]:36254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwWQm-0007mL-VE for larch@yhetil.org; Thu, 24 Jun 2021 16:58:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwWQK-0007lz-BY for emacs-orgmode@gnu.org; Thu, 24 Jun 2021 16:58:08 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:36758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwWQH-0004nx-If for emacs-orgmode@gnu.org; Thu, 24 Jun 2021 16:58:08 -0400 Received: by mail-pg1-x535.google.com with SMTP id e33so5756979pgm.3 for ; Thu, 24 Jun 2021 13:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=CQbuV3zi/mlFIfpt+eHWoXU1WEVVFsZyoij9TXfrrvE=; b=qDbNMOr6Z42zmsB5PIrTujTB3vxMZGBdHqzanfg/Yrd8BtbuUYBT5iVO3xf8Dq8Lsy CRsvuiPcnp/1Gmn+qXUokSjlH9zKacHtEKeagZEbrCUJigbt9bUAi3TYqTg7Qt7THYKi I/rrCo/oLcoHeWxgLKgqwLE4nxl4krh3dbD2O0pPYbrz542JkDbSXxGmbJxOlSGGELvd nbZr+LDenFYNQ8b07Lg6IFWMEPH7iX1i/klGgXgk+fJt2xzP/3SiF11vBDOfprGVjoAN 3WQp9yQddPxy5I0zL8ZN++L6cbWBDspl+tGH8IYvwYvtIk9tIkFVTueWrWeMmpIeEWop lyyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=CQbuV3zi/mlFIfpt+eHWoXU1WEVVFsZyoij9TXfrrvE=; b=WuDgKRFfDGL5tX4a4n3XZlQwggnhiSQcB5DzZgHBQ3hkVRVlyeOWIKPi6PE7fKpxWb tjPdnQonHFVyWbFwG+C/OKG3QRRsJ/E139hAsAwWAF7Rg3N3+EHZEt1ygx95qZzS+1N2 Qw9ovmR42P4R0kxCKo6dtmPU9kwSI3QIraTTYoz/yGAWoteS8ocOd1hhiZtw+3Qie8z1 R4ftsSE/uoU94xssHup55mKvquv2oSXQ0arO3lVG7H6mtfU1vAhxBdbJnfNDO9A1BW1+ dvi4K8qiItDhRnFxDSmLi4asd3XZyPEb96k0/BC7Z+yMhh11zkPnhLhsvnHmT07cp+U/ RlKQ== X-Gm-Message-State: AOAM531Vu2sSlIk6vvn0VB9qFeoNeDI0bdzvMzgdHR8n2Qy1MMmWKubB sr5WdK+3JZSuBbANny8seX7JT9dSSz4= X-Google-Smtp-Source: ABdhPJzZHC9K9jTTHuOWBa7tD1BU01EHb3865pt1hF6XlCq2cWN10J9qAXm0UiDCTGwXgSadsY+uDg== X-Received: by 2002:a05:6a00:164b:b029:305:f45e:e1d9 with SMTP id m11-20020a056a00164bb0290305f45ee1d9mr7086407pfc.10.1624568283585; Thu, 24 Jun 2021 13:58:03 -0700 (PDT) Received: from tim-desktop (106-69-124-64.dyn.iinet.net.au. [106.69.124.64]) by smtp.gmail.com with ESMTPSA id u1sm3582010pfu.160.2021.06.24.13.58.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 13:58:02 -0700 (PDT) References: <1d8c2e28-a7c1-7d37-152c-2aac07b54978@posteo.net> <20210623091540.GF32294@tuxteam.de> <87k0mkwqzh.fsf@gmail.com> <20210623152836.GA18563@tuxteam.de> <20210623161652.GA21250@tuxteam.de> <87wnqj604r.fsf@gmx.net> <20210624120946.GA21861@tuxteam.de> <87sg175t63.fsf@gmx.net> User-agent: mu4e 1.5.13; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: [SOLVED] (kinda) Calendar vs. org-agenda exit Date: Fri, 25 Jun 2021 06:54:25 +1000 In-reply-to: <87sg175t63.fsf@gmx.net> Message-ID: <87y2azkmjt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x535.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: , 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=1624568319; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=CQbuV3zi/mlFIfpt+eHWoXU1WEVVFsZyoij9TXfrrvE=; b=nSwiefX1uubSpaTsS+601oxog7nSWwq2SaDyxs3qo9tEhEkKJhSl/rUiLUjylDLksA1RbW t6gBSO+FfaUvZHHB1vT5ngZm9Qy14z3yJLkvIdBbN8ozxkUDuKkSCJDL1gg6Hqj3I116z+ HKOEsrqE9Gabz3GA/Hp5D+qZFKCnDrzP8zIetXp9AX9/5CCSpSYn3o/YWpQlWZe8ezIV0h 0BStR6vfX82w25p0T4+2wWiMH/6IochqWy8e6UJbNTEfdu2QtxOn9wHDwAGXvRVqCuCCsW 1p+tC6w+YfH8Ads7DvxWktiPJLwHFAH9vWZaLLjrczgBRZaGq6NwXds35xGtxw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624568319; a=rsa-sha256; cv=none; b=gvd6wotemIQ3cv2LkiyrXtDxbHptP4Ak4/C3CiUKFEw0RaLQ79KCnHvGN28xOD5Drdb2UC f9PLo1Y96D+4+avst/4F4ct5yvVHhLXg80NBYRoVTGhk7iu4SU/HSLY/RxV7gELMD3kEO9 VdTwNmt0PxGEEHNQxBKcbJHDqVOjmsY3MA7bedfGZfeeAilsTDi5SUydZ9MBcenseaG+v4 jBT4ifcgyDCYbhYKd4g1YSQ5nKhjBTYGu2W7G8RtWcOhiFXlVgdZoNQoZAV3H/N1rmM+SS NlYWPbFMmOQP41CCIVaRISuDRVzX/RV6T0ihGL+Y4ERtfk9cWd/f+smE3lysGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=qDbNMOr6; 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=qDbNMOr6; 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: 01E941B576 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: 1x+kV7hWICUi Stephen Berman writes: > On Thu, 24 Jun 2021 14:09:46 +0200 tomas@tuxteam.de wrote: > >> On Thu, Jun 24, 2021 at 12:13:40PM +0200, Stephen Berman wrote: >>> On Wed, 23 Jun 2021 18:16:52 +0200 tomas@tuxteam.de wrote: >>> >>> > On Wed, Jun 23, 2021 at 05:28:36PM +0200, tomas@tuxteam.de wrote: >>> > >>> > [calendar insert-diary-entry doing funny things] >>> > >>> > OK, I solved it by setting `org-calendar-insert-diary-entry-key' to >>> > [106], which is a ?j. It was set to ?i, which hijacked calendar's >>> > original key map. >>> > >>> > Now I still don't know whether it's intended that Org hijacks that >>> > key in calendar, whether I did something stupid, but at least I have >>> > my toys back. Just remember to not push ?j. >>> > >>> > Anyway, you set me on the right track, so thanks for that! >>> >>> See also bug#48199 (also CC'd at >>> https://lists.gnu.org/archive/html/emacs-orgmode/2021-05/msg00582.html). >>> I continue to use the patch I posted there and have had no problems with >>> it (but I don't use org-mode much). >> >> Oh, I see, thanks. For me, it's a bit confusing that this bug receives >> so little attention. Hijacking other modes's keymaps isn't... friendly, >> after all. I can't imagine that it is happening by intention. > > Yeah, the next time Org is merged to the Emacs master branch, forcing me > to first stash and then reapply my patch locally, I'll ask if anyone > objects to the patch being committed to master. Maybe that will get > someone's attention (and if not, I may just go ahead and commit it -- if > it then still gets no one's attention, it must be ok ;-). > My view is that if org-mode is stealing the calendar bindings by default i.e. user has not enabled some specific option/configuration to do this, then this is a bug. Org should not interfere with the key bindings of any mode unless asked to. Some people still like to use traditional Emacs diary rather than org agenda for scheduling meetings/appointments, but like to use (load) org for other things (like document authoring and TODO lists). Org should only override the calendar bindings if requested. If your patch fixes this, I vote to apply it to master. -- Tim Cross