Hello All
I upgrade my GNU Emacs for Windows and still have problems with encoding for
files, opened from emacs-wiki. i customize file-coding-system-alist to use utf-8
for emacs-wiki files and files open's fine with C-x C-f, but when i use
emacs-wiki-find-file, then files open's in default encodings, not utf-8. This is
very strange for me :-(
In GNU Emacs 22.0.50.2 (i386-mingw-nt5.1.2600)
of 2005-04-17 on LAPTOP
Distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
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: RUS
locale-coding-system: cp1251
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
delete-selection-mode: t
display-time-mode: t
desktop-save-mode: t
auto-compression-mode: t
show-paren-mode: t
encoded-kbd-mode: t
mouse-wheel-mode: t
tooltip-mode: t
menu-bar-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
line-number-mode: t
transient-mark-mode: t
next-error-follow-minor-mode: Fol
parts of .emacs
(custom-set-variables
'(current-language-environment "Russian")
'(file-coding-system-alist (quote (("/WiKi/" . mule-utf-8) ("\\.dz\\'"
no-conversion . no-conversion) ("\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion
. no-conversion) ("\\.tgz\\'" no-conversion . no-conversion) ("\\.tbz\\'"
no-conversion . no-conversion) ("\\.bz2\\'" no-conversion . no-conversion)
("\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'" no-conversion . no-conversion) ("\\.elc\\'"
emacs-mule . emacs-mule) ("\\.utf\\(-8\\)?\\'" . utf-8)
("\\(\\`\\|/\\)loaddefs.el\\'" raw-text . raw-text-unix) ("\\.tar\\'"
no-conversion . no-conversion) ("" . find-buffer-file-type-coding-system)))))
(codepage-setup 1251)
(define-coding-system-alias 'windows-1251 'cp1251)
(define-coding-system-alias 'win-1251 'cp1251)
(prefer-coding-system 'cp1251)
--
With best wishes, Alex Ott
Jet Infosystems, http://www.jetinfosoft.ru/
+7 (095) 411 76 01
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel