emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: possible bug in adding properties to headlines with no properties
Date: Fri, 28 Nov 2014 08:57:55 -0800	[thread overview]
Message-ID: <alpine.OSX.2.00.1411280848560.1274@charles-berrys-macbook.local> (raw)
In-Reply-To: <m2r3wnjvyx.fsf@andrew.cmu.edu>

On Fri, 28 Nov 2014, John Kitchin wrote:

> I noticed an undesirable behavior in setting a property on a headline
> with no properties, but which contains a code block that generates
> headlines with properties. When I try to set a property with C-c C-x p,
> the property gets put in the wrong place (inside the code block). It is
> a small issue, but I thought I would report.
>

John,

When I do as you suggest, I get a prompt:

Malformed drawer at 348, repair? (y or n)

`348' was the bol for the first :PROPERTIES: line.

When I respond `y', a properties drawer is created under the headline and 
I get the usual prompts to complete the addition of a property.

In the end, it looks correct.

I get the same behavior with both current and older 8.3beta commits:

: commit e4195fa7db03284c0c0d5b70a66d419ce7caf3e9
: Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
: Date:   Thu Nov 13 21:49:03 2014 +0100


: commit 5945beef05120ce319228195a9e0c562f8573d19
: Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
: Date:   Thu Nov 27 00:21:03 2014 +0100
:

HTH,

Chuck

  reply	other threads:[~2014-11-28 16:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28 13:28 possible bug in adding properties to headlines with no properties John Kitchin
2014-11-28 16:57 ` Charles C. Berry [this message]
2014-11-28 19:35   ` John Kitchin

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=alpine.OSX.2.00.1411280848560.1274@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).