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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:36:04+00:00 2026-05-30T07:36:04+00:00

In org-mode when the point is inside an ex or src block, I can

  • 0

In org-mode when the point is inside an ex or src block, I can ppress C-c ' to edit the section in another window in the respective major-mode with correct indenting and highlighting. I would like to reuse this functionality to make editing HTML easier.

Before anyone brings up MMM-mode, mumamo, etc. They don’t work for me. If anyone knows how to get indentation and font-locking working right in a multi-mode setup, I’ll gladly look into that as well.

Requirements (most of this is exactly what org-edit-special does:

  1. when in <script> and <style> block, open block in indirect buffer in the proper respective major-mode.
  2. an overlay is added to the original HTML buffer to show that this section is being edited.
  3. assume the original indentation of the first line is correct, and pad the whole block with that many spaces when editing is finished.

Does anyone know of a similar usage of org-mode? It seems imminently feasible.

  • 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-30T07:36:06+00:00Added an answer on May 30, 2026 at 7:36 am

    I cannot say how well this would work for you (it was only just posted to the mailing-list today) but this thread on the mailing list may provide you with the solution.

    It is supposed to do exactly what you describe, lacking only the regexps to properly define the code blocks perhaps (to extend it to fit the filetype you’re working with)

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

Sidebar

Related Questions

I can't get 'remember' to work in org-mode of emacs. I'm on snow leopard.
In Org-mode I can get headlines wrap with proper indentation by using org-indent-mode .
When I use emacs's org-mode to edit a C program, that is when I
I can't get org-mode to fontify code blocks the way it should...I'm using Gnu
I really love org-mode in emacs and want to customize a few things. While
http://en.wikipedia.org/wiki/Diamond_problem I know what it means, but what steps can I take to avoid
In Org-mode it is possible to have links and top open links. As listed
I've got [16] in an org-mode file that is the text you would see
I am running OSX Lion and have installed python2.7 from python.org (this distribution can
I'm just getting started with org-mode, and really like it so far. I work

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.