all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Any way to make sit-for avoid triggering redisplay in the general case?
Date: Thu, 8 Feb 2018 17:55:58 -0500	[thread overview]
Message-ID: <CAM-tV-_QCLuQ-kqGySjMxn_5awyym4X0COE5aoQJOaGjCAHK8A@mail.gmail.com> (raw)
In-Reply-To: <4d67ed26-a5fe-6a22-a84e-3acbbff1c3b6@yandex.ru>

On Thu, Feb 8, 2018 at 5:52 PM, Dmitry Gutov <dgutov@yandex.ru> wrote:

>> Does the NODISP arg not work?
>
> Nope: (progn (insert "a") (sit-for 0.2 t) (delete-char -1))

Ah, how about inhibit-redisplay:

(let ((inhibit-redisplay t))
  (insert "a") (sit-for 0.2 t) (delete-char -1))



  reply	other threads:[~2018-02-08 22:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08 22:40 Any way to make sit-for avoid triggering redisplay in the general case? Dmitry Gutov
2018-02-08 22:49 ` Noam Postavsky
2018-02-08 22:52   ` Dmitry Gutov
2018-02-08 22:55     ` Noam Postavsky [this message]
2018-02-08 23:08       ` Dmitry Gutov

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=CAM-tV-_QCLuQ-kqGySjMxn_5awyym4X0COE5aoQJOaGjCAHK8A@mail.gmail.com \
    --to=npostavs@users.sourceforge.net \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@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 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.