all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <help-gnu-emacs@gnu.org>, "'Tom Roche'" <Tom_Roche@pobox.com>
Subject: RE: how to input Eszett ('ß')?
Date: Wed, 30 Nov 2011 10:08:37 -0800	[thread overview]
Message-ID: <6B42EE52A3A540869D6B0208FD123980@us.oracle.com> (raw)
In-Reply-To: <8762i1y14i.fsf@pobox.com>

 > I'm currently running GNU Emacs 24.0.91.1 with a US English locale,
> and use `C-x 8` (`M-x ucs-insert`) fairly often, mostly successfully.
> But for 'ß', 
> 
> I tried                                      and got
> -------------------------------------------  -------------------
> C-x 8 ss                                     's'
> C-x 8 RET tsett                              error
> C-x 8 RET eszett                             error
> C-x 8 RET TAB, then searching *Completions*  found nothing 
> 
> finally, following a wikipedia lookup (from which I could have
> just copied the damn thing :-)
> 
> C-x 8 00DF                                   success, but I'll
>                                              never remember that
> How easiest to get this character on a non-German keyboard?

I'm no expert on Unicode or German, to put it mildly. ;-)

The official name you are looking for is `LATIN SMALL LETTER SHARP S'.  (Don't
ask me why.)  So if you can remember that one (!) then you can do `C-x 8 RET
latin small letter sharp s'.  Completion is available, thankfully.

But you might also have a look at this library:
http://www.emacswiki.org/emacs/download/ucs-cmds.el

It gives you an easy way to create commands to insert specific characters such
as this.  And you can of course rename the commands.  By default, the name of
the command to insert this char would be `latin-small-letter-sharp-s'.

The library provides a macro, to which you pass a regexp string that matches the
char names that you want to create commands for.  If you wanted just one
command, for this char, then you could do this:

(ucs-make-commands "latin small letter sharp s")

Then you can rename the command, if you like.

If you wanted a command for each latin character, you could do this:

(ucs-make-commands "latin")

And so on.




  parent reply	other threads:[~2011-11-30 18:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-30 17:24 how to input Eszett ('ß')? Tom Roche
2011-11-30 17:53 ` Memnon Anon
2011-11-30 17:54 ` Eli Zaretskii
2011-11-30 18:08 ` Drew Adams [this message]
2011-12-01  0:06   ` Peter Dyballa
     [not found] <mailman.1680.1322673740.798.help-gnu-emacs@gnu.org>
2011-12-01  1:04 ` Michael Heerdegen
2011-12-01 16:24   ` ken
2011-12-01 17:28     ` Eli Zaretskii
     [not found]   ` <mailman.1772.1322756677.798.help-gnu-emacs@gnu.org>
2011-12-01 19:29     ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6B42EE52A3A540869D6B0208FD123980@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=Tom_Roche@pobox.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.