From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Unuseful keybindings Date: Fri, 11 Jan 2013 02:31:28 +0200 Organization: JURTA Message-ID: <87vcb4v9dp.fsf@mail.jurta.org> References: <87sj73qzvl.fsf@gmail.com> <87623zquvw.fsf@gmail.com> <87ip7zdud3.fsf@gmail.com> <87ehiiu5x7.fsf@gnu.org> <87a9t6a435.fsf@mail.jurta.org> <87d2y1glnt.fsf@mail.jurta.org> <87hanbu3ly.fsf@mail.jurta.org> <877gnk26nr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357865987 20285 80.91.229.3 (11 Jan 2013 00:59:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2013 00:59:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sam Steingold Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 11 02:00:02 2013 Return-path: Envelope-to: ged-emacs-devel@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 1TtSyY-0002YM-FA for ged-emacs-devel@m.gmane.org; Fri, 11 Jan 2013 02:00:02 +0100 Original-Received: from localhost ([::1]:41380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtSyI-0002hy-OM for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2013 19:59:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtSyE-0002hq-Al for emacs-devel@gnu.org; Thu, 10 Jan 2013 19:59:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TtSyC-0007ig-A8 for emacs-devel@gnu.org; Thu, 10 Jan 2013 19:59:42 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:43684 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TtSyC-0007ia-4J; Thu, 10 Jan 2013 19:59:40 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id BBBF3229B0FDC2; Thu, 10 Jan 2013 16:59:37 -0800 (PST) In-Reply-To: <877gnk26nr.fsf@gnu.org> (Sam Steingold's message of "Thu, 10 Jan 2013 14:13:12 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.218.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156201 Archived-At: >> ! (define-key global-map [(meta f10)] 'toggle-frame-maximized) > > this is no good. > M-f10 is bound by ubuntu/unity by default, so it is not available to > Emacs unless the user takes a non-trivial action. Yes, M-f10 maximizes the window on Gnome as documented in http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts What would be a better non-conflicting key? Maybe M-f11? It is not used by any system according to that table. > Now when my frame is maximized and I hit f11, it is fullscreen, and > when I hit f11 again, it "normal" (not maximized). > Since M-f10 is not available to Emacs by default, I cannot get back my > maximized behavior with the keyboard. Do you see the same problem with (define-key global-map [(meta f11)] 'toggle-frame-maximized)