emacs-devel
[Top][All Lists]
Advanced

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

Re: Activate an input-method from file-local variables?


From: Aidan Kehoe
Subject: Re: Activate an input-method from file-local variables?
Date: Sat, 15 Jul 2006 18:55:15 +0200

 Ar an cúigiú lá déag de mí Iúil, scríobh David Kastrup: 

 > > I do a 
 > >
 > >   (make-variable-buffer-local 'default-input-method)
 > >
 > > in my init file
 > 
 > Why?
 > 
 > > and then add
 > >
 > >   default-input-method: "TeX"
 > >
 > > to the local-variables of the relevant files.
 > 
 > Guess why they are named "local variables" ...

I guessed because they were a change to the global variable that was done
locally from the file in question--I ommited to read the three lines in the
XEmacs lispref that mention the connection to buffer-local variables, and am
having trouble finding something that mentions it explicitly in the GNU
Emacs Lisp reference manual. (And since “coding” is treated specially
anyway--no variable of that name normally exists--its buffer-local treatment
says nothing about file local variables as a whole.) Ah, here we are; three
throwaway sentences in “Local Variables in Files,” no mention whatsoever in
“Creating and Deleting Buffer-Local Bindings.”

Thank you for the pointer--it’s nice to learn something new. 

-- 
Santa Maradona, priez pour moi!




reply via email to

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