[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I'm sorry that I tried to insert a DOS file
From: |
Eli Zaretskii |
Subject: |
Re: I'm sorry that I tried to insert a DOS file |
Date: |
Wed, 13 Feb 2002 08:37:19 +0200 |
On 13 Feb 2002, Dan Jacobson wrote:
> I edit a buffer, I insert a file [C-x i] that is a CR-LF file. The
> words "(DOS)" appear in the modeline. I undo the insert-file step.
> The (DOS) remains in the modeline
Undo only undoes buffer changes, and setting the buffer's file coding
system doesn't count as a change of the buffer's contents, and isn't
recorded in the undo history. Perhaps it should.
> A more pleasant situation would be: I insert the file and I get asked
> if I want s) strip the DOS jazz; p) poison the whole original buffer
> with DOS jazz; r) treat me rawly, with ^M before my eyes; etc.
I think this would be hard to implement, since detection of the EOL
format is done at the same time as the file is read and inserted into the
buffer.
- I'm sorry that I tried to insert a DOS file, Dan Jacobson, 2002/02/12
- Re: I'm sorry that I tried to insert a DOS file, Luis Fernandes, 2002/02/13
- Re: I'm sorry that I tried to insert a DOS file,
Eli Zaretskii <=
- Re: I'm sorry that I tried to insert a DOS file, Kim F. Storm, 2002/02/13
- Re: I'm sorry that I tried to insert a DOS file, Eli Zaretskii, 2002/02/13
- Re: I'm sorry that I tried to insert a DOS file, Kim F. Storm, 2002/02/13
- Re: I'm sorry that I tried to insert a DOS file, Eli Zaretskii, 2002/02/13
- Re: I'm sorry that I tried to insert a DOS file, Kim F. Storm, 2002/02/13
- Re: I'm sorry that I tried to insert a DOS file, Eli Zaretskii, 2002/02/13
- Re: I'm sorry that I tried to insert a DOS file, Eli Zaretskii, 2002/02/13
Message not available