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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:12:30+00:00 2026-05-16T03:12:30+00:00

In Emacs, C-u C-SPC will jump to the mark, and set the mark from

  • 0

In Emacs, C-u C-SPC will “jump to the mark, and set the mark from
position popped off the local mark ring”. Is there a way to go the opposite way around the mark ring? Say you have typed C-u C-SPC several times and want to go back to a mark you have seen without going all the way around the ring.

  • 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-16T03:12:31+00:00Added an answer on May 16, 2026 at 3:12 am

    It doesn’t do exactly what you’re asking for, but it might be worth looking for a package called marker-visit.el which lets you navigate the marks in the current buffer in ‘buffer position order’. From that file:

    ;;; Commentary:
    
    ;; This file provides a simple way to navigate among marks in a
    ;; buffer.  C-u C-SPC is similar, but takes you haphazardly around the
    ;; buffer.  Setting bookmarks is a lot of extra work if you just want
    ;; to jump around your buffer quickly; plus, you have to come up with
    ;; a name for every bookmark.
    
    ;; All the marks you've left while editing a buffer serve as bread
    ;; crumb trails of areas in the buffer you've edited.  It is
    ;; convenient to navigate back and forth among these marks in order.
    ;; This file provides two methods to do just that, marker-visit-prev
    ;; and marker-visit-next.  These two functions will take you, from
    ;; point, to the nearest mark in either direction.  The function
    ;; marker-visit-truncate-mark-ring will truncate the mark ring.
    
    ;; The marks you can visit in a buffer consist of: "the mark" plus the
    ;; contents of the mark-ring.
    

    I bind [S-up] and [S-down] to marker-visit-prev and marker-visit-next respectively.

    If you really want/need to navigate in the order your mark-ring has currently, then you might get somewhere by looking at the functions pop-to-mark-command and pop-mark and implementing your own versions to rotate the mark ring in the opposite direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In emacs, is there a way to get hideshow-mode to recognize multiple regular expressions
How can I remove a (globally set) key binding? My emacs binds set-mark-command to
In emacs, when you do a search, there will be one highlight color for
In emacs (23.3.1, GNU) i have set a theme (doesn't matter which i use
Some Emacs package I use has turned off the find-file confirmation for choosing a
In emacs, while in Dired mode, I can use the ~ command to mark
In Emacs Lisp, if you have a buffer position stored in a variable, how
With emacs (non windows), I see '$' mark at the end of the line
In emacs off late I have had to write some lines of code which
In emacs, there is a feature where if I select text with a mouse,

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.