From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: 8.3.1 bug or misunderstanding -- inline archive Date: Thu, 20 Aug 2015 22:46:06 -0400 Message-ID: <877fopcqa9.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZScLS-0007yd-I8 for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 22:46:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZScLP-0001UT-Bc for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 22:46:18 -0400 Received: from mail-qg0-f42.google.com ([209.85.192.42]:33459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZScLP-0001UN-7s for emacs-orgmode@gnu.org; Thu, 20 Aug 2015 22:46:15 -0400 Received: by qged69 with SMTP id d69so39803188qge.0 for ; Thu, 20 Aug 2015 19:46:14 -0700 (PDT) In-Reply-To: (Hymie!'s message of "Thu, 20 Aug 2015 13:26:07 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Hymie! Cc: emacs-orgmode@gnu.org Hymie! 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 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