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

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

Re: default-buffer-file-coding-system


From: Peter Dyballa
Subject: Re: default-buffer-file-coding-system
Date: Wed, 25 Jun 2008 16:22:20 +0200


Am 25.06.2008 um 09:36 schrieb Helmut Richter:

I have the statement

  setq default-buffer-file-coding-system 'iso-8859-1

in my startup file, and it seems to work as the variable value can be
shown with ctrl-h v. It has, however, no effect at all. When I open a
new buffer for a non-existing file, it has no associated coding (as would be seen in the left corner of the status line), and as soon as I store the
file, the coding is set to utf-8. I expected that setting the variable
default-buffer-file-coding-system to iso-8859-1 would change this behaviour.

You could try to add

        (prefer-coding-system 'iso-8859-1)

The environment variable LC_CTYPE plays an important role.


Another question, less important: can I change the window size and the font used once and for all? At the moment, I change it after the window has been
opened.


        (setq initial-frame-alist
          (append (list
            '(border-color      . "#4e3832")
            '(foreground-color  . "grey10")
            '(background-color  . "AliceBlue")
            '(active-alpha      . 0.875)
            '(inactive-alpha    . 0.75)
            '(font              . "fontset-10pt_lucidatypewriter")
            '(top . 136) '(left . 666) '(width . 100) '(height . 57)
          ) initial-frame-alist))

There is also default-frame-alist.

--
Mit friedvollen Grüßen

  Pete

And always remember the last words of my grandfather, who said: “A truck!”
                                — Emo Phillips







reply via email to

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