[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strange problem with w3m-truncate-string
>>>>> In [emacs-w3m : No.08786] Franck Benoit wrote:
> I have the same problem (almost with all webpages) : I ad mule-uitl.el
> in my load-path,
Well, I don't know why you need to add mule-util.el expressly,
since Emacs has it as the standard Lisp library as far as I know.
> even
> (autoload 'truncate-string-to-width "mule-util")
> in my .emacs, but still doesn't works (on debian sid, with emacs-snapshot)
I cannot imagine the case where it fails with the recent Emacs
22. Even with Emacs 21.1 which is the oldest version of
Emacs that the recent emacs-w3m supports, the autoload for
`truncate-string-to-width' should be unnecessary because it has
the autoload cookie. You can find the ``;;;###autoload'' line
just above the function definition of `truncate-string-to-width'
in the lisp/international/mule-util.el file, can't you? What do
you get with the following two commands?
emacs -batch -q -no-site-file -eval '(message "%s" (locate-library "mule-util"))'
I got:
/usr/local/share/emacs/22.0.50/lisp/international/mule-util.elc
emacs -batch -q -no-site-file -eval '(message "%s" (describe-function (quote truncate-string-to-width)))'
I got:
Type C-x 1 to remove help window.
truncate-string-to-width is an autoloaded Lisp function in `mule-util'.
...snip...