all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
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	[thread overview]
Message-ID: <87egdicd9j.fsf@wanadoo.es> (raw)
In-Reply-To: 87mvs641za.fsf@jidanni.org

積丹尼 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.




      reply	other threads:[~2016-01-16  5:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=87egdicd9j.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --cc=help-gnu-emacs@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.