From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Dokos Newsgroups: gmane.emacs.help Subject: Re: the evil f11 Date: Mon, 11 Apr 2016 13:38:38 -0400 Message-ID: <8737qs11wh.fsf@alphaville.usersys.redhat.com> References: <8737qsjcr8.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1460396359 9772 80.91.229.3 (11 Apr 2016 17:39:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2016 17:39:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 11 19:39:09 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1apfno-0006QS-Gp for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2016 19:39:08 +0200 Original-Received: from localhost ([::1]:59307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apfnn-0000Ru-OW for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2016 13:39:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apfnZ-0000Or-Bz for help-gnu-emacs@gnu.org; Mon, 11 Apr 2016 13:38:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apfnV-0006Rc-2A for help-gnu-emacs@gnu.org; Mon, 11 Apr 2016 13:38:53 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:51935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apfnU-0006RX-SP for help-gnu-emacs@gnu.org; Mon, 11 Apr 2016 13:38:48 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1apfnS-0006GP-1Y for help-gnu-emacs@gnu.org; Mon, 11 Apr 2016 19:38:46 +0200 Original-Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Apr 2016 19:38:46 +0200 Original-Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Apr 2016 19:38:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-pool-bos-t.redhat.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:4khcqhxjSqXVtGMlXWcv1x6SY14= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109744 Archived-At: Uwe Brauer writes: > Hi > > I am completely puzzled by the following, for ages my emacs_keys.el file > contained the line > > (global-set-key [(f11)] 'capitalize-word) > > However since some time (I cannot remember when) > > C-h k f11 gives > ,---- > | runs the command toggle-frame-fullscreen (found in global-map), > | which is an interactive compiled Lisp function in ‘frame.el’. > | > | It is bound to . > `---- > > I usually have in my emacs init file the line > (load-library "emacs_keys.el") > or > (require 'emacs_keys) > > Even if I load it manually f11 is still bound to > toggle-frame-fullscreen. > > Only when I enter the emacs_keys.el file > and eval > (global-set-key [(f11)] 'capitalize-word) > > Then everything is fine. > > I don't understand this because all the other binding is fine. It turns > me crazy. > > Any help is strongly appreciated. > I don't know if it makes any difference, but my key definitions don't have parens around the function key name: --8<---------------cut here---------------start------------->8--- ... (setq f7-keymap (make-sparse-keymap)) (define-key global-map [f7] f7-keymap) (define-key f7-keymap [f7] 'org-agenda-list) (define-key f7-keymap "c" 'org-capture) ... --8<---------------cut here---------------end--------------->8--- -- Nick