From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: the evil f11 Date: Mon, 11 Apr 2016 22:25:41 +0300 Message-ID: <83twj8eymi.fsf@gnu.org> References: <8737qsjcr8.fsf@mat.ucm.es> <8737qs11wh.fsf@alphaville.usersys.redhat.com> <878u0kggwf.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1460402794 22319 80.91.229.3 (11 Apr 2016 19:26:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2016 19:26:34 +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 21:26:29 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 1aphTg-0005RB-5S for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2016 21:26:28 +0200 Original-Received: from localhost ([::1]:32824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aphTf-0003NN-Fs for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2016 15:26:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aphTT-0003L4-Nk for help-gnu-emacs@gnu.org; Mon, 11 Apr 2016 15:26:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aphTQ-0003WR-I2 for help-gnu-emacs@gnu.org; Mon, 11 Apr 2016 15:26:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aphTQ-0003WN-Ev for help-gnu-emacs@gnu.org; Mon, 11 Apr 2016 15:26:12 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1386 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aphTP-0002MH-R6 for help-gnu-emacs@gnu.org; Mon, 11 Apr 2016 15:26:12 -0400 In-reply-to: <878u0kggwf.fsf@mat.ucm.es> (message from Uwe Brauer on Mon, 11 Apr 2016 18:05:36 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:109746 Archived-At: > From: Uwe Brauer > Date: Mon, 11 Apr 2016 18:05:36 +0000 > > I repeat: > > If I do (with or without parenthesis) > > (global-set-key [(f11)] 'capitalize-word) > ^ C-x C-e > > The binding is done. > > If I put that line in my init file > the key is bound. > > > But if I have it in another file (byte compiled or not) which is loaded > by my init file then f11 is *not* bound. > > It starts to look like a bug to me. Maybe some of the developers can say > something about it, if not I submit a bug report. All this developer can say is I cannot reproduce this. I made a .emacs file that includes only one line: (load "~/einit.el") I then made a file einit.el that also includes one line: (global-set-key [(f11)] 'capitalize-word) I then started Emacs and "C-h c f11" says it's bound to capitalize-word, as expected. So please look at the details of your init files, and see what you didn't tell us.