emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Luke <mideniko1234-org@yahoo.co.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-capture inserts empty line before title
Date: Sat, 03 Mar 2018 23:40:04 +0100	[thread overview]
Message-ID: <87r2p0g4xv.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <p7ahbj$udf$1@blaine.gmane.org> (Luke's message of "Fri, 2 Mar 2018 11:46:55 +0800")

Hello,

Luke <mideniko1234-org@yahoo.co.uk> writes:

> org-capture seems to be inserting an extra line before the task
> heading. So the narrowed buffer for editing the task looks something
> like this:
>
> -------------------- Top of window ---------------
>
> ** TODO My new task
>    [2018-03-02 Fri]
>    [[file:~/.notes]]
> -------------------- End of buffer ---------------
>
> I would expect the task heading to be the first line in the buffer.
> After pressing 'C-c C-c' the resulting file looks like this:
>
> --------------------------------------------------
> * Tasks
>
> ** TODO My new task
>    [2018-03-02 Fri]
>    [[file:~/.notes]]
> --------------------------------------------------
>
> Is this a bug? If not, how do I stop the blank line from being
> inserted before the heading. As far as I can tell, this is not related
> to org-blank-before-new-entry.

Could you show the capture template you used? I do not notice anything
like that with my templates.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2018-03-03 22:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-02  3:46 Bug: org-capture inserts empty line before title Luke
2018-03-03 22:40 ` Nicolas Goaziou [this message]
2018-03-04  0:13   ` Luke
2018-03-09  3:36     ` Luke
2018-03-11 18:22     ` Nicolas Goaziou

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=87r2p0g4xv.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mideniko1234-org@yahoo.co.uk \
    /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).