unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Robert Thorpe <rt@robertthorpeconsulting.com>, 51815@debbugs.gnu.org
Subject: bug#51815: 27.2; Strange interaction between Org and Diary
Date: Sat, 13 Nov 2021 20:47:22 +0100	[thread overview]
Message-ID: <87zgq7n8hh.fsf@rub.de> (raw)
In-Reply-To: <83wnlbx3b4.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Nov 2021 21:29:03 +0200")

On Sat, 13 Nov 2021 21:29:03 +0200 Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Robert Thorpe <rt@robertthorpeconsulting.com>
>> Date: Sat, 13 Nov 2021 19:16:16 +0000
>>
>> I use Org mode but I also use the normal calendar and diary.
>>
>> This has an unwanted effect if I open an org file.  After org has been
>> started the calendar no longer functions as expected.  If I press "i d"
>> then it fails to insert an entry in the diary file.  A warning in
>> *Messages* says:
>>
>> "command-execute: Wrong type argument: commandp, org-agenda-diary-entry"
>>
>> I don't use org-agenda, BTW.
>>
>> To clarify there are two conditions that are needed to see this
>> behaviour.
>>
>> 1) Org-mode has been started in the Emacs session.
>>
>> It does not happen if org-mode hasn't been started (e.g. by opening an
>> org file in another buffer).
>>
>> 2) Org-mode must be started first before calendar.
>>
>> If calendar is started first and org-mode is started second then the
>> calendar works.
>
> Which version of Org are you using? the one that came with Emacs 27.2
> or something else?

This is bug#48199, which was fixed in Org bundled with Emacs 28, so the
version of Org in GNU ELPA should have the fix.

Steve Berman





  reply	other threads:[~2021-11-13 19:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-13 19:16 bug#51815: 27.2; Strange interaction between Org and Diary Robert Thorpe
2021-11-13 19:29 ` Eli Zaretskii
2021-11-13 19:47   ` Stephen Berman [this message]
2021-11-13 23:12     ` Lars Ingebrigtsen
2021-11-15  3:45     ` Robert Thorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgq7n8hh.fsf@rub.de \
    --to=stephen.berman@gmx.net \
    --cc=51815@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=rt@robertthorpeconsulting.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).