emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: John Hendy <jw.hendy@gmail.com>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Inserted Heading Starts on Prior Heading's Fold Mark
Date: Mon, 6 Apr 2015 16:26:17 -0500	[thread overview]
Message-ID: <CA+M2ft8AX2VV-HqHrh=bARb_dyaoEhX0Ot1+Q-LwhyEKWH6e2w@mail.gmail.com> (raw)
In-Reply-To: <87bnj157xt.wl-ded-law@ddoherty.net>

On Mon, Apr 6, 2015 at 3:16 PM, Daniel E. Doherty <ded-law@ddoherty.net> wrote:
> John,
>
> You nailed it.  I had that variable set in my custom file to
>
> '(org-blank-before-new-entry (quote ((heading) (plain-list-item . auto))))
>
> which is not a proper alist.  When I chaned it back to
>
> '(org-blank-before-new-entry (quote ((heading . auto) (plain-list-item . auto))))
>
> the bad behavior went away.
>
> Thanks a ton for taking a look at this, John.  Back to loving org-mode!

Glad it worked! Thankfully it only took me a couple tries before
hitting the right variable. Plus, it was of interest as I've long
noticed this issue myself. Out of curiosity... *should* this work
without the =. auto=? It's been in my config so long I'm not really
even sure why I put it there, but from re-googling around I think it's
just an appearance/preference thing. Do you want your headlines
separated by a newline or not -- is that the gist?

If so, should this be glitching?

I've had other odd behavior where I'll fold the last headline and it's
last few characters will end up after the ellipsis and now wonder if
this was causing that as well.


Anyway, glad you're all set!
John

>
>
> On Mon, 06 Apr 2015 13:12:21 -0500,
> John Hendy <jw.hendy@gmail.com> wrote:
>>
>> On Mon, Apr 6, 2015 at 12:05 PM, Daniel E. Doherty <ded-law@ddoherty.net> wrote:
>> >
>> > I don't know when this started, but recently I've seen the following annoying
>> > behavior from M-RET in org files.
>>
>> I have this on my main Org file and just assumed it was due to it
>> being big and Org having a tough time keeping track of all the various
>> blocks (src, example, etc.), properties, ids, and whatnot. I figured
>> I'd messed up the syntax in there somewhere and would just have to
>> deal with this quirky behavior.
>>
>> I think others have experienced this as well (e.g.
>> http://lists.gnu.org/archive/html/emacs-orgmode/2010-09/msg00457.html).
>>
>> Can you try commenting out:
>>
>> #+begin_src .emacs
>> ;;(setq org-blank-before-new-entry nil)
>> #_end_src
>>
>> I copied my .emacs into a new config, started with emacs -Q, loaded
>> that file, and then tried your original post's exercise, repeating
>> after commenting out various lines in my own config file. We both had
>> the above setting, and that turned out to fix it for me on your test
>> file. Not sure if there's another interaction between your options vs.
>> mine, though, so confirmation is needed.
>>
>>
>> John
>>
>> >
>> > I've tried tweaking a number of these settings with no luck.
>> >
>> > Any ideas about what is going wrong here?
>> >
>> > Dan Doherty
>> >
>> >
>>

  reply	other threads:[~2015-04-06 21:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-06 17:05 Inserted Heading Starts on Prior Heading's Fold Mark Daniel E. Doherty
2015-04-06 18:12 ` John Hendy
2015-04-06 20:16   ` Daniel E. Doherty
2015-04-06 21:26     ` John Hendy [this message]
2015-04-06 23:41 ` Nicolas Goaziou
2015-04-07  7:51   ` John Hendy

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='CA+M2ft8AX2VV-HqHrh=bARb_dyaoEhX0Ot1+Q-LwhyEKWH6e2w@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --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).