From: nospam@dev.null (Alexey Pustyntsev)
To: help-gnu-emacs@gnu.org
Subject: Re: getting rid of ^M displayed by emacs-w3m
Date: Sun, 25 Mar 2007 08:07:15 +1100 [thread overview]
Message-ID: <E1HVDSF-0004hS-Nr@sycore.org> (raw)
In-Reply-To: <D2CF4951-1AC0-4A6D-8081-36AD5D84FA97@Web.DE> (Peter Dyballa's message of "Sat\, 24 Mar 2007 20\:03\:39 +0100")
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 24.03.2007 um 19:27 schrieb Alexey Pustyntsev:
>
>> it should be solved by default
>
> You could consider to set a default encoding, and that encoding's
> name should end in -mac, because it's a Mac feature to end lines with
> Carriage Return. Or are the lines ending in Carriage Return + Line
> Feed? Then a -dos ending of the encoding's name is more suitable.
>
> set-default-coding-systems
> prefer-coding-system
> setq default-file-name-coding-system
> setq default-buffer-file-coding-system
>
> I am not a regular user of w3m. When I used it I never encountered
> such an effect.
>
> --
> Greetings
>
> Pete
>
Thanks for the comments. I am using GNU/Linux on a P4 box. w3m is
really handy. As I said earlier, w3m displays everything fine in
terminal, and my default coding system is utf-8 (both OS and emacs).
Below are the snippets from the html source of the pages in question.
----------------------start snippet 1---------------------------
;; -- put to distinguish the snippet from quoted text
;; > <A
;; HREF="preface.html#contributors"
;; >And several others</A
;; >
----------------------end snippet 1-----------------------------
----------------------start snippet 2---------------------------
;; -- put to distinguish the snippet from quoted text
;; ><P
;; > PHP supports eight primitive types.
;; </P
;; ><P
;; > Four scalar types:
----------------------end snippet 2-----------------------------
^M comes after '>' and before 'And several' in the first snippet and
after '
' and before 'PHP supports' or 'Four scalar' in the
second. It seems there are no line feeds there.
I am inclined to think it is the problem of emacs-w3m, (not emacs, not
w3m), I am unsure, though.
--
Rgds
Alexey
Today is Prickle-Prickle, the 11st day of Discord in the YOLD 3173
next prev parent reply other threads:[~2007-03-24 21:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 23:00 getting rid of ^M displayed by emacs-w3m Alexey Pustyntsev
2007-03-24 18:27 ` Alexey Pustyntsev
2007-03-24 19:03 ` Peter Dyballa
2007-03-24 21:07 ` Alexey Pustyntsev [this message]
2007-03-24 21:17 ` David Hansen
2007-03-24 23:58 ` Alexey Pustyntsev
2007-03-25 0:50 ` David Hansen
2007-03-25 9:48 ` Daniel Rubin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1HVDSF-0004hS-Nr@sycore.org \
--to=nospam@dev.null \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).