unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* still have problems with GNU Emacs CVS and encodings on Windows XP
@ 2005-06-22  6:58 Alex Ott
  2005-06-22  7:21 ` Miles Bader
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Ott @ 2005-06-22  6:58 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: still have problems with GNU Emacs CVS and encodings on Windows XP
  2005-06-22  6:58 still have problems with GNU Emacs CVS and encodings on Windows XP Alex Ott
@ 2005-06-22  7:21 ` Miles Bader
  2005-06-22 12:43   ` Alex Ott
  0 siblings, 1 reply; 3+ messages in thread
From: Miles Bader @ 2005-06-22  7:21 UTC (permalink / raw)
  Cc: Emacs development list

On 6/22/05, Alex Ott <ott@jet.msk.su> wrote:
> 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 :-(

Er, so where is `emacs-wiki-find-file' defined?  That sounds like a
good place to start looking for the bug...

-Miles
-- 
Do not taunt Happy Fun Ball.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: still have problems with GNU Emacs CVS and encodings on Windows XP
  2005-06-22  7:21 ` Miles Bader
@ 2005-06-22 12:43   ` Alex Ott
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Ott @ 2005-06-22 12:43 UTC (permalink / raw)
  Cc: Emacs development list

I look into the source code and found, that it simply call (find-file ..). when 
i run same command with M-: - all works fine

Miles Bader wrote:
> On 6/22/05, Alex Ott <ott@jet.msk.su> wrote:
> 
>>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 :-(
> 
> 
> Er, so where is `emacs-wiki-find-file' defined?  That sounds like a
> good place to start looking for the bug...
> 
> -Miles

-- 
With best wishes, Alex Ott
Jet Infosystems,       http://www.jetinfosoft.ru/
                        +7 (095) 411 76 01

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-22 12:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-22  6:58 still have problems with GNU Emacs CVS and encodings on Windows XP Alex Ott
2005-06-22  7:21 ` Miles Bader
2005-06-22 12:43   ` Alex Ott

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).