From: Gustavo Barros <gusbrs.2016@gmail.com>
To: Carsten Dominik <dominik@uva.nl>
Cc: org-mode list <emacs-orgmode@gnu.org>
Subject: Re: Bug: canceled capture operation results in demoted following heading when template ends with newline [9.2.4 (9.2.4-11-g1c3eae-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190722/)]
Date: Sat, 10 Aug 2019 16:34:06 -0300 [thread overview]
Message-ID: <878ss06ci9.fsf@gmail.com> (raw)
In-Reply-To: <CADn3Z2K7qUBF-bapzz4qouFkTnNO=AYk-JEQYY-dNPzb=tUh8g@mail.gmail.com>
Hi Carsten,
On Sat, Aug 10 2019, Carsten Dominik wrote:
> Hi Gustavo,
>
> I am also on Emacs 26.2, and I don't know where to look if I cannot
> reproduce the problem.
>
> It would be useful if someone else tries your minimal example and
> reports
> back.
>
> Carsten
>
I’ve tried to put my hands on possible intervening factors I could think
of.
I’ve reduced the setup further to:
#+begin_src emacs-lisp
(add-to-list 'load-path
"/home/gustavo/.emacs.d/elpa/org-plus-contrib-20190805")
(load-library "org")
(global-set-key (kbd "C-c c") 'org-capture)
(setq org-agenda-files
'("~/org/agenda.org"))
(setq org-capture-templates
'(("t" "TODO entry" entry
(file+headline "~/org/agenda.org" "Capture")
"* TODO %?\n")))
#+end_src
I’ve tried to rebuilt Emacs from source with default =./configure=
options and run =src/emacs -Q=.
I’ve tried to create the agenda file from the =emacs -Q= session in case
any encoding options of mine could intervene.
I’ve also tried my different Linux flavors (Mint 19.2 Cinnamon and MX
Linux 18 Xfce).
And in every case the behavior was the same.
The only way I could make it not happen was to remove the preexisting
line between "* Capture" and "* Following heading" headings.
As mentioned, if anyone can think of anything else I can try to narrow
this down further, I’m at your disposal.
Best regards,
Gustavo.
next prev parent reply other threads:[~2019-08-10 19:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-28 19:34 Bug: canceled capture operation results in demoted following heading when template ends with newline [9.2.4 (9.2.4-11-g1c3eae-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190722/)] Gustavo Barros
2019-08-10 5:46 ` Carsten Dominik
2019-08-10 10:54 ` Gustavo Barros
2019-08-10 13:38 ` Carsten Dominik
2019-08-10 13:48 ` Gustavo Barros
2019-08-10 19:34 ` Gustavo Barros [this message]
2022-10-22 12:54 ` Gustavo Barros
2022-10-24 4:22 ` Ihor Radchenko
2022-10-24 12:03 ` Gustavo Barros
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=878ss06ci9.fsf@gmail.com \
--to=gusbrs.2016@gmail.com \
--cc=dominik@uva.nl \
--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).