Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3282006
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:52:46+00:00 2026-05-17T19:52:46+00:00

I am trying to find a quick elisp fix that makes w3m under Emacs

  • 0

I am trying to find a quick elisp fix that makes w3m under Emacs swap default behaviour of UP/DOWN arrows (moving between hyperlinks in loaded page), with C-n/C-p (moving to next and previous line in the page). These key-bindings must only apply when focus is in a w3m buffer.

Intuitively this configuration would work better for me since I am currently tuned into cua-mode behaviour, particularly in those situations when performing a quick shift-select copy/paste operation.

Moving between hyperlinks with C-n/C-p will become a very explicit action, whereas the default mapping to UP/DOWN comes as an unhelpful surprise; at least to me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:52:46+00:00Added an answer on May 17, 2026 at 7:52 pm

    It turned out to be easy of course to remap bindings local to a mode and invoke them via a hook…

    (add-hook 'w3m-mode-hook
          (lambda ()
            (local-set-key "\C-n" 'w3m-next-anchor)
            (local-set-key "\C-p" 'w3m-previous-anchor)
            (local-set-key '[up] 'previous-line)
            (local-set-key '[down] 'next-line)))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to find an example that has css rollover using sprites & sliding door
While trying to find an answer to Android Jasper Reporting I found out that
I was trying to find a quick and easy method to check if the
I have a simple question that I am having trouble trying to find an
Quick question that I can't seem to find an answer for. If I am
I am trying to create a quick fix for a problem I am having.
I'm trying to find a quick way to get an ID from a url
I'm trying to find a simple easy quick way to decode and encode a
I'm trying to find a quick and easy way to validate some inputs with
I googled trying to find the answer, but failed. It's actually a quick question,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.