all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to add a one second delay at the end of all asyncrous jobs?
@ 2016-01-16  3:50 積丹尼 Dan Jacobson
  2016-01-16  5:19 ` Óscar Fuentes
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2016-01-16  3:50 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to add a one second delay at the end of all asyncrous jobs?
  2016-01-16  3:50 how to add a one second delay at the end of all asyncrous jobs? 積丹尼 Dan Jacobson
@ 2016-01-16  5:19 ` Óscar Fuentes
  0 siblings, 0 replies; 2+ messages in thread
From: Óscar Fuentes @ 2016-01-16  5:19 UTC (permalink / raw)
  To: help-gnu-emacs

積丹尼 Dan Jacobson <jidanni@jidanni.org> 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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-16  5:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-16  3:50 how to add a one second delay at the end of all asyncrous jobs? 積丹尼 Dan Jacobson
2016-01-16  5:19 ` Óscar Fuentes

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.