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

"Charles C. Berry" <ccberry@ucsd.edu> writes:

thanks for the note. I am still on 8.2.7, so it sounds like the issue is
fixed upstream of me. I look forward to getting there!

> 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
>
>
>

-- 
-----------------------------------
John Kitchin
Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu

      reply	other threads:[~2014-11-28 19:36 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
2014-11-28 19:35   ` John Kitchin [this message]

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=m2mw7bjexx.fsf@andrew.cmu.edu \
    --to=jkitchin@andrew.cmu.edu \
    --cc=ccberry@ucsd.edu \
    --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).