From: Samuel Wales <samologist@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Brian van den Broek <brian.van.den.broek@gmail.com>,
emacs-orgmode@gnu.org
Subject: Re: Has anybody noticed ellipses instead of the top line of the window?
Date: Tue, 27 Aug 2013 21:57:05 -0700 [thread overview]
Message-ID: <CAJcAo8vS0xan_B8=GYObkUrFza94=5QPtd83jyO8fOyCRZJLMw@mail.gmail.com> (raw)
In-Reply-To: <87li8whjhq.fsf@bzg.ath.cx>
On 4/5/13, Bastien <bzg@altern.org> 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.
next prev parent reply other threads:[~2013-08-28 4:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 18:46 Has anybody noticed ellipses instead of the top line of the window? Samuel Wales
2012-12-07 0:43 ` Brian van den Broek
2012-12-11 2:09 ` Samuel Wales
2013-03-10 1:19 ` Brian van den Broek
2013-04-05 17:08 ` Bastien
2013-04-05 18:03 ` Samuel Wales
2013-04-05 19:20 ` Bastien
2013-08-28 4:57 ` Samuel Wales [this message]
2013-09-06 14:06 ` Bastien
2016-10-29 19:34 ` Samuel Wales
2013-01-08 20:32 ` Samuel Wales
2013-01-15 6:56 ` Samuel Wales
2013-01-30 17:36 ` Bastien
2013-02-06 16:07 ` William
2013-02-07 10:11 ` Bastien
2013-02-07 13:44 ` William
2013-02-08 15:27 ` Bastien
2013-02-08 18:01 ` Samuel Wales
2013-02-23 9:23 ` Bastien
2013-02-28 17:59 ` Samuel Wales
2013-02-28 19:59 ` Arun Persaud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJcAo8vS0xan_B8=GYObkUrFza94=5QPtd83jyO8fOyCRZJLMw@mail.gmail.com' \
--to=samologist@gmail.com \
--cc=brian.van.den.broek@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).