all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu.emacs.sources/news/@flint.cs.yale.edu>
Subject: Re: mp3play.el 0.6.3, a front-end for mpg321
Date: 21 May 2003 20:44:30 -0400	[thread overview]
Message-ID: <5ly90zero1.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: 87ptmcj69x.fsf@noos.fr

> ;; My main concern is the CPU usage of emacs when playing a mp3
> ;; (between 0.5% and 2%) due to the huge quantity of "@F" lines mpg321
> ;; sends. We have to deal with them to be able to detect when an mp3
> ;; is over, so that a new one can start in automatic mode (and also to
> ;; detect pause and various stuff).

You can try running "mpg321 -R dummy | grep -v '^@F'" so that
Emacs is not bothered by the other lines.

>       (add-text-properties (match-beginning 1) (match-end 1) '(invisible t))

So it does seem like you use text-properties for invisibility.
One possible reason why the invisible property might get lost when
you copy things around is because of yank-excluded-properties, but
that's an Emacs-CVS thing and that's only if you use kill&yank.


        Stefan

       reply	other threads:[~2003-05-22  0:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87ptmcj69x.fsf@noos.fr>
2003-05-22  0:44 ` Stefan Monnier [this message]
     [not found] ` <87r86rfhjk.fsf@at_ipipan.waw.pl>
     [not found]   ` <87vfw3xlvp.fsf@noos.fr>
2003-05-22 14:23     ` mp3play.el 0.6.3, a front-end for mpg321 Stefan Monnier
2003-05-22 17:33       ` Kevin Rodgers

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=5ly90zero1.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.sources/news/@flint.cs.yale.edu \
    /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.