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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:03:38+00:00 2026-05-24T16:03:38+00:00

I have an odd problem in Aquamacs– when I am editing in nXML mode

  • 0

I have an odd problem in Aquamacs– when I am editing in nXML mode the key sequence C-return calls a completely different function than it should under nXML mode. It calls something called cua-set-rectangle-mark, instead of nxml-complete. I have no idea what the CUA mode is, but I tried to just properly remap it with something like this:

(add-hook 'nxml-mode-hook
          '(lambda ()
             (define-key nxml-mode-map (kbd "C-RET") 'nxml-complete)))

It seems, however, that this CUA mapping overrides even nxml-mode-map within the mode, because this had no effect at all. Am I missing something? Is this a peculiarity of Aquamacs vs. vanilla emacs? My emacs configurations on other machines all work fine with nXML mode, this is only an issue in Aquamacs.

  • 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-24T16:03:38+00:00Added an answer on May 24, 2026 at 4:03 pm

    Aquamacs enables “cua-mode” by default (which is what is setting the “cua-set-rectangle-mark” keybinding). Put the following code in your Emacs init file to globally disable this:

    (cua-mode 0)
    

    Alternatively, if you want to keep cua-mode and cua-mode’s rectangle functionality but not the keybinding, you can change the keybinding by customizing the global variable “cua-rectangle-mark-key” (which is set by default to “control return”).

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

Sidebar

Related Questions

I have an odd problem with the following: function loadTextbox(jsonUrl,divId){ $.getJSON(jsonUrl, function(json) { $('#'
I have an odd problem...I'm using a documentation generator which generates a lot of
I have an odd problem in VS2008 running unit tests. When I run the
I have the odd problem that I am not able to open the properties
I have an odd problem with Django. I have a set of objects that
I have an odd problem where Hibernate is running more queries than I've asked
I recently encountered an odd problem with RSACryptoServiceProvider.VerifyHash . I have a web application
I am having a really odd problem with Flash CS4. I have a MovieClip
I have an odd problem that is crashing my app, that I would like
I have an odd problem. I have a unit test that keeps getting stuck

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.