emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] M-right does not demote some subheadings in a region


From: Samuel Wales
Subject: [O] M-right does not demote some subheadings in a region
Date: Sun, 12 Jan 2014 19:49:09 -0700

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]