* default-buffer-file-coding-system on w32 is not -dos
@ 2006-04-07 18:11 Eli Zaretskii
2006-04-07 19:03 ` Lennart Borgman
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2006-04-07 18:11 UTC (permalink / raw)
In "emacs -Q", type "M-: default-buffer-file-coding-system RET". On
MS-Windows, it should say SOMETHING-dos, but in Emacs built from
recent CVS it doesn't have the -dos EOL type, and indeed new files are
created with Unix EOLs.
Does anyone else see this on Windows, or is this something peculiar to
my setup? If anyone gets -dos, please tell me what is your value of
current-language-environment, in addition to the value of
default-buffer-file-coding-system.
I'll try to debug this regardless.
TIA
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-07 18:11 default-buffer-file-coding-system on w32 is not -dos Eli Zaretskii
@ 2006-04-07 19:03 ` Lennart Borgman
2006-04-07 21:56 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Lennart Borgman @ 2006-04-07 19:03 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii wrote:
> In "emacs -Q", type "M-: default-buffer-file-coding-system RET". On
> MS-Windows, it should say SOMETHING-dos, but in Emacs built from
> recent CVS it doesn't have the -dos EOL type, and indeed new files are
> created with Unix EOLs.
>
> Does anyone else see this on Windows, or is this something peculiar to
> my setup? If anyone gets -dos, please tell me what is your value of
> current-language-environment, in addition to the value of
> default-buffer-file-coding-system.
>
> I'll try to debug this regardless.
>
I tried CVS Emacs from 2004-04-06 (slightly patched). It says
"iso-latin-1". I also tried CVS Emacs from 2006-03-20 (unpatched). It
says the same.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-07 19:03 ` Lennart Borgman
@ 2006-04-07 21:56 ` Eli Zaretskii
2006-04-07 22:29 ` Lennart Borgman
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2006-04-07 21:56 UTC (permalink / raw)
Cc: emacs-devel
> Date: Fri, 07 Apr 2006 21:03:41 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> CC: emacs-devel@gnu.org
>
> I tried CVS Emacs from 2004-04-06 (slightly patched).
Is that really 2004-04-06 (i.e. 2 years ago)? Or is this yesterday's
CVS?
> It says "iso-latin-1". I also tried CVS Emacs from 2006-03-20
> (unpatched). It says the same.
Does that mean that, for you, the current CVS code uses
iso-latin-1-dos for newly-created files? Or are you saying that both
these versions use Unix-style EOLs? Because that's what's really
important: whether the default is to create DOS- or Unix-style line
endings; the value of buffer-file-coding-system is just the symptom.
So please tell me whether on your machine new files are created DOS or
Unix style.
I have an old build from 2005-04-17 CVS, which does set
buffer-file-coding-system of new files to iso-latin-1-dos. But I
don't know when the behavior changed between now and a year ago,
although I have reasons to believe it still worked correctly in
December 2005.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-07 21:56 ` Eli Zaretskii
@ 2006-04-07 22:29 ` Lennart Borgman
2006-04-08 6:32 ` Eli Zaretskii
2006-04-08 7:35 ` Eli Zaretskii
0 siblings, 2 replies; 11+ messages in thread
From: Lennart Borgman @ 2006-04-07 22:29 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii wrote:
> Is that really 2004-04-06 (i.e. 2 years ago)? Or is this yesterday's
> CVS?
>
Sorry, typo. 2006-04-06.
>
>> It says "iso-latin-1". I also tried CVS Emacs from 2006-03-20
>> (unpatched). It says the same.
>>
>
> Does that mean that, for you, the current CVS code uses
> iso-latin-1-dos for newly-created files? Or are you saying that both
> these versions use Unix-style EOLs? Because that's what's really
> important: whether the default is to create DOS- or Unix-style line
> endings; the value of buffer-file-coding-system is just the symptom.
> So please tell me whether on your machine new files are created DOS or
> Unix style.
1) The indicator on the mode line says ":" when creating the file.
2) The created file as Unix-style line endings
3) When restarting Emacs -Q and opening the file again the mode line
says "(Unix)"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-07 22:29 ` Lennart Borgman
@ 2006-04-08 6:32 ` Eli Zaretskii
2006-04-08 7:35 ` Eli Zaretskii
1 sibling, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2006-04-08 6:32 UTC (permalink / raw)
Cc: emacs-devel
> Date: Sat, 08 Apr 2006 00:29:33 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> CC: emacs-devel@gnu.org
>
> 1) The indicator on the mode line says ":" when creating the file.
> 2) The created file as Unix-style line endings
> 3) When restarting Emacs -Q and opening the file again the mode line
> says "(Unix)"
That's what I see. Thanks for checking.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-07 22:29 ` Lennart Borgman
2006-04-08 6:32 ` Eli Zaretskii
@ 2006-04-08 7:35 ` Eli Zaretskii
2006-04-08 7:58 ` Lennart Borgman
1 sibling, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2006-04-08 7:35 UTC (permalink / raw)
Cc: emacs-devel
> Date: Sat, 08 Apr 2006 00:29:33 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> CC: emacs-devel@gnu.org
>
> 1) The indicator on the mode line says ":" when creating the file.
> 2) The created file as Unix-style line endings
> 3) When restarting Emacs -Q and opening the file again the mode line
> says "(Unix)"
Can you please tell what is your value of current-language-environment?
TIA
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-08 7:35 ` Eli Zaretskii
@ 2006-04-08 7:58 ` Lennart Borgman
2006-04-08 8:19 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Lennart Borgman @ 2006-04-08 7:58 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii wrote:
>> Date: Sat, 08 Apr 2006 00:29:33 +0200
>> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
>> CC: emacs-devel@gnu.org
>>
>> 1) The indicator on the mode line says ":" when creating the file.
>> 2) The created file as Unix-style line endings
>> 3) When restarting Emacs -Q and opening the file again the mode line
>> says "(Unix)"
>>
>
> Can you please tell what is your value of current-language-environment?
>
Right after "Emacs -Q" (unpatched version) this is "English".
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-08 7:58 ` Lennart Borgman
@ 2006-04-08 8:19 ` Eli Zaretskii
2006-04-09 14:32 ` Lennart Borgman
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2006-04-08 8:19 UTC (permalink / raw)
Cc: emacs-devel
> Date: Sat, 08 Apr 2006 09:58:34 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> CC: emacs-devel@gnu.org
>
> > Can you please tell what is your value of current-language-environment?
> >
> Right after "Emacs -Q" (unpatched version) this is "English".
Same as on my machine, thanks.
Okay, I think I fixed this, at least for those systems where
current-language-environment is "English". Please resync with CVS and
see that it works for you.
If someone has other values of current-language-environment on
MS-Windows, please report the behavior before and after this change.
TIA
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-08 8:19 ` Eli Zaretskii
@ 2006-04-09 14:32 ` Lennart Borgman
2006-04-09 18:10 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Lennart Borgman @ 2006-04-09 14:32 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii wrote:
>> Date: Sat, 08 Apr 2006 09:58:34 +0200
>> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
>> CC: emacs-devel@gnu.org
>>
>>
>>> Can you please tell what is your value of current-language-environment?
>>>
>>>
>> Right after "Emacs -Q" (unpatched version) this is "English".
>>
>
> Same as on my machine, thanks.
>
> Okay, I think I fixed this, at least for those systems where
> current-language-environment is "English". Please resync with CVS and
> see that it works for you.
>
> If someone has other values of current-language-environment on
> MS-Windows, please report the behavior before and after this change.
>
With emacs -Q, CVS from 2006-04-09 (slightly patched) I get:
1) The indicator on the mode line says "\" (was ":" before) when
creating a .txt file.
2) The created file as DOS style line endings.
3) When restarting emacs -Q and opening the file again the mode line now
still says "\".
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-09 14:32 ` Lennart Borgman
@ 2006-04-09 18:10 ` Eli Zaretskii
2006-04-09 18:49 ` Lennart Borgman
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2006-04-09 18:10 UTC (permalink / raw)
Cc: emacs-devel
> Date: Sun, 09 Apr 2006 16:32:22 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> CC: emacs-devel@gnu.org
>
> With emacs -Q, CVS from 2006-04-09 (slightly patched) I get:
>
> 1) The indicator on the mode line says "\" (was ":" before) when
> creating a .txt file.
> 2) The created file as DOS style line endings.
> 3) When restarting emacs -Q and opening the file again the mode line now
> still says "\".
Thanks, this is the expected behavior.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: default-buffer-file-coding-system on w32 is not -dos
2006-04-09 18:10 ` Eli Zaretskii
@ 2006-04-09 18:49 ` Lennart Borgman
0 siblings, 0 replies; 11+ messages in thread
From: Lennart Borgman @ 2006-04-09 18:49 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii wrote:
>> Date: Sun, 09 Apr 2006 16:32:22 +0200
>> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
>> CC: emacs-devel@gnu.org
>>
>> With emacs -Q, CVS from 2006-04-09 (slightly patched) I get:
>>
>> 1) The indicator on the mode line says "\" (was ":" before) when
>> creating a .txt file.
>> 2) The created file as DOS style line endings.
>> 3) When restarting emacs -Q and opening the file again the mode line now
>> still says "\".
>>
>
> Thanks, this is the expected behavior.
>
Thanks Eli for fixing this!
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-04-09 18:49 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-07 18:11 default-buffer-file-coding-system on w32 is not -dos Eli Zaretskii
2006-04-07 19:03 ` Lennart Borgman
2006-04-07 21:56 ` Eli Zaretskii
2006-04-07 22:29 ` Lennart Borgman
2006-04-08 6:32 ` Eli Zaretskii
2006-04-08 7:35 ` Eli Zaretskii
2006-04-08 7:58 ` Lennart Borgman
2006-04-08 8:19 ` Eli Zaretskii
2006-04-09 14:32 ` Lennart Borgman
2006-04-09 18:10 ` Eli Zaretskii
2006-04-09 18:49 ` Lennart Borgman
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.