[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Hiding return characters in XEmacs
>>>>> "Barrie" == Barrie Bremner <baz [at] barriebremner.com> writes:
> XEmacs renders what I guess is a newline/return as "^M", generally
> only on generated emails (e.g. some daily summaries of forums I
> read)
The generator is probably broken. Most likely what is happening is
that the generator is using NL for its generated text, so XEmacs
detects NL. But the body is just copied from the original mails,
whose headers (at least) use CRLF. NL == LF, so XEmacs considers the
CR == ^M to be random binary cruft and renders it so you'll know it's
there.
You can suppress this by explicitly setting the coding-system of the
files in question to 'undecided-dos, I think. C-h v
file-coding-system-alist.
> and in shells run in an XEmacs buffer:
>
> Last login: Sun Feb 25 18:12:22 2001 from flux.localdomain
This is a remote login, right? You need to teach your software at
the other end about TERM=emacs. Check that TERM=emacs is in the
environment.
You might also look at network-coding-system-alist and
process-coding-system-alist, although the nature of s shell buffer is
such that these are likely to be rather unreliable.
Barrie> Strangely, it's hidden the "^M" characters on the end of
Barrie> that login line - although they where on the email I
Barrie> sent....
That's because all the lines were converted to CRLF terminators by the
mail software, I would guess.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.