[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about speechd, w3m and columns
From: |
Milan Zamazal |
Subject: |
Question about speechd, w3m and columns |
Date: |
Tue, 20 Feb 2007 10:31:12 +0100 |
>>>>> "NVP" == Natasha V Pearce <nvpearce at pearcesoftware.com> writes:
NVP> w3m renders web pages with columns side by side in the emacs
NVP> buffer, and I can tab between links in the normal way - ie,
NVP> down the first column before crossing to the second column,
NVP> etc.
NVP> But speechd reads across the entire line, including any text
NVP> from any and all columns which have text on that line, and
NVP> ignores column boundaries.
Well, it seems the w3m dump contains information about ordering of the
links while the resulting Emacs buffer doesn't contain any information
about columns. So walking over links works as expected while there is
no direct way to identify columns.
I can think about the following heuristics: To limit reading of a line
around the point to the previous and the next sequence of several
adjacent spaces (3 spaces could be a good default value). This wouldn't
be perfect but I think it might work reasonably in most cases. What do
you think about it?
Regards,
Milan Zamazal