all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Helmut Richter <hhr-m@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: default-buffer-file-coding-system
Date: Wed, 25 Jun 2008 16:22:20 +0200	[thread overview]
Message-ID: <50164083-70C6-4EF9-96A7-8939AED3F3E9@Web.DE> (raw)
In-Reply-To: <Pine.LNX.4.64.0806250923060.2009@lxhri01.lrz.lrz-muenchen.de>


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	other threads:[~2008-06-25 14:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25  7:36 default-buffer-file-coding-system Helmut Richter
2008-06-25 14:22 ` Peter Dyballa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50164083-70C6-4EF9-96A7-8939AED3F3E9@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hhr-m@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.