all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* editing .mp3 in binary mode
@ 2007-11-09  9:06 Gelika PAPP-RAFFY
  0 siblings, 0 replies; only message in thread
From: Gelika PAPP-RAFFY @ 2007-11-09  9:06 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 2182 bytes --]

From:  <Gelika Papp-Raffy@VM-WINXP-SP2>
To: bug-gnu-emacs@gnu.org
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

 

[-- Attachment #2: Type: text/html, Size: 3282 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-09  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-09  9:06 editing .mp3 in binary mode Gelika PAPP-RAFFY

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.