[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] 8.3.1 bug or misunderstanding -- inline archive
From: |
Kyle Meyer |
Subject: |
Re: [O] 8.3.1 bug or misunderstanding -- inline archive |
Date: |
Thu, 20 Aug 2015 22:46:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hymie! <address@hidden> writes:
> I have a few items in my org file that are tagged "ARCHIVE". They show up
> grey in my emacs window.
>
> If I sit the cursor on the * bullet and hit TAB, I get a message that says
> "Subtree is archived and stays closed. Use <C-tab> to cycle it anyway."
>
> However, if I sit the cursor on the actual headline and hit TAB, I get the
> same message, but the subtree is also expanded.
>
> I don't recall offhand how it worked in 8.2.x, but I'm pretty sure it
> refused to expand the subtree no matter where the cursor was.
Yes, you're correct. This behavior was introduced by 389274c ("Fix
`org-hide-archived-subtrees'", 2014-12-16). The issue is that the new
regexp is anchored at the start of the heading, but the argument BEG is
not necessarily at the beginning of the line.
--
Kyle