Katsumi Yamaoka | 4 Aug 2005 09:22
X-Face
Favicon
Gravatar

[emacs-w3m:08345] Re: mule-ucs

>>>>> In <877jf2rz6q.fsf <at> mun.ca> Sebastian Luque wrote:

> Following the recommendations in the w3m manual, I installed mule-ucs in
> order to be able to display some special characters....

The best way is to contact the emacs-w3m community since this
issue doesn't seem to be related to Gnus.  To do that, I
recommend you use the `M-x report-emacs-w3m-bug' command after
starting up emacs-w3m.  If Emacs complains that there's no such
command, emacs-w3m you're using is too old.

Katsumi Yamaoka | 4 Aug 2005 09:24
X-Face
Favicon
Gravatar

[emacs-w3m:08346] Re: mule-ucs

>>>>> In <877jf2rz6q.fsf <at> mun.ca> Sebastian Luque wrote:

> Following the recommendations in the w3m manual, I installed mule-ucs in
> order to be able to display some special characters. I changed the value
> of w3m-use-mule-ucs accordingly,

You don't have to change the value of w3m-use-mule-ucs since it
will be set as t by default if emacs-w3m notices there is
Mule-UCS installed and the type of the external w3m program is
`w3m', not `w3m-m17n'.

Note: w3m version 0.5.x is recognized as the w3m-m17n type.  It
means w3m-ucs is not required if you are using such a version of
the external w3m program.  You can verify it by checking the
w3m-type Lisp variable.

> but there are problems loading w3m-ucs.
> When starting Emacs with this variable with that value, Emacs stops with
> the message ("Cannot open load file" "w3m-ucs"). So I removed this
> customization, and tried loading w3m-ucs with load-library, which resulted
> in this backtrace:

> Debugger entered--Lisp error: (file-error "Cannot open load file" "w3m-ucs")
>   load("w3m-ucs")
>   load-library("w3m-ucs")
> * call-interactively(load-library)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)

It suggests there's no w3m-ucs.elc (or w3m-ucs.el) installed.
(Continue reading)

Katsumi Yamaoka | 4 Aug 2005 09:37
X-Face
Favicon
Gravatar

[emacs-w3m:08347] Re: mule-ucs

>>>>> In [emacs-w3m : No.08346] Katsumi Yamaoka wrote:

> You don't have to change the value of w3m-use-mule-ucs...

I misunderstood it, sorry.  Setting it as t is needed if you
don't want to load Mule-UCS before emacs-w3m starts.  Though it
might not be necessary because of the following.

> Note: w3m version 0.5.x is recognized as the w3m-m17n type.  It
> means w3m-ucs is not required if you are using such a version of
> the external w3m program.  You can verify it by checking the
> w3m-type Lisp variable.

Anyway, you can show us how you are using emacs-w3m by typing:

M-x report-emacs-w3m-bug

Sebastian Luque | 5 Aug 2005 01:14
Picon
Picon
Favicon

[emacs-w3m:08350] mule-ucs problem in Debian

It is if possible, please redo after starting emacs-w3m.
================================================================
This bug report will be sent to the emacs-w3m development team,
 not to your local site managers!!
Please write in simple English, because the emacs-w3m developers
aren't good at English reading. ;-)

Please describe as succinctly as possible:
	- What happened.
	- What you thought should have happened.
	- Precisely what you were doing at the time.

Please also include any Lisp back-traces that you may have.
================================================================
Dear Bug Team!

Thanks to Katsumi for his suggestion to use this tool. I hope this email
is useful as I had to completely remove the customization of
w3m-use-mule-ucs in order to be able to send this message (emacs stops
loading my initialization file when this variable is set to t). In that
case, hopefully my original message (mistakenly sent to the gnus list) can
clarify further.

Thanks for any input you may have.

================================================================

System Info to help track down your bug:
---------------------------------------
emacs-w3m-version
(Continue reading)

Sebastian Luque | 5 Aug 2005 01:21
Picon
Gravatar

[emacs-w3m:08351] Re: mule-ucs

Dear Katsumi,

On Thu, 04 Aug 2005 16:22:36 +0900,
Katsumi Yamaoka <yamaoka <at> jpl.org> wrote:

[...]

> The best way is to contact the emacs-w3m community since this
> issue doesn't seem to be related to Gnus.  To do that, I
> recommend you use the `M-x report-emacs-w3m-bug' command after
> starting up emacs-w3m.  If Emacs complains that there's no such
> command, emacs-w3m you're using is too old.

My apologies for the erroneous post to the gnus list about w3m issues! It
was very late last night and very stressed :-) and should have paused
before hitting 'C-c C-c'!

Anyway, I sent the report as you suggested, so hopefully we can move on
from there. I should add that I'm using all Debian unstable packages (gnus, w3m and
friends, and mule-ucs), so I wouldn't be surprised if this is actually a
problem with the Debian packages, rather than upstream.

Cheers and thanks in advance,
--

-- 
Sebastian P. Luque

Andreas Seltenreich | 4 Aug 2005 12:20
X-Face
Picon
Picon

[emacs-w3m:08348] Re: shimbun sb-zeit-de.el updates

Katsumi Yamaoka schrob:

>>>>>> In [emacs-w3m : No.08314]
>>>>>>	Andreas Seltenreich <seltenreich <at> gmx.de> wrote:
>
>> the attached patch to sb-zeit-de adds some groups and fixes a bug with
>> missing <base href> tags.
>
> I've applied your patches.  Thanks.

Oops, apparently I introduced a new bug with the patch: One of the
parenthesis didn't go where I wanted it to. The attached patch fixes
it.

regards,
Andreas

2005-08-04  Andreas Seltenreich  <seltenreich <at> gmx.de>

	* shimbun/sb-zeit-de.el (shimbun-index-url): Fix typo.

Attachment (sb-zeit-de.el.patch): text/x-patch, 1035 bytes
Katsumi Yamaoka | 5 Aug 2005 03:39
X-Face
Favicon
Gravatar

[emacs-w3m:08352] Re: mule-ucs problem in Debian

Hi Sebastian,

Thanks for sending the report to the list.

>>>>> In [emacs-w3m : No.08350] Sebastian Luque wrote:

> emacs-w3m-version
>  => "1.4.4"

This is the latest version, though we've made not a few changes
in the upstream (i.e., CVS).

> emacs-version
>  => "GNU Emacs 21.4.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)\n of 2005-03-17 on trouble,
modified by Debian"
> mule-version
>  => "5.0 (SAKAKI)"
> system-type
>  => gnu/linux
> w3m-version
>  => "w3m/0.5.1"
> w3m-type
>  => w3m-m17n

The external w3m program you're using is also very new.

> w3m-compile-options
>  => ("lang=en" "m17n" "image" "color" "ansi-color" "mouse" "gpm" "menu" "cookie" "ssl" "ssl-verify"
"external-uri-loader" "w3mmailer" "nntp" "gopher" "ipv6" "alarm" "mark" "migemo")
> w3m-language
(Continue reading)

Sebastian Luque | 5 Aug 2005 06:59
Picon
Picon
Favicon

[emacs-w3m:08353] Re: mule-ucs problem in Debian

On Fri, 05 Aug 2005 10:39:54 +0900,
Katsumi Yamaoka <yamaoka <at> jpl.org> wrote:

[...]

> There seems to be no problem, furthermore you don't seem to need
> to use w3m-ucs.el.  My only one worry is that the utf-8 coding
> system which Emacs 21.x provides does support only Latin text.
> If you have a need to read text in various languages (e.g.,
> Chinese, Japanese, Korean), you indeed have to use Mule-UCS (it
> is no longer necessary to use with Emacs 22, though).

Thanks so much Katsumi, I must admit I don't understand much about
encoding issues and why I can't display some characters
correctly. Therefore, I followed the advise to use mule-ucs sort of
blindly, but based on your message maybe that's not the solution.

To be more precise, the characters that don't display properly are those
typical in the spanish language, e.g. á, ñ, and symbols for sub-item
bullets from lists in html. An example of the latter:

,-----[ html example ]
| <ol>
|   <li>A Main item text
|   <ul>
|     <li>First sub-item text</li>
|     <li>Second sub-item text</li>
|   </ul></li>
| </ol>
`-----
(Continue reading)

Katsumi Yamaoka | 5 Aug 2005 07:40
X-Face
Favicon
Gravatar

[emacs-w3m:08354] Re: mule-ucs problem in Debian

>>>>> In [emacs-w3m : No.08353] Sebastian Luque wrote:

> To be more precise, the characters that don't display properly are those
> typical in the spanish language, e.g. á, ñ, and symbols for sub-item
> bullets from lists in html. An example of the latter:

> ,-----[ html example ]
>| <ol>
>|   <li>A Main item text
>|   <ul>
>|     <li>First sub-item text</li>
>|     <li>Second sub-item text</li>
>|   </ul></li>
>| </ol>
> `-----

> The bullet for "A Main item text" displays well, but the ones for the
> subitems don't; they show up as hollow boxes. I've tried changing the
> symbol in the w3m-symbol group in the customize interface, without luck.

I can see it in the Emacs buffer as:

  http://www.jpl.org/emacs-21.4.png

OTOH, Firefox shows it as:

  http://www.jpl.org/firefox.png

I think they are rightful.  How is it displayed in your system?
If emacs-w3m shows some characters, for example, the euro sign,
(Continue reading)

Katsumi Yamaoka | 4 Aug 2005 12:39
X-Face
Favicon
Gravatar

[emacs-w3m:08349] Re: shimbun sb-zeit-de.el updates

>>>>> In [emacs-w3m : No.08348] Andreas Seltenreich wrote:

> Oops, apparently I introduced a new bug with the patch: One of the
> parenthesis didn't go where I wanted it to. The attached patch fixes
> it.

Oh, I see.

> 2005-08-04  Andreas Seltenreich  <seltenreich <at> gmx.de>

> 	* shimbun/sb-zeit-de.el (shimbun-index-url): Fix typo.

Applied.  Thanks.


Gmane