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

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

[SOLVED] Re: Cannot set F6 key in .emacs nor in site-start.el


From: Alexandre Oberlin
Subject: [SOLVED] Re: Cannot set F6 key in .emacs nor in site-start.el
Date: Tue, 01 May 2012 16:48:46 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

Thanks a lot Bernardo for your suggestions.

I restart emacs to cancel manual key assignment:
F6 output:
<f6> is undefined

F6 C-h l output:
<f6> C-h l

C-h k F6 output:
<f6> is undefined

My other global-set-key work fine from site-start.el. Now if i put the (global-set-key [f6] 'other-window) at the end of .emacs as you suggested, IT WORKS! though I'd bet I tried it before (my .emacs has changed since then). I'll try to spot the offending command.

I once had a similar problem on Fedora 14 due to a
/usr/share/emacs/site-lisp/default.el
which was loaded after .emacs.
However this had been fixed using
(setq inhibit-default-init t)
and my default.el file is empty anyway.

Cheers,

Alexandre

On 05/01/2012 02:38 PM, Bernardo wrote:
what do you see after hitting F6 and then C-h k?

this should've been: F6 then C-h l
but you can also try C-h k f6





reply via email to

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