unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Umlauts on Mac in 24 pretest
@ 2012-05-23 15:59 Neuwirth Erich
  2012-05-23 16:08 ` Marius Hofert
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Neuwirth Erich @ 2012-05-23 15:59 UTC (permalink / raw)
  To: help-gnu-emacs

I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
Some of my documents are in German, so I need to enter umlauts and sharp s.
I have not your found an easy solution without giving up to many other keyboard macros.
I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
And I still would like to use Alt as the meta key.

Is there a good solution complying with my wish list?




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

* Re: Umlauts on Mac in 24 pretest
  2012-05-23 15:59 Umlauts on Mac in 24 pretest Neuwirth Erich
@ 2012-05-23 16:08 ` Marius Hofert
  2012-05-23 16:11   ` Neuwirth Erich
  2012-05-23 16:32 ` Doug Lewan
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 12+ messages in thread
From: Marius Hofert @ 2012-05-23 16:08 UTC (permalink / raw)
  To: help-gnu-emacs

On 05/23/2012 05:59 PM, Neuwirth Erich wrote:
> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
> Some of my documents are in German, so I need to enter umlauts and sharp s.
> I have not your found an easy solution without giving up to many other keyboard macros.
> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
> And I still would like to use Alt as the meta key.
>
> Is there a good solution complying with my wish list?
>
>

C-x 8 "a




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

* Re: Umlauts on Mac in 24 pretest
  2012-05-23 16:08 ` Marius Hofert
@ 2012-05-23 16:11   ` Neuwirth Erich
  2012-05-23 16:23     ` Jambunathan K
  0 siblings, 1 reply; 12+ messages in thread
From: Neuwirth Erich @ 2012-05-23 16:11 UTC (permalink / raw)
  To: Marius Hofert; +Cc: help-gnu-emacs

I know that, but it is quite a few keystrokes.
I would rally like to use
Alt-u a and Alt-u ONLY works for aouAOU following it the standard way on Mac.
So Alt-u should be converted to C-x 8 " 

And of course, Alt-s should be sharp s.


On May 23, 2012, at 6:08 PM, Marius Hofert wrote:

> On 05/23/2012 05:59 PM, Neuwirth Erich wrote:
>> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
>> Some of my documents are in German, so I need to enter umlauts and sharp s.
>> I have not your found an easy solution without giving up to many other keyboard macros.
>> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
>> And I still would like to use Alt as the meta key.
>> 
>> Is there a good solution complying with my wish list?
>> 
>> 
> 
> C-x 8 "a
> 
> 




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

* Re: Umlauts on Mac in 24 pretest
       [not found] <mailman.1582.1337789196.855.help-gnu-emacs@gnu.org>
@ 2012-05-23 16:22 ` Joost Kremers
  2012-05-23 16:43 ` Stefan Monnier
  2012-05-23 17:37 ` Xah Lee
  2 siblings, 0 replies; 12+ messages in thread
From: Joost Kremers @ 2012-05-23 16:22 UTC (permalink / raw)
  To: help-gnu-emacs

Neuwirth Erich wrote:
> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
> Some of my documents are in German, so I need to enter umlauts and sharp s.
> I have not your found an easy solution without giving up to many other keyboard macros.
> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
> And I still would like to use Alt as the meta key.
>
> Is there a good solution complying with my wish list?

use an appropriate input method. i prefer latin-9-prefix, which allows me
to type " followed by a/o/u/s to get ä/ö/ü/ß. but the relevant german
characters are covered by a couple of other input methods as well. C-h I
gives information about an input method.

if you set the variable default-input-method to your preferred input
method, you only need to type C-\ to toggle the input method on or off.

read the node "Input Methods" in the emacs manual for detailed info.

-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


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

* Re: Umlauts on Mac in 24 pretest
  2012-05-23 16:11   ` Neuwirth Erich
@ 2012-05-23 16:23     ` Jambunathan K
  0 siblings, 0 replies; 12+ messages in thread
From: Jambunathan K @ 2012-05-23 16:23 UTC (permalink / raw)
  To: Neuwirth Erich; +Cc: help-gnu-emacs


Does toggling between input methods work for you?

I am not familiar with any of the European languages (other than
English).  For example, with latin-1-alt-postfix as an input method, you
can input the character under question with a".

,----
| Input method: latin-1-postfix (mode line indicator:1<)
| 
| Latin-1 character input method with postfix modifiers
| 
|              | postfix | examples
|  ------------+---------+----------
|   acute      |    '    | a' -> á
|   grave      |    `    | a` -> à
|   circumflex |    ^    | a^ -> â
|   diaeresis  |    "    | a" -> ä
|   tilde      |    ~    | a~ -> ã
|   cedilla    |    ,    | c, -> ç
|   nordic     |    /    | d/ -> ð   t/ -> þ   a/ -> å   e/ -> æ   o/ -> ø
|   others     |    /    | s/ -> ß   ?/ -> ¿   !/ -> ¡   // -> °
|              | various | << -> «   >> -> »   o_ -> º   a_ -> ª
| 
| Doubling the postfix separates the letter and postfix: e.g. a'' -> a'
`----


> I know that, but it is quite a few keystrokes.
> I would rally like to use
> Alt-u a and Alt-u ONLY works for aouAOU following it the standard way on Mac.
> So Alt-u should be converted to C-x 8 " 
>
> And of course, Alt-s should be sharp s.
>
>
> On May 23, 2012, at 6:08 PM, Marius Hofert wrote:
>
>> On 05/23/2012 05:59 PM, Neuwirth Erich wrote:
>>> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
>>> Some of my documents are in German, so I need to enter umlauts and sharp s.
>>> I have not your found an easy solution without giving up to many
>>> other keyboard macros.
>>> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
>>> And I still would like to use Alt as the meta key.
>>> 
>>> Is there a good solution complying with my wish list?
>>> 
>>> 
>> 
>> C-x 8 "a
>> 
>> 
>
>
>

-- 



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

* RE: Umlauts on Mac in 24 pretest
  2012-05-23 15:59 Umlauts on Mac in 24 pretest Neuwirth Erich
  2012-05-23 16:08 ` Marius Hofert
@ 2012-05-23 16:32 ` Doug Lewan
  2012-05-23 16:44   ` Jambunathan K
  2012-05-23 16:43 ` Peter Dyballa
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 12+ messages in thread
From: Doug Lewan @ 2012-05-23 16:32 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

If you're running a GUI version of emacs the Options menu has an item for Mule (Multilingual Environment).
You can follow it until you find something appropriate for German.

There's also C-\ (toggle-input-method) which you could set to latin-1-prefix.
Then "a should type ä for you. "s gets ß.

You could pick any of many other input methods, but Latin 1 seems simple and pretty good for most european languages.

,Doug

> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Neuwirth Erich
> Sent: Wednesday, 2012 May 23 12:00
> To: help-gnu-emacs@gnu.org
> Subject: Umlauts on Mac in 24 pretest
> 
> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
> Some of my documents are in German, so I need to enter umlauts and
> sharp s.
> I have not your found an easy solution without giving up to many other
> keyboard macros.
> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
> And I still would like to use Alt as the meta key.
> 
> Is there a good solution complying with my wish list?
> 




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

* Re: Umlauts on Mac in 24 pretest
       [not found] <mailman.1582.1337789196.855.help-gnu-emacs@gnu.org>
  2012-05-23 16:22 ` Joost Kremers
@ 2012-05-23 16:43 ` Stefan Monnier
  2012-05-23 17:37 ` Xah Lee
  2 siblings, 0 replies; 12+ messages in thread
From: Stefan Monnier @ 2012-05-23 16:43 UTC (permalink / raw)
  To: help-gnu-emacs

> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
> Some of my documents are in German, so I need to enter umlauts and sharp s.
> I have not your found an easy solution without giving up to many other
> keyboard macros.

There are *many* ways to enter non-ASCII characters, so you'll have to
give us more details as to what you consider "easy".

Some of the ways to do that are specific to Emacs (e.g. C-u C-\
latin-1-postfix), while others depend on the keyboard layout you use,
the ways you normally enter those non-ASCII chars, and the way modifiers
are mapped in Emacs.

Personally under X11, I like to use the "compose" key (aka "Multi_key"),
so I can hit "compose ' e" to get a "é" and "compose . ." to get a "…".


        Stefan


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

* Re: Umlauts on Mac in 24 pretest
  2012-05-23 15:59 Umlauts on Mac in 24 pretest Neuwirth Erich
  2012-05-23 16:08 ` Marius Hofert
  2012-05-23 16:32 ` Doug Lewan
@ 2012-05-23 16:43 ` Peter Dyballa
  2012-05-23 19:43 ` ken
  2012-05-25 19:05 ` Stefan Vollmar
  4 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2012-05-23 16:43 UTC (permalink / raw)
  To: Neuwirth Erich; +Cc: help-gnu-emacs


Am 23.05.2012 um 17:59 schrieb Neuwirth Erich:

> Is there a good solution complying with my wish list?

Use your own keyboard layout! Make another key the alt-key!

--
Mit friedvollen Grüßen

  Pete

Bigamy is having one wife too many. Monogamy is the same.
				– Oscar Wilde




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

* Re: Umlauts on Mac in 24 pretest
  2012-05-23 16:32 ` Doug Lewan
@ 2012-05-23 16:44   ` Jambunathan K
  0 siblings, 0 replies; 12+ messages in thread
From: Jambunathan K @ 2012-05-23 16:44 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org


OP can also do a 

M-x set-language-environment RET German RET 

In my machine, when I toggle input method with C-\ and do a M-x
describe-input-method RET, I see this:

,----
| Input method: german-postfix (mode line indicator:DE<)
| 
| German (Deutsch) input method
| 
| ae  -> ä
| aee -> ae
| oe  -> ö
| oee -> oe
| ue  -> ü (not after a/e/q)
| uee -> ue
| sz  -> ß
| szz -> sz
`----

Doug Lewan <dougl@shubertticketing.com> writes:

> If you're running a GUI version of emacs the Options menu has an item
> for Mule (Multilingual Environment).
> You can follow it until you find something appropriate for German.
>
> There's also C-\ (toggle-input-method) which you could set to latin-1-prefix.
> Then "a should type ä for you. "s gets ß.
>
> You could pick any of many other input methods, but Latin 1 seems
> simple and pretty good for most european languages.
>
> ,Doug
>
>> -----Original Message-----
>> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
>> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
>> Behalf Of Neuwirth Erich
>> Sent: Wednesday, 2012 May 23 12:00
>> To: help-gnu-emacs@gnu.org
>> Subject: Umlauts on Mac in 24 pretest
>> 
>> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
>> Some of my documents are in German, so I need to enter umlauts and
>> sharp s.
>> I have not your found an easy solution without giving up to many other
>> keyboard macros.
>> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
>> And I still would like to use Alt as the meta key.
>> 
>> Is there a good solution complying with my wish list?
>> 
>
>
>

-- 



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

* Re: Umlauts on Mac in 24 pretest
       [not found] <mailman.1582.1337789196.855.help-gnu-emacs@gnu.org>
  2012-05-23 16:22 ` Joost Kremers
  2012-05-23 16:43 ` Stefan Monnier
@ 2012-05-23 17:37 ` Xah Lee
  2 siblings, 0 replies; 12+ messages in thread
From: Xah Lee @ 2012-05-23 17:37 UTC (permalink / raw)
  To: help-gnu-emacs

On May 23, 8:59 am, Neuwirth Erich <erich.neuwi...@univie.ac.at>
wrote:
> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
> Some of my documents are in German, so I need to enter umlauts and sharp s.
> I have not your found an easy solution without giving up to many other keyboard macros.
> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
> And I still would like to use Alt as the meta key.
>
> Is there a good solution complying with my wish list?

there are so many solutions to your question. I type unicode a lot…
and have few hundred personal keys in emacs as well OS-wide.

Here's some solutions to your issue:

〈Using Emacs's Abbrev Mode for Abbreviation〉
http://xahlee.org/emacs/emacs_abbrev_mode.html

〈Designing a Math Symbols Input System〉
http://xahlee.org/comp/design_math_symbol_input.html

〈Emacs: How to define Super & Hyper Keys〉
http://xahlee.org/emacs/emacs_hyper_super_keys.html

 Xah


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

* Re: Umlauts on Mac in 24 pretest
  2012-05-23 15:59 Umlauts on Mac in 24 pretest Neuwirth Erich
                   ` (2 preceding siblings ...)
  2012-05-23 16:43 ` Peter Dyballa
@ 2012-05-23 19:43 ` ken
  2012-05-25 19:05 ` Stefan Vollmar
  4 siblings, 0 replies; 12+ messages in thread
From: ken @ 2012-05-23 19:43 UTC (permalink / raw)
  To: help-gnu-emacs

On 05/23/2012 11:59 AM Neuwirth Erich wrote:
> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
> Some of my documents are in German, so I need to enter umlauts and sharp s.
> I have not your found an easy solution without giving up to many other keyboard macros.
> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
> And I still would like to use Alt as the meta key.
>
> Is there a good solution complying with my wish list?

For a few years I've been wanting to do the same.  I've tried various 
ways and recently came upon SCIM.  It's an application which comes with 
Linux (at least my CentOS distribution).... so it's free and open source 
software (FOSS).  So you probably could find it for OS X.  Or maybe it's 
already installed.

It's just a tiny block in the lower-left corner of the screen and you 
can set it to any one of several dozen languages/alphabets... on the 
fly.... even in the middle of using an application.  Yes, not only does 
it work for emacs, but for every application I run-- web pages (where 
you input text), email, IM windows, on the command line, in other 
editors... everything.  The default coding on my system (set in the OS) 
is UTF-8.  In SCIM I select latin-pre.  This enables me to easily type 
characters like ä, ë, ö, ü, «, », and ß, as well as French characters 
like é and è and ç and Spanish characters such as ñ and ¿.  And other 
characters such as ½, ¾, and ¼.  And many more.  It's all very easy. 
It's great.  It's what I've been hoping for für eine sehr lange Zeit. 
No special configuration in emacs or in any other app is needed at all. 
  You just start using it.

If the characters in this email don't appear accurately in your email 
reader, select UTF-8 as your character encoding.


hth,
ken




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

* Re: Umlauts on Mac in 24 pretest
  2012-05-23 15:59 Umlauts on Mac in 24 pretest Neuwirth Erich
                   ` (3 preceding siblings ...)
  2012-05-23 19:43 ` ken
@ 2012-05-25 19:05 ` Stefan Vollmar
  4 siblings, 0 replies; 12+ messages in thread
From: Stefan Vollmar @ 2012-05-25 19:05 UTC (permalink / raw)
  To: Neuwirth Erich; +Cc: help-gnu-emacs

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

Dear Erich,

if I am not mistaken, one point has not yet been mentioned: you are working on a Mac and there are some arguments for using the same kind of keyboard shortcuts that work consistently for all Mac applications (with a German keyboard, and not only Umlaute). AFAIK, this is not trivial to implement if one wants to have a "peaceful co-existence" with certain Emacs functionality. However, David Reitter has spent a considerable amount of effort to get this just right: it works "out-of-the-box" with Aquamacs. I am currently using one of the nightly development builds (Emacs 94.0.92.3) and can only recommend it.

Warm regards, 
 Stefan

On 23.05.2012, at 17:59, Neuwirth Erich wrote:

> I am using Emacs pretest 24.0.97 on a Mac with Lion 10.7.4.
> Some of my documents are in German, so I need to enter umlauts and sharp s.
> I have not your found an easy solution without giving up to many other keyboard macros.
> I still would like to use Cmd-X_C_V for Cut-Copy-Paste.
> And I still would like to use Alt as the meta key.
> 
> Is there a good solution complying with my wish list?

-- 
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] 12+ messages in thread

end of thread, other threads:[~2012-05-25 19:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 15:59 Umlauts on Mac in 24 pretest Neuwirth Erich
2012-05-23 16:08 ` Marius Hofert
2012-05-23 16:11   ` Neuwirth Erich
2012-05-23 16:23     ` Jambunathan K
2012-05-23 16:32 ` Doug Lewan
2012-05-23 16:44   ` Jambunathan K
2012-05-23 16:43 ` Peter Dyballa
2012-05-23 19:43 ` ken
2012-05-25 19:05 ` Stefan Vollmar
     [not found] <mailman.1582.1337789196.855.help-gnu-emacs@gnu.org>
2012-05-23 16:22 ` Joost Kremers
2012-05-23 16:43 ` Stefan Monnier
2012-05-23 17:37 ` Xah Lee

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).