Ar an seachtú lá déag de mí na Nollaig, scríobh Glynn Clements:
> >> Is there a way I can force a buffer into the :T
mode?
>
> > Aside from Ben's and Stephen's comments, you can force the mode
when
> > loading a file using a C-u prefix (e.g. C-u C-x C-f, or C-u f in
> > dired) and choosing a *-dos coding system, e.g. undecided-dos.
>
> Hmm, this is with
>
> XEmacs 21.4 (patch 18) "Social Property" [Lucid] (i686-pc-cygwin, Mule)
> of Wed Dec 7 2005 on vzell-de
>
> C-u C-x C-f /tmp/testeol.txt
> Codingsystem: undecided-dos
>
> Modeline shows: ISO8
>
> Typing in some characters and saving results in a file with unix line
> endings.
>
> Now kill the buffer.
>
> C-u C-x C-f /tmp/testeol.txt
> Codingsystem: undecided-dos
>
> Modeline shows: ISO8:T
>
> Not able to save the file without first changing it. But afterwards the
> file has dos line endings.
>
> Is this how it should work ?
The latter case (existing file) is right, but ignoring the coding
system for a non-existant file seems like a bug.
http://list-archive.xemacs.org/xemacs-patches/200504/msg00030.html should
have addressed it, but didn’t.
--
I AM IN JAIL AND ALLOWED SEND ONLY ONE CABLE SINCE WAS ARRESTED WHILE
MEASURING FIFTEEN FOOT WALL OUTSIDE PALACE AND HAVE JUST FINISHED COUNTING
THIRTY EIGHT THOUSAND FIVE HUNDERED TWENTY TWO NAMES WHOS WHO IN MIDEAST.