help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .emacs poser


From: Emanuel Berg
Subject: Re: .emacs poser
Date: Wed, 18 Dec 2013 00:25:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> I should be possible to set the default somehow, or,
> if not so, this should be solvable with hooks, the
> Emacs poor-man's solution for everything when
> everything else fails.

I got it working like this. It will be interesting to
see if it works out.

(quail-define-package "swedish-quail" "Swedish" "Swedish quail")

(quail-define-rules
 ("0A" ?Å) ("0a" ?å)
 (":A" ?Ä) (":a" ?ä)
 (":O" ?Ö) (":o" ?ö) )
(set-input-method 'swedish-quail) ;; add this to text-mode-hook etc.

In the docstring to the `quail-define-package', there
is an optional argument described like this:

;; GUIDANCE specifies how a guidance string is shown in
;; echo area.  If it is t, list of all possible
;; translations for the current key is shown with the
;; currently selected translation being highlighted.
;; If it is an alist, the element has the form (CHAR
;; . STRING).  Each character in the current key is
;; searched in the list and the corresponding string is
;; shown.  If it is nil, the current key is shown.

However, is it not possible to entirely disable the
echo area fanfare? I think it is just disruptive.

-- 
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united:  http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]