all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Default input method
@ 2008-09-03  0:21 Maurí­cio
  0 siblings, 0 replies; 6+ messages in thread
From: Maurí­cio @ 2008-09-03  0:21 UTC (permalink / raw
  To: help-gnu-emacs

Hi,

I usually do

M-x set-input-method ucs

at every buffer I edit. Is
it possible to set it once
for all buffers in .emacs?

Thanks,
Maurício





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

* Re: Default input method
       [not found] <mailman.18272.1220401303.18990.help-gnu-emacs@gnu.org>
@ 2008-09-03 12:08 ` Rupert Swarbrick
  2008-09-03 14:04   ` Maurí­cio
  2008-09-03 14:46 ` Dmitry Dzhus
  1 sibling, 1 reply; 6+ messages in thread
From: Rupert Swarbrick @ 2008-09-03 12:08 UTC (permalink / raw
  To: help-gnu-emacs

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

Maurí­cio <briqueabraque@yahoo.com> writes:

> Hi,
>
> I usually do
>
> M-x set-input-method ucs
>
> at every buffer I edit. Is
> it possible to set it once
> for all buffers in .emacs?
>
> Thanks,
> Maurício

How about:

(add-hook 'find-file-hook
          (lambda ()
            (set-input-method "ucs")))

Although, this only works with found files: I'm not sure whether there's
a "new buffer" hook. So, for example, this doesn't work on new mail in
gnus.

That said, C-\ will toggle the "current input method", which I often
use, since the randomly underlined "U"s that keep appearing annoy me
after a while.

Rupert

[-- Attachment #2: Type: application/pgp-signature, Size: 314 bytes --]

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

* Re: Default input method
  2008-09-03 12:08 ` Default input method Rupert Swarbrick
@ 2008-09-03 14:04   ` Maurí­cio
  0 siblings, 0 replies; 6+ messages in thread
From: Maurí­cio @ 2008-09-03 14:04 UTC (permalink / raw
  To: help-gnu-emacs

 >> Hi,
 >>
 >> I usually do
 >>
 >> M-x set-input-method ucs
 >>
 >> at every buffer I edit. Is
 >> it possible to set it once
 >> for all buffers in .emacs?
 >>
 >
 > How about: (...)
 >
 > That said, C-\ will toggle the "current input method", which I often
 > use, since the randomly underlined "U"s that keep appearing annoy me
 > after a while.
 >

Great. C-\ with

(set-input-method 'ucs)

in .emacs is everything I need.

Thanks,
Maurício





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

* Re: Default input method
       [not found] <mailman.18272.1220401303.18990.help-gnu-emacs@gnu.org>
  2008-09-03 12:08 ` Default input method Rupert Swarbrick
@ 2008-09-03 14:46 ` Dmitry Dzhus
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitry Dzhus @ 2008-09-03 14:46 UTC (permalink / raw
  To: help-gnu-emacs

Maurí­cio wrote:
> Hi,
>
> I usually do
>
> M-x set-input-method ucs
>
> at every buffer I edit. Is
> it possible to set it once
> for all buffers in .emacs?

Try to set up `default-input-method` customization variable, so that C-\
switches to `ucs` by default.

-- 
Happy Hacking.

http://sphinx.net.ru^ permalink raw reply	[flat|nested] 6+ messages in thread

* default input method
@ 2010-07-29  8:41 rustom
  2010-07-29  8:46 ` rustom
  0 siblings, 1 reply; 6+ messages in thread
From: rustom @ 2010-07-29  8:41 UTC (permalink / raw
  To: help-gnu-emacs

Ive been playing around with input methods and unicode
I put emacs into input method greek-babel and then can type greek
letters

How do I get it back to the 'normal' 'default' or whatever method?


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

* Re: default input method
  2010-07-29  8:41 default " rustom
@ 2010-07-29  8:46 ` rustom
  0 siblings, 0 replies; 6+ messages in thread
From: rustom @ 2010-07-29  8:46 UTC (permalink / raw
  To: help-gnu-emacs

On Jul 29, 1:41 pm, rustom <rustompm...@gmail.com> wrote:
> Ive been playing around with input methods and unicode
> I put emacs into input method greek-babel and then can type greek
> letters
>
> How do I get it back to the 'normal' 'default' or whatever method?

ok just found out: give another C-\


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

end of thread, other threads:[~2010-07-29  8:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.18272.1220401303.18990.help-gnu-emacs@gnu.org>
2008-09-03 12:08 ` Default input method Rupert Swarbrick
2008-09-03 14:04   ` Maurí­cio
2008-09-03 14:46 ` Dmitry Dzhus
2010-07-29  8:41 default " rustom
2010-07-29  8:46 ` rustom
  -- strict thread matches above, loose matches on Subject: below --
2008-09-03  0:21 Default " Maurí­cio

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.