{"id":438,"date":"2012-09-27T12:27:00","date_gmt":"2012-09-27T10:27:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2012\/09\/27\/how-to-reach-the-usual-alt-keyboard-bindings-with-an-emacs-from-emacsformacosx\/"},"modified":"2012-09-27T12:27:00","modified_gmt":"2012-09-27T10:27:00","slug":"how-to-reach-the-usual-alt-keyboard-bindings-with-an-emacs-from-emacsformacosx","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2012\/09\/27\/how-to-reach-the-usual-alt-keyboard-bindings-with-an-emacs-from-emacsformacosx\/","title":{"rendered":"how to reach the usual &#8220;alt-&#8230;&#8221; keyboard bindings with an emacs from emacsformacosx"},"content":{"rendered":"<ul>\n<li><a title=\"http:\/\/emacsformacosx.com\" href=\"http:\/\/emacsformacosx.com\">http:\/\/emacsformacosx.com<\/a>\u00a0= \u00a0&#8220;GNU Emacs For Mac OS X&#8221;\u00a0\u2013 this is the emacs, I am referring to here.<\/li>\n<\/ul>\n<p>OS X and emacs use the &#8220;<em>alt<\/em>&#8221; key differently, so how do I achieve on OS X within emacs what I usually achieve with &#8220;<em>alt<\/em>&#8220;, like entering &#8220;[&#8221; through <em>alt-5?<\/em><\/p>\n<p>I sacrificed the <span style=\"text-decoration: underline\">right<\/span> &#8220;<em>alt<\/em>&#8221; key to work the Mac OS X way (by setting\u00a0<em>ns-right-alternate-modifier<\/em>\u00a0to\u00a0<span style=\"text-decoration: underline\"><em>none<\/em><\/span>), and the <span style=\"text-decoration: underline\">left<\/span> &#8220;<em>alt<\/em>&#8221; key to work the emacs way.<\/p>\n<p>Enter this within your emacs (from emacsformacosx.com) on OS X:<\/p>\n<p>M-x customize-group ns<\/p>\n<p>&#8220;ns&#8221; is the customization group for &#8220;GNUstep\/Mac OS X specific features&#8221;.<\/p>\n<p><a href=\"http:\/\/stackoverflow.com\/users\/471614\/bdecaf\">bdecaf<\/a>\u00a0suggested that in a thread on stackoverflow.com:<\/p>\n<ul>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/10978598\/osx-option-alt-as-meta-is-there-a-way-to-port-or-use-emulate-mac-keyboard-mode\">http:\/\/stackoverflow.com\/questions\/10978598\/osx-option-alt-as-meta-is-there-a-way-to-port-or-use-emulate-mac-keyboard-mode<\/a><\/li>\n<\/ul>\n<div><\/div>\n<p>Now I can enter &#8220;[&#8221; on my Austrian\/German Mac keyboard through (right) alt-5.<\/p>\n<p>I had waited far to long, before thoroughly investigating this.<\/p>\n<p>Update 2013-01-07:<\/p>\n<p>This article attracted far too much SPAM, so I had to disable commenting.\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/emacsformacosx.com\u00a0= \u00a0&#8220;GNU Emacs For Mac OS X&#8221;\u00a0\u2013 this is the emacs, I am referring to here. OS X and emacs use the &#8220;alt&#8221; key differently, so how do I achieve on OS X within emacs what I usually achieve with &#8220;alt&#8220;, like entering &#8220;[&#8221; through alt-5? I sacrificed the right &#8220;alt&#8221; key to work the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[666],"tags":[],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-74","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=438"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/438\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}