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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:30:06+00:00 2026-06-12T11:30:06+00:00

Say I am in org-mode in a document with the following structure: * First

  • 0

Say I am in org-mode in a document with the following structure:

* First headline 
* Second headline
** Section A
   Here is one line
   Here is another line
   blah, blah
** Section B

Say the cursor is on the line that reads Here is another line. I would like to collapse ** Section A from this location with a keyboard shortcut.

  • If I press <TAB> it does not collapse ** Section A, as I would need the cursor to be on the stars for this to work.
  • If I press <Shift-TAB> it collapses all outlines, and not the current one.

Is there any way to cycle through the collapsing of the outline in scope (i.e. the “current outline”)?

  • 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-06-12T11:30:07+00:00Added an answer on June 12, 2026 at 11:30 am

    You can customize the behaviour of the org-cycle command (which is bound to <TAB>) by changing the value of org-cycle-emulate-tab.

    To get it to collapse ** Section A when your cursor is on Here is another line add the following line to your .emacs file:

    (setq org-cycle-emulate-tab 'white)
    

    The white will allow you to still use <TAB> to indent in empty lines. From org-mode Github:

    org-cycle-emulate-tab's value is t
    
    Documentation:
    Where should `org-cycle' emulate TAB.
    nil         Never
    white       Only in completely white lines
    whitestart  Only at the beginning of lines, before the first non-white char
    t           Everywhere except in headlines
    exc-hl-bol  Everywhere except at the start of a headline
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say we have an org.w3c.dom.Document representing the following XML: <Fruits> <Apples> <Red/> <Green/>
So I have a data frame, say with following data: Count Amount Org Bank
In Org-mode I want to a region into a list. Say that I have
First I want to say I saw a site: https://cwiki.apache.org/WICKET/autocomplete-using-a-wicket-model.html Still I have some
I have, let's say, www.website.org/folder/ which inside has the following .htaccess RewriteEngine On RewriteRule
Say I want to escape characters in org-mode, e.g. _ so that org-mode renders
Lets say I have this link here: https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk/ and I would like to download
The issue Let's say that I have example.com, example.org and example.net. All of these
In a tutorial at http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html Spring guys didn't say which Eclipse project they choose
Custom data attributes: http://dev.w3.org/html5/spec/Overview.html#embedding-custom-non-visible-data When I say work, I mean, if I’ve got HTML

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.