Subject: Re: bug#11103: 24.0.94; (error "Can't activate input method `dev-aiba'")

From: Jambunathan K <[email-masked]>
Date: Sat, 31 Mar 2012 14:16:32 +0530

I applied this patch. 

I continue to get the orignal crash. 

Quick look suggests that language-info-alist (right after emacs -Q and
no intervening commands) continues to refer to "dev-aiba".

As a result when I do, C-x C-m l Devanagari, the `default-input-method'
picked up is "dev-aiba".

This results in a crash when I do C-\

Log:
====

(pp-eval-expression (quote language-info-alist))

=>
--8<---------------cut here---------------start------------->8---
 ("Devanagari"
  (documentation . "Such languages using Devanagari script as Hindi and Marathi\nare supported in this language environment.")
  (input-method . "dev-aiba")
  (coding-priority utf-8)
  (coding-system utf-8)
  (charset unicode))
--8<---------------cut here---------------end--------------->8---

(set-language-environment "Devanagari")
(eval-expression (quote default-input-method) nil)

=> "dev-aiba"

> Please try this:
>
> *** lisp/language/indian.el	2012-01-19 07:21:25 +0000
> --- lisp/language/indian.el	2012-03-27 20:35:25 +0000
> ***************
> *** 46,52 ****
>    "Devanagari" '((charset unicode)
>   		(coding-system utf-8)
>   		(coding-priority utf-8)
> ! 		(input-method . "dev-aiba")
>   		(documentation . "\
>   Such languages using Devanagari script as Hindi and Marathi
>   are supported in this language environment."))
> --- 46,52 ----
>    "Devanagari" '((charset unicode)
>   		(coding-system utf-8)
>   		(coding-priority utf-8)
> ! 		(input-method . "devanagari-aiba")
>   		(documentation . "\
>   Such languages using Devanagari script as Hindi and Marathi
>   are supported in this language environment."))