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 6072221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:08:09+00:00 2026-05-23T10:08:09+00:00

When I used emacs, I used to be able to set the mark and

  • 0

When I used emacs, I used to be able to set the mark and highlight full pages for yanking using C-v, or scroll-up. However, in Aquamacs if I set the mark then hit C-v it loses the mark and stops highlighting. I noticed that in Aquamacs C-v is instead mapped to aquamacs-page-down, so I tried adding the following command to my site file:

(define-key osx-key-mode-map "C-v" 'scroll-up)

and this didn’t successfully remap the key. I then tried something similar:

(define-key global-map "\C-v" 'scroll-up)

and still nothing. Aquamacs very stubbornly hangs onto the mapping to aquamacs-page-down. I noticed, however, that there’s an additional function, aquamacs-page-down-extend-region, which does exactly what I’m talking about. Its key sequence, however, is , and I have no idea how to input that. I tried “shift-control-v” to no avail.

Has anyone been able to get Aquamacs to scroll pages while maintaining the mark?

  • 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-23T10:08:10+00:00Added an answer on May 23, 2026 at 10:08 am

    I’ve found a way to get this to work, for posterity’s sake.

    Paste this into the .emacs file:

    ;; Enable scrolling to maintain mark if set
    (defun scroll-down-maintain-mark ()
      (interactive)
      (if mark-active
          (aquamacs-page-down-extend-region)
        (aquamacs-page-down)))
    
    (defun scroll-up-maintain-mark ()
      (interactive)
      (if mark-active
          (aquamacs-page-up-extend-region)
        (aquamacs-page-up)))
    
    (define-key global-map "\C-v" #'scroll-down-maintain-mark)
    (define-key global-map "\M-v" #'scroll-up-maintain-mark)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I used to be able to open a new buffer in Emacs quickly using
I used once a very nice emacs function that set all my windows (emacs
I'm trying to set autosave to use a directory in ./emacs.d/autosaves. I previously used
Two related questions using emacs 23.3.1 on linux: First, why can't I set the
I am using GNU Emacs 23.1.1. I used M-x org-version to confirm that I
I have used emacs for erlang programming. According to http://emacswiki.org/emacs/CompileCommand , I have configure
I have used the following as comments in my .emacs // {{{ // }}}
Emacs and Java change propagation Hi, I'm mostly used to code in IDE like
commit source code into git repository with emacs vc-mode. I used Chinese characters to
I have started using emacs org-mode recently to maintain my TODO lists. I have

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.