all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* had to set-buffer-file-coding-system utf-8-dos by hand
@ 2005-06-22 17:33 Dan Jacobson
  2005-06-23  4:38 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Jacobson @ 2005-06-22 17:33 UTC (permalink / raw)


$ wget http://www.planning.org/china/
$ emacs -q index.html
So why is DOS mode not turned on?
Why is one staring at all those ^M's?
The file appears in utf-8 mode, but dos mode is then forgotten.
emacs-version"21.4.1"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: had to set-buffer-file-coding-system utf-8-dos by hand
  2005-06-22 17:33 had to set-buffer-file-coding-system utf-8-dos by hand Dan Jacobson
@ 2005-06-23  4:38 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2005-06-23  4:38 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> From: Dan Jacobson <jidanni@jidanni.org>
> Date: Thu, 23 Jun 2005 01:33:02 +0800
> 
> $ wget http://www.planning.org/china/
> $ emacs -q index.html
> So why is DOS mode not turned on?
> Why is one staring at all those ^M's?

This usually happens because some of the lines do not end in CRLF,
while others do.

However, I just downloaded http://www.planning.org/china/index.html
and I cannot reproduce the problem, neither in Emacs 21.4 nor in the
CVS version of Emacs.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-23  4:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-22 17:33 had to set-buffer-file-coding-system utf-8-dos by hand Dan Jacobson
2005-06-23  4:38 ` Eli Zaretskii

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.