[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about global-set-key
From: |
Stefan Monnier |
Subject: |
Re: about global-set-key |
Date: |
Sat, 01 Sep 2012 09:17:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> (global-set-key "_" 'souligne)
> It does not work. What is strange is that if I put
> (global-set-key "z" 'souligne)
> when I press "z", emacs write "_{}" !!!
What does C-h k _ tell you? Can it be you're using a major mode which
already redefines the _ key to something else (hence the global-set-key
doesn't have any effect there)?
> 2) my second question is about an historical file and menu.Is it possible
> that emacs have a menu with the last 10 files that I opened ?
Have you tried recentf-mode?
Stefan