all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: help-gnu-emacs@gnu.org
Subject: alphabets resp. locales
Date: Wed, 11 Aug 2010 09:51:36 +0200	[thread overview]
Message-ID: <4C625688.6080600@online.de> (raw)


Hi,

is there a way to get the chars of alphabets with resp. to locales?

A general way to get all chars of the french alphabet for example?

Below some work-around for the german alphabet.

Comments welcome

Andreas

--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/

;;;;;;;;;;

(defun german-alphabet ()
   "Returns chars of german alphabet. "
   (interactive)
   (let (gebundene-staebe)
     (loop for i upfrom 97 to 122 do
           (setq gebundene-staebe (concat gebundene-staebe (format "%c" 
i))))
     (loop for i upfrom 65 to 90 do
           (setq gebundene-staebe (concat gebundene-staebe (format "%c" 
i))))
     (setq gebundene-staebe (concat gebundene-staebe "äöüÄÖÜß"))
     (when (interactive-p) (message "%s" gebundene-staebe))
     gebundene-staebe))




             reply	other threads:[~2010-08-11  7:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-11  7:51 Andreas Röhler [this message]
2010-08-11 11:31 ` alphabets resp. locales Peter Dyballa
2010-08-11 11:56   ` Andreas Röhler
2010-08-11 13:05     ` Peter Dyballa
2010-08-11 13:48       ` Andreas Röhler
2010-08-11 14:52         ` Peter Dyballa
2010-08-13  3:04 ` Kevin Rodgers
2010-08-13  6:22   ` Andreas Röhler
     [not found] <mailman.1.1281513191.2982.help-gnu-emacs@gnu.org>
2010-08-11 15:45 ` Stefan Monnier

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=4C625688.6080600@online.de \
    --to=andreas.roehler@online.de \
    --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.