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

Re: isearch-forward vs. long lines



>>>>> In [emacs-w3m : No.10222] jidanni@xxxxxxxxxxx wrote:

> On http://ipk.im.tv/dis.php?code=113 I do C-s 女 to search for the 女
> character, but as it lies in columns off the screen, I have to also
> use C-e to go to the end of line to find it, else I am sitting on
> blank lines with no cursor at all.

(defadvice w3m-auto-show (around work-for-isearch activate)
  "Make it work while isearch."
  (let ((w3m-current-position (list nil
				    (point-min-marker)
				    (point-max-marker))))
    ad-do-it))

But this is no more than a workaround.  Someone has to review
what `w3m-current-position' means and fix it properly.  I'll
explain it in Japanese in another message...