[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]
w3-table-focus-on-this-cell
- To: Mario Lang <mlang@xxxxxxxxxxx>
- Subject: w3-table-focus-on-this-cell
- From: "T. V. Raman" <raman@xxxxxxxxxxx>
- Date: Thu, 25 Jan 2001 18:01:58 -0800
- In-Reply-To: <87y9vzsa63.fsf@xxxxxxxxxxx>
- Resent-Date: Thu, 25 Jan 2001 21:06:16 -0500 (EST)
- Resent-From: emacspeak@xxxxxxxxxxx
- Resent-Message-ID: <"2dYTID.A.TzB.-qNc6"@hub>
- Resent-Sender: emacspeak-request@xxxxxxxxxxx
>>>>> "Mario" == Mario Lang <mlang@xxxxxxxxxxx> writes:
Mario> Hi. Does anyone know why above mentioned
Mario> function (w3-table-focus-on-this-cell) does not
Mario> work as described in the documentation?
Possibly due to an older version of that function
It needs a
(w3-resurrect-hyperlinks)
call at the end --see version below.
Replace the attached function in your w3-speak-table.el
Mario> --or get the fixed version from cvs --was checked
Mario> in a long time ago I think.
(defun w3-table-focus-on-this-cell (&optional at-depth)
"Focus on current cell --optional argument at-depth
specifies nesting level. Focusing on a cell results in its
contents being displayed in a separate buffer in W3 mode.
This is useful to navigate pages that use a single table
cell for a newspaper style column"
(interactive "p")
(let ((contents (w3-table-this-cell-contents at-depth))
(buffer (get-buffer-create
(format "Cell-%s" (buffer-name))))
(inhibit-read-only t))
(save-excursion
(set-buffer buffer)
(erase-buffer)
(w3-mode)
(insert contents)
(goto-char (point-min))
(w3-resurrect-hyperlinks)
(w3-resurrect-images))
(switch-to-buffer buffer)))
Mario> According to the documentation, it should be able
Mario> to use C-f and have a valid w3 mode buffer
Mario> afterwards.
Mario> But when I focus on a cell, I get a buffer where
Mario> pressing TAB results in: ERror: No buttons or
Mario> fields found.
Mario> In addition, when in such a focus buffer, one
Mario> cant focus on another cell.
That is correct --until someone writes some more code.
Mario> Or do I get something wrong here?
Mario> And I have another W3 related question: Is there
Mario> some way to jump to the next heading in a long
Hit 'j' to first create the table of contents --this will
let you pick a section by title --once you've
done this, then M-p and M-n will navigate through
the structure.
Mario> html document?
Mario> -- CYa, Mario <mlang@xxxxxxxxxxx> Homepage(s):
Mario> http://delysid.org | http://piss.at/
Mario> "I don't think so," said Ren'e Descartes. Just
Mario> then, he vanished.
Mario> -----------------------------------------------------------------------------
Mario> To unsubscribe from the emacspeak list or change
Mario> your address on the emacspeak list send mail to
Mario> "emacspeak-request@xxxxxxxxxxx" with a subject
Mario> of "unsubscribe" or "help"
--
Best Regards,
--raman
Email: raman@xxxxxxxxxxx
WWW: http://www.cs.cornell.edu/home/raman/
PGP: http://www.cs.cornell.edu/home/raman/raman.asc
-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help"
Emacspeak Files |
Subscribe |
Unsubscribe | Search