* default-buffer-file-coding-system
@ 2008-06-25 7:36 Helmut Richter
2008-06-25 14:22 ` default-buffer-file-coding-system Peter Dyballa
0 siblings, 1 reply; 2+ messages in thread
From: Helmut Richter @ 2008-06-25 7:36 UTC (permalink / raw)
To: help-gnu-emacs
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.
Interestingly, I observed this behaviour already in the past, then it was gone
after a system upgrade, now it is back after a system upgrade. The system is
Linux 2.6.16.54-0.2.5-smp (SUSE Linux Enterprise Desktop 10 (x86_64); VERSION
= 10; PATCHLEVEL = 1), Emacs version is 21.3.1.
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.
--
Helmut Richter
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: default-buffer-file-coding-system
2008-06-25 7:36 default-buffer-file-coding-system Helmut Richter
@ 2008-06-25 14:22 ` Peter Dyballa
0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2008-06-25 14:22 UTC (permalink / raw)
To: Helmut Richter; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-25 14:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-25 7:36 default-buffer-file-coding-system Helmut Richter
2008-06-25 14:22 ` default-buffer-file-coding-system Peter Dyballa
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.