bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

editing .mp3 in binary mode


From: Gelika PAPP-RAFFY
Subject: editing .mp3 in binary mode
Date: Fri, 9 Nov 2007 10:06:17 +0100


From:  <Gelika address@hidden>
To: address@hidden
Subject: editing .mp3 in binary mode
--text follows this line--
I am editing an .mp3 file (the ID3 tag of an mp3 file) in binary mode. (hexl-mode). When I want to save it, it asks me for some encoding option, whereas it should be left as it.
Adding the line
(add-to-list 'file-coding-system-alist '("\\.mp3\\'" . no-conversion))
in .emacs is sufficient to solve the issue.
Probably also other compressed audio files extensions should be added, like .wma, .aac, .m4a, .ogg etc.
 

In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
 
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DEU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t
 
Major mode: Hexl
 
Minor modes in effect:
  ruler-mode: t
  hl-line-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
 
Recent input:
<drag-n-drop> M-x h r c l SPC <backspace> <backspace>
<backspace> <backspace> h e x l SPC m o SPC <return>
h C-x u M-x h e x l SPC i SPC h <backspace> c h SPC
<backspace> <backspace> <backspace> SPC h e SPC c h
SPC <return> f f <return> C-x C-s y C-g M-x r e p o
SPC r SPC e SPC SPC <return>
 
Recent messages:
Loading hexl...done
Loading mule-util...done
Undo!
Converting from hexl format discards undo info; ok? (y or n)
Saving file c:/user/Gelika Papp-Raffy/My Music/philips_cd/test/test v2.2/09 Track 9.mp3...
Quit
Making completion list...
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]