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

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

Re: Umlauted characters with term


From: Ville Hakulinen
Subject: Re: Umlauted characters with term
Date: 24 Mar 2002 14:49:36 GMT
User-agent: slrn/0.9.7.1 (Linux)

In article <200203221225.g2MCPku01629@aztec.santafe.edu>,
Richard Stallman wrote:
>     M-x term <ret>
> 
>     and after that typing say a umlaut or o umlaut
> 
> Precisely how do you enter them?  What keys do you type?
> Are you using an Emacs input method?  If so, which?

I'm entering them directly from my keyboard. The Finnish layout
is more or less what is shown in the following image:

http://www.hermessoft.com/newproject/keyboards/kbd/finnish1.gif

and the umlauted characters are just right from l. I have the trouble
in char mode and switching to line mode with C-c C-j helps. I have
no other problems with these umlauted characters; I can type them
in nicely from the keyboard both when running Emacs under a terminal
or as an X application. If in char mode I type in C-c M-x
eval-expression <ret> (term-send-raw-string "รค") then the umlauted
a (which the letter between double quotes is supposed to be) gets
sent to the running process and shows up in terminal. Here's a copy
of my .emacs:

(defvar running-xemacs nil)

(setq viper-mode t)
(require 'viper)
(require 'tex-site)
(add-hook 'LaTeX-mode-hook 'turn-on-font-lock)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex)

(if running-xemacs
(let ((i (current-input-mode)))
  (case (caddr i)
    ((t nil) (set-input-mode (car i) (cadr i) '8-bit-clean-dammit))))

  (progn
    (set-language-environment "latin-1")
    (set-input-mode (car (current-input-mode))
                    (nth 1 (current-input-mode))
                    0)
    (set-terminal-coding-system 'latin-1)
  )
)

-- 
Ville 



reply via email to

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