Next: Forms, Previous: Images, Up: Rendered pages [Contents][Index]
Sections in a page are positions where an HTML tag has an id attribute or a name anchor has been set. These names can be added as targets to the end of URLs to lead you to that part of the page directly. Web within Emacs shows you where sections are by inserting the "#" symbol as a marker.
Press ‘a’ (‘wwe-goto-section’) and type the name of the section to go
to (you can use ‘TAB’ to complete the available sections). The point
in buffer is recentered to 0, as set in ‘wwe-recenter-sections’ (set
this to change to a different line number or to nil
to disable
recentering). A buffer mark is set when you go to a section, so you
can type ‘C-u C-SPC’ to return to the location where point was before
moving. The current URL is changed to include this section, so if you
reload, point will be in the same place.
Use ‘M-n’ (‘wwe-next-section’) and ‘M-p’ (‘wwe-previous-section’) to go to the next or previous section, respectively (these functions don’t set a mark or change the URL). The name(s) of the section(s) are shown as a help-echo.
There can be one or more sections set to a marker. To find out the sections at point use ‘o l’ (‘wwe-show-link-url’). Press ‘w l’ (‘wwe-kill-link-url’) to kill the page’s full current URL including section at point. If there’s more than one section, you can choose which one.
If you’d rather leave all the section markers separate on
the page, set ‘wwe-render-minimize-sections’ to nil
.
Next: Forms, Previous: Images, Up: Rendered pages [Contents][Index]