From: "Iñigo Serna" <inigoserna@gmx.com>
To: emacs-devel@gnu.org
Subject: Possible bug: org-capture fails when emacs started as daemon
Date: Sat, 12 Aug 2023 14:14:45 +0200 [thread overview]
Message-ID: <87350opi0t.fsf@gmx.com> (raw)
Hi,
Since some months ago (sorry, can't remember when it started) I'm
suffering a problem with org-capture: every time I run it and
select a template it errors with message "org-capture: Capture
template ‘i’: Buffer name ‘CAPTURE-todo.org’ is in use".
I'm posting the issue here in case it's a silly thing on my side
before opening a bug report.
This happens on my main emacs instance: daily master, pgtk,
native-compilation, on a x64 Fedora Linux 38 under swaywm
(Wayland). Emacs started as systemd user unit with --fg-daemon
flag and connecting with emacs-client.
I replicated the errors consistently in these tests:
- with pgtk / gtk3 / lucid
- running on Wayland (swaywm) or X (GNOME Classic)
- with/without native-compilation
- starting emacs as systemd unit or from terminal *with*
--{fg,bg}-daemon options
- with minimum / complete configuration
All the same tests set with v29.1 on this machine fail as well.
Instead, if I run emacs from terminal without daemon option it can
run org-capture successfully, even after executing `server-start'.
But once I run the first emacs-client, org-capture fails from
both, main and client.
As I see the error message is defined in either
`make-indirect-buffer' or `rename-buffer' functions, and the first
one is called from `org-capture-make-indirect-buffer'.
How could I investigate further the issue? Any hints?
Thanks in advance,
--
Iñigo Serna
next reply other threads:[~2023-08-12 12:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-12 12:14 Iñigo Serna [this message]
2023-08-12 17:05 ` Possible bug: org-capture fails when emacs started as daemon Morgan Willcock
2023-08-13 15:09 ` Iñigo Serna
2023-08-13 8:37 ` Ihor Radchenko
2023-08-13 15:29 ` Iñigo Serna
2023-08-13 15:38 ` Ihor Radchenko
2023-08-15 16:53 ` Morgan Willcock
2023-08-15 16:57 ` Ihor Radchenko
2023-08-15 18:57 ` Eli Zaretskii
2023-08-16 9:25 ` Iñigo Serna
2023-08-16 14:04 ` Eli Zaretskii
2023-08-16 14:59 ` Iñigo Serna
2023-08-16 15:00 ` Stefan Monnier
2023-08-16 15:44 ` Iñigo Serna
2023-08-16 17:04 ` Eli Zaretskii
2023-08-16 17:46 ` Stefan Monnier
2023-08-17 7:53 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87350opi0t.fsf@gmx.com \
--to=inigoserna@gmx.com \
--cc=emacs-devel@gnu.org \
--cc=inigoserna@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.