help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to add a one second delay at the end of all asyncrous jobs?


From: Óscar Fuentes
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

積丹尼 Dan Jacobson <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]