unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Hansen <david.hansen@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: w3m navigation
Date: Fri, 02 May 2008 22:18:42 +0200	[thread overview]
Message-ID: <87iqxwo3x9.fsf@localhorst.mine.nu> (raw)
In-Reply-To: a2b3004b0805020312y525fb238o9a0abfc0c80e6bb3@mail.gmail.com

On Fri, 2 May 2008 12:12:13 +0200 Lorenzo Isella wrote:

> However, every time I try to visit a new web page,  I have to modify
> the url of the current page, whereas I would like to be able to type
> in directly the url I would like to visit. I am sure that for someone
> experienced this has to be a one-liner in the .emacs file, or maybe
> there is something I am misunderstanding.

Is hitting C-k to much work?

(defun dh-w3m-goto-url ()
  (interactive)
  (let ((w3m-current-url ""))
    (call-interactively #'w3m-goto-url)))

(define-key w3m-mode-map (kbd "g") #'dh-w3m-goto-url)

seems to do it.

David





  reply	other threads:[~2008-05-02 20:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02 10:12 w3m navigation Lorenzo Isella
2008-05-02 20:18 ` David Hansen [this message]
     [not found] <mailman.11074.1209723141.18990.help-gnu-emacs@gnu.org>
2008-05-03  0:15 ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iqxwo3x9.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).