help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: # in carbon emacs on OSX?


From: Andrea Crotti
Subject: Re: # in carbon emacs on OSX?
Date: Tue, 01 Feb 2011 09:10:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

Matthew Vernon <matthew@debian.org> writes:

> Hi,
>
> I've installed the latest emacs release (23.2.1) on OSX. It generally
> works a treat, but there's a problem with #s. In every other OSX app,
> I can get # by hitting alt-3. But emacs is mapping that as M-3
> instead. Similarly, cmd-3 comes through as S-3 (super-3). Is there a
> standard work-around for this? Failing that, can I trivially re-map
> M-3 to (insert-char ?# 1) or somesuch?
>
> Thanks,
>
> Matthew

I use these settings for for cocoa emacs

--8<---------------cut here---------------start------------->8---
  (if mac
      (progn
        (add-to-list 'exec-path "/opt/local/bin")
        (setq ns-alternate-modifier (quote none))
        ;; open a new frame only unless it's the scratch buffer
        (setq ns-pop-up-frames 1)
        (setq ns-command-modifier (quote meta))))
--8<---------------cut here---------------end--------------->8---
hope it's useful for you too




reply via email to

[Prev in Thread] Current Thread [Next in Thread]