From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: M-right does not demote some subheadings in a region Date: Sun, 12 Jan 2014 19:49:09 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2XaS-0006eP-LG for emacs-orgmode@gnu.org; Sun, 12 Jan 2014 21:49:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2XaR-00029f-Js for emacs-orgmode@gnu.org; Sun, 12 Jan 2014 21:49:12 -0500 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: Bastien Cc: Emacs-orgmode list , Susan Cragin I can't produce an ECM at this time, or compare with Susan's bug, but there is a serious demote bug in recent Org. In this tree: # ***** a # ******* a # ******* b # ******* c # ********* ca # ********* cb # ********* cc # ******* d # ******* e # ******* f If I mark b through e and m-right, everything goes under a as expected. However, the entries under c do not get demoted. c has to be folded for the bug to occur. That might be a hint that can solve the bug. I expected demotion to work the same whether anything is folded or not. Is that a wrong expectation? It seems unrelated to the value of org-loop-over-headlines-in-active-region. Emacs 23.4 -q does not reproduce the bug. === What follows is a couple of Org visibility bugs, which are in addition to the structure corrupting bug, but occur reliably in this example. It LOOKS like everything got demoted, but then TAB on c shows ca under it, and also cb after it at the same level because it is now a sibling (this is a visibility bug -- I do not want any siblings hidden). cb, in turn, has ellipses, which indicate children, but there are no children (another visibility bug -- I only want hiding when there are children). cc gets revealed on TAB. I have all settings set to not sparsify; that is, I like to always have visibility include all siblings and all parents, and /only/ hide things that are underneath other things. However, bugs like this crop up very frequently, such as with isearch. I gave up trying to fix them after years of trying. What I want is canonical visibility at all times, which means TAB and arrow can reproduce the state. This does not seem possible in Org, although in principle it should work out of the box with show siblings and show hierarchy above set. Right? === Just wanted to say there is a serious bug in demote even though I can't bisect at this time. Hope this description helps at least a little. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.