[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: user has no relief (other than lynx) when text is too wide
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Fri, 19 Apr 2013 10:39:12 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12000
- References: <878v4fflpe.fsf@xxxxxxxxxxx>
In [emacs-w3m : No.11999] jidanni@xxxxxxxxxxx wrote:
> http://kml4earth.appspot.com/kmlBestPractice.html goes off the edge of
> the screen and there is nothing the user can hit to fix it.
> My screen is *only* 123 characters wide.
> doesn't work either.
'(add-to-list 'w3m-filter-rules '(".*" w3m-filter-no-render-table)))
> (eval-after-load "w3m-filter"
> '(nconc w3m-filter-rules '((".*" w3m-filter-no-render-table))))
Why yours doesn't modify w3m-filter-rules is because the default
value of w3m-filter-rules was made nil in 2012-10-17. All the
built-in filters are in w3m-filter-configuration now (try performing
`M-x customize-option' for it).
Anyway, I confirmed your `no-table' filter works nicely. :)
 To make sure nconc works as expected, do
(setq VAR (nconc VAR (list VAL)))
(nconc VAR (list VAL))
(The side effect of nconc won't occur if VAR is an empty list.)
But to do so for this case is not a good idea, since it adds VAL
to VAR whenever evaluating the form (i.e., loading w3m-filter.elc).
Contrarily add-to-list does not add VAL to VAR if the same VAL
already exists in VAR.