From: Sean O'Rourke <seano@cs.ucla.edu>
To: emacs-devel@gnu.org
Subject: Re: slow processing of process output when it's huge
Date: Sun, 27 Jul 2008 19:53:38 -0700 [thread overview]
Message-ID: <m2proy67nx.fsf@cs.ucsd.edu> (raw)
In-Reply-To: 200807272236.m6RMaCtR015237@sallyv1.ics.uci.edu
Dan Nicolaescu <dann@ics.uci.edu> writes:
> I run by mistake vc-print-log at the top of the tree of a Linux
> git tree. After 15 minutes of running I gave up and killed it.
How much of that is fontification? I've had this[1] in my .emacs
since forever for when I make a similar mistake in comint, and
while it's still slow, it's much less so.
Sean
[1]
(defun my-comint-stfu-toss (x) "")
(defun my-comint-stfu ()
"Start (or stop) tossing comint output."
(interactive)
(if (and (boundp 'comint-preoutput-filter-functions)
(member 'my-comint-stfu-toss comint-preoutput-filter-functions))
(setq comint-preoutput-filter-functions
(remove 'my-comint-stfu-toss comint-preoutput-filter-functions))
(add-hook 'comint-preoutput-filter-functions
'my-comint-stfu-toss)))
next prev parent reply other threads:[~2008-07-28 2:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-27 22:36 slow processing of process output when it's huge Dan Nicolaescu
2008-07-27 22:52 ` Lennart Borgman (gmail)
2008-07-28 1:49 ` Stefan Monnier
2008-07-28 2:20 ` Dan Nicolaescu
2008-07-28 2:53 ` Sean O'Rourke [this message]
2008-07-28 3:08 ` Dan Nicolaescu
2008-07-29 15:48 ` Dan Nicolaescu
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2proy67nx.fsf@cs.ucsd.edu \
--to=seano@cs.ucla.edu \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).