emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] org-capture.el: Allow `(here)' as a template


From: Ihor Radchenko
Subject: Re: [PATCH] org-capture.el: Allow `(here)' as a template
Date: Fri, 23 Jun 2023 11:07:51 +0000

No Wayman <iarchivedmywholelife@gmail.com> writes:

> No Wayman <iarchivedmywholelife@gmail.com> writes:
>
>> Evaluating the following source blocking an org mode buffer with 
>> no backing file:
>
> Interesting. I'm only able to reproduce it some of the time.
> I'll look into it more when I have time, but it may have been an 
> artifact of my Emacs session.

I saw

Debugger entered--Lisp error: (error "Buffer not visiting a file or directory")
  error("Buffer not visiting a file or directory")
  bookmark-buffer-file-name()
  bookmark-make-record-default()
  bookmark-make-record()
  bookmark-set-internal("Set bookmark named" "org-capture-last-stored" 
overwrite)
  bookmark-set("org-capture-last-stored")

Was it the same for you?

>>> I was able to trigger an error when capturing from non-Org 
>>> buffer, but
>>> that's expected - org-capture is not designed for such 
>>> scenarios.
>
> This seems unnecessarily restrictive considering there is a 
> "plain" entry type, but that's another issue/design consideration.

Hmm. plain entry type actually works, except the above error, which is
likely Emacs bug.

-- 
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 via email to

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