Hi, I prefer to have a blank line before headings (and have set `org-blank-before-new-entry' for this effect), but I can't figure out how to preserve this spacing when sorting trees. ,---- | * First heading | | ** bbbb | | btext | | ** aaaa | | atext | | * Second heading `---- If "First heading" is sorted alphabetically, the blank line before "bbbb" is lost. ,---- | * First heading | | ** aaaa | | atext | ** bbbb | | btext | | | * Second heading `---- (I don't think this behavior has changed recently, but my current Org version is release_8.2.5h-909-ge24f33 just in case.) Does anyone have suggestions for maintaining a space before headings after sorting? Thanks -- Kyle
Hi Kyle,
Kyle Meyer <kyle@kyleam.com> writes:
> Does anyone have suggestions for maintaining a space before headings
> after sorting?
I fixed this in maint, let me know if this works for you.
Thanks,
--
Bastien
On 04/17/14 06:52, Bastien wrote:
> I fixed this in maint, let me know if this works for you.
Works great. Thanks!
--
Kyle
Bastien, Bastien wrote: > Kyle Meyer <kyle-4Wn5G85RAV/QT0dZR+AlfA@public.gmane.org> writes: > >> Does anyone have suggestions for maintaining a space before headings >> after sorting? > > I fixed this in maint, let me know if this works for you. A pity that your fix did not solve the bug "When moving headings, blank lines are added to the display" (reported on 2013-11-15) at the same time ;-( See http://article.gmane.org/gmane.emacs.orgmode/78878. Best regards, Seb -- Sebastien Vauban
Hi Sébastien, Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org> writes: > A pity that your fix did not solve the bug "When moving headings, blank > lines are added to the display" (reported on 2013-11-15) at the same > time ;-( It may look similar, but that's a completely different issue. > See http://article.gmane.org/gmane.emacs.orgmode/78878. Can you instrument `org-clean-visibility-after-subtree-move' and chase the bug from there? -- Bastien