emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: "Arsen Arsenović" <arsen@aarsen.me>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] global-whitespace-mode + org-capture: Second capture fails w/ "Marker does not point anywhere" [9.5.5 (release_9.5.5 @ /usr/share/emacs/29.0.50/lisp/org/)]
Date: Sun, 27 Nov 2022 00:30:25 +0000	[thread overview]
Message-ID: <87y1rxi6hq.fsf@localhost> (raw)
In-Reply-To: <86mt8d8nh4.fsf@aarsen.me>

Arsen Arsenović <arsen@aarsen.me> writes:

> If attempting to capture something while global-whitespace-mode is
> enabled, a second capture will fail with "Marker does not point
> anywhere".  The first capture attempt presumably succeeds since
> whitespace-mode didn't touch the buffer yet at time of searching.
> Reproduction steps:
>
> (in an org-mode.git clone)
>
> 1. emacs -Q --execute '(global-whitespace-mode)' -L lisp/
> 2. M-x org-capture RET t C-c C-c
> 2. M-x org-capture RET t
>
> I'm uncertain if this is relevant, but I just spotted that *Warnings*
> also gets:
>
>   Warning (org): Capture requirement: switching buffer #<buffer .notes>
>   to Org mode
>
> Backtrace:
>
> Debugger entered--Lisp error: (error "Capture template ‘t’: Marker does not point anywhe...")

I can reproduce on Emacs 29, but not on Emacs 28.
Does not look like Org's fault.
I replied in your Emacs bug report:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59618

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2022-11-27  0:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 20:16 [BUG] global-whitespace-mode + org-capture: Second capture fails w/ "Marker does not point anywhere" [9.5.5 (release_9.5.5 @ /usr/share/emacs/29.0.50/lisp/org/)] Arsen Arsenović
2022-11-27  0:30 ` Ihor Radchenko [this message]
2022-11-27 11:14   ` Arsen Arsenović

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87y1rxi6hq.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=arsen@aarsen.me \
    --cc=emacs-orgmode@gnu.org \
    /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/org-mode.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).