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 15:16:58 -0500 Message-ID: <87mx9yx83p.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> <87r4zaxmt9.fsf@iro.umontreal.ca> <8762gmta2r.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]:56763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjzAq-0006tb-5c for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 15:17:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjzAp-0008S6-Ac for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 15:17:00 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:63365 helo=mercure.epsilon-ti.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjzAp-0008S1-6U for emacs-orgmode@gnu.org; Sun, 08 Jan 2012 15:16:59 -0500 In-Reply-To: <8762gmta2r.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 08 Jan 2012 17:47:56 +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: > Hello, Hi, Nicolas! > Well, that command already exists: `org-indent-indent-buffer'. Thanks for this information. (This replies to the question in my original message: is there a command to correct the indention?) >> 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? Playing a bit to reply to your questions, I think I just found a way to reproduce the problem dependably. If on a header line of a section having contents, I do something like: C-e RET *** Allo RET (well, merely choose the number of asterisks so the problem shows!). The "Allo" line will then get intended according to the number of stars (which is very convenient), but the following contents lines keep their original visual indentation, which might happen to be incorrect. > Also, what happens when you type something on the faulty line? The > indentation doesn't change? No, the indentation does not change. My usual work around was to move up to the header, shift right (indentation gets fixed), then shift left (to counteract). Fran=C3=A7ois