From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christopher J. White" Subject: Re: are super-hidden technical blocks required? Date: Tue, 07 Aug 2012 09:39:00 -0400 Message-ID: <50211A74.6070803@grierwhite.com> References: <87628vxapb.fsf@gnu.org> Reply-To: orgmode@grierwhite.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syk04-0003ON-KN for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 09:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syjzz-000642-Pb for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 09:39:08 -0400 Received: from mail26c25.carrierzone.com ([64.29.147.36]:57629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syjzz-00063y-IM for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 09:39:03 -0400 Received: from [11.1.1.76] (pool-108-20-96-220.bstnma.east.verizon.net [108.20.96.220]) (authenticated bits=0) by mail26c25.carrierzone.com (8.13.6/8.13.1) with ESMTP id q77Dd024013006 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Aug 2012 13:39:02 GMT In-Reply-To: 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: emacs-orgmode@gnu.org Nice! I like this approach. The only slight change I would make is to the "All entries are unfolded one level". If there are only "hidden" properties but there is other content, show the other content but not the PROPERTIES drawer: * All entries are unfolded one level ** Only "hidden" properties with other content This is more content The ":PROPERTIES:" is not shown. Question -- are you proposing a new step in cycling that opens all property drawers, or is this already available via some command or setting? I've never seen a way to open everything including PROPERTIES via Tab or S-Tab cycling. ...cj On 8/7/12 9:20 AM, Torsten Wagner wrote: > Hey Bastien, > > On 7 August 2012 19:23, Bastien wrote: >> that a drawer doesn't make an >> entry non-empty while cycling, > > ohhh you challenge us... "does not ... non-empty".... is in fact the > same like "if there is only a drawer, the entry is still empty".... > right ?! > > Yes, I agree that should be separated. > > Maybe an idea would be a rule like.... > if all properties in a drawer are marked as hidden and there is > nothing else for the particular entry (no body), do not open the entry > for the next cycling rounds. > I just tested a bit and org-mode is clever enough already to avoid any > text-insertion before the property drawer if text get added to a > collapsed entry. > Thus, this rule just might work and hide "technical" properties > completely during cycling. > Combined with a #+HIDDEN_PROP: line each and everyone can adjust > individually how much and what he likes to hide. > > #+HIDDEN_PROP: * <----- all properties are hidden > would be the extreme and all property drawers will be hidden in case > they are the only element of a entry. In case other elements are > included, they collapsed drawer line will be dimmed by a different > face to indicate that only "hidden" properties are included > > #+HIDDEN_PROP: <---- this means no properties are hidden > would be the other extreme and nothing would be hidden (that > essentially would represent the present state). > > I created two mock-ups. One shows the present solution and the other > shows how certain properties can be marked "hidden" and which effect > does this have on different level and combinations. Hope that helps > within this discussion. I choose a arbitrary colour scheme to make it > rather good visible. > > Torsten >