From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: how to add a one second delay at the end of all asyncrous jobs? Date: Sat, 16 Jan 2016 06:19:20 +0100 Message-ID: <87egdicd9j.fsf@wanadoo.es> References: <87mvs641za.fsf@jidanni.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1452921600 18690 80.91.229.3 (16 Jan 2016 05:20:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Jan 2016 05:20:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 16 06:19:51 2016 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 1aKJHC-0001vY-D4 for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Jan 2016 06:19:50 +0100 Original-Received: from localhost ([::1]:49844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKJHB-0005J9-Jn for geh-help-gnu-emacs@m.gmane.org; Sat, 16 Jan 2016 00:19:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKJGz-0005J2-U4 for help-gnu-emacs@gnu.org; Sat, 16 Jan 2016 00:19:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aKJGw-00042X-Lx for help-gnu-emacs@gnu.org; Sat, 16 Jan 2016 00:19:37 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:46801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aKJGw-00042F-FE for help-gnu-emacs@gnu.org; Sat, 16 Jan 2016 00:19:34 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aKJGp-0001fb-89 for help-gnu-emacs@gnu.org; Sat, 16 Jan 2016 06:19:27 +0100 Original-Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Jan 2016 06:19:27 +0100 Original-Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Jan 2016 06:19:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:g9lpCkN05VlddGLZ1Xn4ONzp7+4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:108756 Archived-At: 積丹尼 Dan Jacobson writes: > How can I add a "sleep 1" as a after hook for M-x man, M-x compile, etc. > > Otherwise longer man pages and compile jobs get cut too mid-page: > > The following unary operators are available: "+", "-". > > The following functions are available: > > abs(x) > Compute absolute value of x. > > acos(x) > Compute a For M-x compile: (defun my-compilation-finish-function (buffer msg) (sleep-for 1)) (setq compilation-finish-function 'my-compilation-finish-function) Dunno about the other cases, but what you describe looks like a bug. If you have a reproducible case (preferably starting with emacs -Q) please do M-x report-emacs-bug.