[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emms-patches] darcs patch: emms-info-mp3info: Make use of `emms-i18...
From: |
William Xu |
Subject: |
[Emms-patches] darcs patch: emms-info-mp3info: Make use of `emms-i18... (and 2 more) |
Date: |
Fri, 08 Dec 2006 11:37:29 +0800 |
Fri Dec 8 11:10:29 CST 2006 address@hidden
* emms-info-mp3info: Make use of `emms-i18n-call-process-simple'.
Fri Dec 8 11:12:13 CST 2006 address@hidden
* emms-setup: Add `emms-i18n' to `emms-devel'.
Fri Dec 8 11:13:25 CST 2006 address@hidden
* emms-i18n: Rename functions to match file name.
New patches:
[emms-info-mp3info: Make use of `emms-i18n-call-process-simple'.
address@hidden {
hunk ./emms-info-mp3info.el 82
- (apply 'call-process
+ (apply (if (fboundp 'emms-i18n-call-process-simple)
+ 'emms-i18n-call-process-simple
+ 'call-process)
hunk ./emms-info-mp3info.el 93
- (and (boundp 'emms-cache-file-coding-system)
- (not (eq emms-info-mp3info-coding-system
- emms-cache-file-coding-system))
- (setq value (decode-coding-string
- (encode-coding-string
- value emms-cache-file-coding-system)
- emms-info-mp3info-coding-system)))
hunk ./emms-info-mp3info.el 102
-
}
[emms-setup: Add `emms-i18n' to `emms-devel'.
address@hidden {
hunk ./emms-setup.el 130
+ (require 'emms-i18n)
}
[emms-i18n: Rename functions to match file name.
address@hidden {
hunk ./emms-i18n.el 6
-;; Keywords:
+;; Keywords:
hunk ./emms-i18n.el 26
-;; `emms-default-coding-system', if non-nil, use this for decode, and
+;; `emms-i18n-default-coding-system', if non-nil, use this for decode, and
hunk ./emms-i18n.el 28
-;; `emms-coding-dectect-functions' to get coding system, if success,
-;; decode the result, otherwise, use `emms-detect-coding-function',
+;; `emms-i18n-coding-dectect-functions' to get coding system, if success,
+;; decode the result, otherwise, use `emms-i18n-detect-coding-function',
hunk ./emms-i18n.el 31
-;; `emms-nerver-used-coding-system', decode it, otherwise use
+;; `emms-i18n-nerver-used-coding-system', decode it, otherwise use
hunk ./emms-i18n.el 35
-;; `emms-default-coding-system', if non-nil, use this to encode data,
+;; `emms-i18n-default-coding-system', if non-nil, use this to encode data,
hunk ./emms-i18n.el 40
-;; (require 'emms-i18n)
+;; (require 'emms-i18n-i18n)
hunk ./emms-i18n.el 50
-(defvar emms-nerver-used-coding-system
+(defvar emms-i18n-nerver-used-coding-system
hunk ./emms-i18n.el 52
- "If the `emms-coding-dectect-functions' return coding system in
-this list, use `emms-default-coding-system' instead.")
+ "If the `emms-i18n-coding-dectect-functions' return coding system in
+this list, use `emms-i18n-default-coding-system' instead.")
hunk ./emms-i18n.el 55
-(defvar emms-coding-system-for-read 'utf-8
+(defvar emms-i18n-coding-system-for-read 'utf-8
hunk ./emms-i18n.el 58
-(defvar emms-default-coding-system nil
+(defvar emms-i18n-default-coding-system nil
hunk ./emms-i18n.el 61
-(defvar emms-coding-dectect-functions nil
+(defvar emms-i18n-coding-dectect-functions nil
hunk ./emms-i18n.el 64
-(defvar emms-detect-max-size 10000
+(defvar emms-i18n-detect-max-size 10000
hunk ./emms-i18n.el 67
-(defun emms-iconv (from to str)
+(defun emms-i18n-iconv (from to str)
hunk ./emms-i18n.el 75
-(defun emms-iconv-region (beg end from to)
+(defun emms-i18n-iconv-region (beg end from to)
hunk ./emms-i18n.el 82
-(defun emms-iconv-buffer (from to &optional buf)
+(defun emms-i18n-iconv-buffer (from to &optional buf)
hunk ./emms-i18n.el 85
- (emms-iconv-region (point-min) (point-max) from to)))
+ (emms-i18n-iconv-region (point-min) (point-max) from to)))
hunk ./emms-i18n.el 87
-(defun emms-set-default-coding-system (read-coding write-coding)
- "Set `emms-default-coding-system'"
+(defun emms-i18n-set-default-coding-system (read-coding write-coding)
+ "Set `emms-i18n-default-coding-system'"
hunk ./emms-i18n.el 90
- (setq emms-default-coding-system
+ (setq emms-i18n-default-coding-system
hunk ./emms-i18n.el 95
- (if (car emms-default-coding-system)
- (format "The coding system for read is %S." (car
emms-default-coding-system))
+ (if (car emms-i18n-default-coding-system)
+ (format "The coding system for read is %S." (car
emms-i18n-default-coding-system))
hunk ./emms-i18n.el 99
- (or (cdr emms-default-coding-system)
+ (or (cdr emms-i18n-default-coding-system)
hunk ./emms-i18n.el 102
-(defun emms-call-process-simple (&rest args)
+(defun emms-i18n-call-process-simple (&rest args)
hunk ./emms-i18n.el 104
-part of `emms-default-coding-system' is non-nil, the program result will
-be decode use the CAR part of emms-default-coding-system. Otherwise,
-use `emms-coding-dectect-functions' to detect the coding system of the
-result. If the emms-coding-dectect-functions failed, use
-`emms-detect-coding-function' to detect coding system. If all the
-coding system is nil or in `emms-nerver-used-coding-system', decode
-the result using `emms-coding-system-for-read'.
+part of `emms-i18n-default-coding-system' is non-nil, the program result will
+be decode use the CAR part of emms-i18n-default-coding-system. Otherwise,
+use `emms-i18n-coding-dectect-functions' to detect the coding system of the
+result. If the emms-i18n-coding-dectect-functions failed, use
+`emms-i18n-detect-coding-function' to detect coding system. If all the
+coding system is nil or in `emms-i18n-nerver-used-coding-system', decode
+the result using `emms-i18n-coding-system-for-read'.
hunk ./emms-i18n.el 118
- (setcar default-process-coding-system (car emms-default-coding-system))
+ (setcar default-process-coding-system (car
emms-i18n-default-coding-system))
hunk ./emms-i18n.el 122
- (null (car emms-default-coding-system)))
+ (null (car emms-i18n-default-coding-system)))
hunk ./emms-i18n.el 125
- (decode-coding-region (point-min) (point-max)
(emms-detect-buffer-coding-system))))
+ (decode-coding-region (point-min) (point-max)
(emms-i18n-detect-buffer-coding-system))))
hunk ./emms-i18n.el 129
-(defun emms-call-process (&rest args)
+(defun emms-i18n-call-process (&rest args)
hunk ./emms-i18n.el 131
-the cdr part `emms-default-coding-system' is non-nil, the string in
-ARGS will be encode by the CDR part of `emms-default-coding-system',
+the cdr part `emms-i18n-default-coding-system' is non-nil, the string in
+ARGS will be encode by the CDR part of `emms-i18n-default-coding-system',
hunk ./emms-i18n.el 135
- (if (cdr emms-default-coding-system)
- (let ((default-process-coding-system emms-default-coding-system)
+ (if (cdr emms-i18n-default-coding-system)
+ (let ((default-process-coding-system emms-i18n-default-coding-system)
hunk ./emms-i18n.el 141
-(defun emms-detect-coding-function (size)
+(defun emms-i18n-detect-coding-function (size)
hunk ./emms-i18n.el 143
- (+ (if (null emms-detect-max-size)
+ (+ (if (null emms-i18n-detect-max-size)
hunk ./emms-i18n.el 145
- (min size emms-detect-max-size))
+ (min size emms-i18n-detect-max-size))
hunk ./emms-i18n.el 148
-(defun emms-detect-buffer-coding-system (&optional buf)
+(defun emms-i18n-detect-buffer-coding-system (&optional buf)
hunk ./emms-i18n.el 151
- (func (append emms-coding-dectect-functions
'emms-detect-coding-function))
+ (func (append emms-i18n-coding-dectect-functions
'emms-i18n-detect-coding-function))
hunk ./emms-i18n.el 158
- (if (member (coding-system-base coding) emms-nerver-used-coding-system)
- (setq coding (emms-detect-coding-function size))))
- (if (or (null coding) (member (coding-system-base coding)
emms-nerver-used-coding-system))
- emms-coding-system-for-read
+ (if (member (coding-system-base coding)
emms-i18n-nerver-used-coding-system)
+ (setq coding (emms-i18n-detect-coding-function size))))
+ (if (or (null coding) (member (coding-system-base coding)
emms-i18n-nerver-used-coding-system))
+ emms-i18n-coding-system-for-read
}
Context:
[Fix various byte-compiler warnings throughout
Michael Olson <address@hidden>**20061207143511]
[emms-tag-editor: Rename functions to match file name
Michael Olson <address@hidden>**20061207142310]
[Rename emms-mp3tag.el to emms-tag-editor.el
Michael Olson <address@hidden>**20061207141945]
[emms.el: Improve `emms-uniq-list' to not use cl.el.
address@hidden
[emms-i18n changes, add playlist navigate command, uniq playlist command
Ye Wenbin <address@hidden>**20061207063510]
[emms-mp3tag support ogg, add more documentation. fix some error
Ye Wenbin <address@hidden>**20061206153528]
[emms-lastfm.dpatch
Tassilo Horn <address@hidden>**20061206112823
This patch adds emms-lastfm.el, its setup to emms-setup.el and myself
to AUTHORS.
]
[Fix a silly bug in emms-mp3tag. Remove timestamp.
Ye Wenbin <address@hidden>**20061206020710]
[AUTHORS: Added Ye Wenbin
address@hidden
[Fix lyrics minibuffer display. Amixer display playback and more useful commands
Wenbin Ye <address@hidden>**20061127154113]
[Edit all track, set tag to file for mp3
Wenbin Ye <address@hidden>**20061205112209]
[Add emms-mp3tag and emms-i18n
Wenbin Ye <address@hidden>**20061205065407]
[Add emms-mark and emms-history
address@hidden
[emms.el: Fix bug introduced by recent changes to
emms-playlist-set-playlist-buffer
Michael Olson <address@hidden>**20061119204738]
[Default to current buffer when setting the current EMMS playlist buffer.
Michael Olson <address@hidden>**20061119053410]
[manual: Add documentation for new emms-playlist-mode keybindings
Michael Olson <address@hidden>**20061119052935]
[emms-playlist-mode: Bind "b" key to emms-playlist-set-playlist-buffer.
Michael Olson <address@hidden>**20061119052907]
[emms-playlist-mode: Implement adding the thing at point to the current
playlist. If it is a playlist, add its contents instead. Map this to the "a"
key.
Michael Olson <address@hidden>**20061119052254]
[emms.el: In emms-playlist-set-playlist-buffer, prompt user from available EMMS
playlist buffers rather than all buffers, and display feedback upon setting the
current buffer, since this is not an easy change to see
Michael Olson <address@hidden>**20061119052023]
[emms.el: Fix compiler warning
Michael Olson <address@hidden>**20061119051946]
[Don't add subdirectories for directory and playlist-directory source insert
methods
Michael Olson <address@hidden>**20061119041900]
[bind SPC to `scroll-up' in emms-playlist-mode and update manual.
address@hidden
[emms-info-mp3info.el: Replace `emms-iconv' with decode-coding-string and
address@hidden
encode-coding-string.
]
[emms-playing-time.el: New variable `emms-playing-time-style', it
address@hidden
supports two styles at present, `time' and `bar'.
]
[emms-player-mpd: Deal with change in output when getting supported file types
Michael Olson <address@hidden>**20061028042119]
[emms.el: Move macros to the top of the file.
address@hidden
[NEWS: Add entry for recent emms-player-mpd change
Michael Olson <address@hidden>**20061023125738]
[emms-player-mpd: Handle errors that occur when we begin playback
Michael Olson <address@hidden>**20061022215310]
[NEWS: Version 2 is version 2.0
address@hidden
[emms-playlist-mode: Handle case where selection has not been set but user
wants to delete a region
Michael Olson <address@hidden>**20061022201724]
[emms-playlist-mode: Fix typo in hook name
Michael Olson <address@hidden>**20061022022812]
[emms-player-mpd: Update version recommendation
Michael Olson <address@hidden>**20061022012223]
[emms-player-mpd: Work properly with tracks inserted by emms-browser
Michael Olson <address@hidden>**20061022011050]
[Add NEWS items since version 2.1
Michael Olson <address@hidden>**20061017222117]
[emms-player-mpd: When using the emms-volume interface, allow the user to
specify the amount of change in the volume
Michael Olson <address@hidden>**20061017220404]
[Documentation cleanups in emms-player-mpd and emms-source-playlist
Michael Olson <address@hidden>**20061017215345]
[Since emms-player-seeked-to-functions and emms-player-time-set-functions hooks
do the same thing, replace the former with the latter
Michael Olson <address@hidden>**20061017210238]
[emms-browser: Fix compiler warning
Michael Olson <address@hidden>**20061017205310]
[emms-player-mpd: Implement seek-to support
Michael Olson <address@hidden>**20061017205106]
[FluidSynth midi file player
address@hidden
[Added delYsid
address@hidden
[jackd-support-for-emacs
address@hidden
jackd is a pro-audio server which can be used as a backend for
alsaplayer, mplayer, and lots of other linux audio apps.
This module allows to start jackd from within emacs, and
connect/disconnect jack client ports.
]
[browser: ensure the RNG is seeded before use
Damien Elmes <address@hidden>**20061011151535]
[browser: require sort (fixes bug with sort-fold-case being void)
Damien Elmes <address@hidden>**20061010125718]
[emms-player-mplayer.el: Mplayer also supports .vob files.
address@hidden
[fix faulty emms-playlist-mode keybinding, fix due to William and Damien.
address@hidden
[Added seeking to the playlist keymap, and updated the manual.
address@hidden
[emms-player-mpd: Only display error if we are certain that url.el is not
up-to-date
Michael Olson <address@hidden>**20061004032213]
[seek-for-alsaplayer
address@hidden
Add relative seek support for alsaplayer
]
[midi-files-via-timidity
address@hidden
A simple-player definition for timidity
]
[pause-for-alsaplayer
address@hidden
Get pause/resume working for alsaplayer
]
[mms-for-mplayer
address@hidden
mplayer also supports mms:// URLs
]
[emms-playing-time.el: Minor cleanups.
address@hidden
[emms-lyrics.el: Minor Cleanups.
address@hidden
[DoTheRightThing with player pausing and emms-bookmarks.el
address@hidden
[Added emms-bookmarks.el
address@hidden
[Added `emms-pause' to emms-playlist-mode.el bound to to ``P''.
address@hidden
[browser: add deletion started/finished message
Damien Elmes <address@hidden>**20060923051128]
[Added a link to the online version of the manual.
address@hidden
[emms-playing-time.el now works with `seek-to'.
address@hidden
[Added `seek-to' to emms.el and emms-player-mplayer.el.
address@hidden
[browser/cache: support deleting files, make emms-cache-dirty a defsubst
Damien Elmes <address@hidden>**20060922090553]
[TAG 2.1
address@hidden
Patch bundle hash:
a5fefa403fe6dae6b8309795ca7dbe001fe9a671
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emms-patches] darcs patch: emms-info-mp3info: Make use of `emms-i18... (and 2 more),
William Xu <=