From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Forgerit Newsgroups: gmane.emacs.help Subject: Re: How to type {, [ Date: Thu, 9 Jun 2011 23:54:11 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307662724 32739 80.91.229.12 (9 Jun 2011 23:38:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2011 23:38:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Yuan Cheng Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 10 01:38:41 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QUooD-0003eX-2u for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Jun 2011 01:38:41 +0200 Original-Received: from localhost ([::1]:53108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUooC-0004ki-Ei for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Jun 2011 19:38:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUnB9-0006rW-1Q for help-gnu-emacs@gnu.org; Thu, 09 Jun 2011 17:54:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUnB7-0001nG-8T for help-gnu-emacs@gnu.org; Thu, 09 Jun 2011 17:54:14 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:50681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUnB6-0001n1-W2 for help-gnu-emacs@gnu.org; Thu, 09 Jun 2011 17:54:13 -0400 Original-Received: by qwa26 with SMTP id 26so1310502qwa.0 for ; Thu, 09 Jun 2011 14:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YO5uM55RuB7oBEDMCm98a2kPXbsLY2TAlm5hsqsd4Pw=; b=Jfkf0llR0TD/ylB8zzOmWexM15PbLy7VsOfJJFsJZIY+G/33eQPWU8tFN3Sp3Qkwo6 81hXtL5+r5Ympme/c32XbEE5J8AENqYz0XRnokr1wXCyS9fKI5/eO702aU1k3TOm77uU iyTFmkgkSnpHGvVSGNdSLcidBSLcY9QH8/9WU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rW9PqFRUOliXME4WFLX4o9QzO/+D6fgC1yU5QTfZhRIZZ3gopU+gkbiGnewZaLM6+z sVcR+NapfyCgpfyJWu63/7lurLiUcoTAwXrTEEZXRhWnVJ2OUESstQPL7+sNXxYTX9QG 5jmmJStFtUycpF8I+lwtOrOBzuqqJpmCTGXPc= Original-Received: by 10.229.24.133 with SMTP id v5mr995443qcb.92.1307656451592; Thu, 09 Jun 2011 14:54:11 -0700 (PDT) Original-Received: by 10.229.240.17 with HTTP; Thu, 9 Jun 2011 14:54:11 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.41 X-Mailman-Approved-At: Thu, 09 Jun 2011 19:37:04 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81320 Archived-At: 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 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 ema= cs. > > Best regards, > > Yuan Cheng > --=20 Ciao =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= Nico