From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: How to force redisplay? Date: Sun, 08 Jan 2012 17:47:56 +0100 Message-ID: <8762gmta2r.fsf@gmail.com> References: <87mxa0lr32.fsf@iro.umontreal.ca> <87hb08u0th.fsf@gmail.com> <87ipkolh67.fsf@iro.umontreal.ca> <87ehvclfif.fsf@iro.umontreal.ca> <87d3autuma.fsf@gmail.com> <87r4zaxmt9.fsf@iro.umontreal.ca> 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]:44412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjvwM-0000O4-MS for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 11:49:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjvwL-000681-Iu for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 11:49:50 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:63093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjvwL-00067t-8m for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 11:49:49 -0500 Received: by werf1 with SMTP id f1so2777978wer.0 for ; Sun, 08 Jan 2012 08:49:48 -0800 (PST) In-Reply-To: <87r4zaxmt9.fsf@iro.umontreal.ca> (=?utf-8?Q?=22Fran=C3=A7ois?= Pinard"'s message of "Sun, 08 Jan 2012 09:59:14 -0500") 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: =?utf-8?Q?Fran=C3=A7ois?= Pinard Cc: emacs-orgmode@gnu.org Hello, pinard@iro.umontreal.ca (Fran=C3=A7ois Pinard) writes: > 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. Well, that command already exists: `org-indent-indent-buffer'. > I cannot reproduce it either. It just occurs, once in a while, I did > not find a pattern yet. Just a few more questions. Does it happen: - while you're typing on the incorrect line? - while you're typing on another line? - just after opening the buffer for the first time? - just after opening the buffer for the first time, while you're typing something in it? Also, what happens when you type something on the faulty line? The indentation doesn't change? Regards, --=20 Nicolas Goaziou