From mboxrd@z Thu Jan 1 00:00:00 1970 From: pinard@iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois?= Pinard) Subject: Re: How to force redisplay? Date: Sun, 08 Jan 2012 09:59:14 -0500 Message-ID: <87r4zaxmt9.fsf@iro.umontreal.ca> References: <87mxa0lr32.fsf@iro.umontreal.ca> <87hb08u0th.fsf@gmail.com> <87ipkolh67.fsf@iro.umontreal.ca> <87ehvclfif.fsf@iro.umontreal.ca> <87d3autuma.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjuDL-0006KQ-P0 for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 09:59:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjuDK-00053z-H1 for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 09:59:15 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:63013 helo=mercure.epsilon-ti.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjuDK-00053v-Cc for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 09:59:14 -0500 In-Reply-To: <87d3autuma.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 08 Jan 2012 10:24:13 +0100") 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > pinard@iro.umontreal.ca (Fran=C3=A7ois Pinard) writes: >> The problem I observed is that the indentation is more to the left >> than the "lefter" it may be. So it has to be a display problem >> somehow, I guess. I wondered if there was some simple command to >> force the display to be recomputed or adjusted. > It wouldn't change anything: it failed once, it would fail again at > redisplay. Now using this command when the problem happens: (defun fp-org-adjust-visual-margins () "Recompute visual left margins, for when they seem incorrect." (interactive) (message "Adjusting visual margins...") (org-indent-add-properties (point-min) (point-max)) (message "Adjusting visual margins...done")) and it /does/ correct the display. > I tried to reproduce the problem, but couldn't so far. If you happen to > have a recipe to reproduce it, please let me know. I cannot reproduce it either. It just occurs, once in a while, I did not find a pattern yet. > Also, check if there isn't any additional fontification problem that > might give a clue about the situation. No, I did not observe any. All summarized, I have an interim solution so I can continue to edit comfortably when the display problem happens. And if I can get a more usable description of the problem, in a way that can be reproduced, I'll surely share that description. Thanks for caring! :-) Fran=C3=A7ois