unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to type {, [
@ 2011-06-09 12:22 Yuan Cheng
  2011-06-09 21:54 ` Nicolas Forgerit
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yuan Cheng @ 2011-06-09 12:22 UTC (permalink / raw)
  To: help-gnu-emacs

Dear Sir or Madam,

my name is Yuan Cheng and I'm from Germany. Today I started to use emacs, but I've encountered a big problem. 
I don't know how I can type { } or [ ]. I am using a german keyboard and to type them I have to use "alt" (on my Mac) which has another usage in emacs.

Best regards, 

Yuan Cheng


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to type {, [
  2011-06-09 12:22 How to type {, [ Yuan Cheng
@ 2011-06-09 21:54 ` Nicolas Forgerit
  2011-06-09 22:02 ` Stefan Vollmar
  2011-06-10  7:09 ` Peter Dyballa
  2 siblings, 0 replies; 5+ messages in thread
From: Nicolas Forgerit @ 2011-06-09 21:54 UTC (permalink / raw)
  To: Yuan Cheng; +Cc: help-gnu-emacs

Hello Mr. Cheng,

good choice! Load your .emacs file (which you can usually find at [1])
with "C-x C-f", paste the code [0] into it, save with "C-x C-s". Then
either restart Emacs or type "M-x eval-buffer" and hit Enter. This
command remaps "Meta" to the "Apple Cmd-Button" and let's you use
"Alt" for the brackets. I think this is the most useful way to go on a
Mac.

Have fun & best regards from Karlsruhe! :-)
Ciao
  Nico

[0] Emacs Lisp Code:
;; (begin) ENABLE MAC KBD BINDINGS
(setq mac-option-modifier nil
      mac-command-modifier 'meta
      x-select-enable-clipboard t)
;; (end of code-snippet)

[1] Filepath on our Harddisk-Drive
~/.emacs


On Thu, Jun 9, 2011 at 2:22 PM, Yuan Cheng <gmzgmy@gmail.com> wrote:
> Dear Sir or Madam,
>
> my name is Yuan Cheng and I'm from Germany. Today I started to use emacs, but I've encountered a big problem.
> I don't know how I can type { } or [ ]. I am using a german keyboard and to type them I have to use "alt" (on my Mac) which has another usage in emacs.
>
> Best regards,
>
> Yuan Cheng
>



-- 
Ciao
                                     Nico



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to type {, [
  2011-06-09 12:22 How to type {, [ Yuan Cheng
  2011-06-09 21:54 ` Nicolas Forgerit
@ 2011-06-09 22:02 ` Stefan Vollmar
  2011-06-10  7:09 ` Peter Dyballa
  2 siblings, 0 replies; 5+ messages in thread
From: Stefan Vollmar @ 2011-06-09 22:02 UTC (permalink / raw)
  To: Yuan Cheng; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

Dear Mr Cheng,

I would recommend Aquamacs, http://aquamacs.org, which is based on GNU Emacs and has been adapted for the Mac. In particular, a lot of effort went into the support of non-American keyboards: I am also working on a German Mac keyboard and it took just one mouse-click to configure it - the alt-key now works as meta while keeping the ability to create {} and [] in the usual Mac way.

Hope this helps.
Warm regards,
 Stefan

On 09.06.2011, at 14:22, Yuan Cheng wrote:

> Dear Sir or Madam,
> 
> my name is Yuan Cheng and I'm from Germany. Today I started to use emacs, but I've encountered a big problem. 
> I don't know how I can type { } or [ ]. I am using a german keyboard and to type them I have to use "alt" (on my Mac) which has another usage in emacs.
> 
> Best regards, 
> 
> Yuan Cheng

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de







[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to type {, [
  2011-06-09 12:22 How to type {, [ Yuan Cheng
  2011-06-09 21:54 ` Nicolas Forgerit
  2011-06-09 22:02 ` Stefan Vollmar
@ 2011-06-10  7:09 ` Peter Dyballa
  2011-06-11  6:34   ` Deniz Dogan
  2 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2011-06-10  7:09 UTC (permalink / raw)
  To: Yuan Cheng; +Cc: help-gnu-emacs


Am 09.06.2011 um 14:22 schrieb Yuan Cheng:

> I don't know how I can type { } or [ ]. I am using a german keyboard  
> and to type them I have to use "alt" (on my Mac) which has another  
> usage in emacs.


Why don't you try to press all keys of your keyboard, adding on each  
new run one more modifier (shift, alt, alt-shift, ...)? Or read the  
documentation.

--
Greetings

   Pete

Increase the size of your bike by at least *five* inches!




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How to type {, [
  2011-06-10  7:09 ` Peter Dyballa
@ 2011-06-11  6:34   ` Deniz Dogan
  0 siblings, 0 replies; 5+ messages in thread
From: Deniz Dogan @ 2011-06-11  6:34 UTC (permalink / raw)
  To: help-gnu-emacs

On 2011-06-10 09:09, Peter Dyballa wrote:
>
> Am 09.06.2011 um 14:22 schrieb Yuan Cheng:
>
>> I don't know how I can type { } or [ ]. I am using a german keyboard
>> and to type them I have to use "alt" (on my Mac) which has another
>> usage in emacs.
>
>
> Why don't you try to press all keys of your keyboard, adding on each new
> run one more modifier (shift, alt, alt-shift, ...)? Or read the
> documentation.
>

So helpful.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-11  6:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 12:22 How to type {, [ Yuan Cheng
2011-06-09 21:54 ` Nicolas Forgerit
2011-06-09 22:02 ` Stefan Vollmar
2011-06-10  7:09 ` Peter Dyballa
2011-06-11  6:34   ` Deniz Dogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).