aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Xu <william.xwl@gmail.com>2007-03-05 06:46:00 +0000
committerWilliam Xu <william.xwl@gmail.com>2007-03-05 06:46:00 +0000
commit9807d62d0598eb6666b964fcd22f7e48d806d983 (patch)
treef50d8cde78686d148c84228eeef20f5575d2710d
parentfa5fb58e464fc2e75a57bd1c298b4441a9e3ccdc (diff)
emms.texinfo: Add possible solutions for asynchronical issue for lyrics.
darcs-hash:20070305064615-cfa61-a04092118c3d3dfcf0544f5cd7011a80340a8653.gz
-rw-r--r--emms.texinfo29
1 files changed, 28 insertions, 1 deletions
diff --git a/emms.texinfo b/emms.texinfo
index 042787e..dc6d36a 100644
--- a/emms.texinfo
+++ b/emms.texinfo
@@ -340,7 +340,7 @@ The method Emms will use is defined in the customisable variable
@chapter Quickstart Guide
This chapter demonstrates how to setup EMMS so that you can start
-listening to your music without having to read the whole docs first.
+listening to your music without having to read the whole docs first.
The first thing you have to do is telling Emacs where the sources of
EMMS are located. Let's say you have them in @file{~/elisp/emms/}. So
@@ -1880,6 +1880,14 @@ string.
Coding system used in the output of lyrics.
@end defvr
+@defvr {User Option} emms-lyrics-scroll-p
+Non-nil value will enable lyrics scrolling.
+@end defvr
+
+@defvr {User Option} emms-lyrics-scroll-timer-interval
+Interval between scroller timers. The shorter, the faster.
+@end defvr
+
We can control `emms-lyrics' with the help of the following functions:
@defun emms-lyrics-start
@@ -1910,7 +1918,26 @@ Disable displaying Emms lyrics.
Toggle displaying Emms lyrics.
@end defun
+@heading Known Problems
+Sometimes EMMS might be blocked by some other processes, like Gnus
+checking new messages, while emms-lyrics still goes on, thus make music
+and lyrics asynchronical.
+
+One possible solution is to pause EMMS when these processes are
+running. e.g., for Gnus, try the following:
+
+@lisp
+(defadvice gnus-group-get-new-news (around pause-emms)
+ "Pause emms while Gnus is fetching mails or news."
+ (if emms-player-playing-p
+ (progn (emms-pause)
+ ad-do-it
+ (emms-pause))
+ ad-do-it))
+
+(ad-activate 'gnus-group-get-new-news)
+@end lisp
@node Volume
@chapter Volume