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

Re: long source lines cause cursor to jam when searching



In [emacs-w3m : No.11806] Aota-san wrote:
> (setq w3m-use-tab nil) let me move the cursor on the stacked line.

> I suspect the "return mark" somewhat collide with the tab line, when
> the return mark fill both side top to bottom.

Yeah, that is the point.  I realized the existence of the header
line makes the cursor get stuck in a long line.  A bug report I
sent follows (use <11261@xxxxxxxxxxxxxxx> to reply to this).

-------------------- Start of forwarded message --------------------
Date: Tue, 17 Apr 2012 08:40:40 +0900
Message-ID: <b4m8vhvp7nr.fsf@xxxxxxx>
From: Katsumi Yamaoka <yamaoka@xxxxxxx>
To: bug-gnu-emacs@xxxxxxx
Subject: 24.1.50; cursor doesn't move in a long line

Hi,

When I view an html source, of which lines are very long, I meet
with a symptom that C-f, C-b, and so forth don't move the cursor.
One discovered yesterday that it happens only when the header line
exists in a buffer (we use emacs-w3m that ises the header line for
the tab browsing).  Here's a recipe to reproduce this with Emacs -Q:

(let ((fox "The quick brown fox jumps over the lazy dog."))
  (pop-to-buffer "*testing*")
  (erase-buffer)
  (setq header-line-format fox)
  (dotimes (var 1000)
    (insert fox "  "))
  (goto-char (point-min))
  (search-forward "fox" nil t 500))

Could this be fixed?

Thanks in advance.
Regards,
-------------------- End of forwarded message --------------------