[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: w3m-session and emacs23



On Fri, Feb 20, 2009 at 12:17 PM, Katsumi Yamaoka <yamaoka@xxxxxxx> wrote:
>>>>>> In [emacs-w3m : No.10717] Francis Moreau wrote:
>>> What command did you perform when you thought w3m-session didn't
>>> work?
>
>> M-s
>
>>>  Did it issue a warning or an error message then?
>
>> yes:
>>         mapc: Wrong type argument: listp, w3m-session
>
> It seems that arguments passed to `mapc' contain the symbol
> `w3m-session', however I don't see the code that uses such one.
> Could you try debugging to get the Lisp backtrace?  To do that,
> load the w3m-session.el file (not the w3m-session.elc file) by
> `M-x load-file RET', perform `M-x toggle-debug-on-error RET',
> type `M-s', and then,  send the contents of the "*Backtrace*"
> buffer to the list.  It will help us to investigate the problem.
>

I attached the backtrace to this email.

>> also it looks like the jao-w3m-go-to-linknum() function (please see below
>> my ~/.emacs file) doesn't work anymore, I got this message now
>
>>        jao-w3m-go-to-linknum: Symbol's value as variable is void:
>> w3m-link-numbering-mode
>
> `jao-w3m-go-to-linknum' seems to need to load w3m-lnum.elc by
> itself since the `w3m-link-numbering-mode' variable that is first
> used in the function is not autoloaded.  For example:
>
> (defun jao-w3m-go-to-linknum ()
>  "Turn on link numbers and ask for one to go to."
>  (interactive)
>  (require 'w3m-lnum)
>  (let ((active w3m-link-numbering-mode))
>  ...
>
> Otherwise, simply add this line in your ~/.emacs-w3m.el file:
>
> (require 'w3m-lnum)
>

[...]

> Looks good, except for `jao-w3m-go-to-linknum'.

Ok I fixed this one thanks to you help.

BTW any plan to make such function part of emacs-w3m itself ?

> ;; I will be absent in the net till Monday.  Sorry.

No problem, I'll be off till next Wednesday.

Thanks a lot for your help.
-- 
Francis

Attachment: emacs-backtrace
Description: Binary data