From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Shukaev Newsgroups: gmane.emacs.help Subject: Re: Something like `without-redisplay'? Date: Mon, 31 Aug 2015 21:32:21 +0200 Message-ID: References: <83egij1qr5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1441049560 10096 80.91.229.3 (31 Aug 2015 19:32:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2015 19:32:40 +0000 (UTC) Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 31 21:32:39 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZWUom-0006Yf-CV for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Aug 2015 21:32:36 +0200 Original-Received: from localhost ([::1]:40034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWUol-0002LV-NE for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Aug 2015 15:32:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWUoa-0002LN-NT for help-gnu-emacs@gnu.org; Mon, 31 Aug 2015 15:32:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWUoa-0003c8-01 for help-gnu-emacs@gnu.org; Mon, 31 Aug 2015 15:32:24 -0400 Original-Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:36827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWUoY-0003bD-HI; Mon, 31 Aug 2015 15:32:22 -0400 Original-Received: by lbvd4 with SMTP id d4so30223524lbv.3; Mon, 31 Aug 2015 12:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m3jZHEejt1uS4DF/nEnvfj06I4aaqjjijNNZeQFwfVM=; b=Grb+OxERRGLnqzZ2ylORWry/sp8h4pAUOsuG6BareL55ix4Xc8kGkJ8GzuyquFXhar 4HmYe34RDaVtxqBs1e9H6xdUAXpOC1qZ21Di9foVtL33uHS9LcJepLCuxclBo5vlOMaG VhYeZW6MWHG3EqRWMC/0uSQjAcq1kyvH3jKUfKPoZHClQBJ+JvcE+Ox6H0T8fdcaKkZV s0tLP32ECQ3/vtGYyg6cMX16ZE62l2P1NjOeuOQMqT4CNozp1Jwb8lzTkuIR2zOG41yX Em6Z8QCC4V0dB8DYvs2YqP321rt5gkvlen63EepgfJNSOAAgXTLfsa+Jp+yUNo/zYACy qSwg== X-Received: by 10.152.5.68 with SMTP id q4mr818357laq.66.1441049541626; Mon, 31 Aug 2015 12:32:21 -0700 (PDT) Original-Received: by 10.112.34.17 with HTTP; Mon, 31 Aug 2015 12:32:21 -0700 (PDT) In-Reply-To: <83egij1qr5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106945 Archived-At: >> Can redisplay occur during command execution (in between of forms)? > > In general, no. Emacs only enters redisplay when it is idle and no > input is available. But Lisp programs can trigger redisplay by > calling some functions, like sit-for. > >> If yes, then wouldn't this produce nasty flickering in some cases >> (especially when one manipulates point)? > > It depends on what the Lisp program does. > >> If all the above is true, then is there some form to protect the >> code from running redisplay during its execution? >> >> (without-redisplay > > It's the default. Just don't anything that will forcefully trigger > redisplay. Thanks, Eli.