emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] `org-agenda-write' (error "No buffer named *Org Agenda*")


From: Sławomir Grochowski
Subject: [BUG] `org-agenda-write' (error "No buffer named *Org Agenda*")
Date: Sun, 28 Jul 2024 13:24:53 +0200

Hello,

I am encountering an error when running the `org-agenda-write' command on
any 'Agenda Views'. The error message is:
(error "No buffer named *Org Agenda*"). 

Despite this error, the file is created successfully. The part of the
code from `org-agenda-write' that triggers this error is:

(set-buffer (or agenda-bufname
                    ;; FIXME: I'm pretty sure called-interactively-p
                    ;; doesn't do what we want here!
                    (and (called-interactively-p 'any) (buffer-name))
                    org-agenda-buffer-name))

I commented out this code, and everything seems to work fine. However, I
am unsure of the purpose of this code and whether commenting it out is
the right solution.

My config:
Org mode version 9.7-pre (release_9.6.26-1364-g5fb210 @ 
/home/slk/.emacs.d/straight/build/org/)
GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo 
version 1.16.0) of 2024-07-15

Regards,
-- 
Slawomir Grochowski



reply via email to

[Prev in Thread] Current Thread [Next in Thread]