all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "François Pinard" <pinard@iro.umontreal.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to force redisplay?
Date: Sun, 08 Jan 2012 17:47:56 +0100	[thread overview]
Message-ID: <8762gmta2r.fsf@gmail.com> (raw)
In-Reply-To: <87r4zaxmt9.fsf@iro.umontreal.ca> ("François Pinard"'s message of "Sun, 08 Jan 2012 09:59:14 -0500")

Hello,

pinard@iro.umontreal.ca (François 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,

-- 
Nicolas Goaziou

  reply	other threads:[~2012-01-08 16:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06 16:43 How to force redisplay? François Pinard
2012-01-06 18:45 ` Nicolas Goaziou
2012-01-06 20:17   ` François Pinard
2012-01-06 20:53     ` François Pinard
2012-01-08  9:24       ` Nicolas Goaziou
2012-01-08 14:59         ` François Pinard
2012-01-08 16:47           ` Nicolas Goaziou [this message]
2012-01-08 20:16             ` François Pinard
2012-01-09 17:54               ` Nicolas Goaziou
2012-01-09 19:01                 ` François Pinard
2012-01-06 22:51 ` François Pinard

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8762gmta2r.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pinard@iro.umontreal.ca \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.