[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Has anybody noticed ellipses instead of the top line of the wind
From: |
Samuel Wales |
Subject: |
Re: [O] Has anybody noticed ellipses instead of the top line of the window? |
Date: |
Tue, 27 Aug 2013 21:57:05 -0700 |
On 4/5/13, Bastien <address@hidden> wrote:
> It's hard to find reproducible recipes; when we have some (like the
> one Brian provided), it's hard to debug; and for I cannot afford to
> put this as a priority as the annoyance/hard-to-debug ratio is too
> low IMO.
>
> Let's revive this after 8.0 if needed,
Reviving. I provided a recipe in this thread.
Here is a fix that sometimes works, but usually not:
(defadvice org-optimize-window-after-visibility-change
(around fix-recenter activate compile)
"fix recenter to be recenter 2 so ellipses do not sometimes
show up on line 1. recenter 1 is an emacs bug."
(when (get-buffer-window (current-buffer))
(cond
((eq state 'content) nil)
((eq state 'all) nil)
((eq state 'folded) nil)
((eq state 'children) (or (org-subtree-end-visible-p) (recenter 2)))
((eq state 'subtree) (or (org-subtree-end-visible-p) (recenter 2))))))
--
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Has anybody noticed ellipses instead of the top line of the window?,
Samuel Wales <=