Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

any hope of a firefox killer lisp web broswer?

22 views
Skip to first unread message

der_gavio_fhurer

unread,
Jun 5, 2013, 5:02:38 PM6/5/13
to
anytime soon?

der_gavio_fhurer

unread,
Jun 18, 2013, 8:53:40 PM6/18/13
to
On Wednesday, June 5, 2013 2:02:38 PM UTC-7, der_gavio_fhurer wrote:
> anytime soon?

doh

Emanuel Berg

unread,
Jun 18, 2013, 10:12:27 PM6/18/13
to
I use Emacs-W3M.

W3M is a pager (like `more' or `less') which reads HTML. A
Japanese team has made an Emacs interface.

I use Lisp (or Elisp) all the time to write small extensions and
shortcuts.

The coolest thing is - as you have the whole keyboard to assign
functionality (as you don't type in the web browser), you can get
lots of one-button shortcuts for switching tabs, bookmarking, etc.

Some examples:

;;; Wikipedia
(defun wiki-search (str)
"Search Wikipedia for str. Show the \"printable\" version."
(interactive
(list (read-string
(format " Wikipedia (%s): " (thing-at-point 'word))
nil nil (thing-at-point 'word) )))
(w3m (format
"https://en.wikipedia.org/w/index.php?title=%s&printable=yes"
str) ))

;;; BOOKMARKS
(define-key w3m-mode-map (kbd "a") 'w3m-show-bookmarks)
(defun w3m-bookmark-add-url-region ()
"Add a `w3m' bookmark. If there is a marked region,
use the mark text as the default bookmark title."
(interactive)
(let ((title-suggestion
(if mark-active
(buffer-substring (region-beginning) (region-end))
w3m-current-title )))
(w3m-bookmark-add w3m-current-url title-suggestion) ))
(define-key w3m-mode-map (kbd "l") 'w3m-bookmark-add-url-region)

--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
0 new messages