From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: 26.1-rc1: global-set-key suggestions Date: Sun, 29 Apr 2018 21:34:35 +0100 Message-ID: <20180429203435.GB73222@breton.holly.idiocy.org> References: <834ljuu3yo.fsf@gnu.org> <87604a70dm.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1525033963 21148 195.159.176.226 (29 Apr 2018 20:32:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2018 20:32:43 +0000 (UTC) User-Agent: Mutt/1.9.3 (2018-01-21) Cc: Eli Zaretskii , Van L , "emacs-devel@gnu.org" To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 29 22:32:38 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fCszu-0005NN-6p for ged-emacs-devel@m.gmane.org; Sun, 29 Apr 2018 22:32:38 +0200 Original-Received: from localhost ([::1]:56713 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCt21-0001vX-8F for ged-emacs-devel@m.gmane.org; Sun, 29 Apr 2018 16:34:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCt1v-0001vF-1P for emacs-devel@gnu.org; Sun, 29 Apr 2018 16:34:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCt1u-0005OC-6I for emacs-devel@gnu.org; Sun, 29 Apr 2018 16:34:43 -0400 Original-Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]:32998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fCt1r-0005Mz-NT; Sun, 29 Apr 2018 16:34:39 -0400 Original-Received: by mail-wr0-x236.google.com with SMTP id o4-v6so6272019wrm.0; Sun, 29 Apr 2018 13:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=MavdQ5nmXV731iosf8gdWpuCVbzcU0yjeuCCIP1tA2U=; b=PYEcJPotRewv2wr0NjtpYTEUmfsEu+zYGAvzKOs0mcQsB2lHOjJiF9IPgFwQy0OiPd q/tHexTLApwBdNW4ZtkRYoyAa6tQXdYOkVbxfKvVY5oFhr6L1W3Yeejnyh1FkjTdUFeP 8WY2TnDa3369oi9Pa9VshEsIk+eyE7qZjFB7nZTtPbHWms6w7zDRYfAEWZoPNDsmvT96 CpXaxaICi0LyTdi39KieAT7U+iRHQ7HsNIV8c0uTAd0wl8rTfvpTnMVxHXhnVtGNhiO3 qMyeMNOwpaDc2WvAf6EP615RN+5vEV/mH3xo89cOS2Q8pX/IDD6lFa7DPz0q6MiBp3Mv E1RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=MavdQ5nmXV731iosf8gdWpuCVbzcU0yjeuCCIP1tA2U=; b=VB1Kn0sXdJ2STdeNrJGFAU1OZT8j15jmmjyBSRawhlLMXEN/eSYn8CvPtv6wVBLQzk +zVOM69bFRiXF+/ZK7uWyseO+3p69F9ZGB0qj4bMfb5ZcNV5TiZ+2aJ2xA8csWME8l19 6lXVv9yo1sMDVVF0e2FNNBQNJeWFJpduaY83RtOtBwkgkQQ2jI0IPZ8TKBbrJlY7IYVP NEzxBTbDlT+jDrAqVHW0kOa6PD7E156gA/gpGm+mbpoYCY14g8ePSJDqlzOMWHWcORYc AdoSn31yZ7KH8cchST05pNSiCr7tEhFmCQwHgwm0RbZA2VIOlIcNlo0dTJmwHoQ75Q/8 a9GQ== X-Gm-Message-State: ALQs6tDpYsjf1taZZfBeHTmrSM28edMxlOunWSWucN0EYCj8kuVFIPzS mmNioQ5TpcG/L0JxjFUoFJ6uU6jIef8= X-Google-Smtp-Source: AB8JxZp0VTiRUEYekH8j2Hm+Chghfj99cUbnixgF0m+ryP9sQrXkMv6kIK6S2SDAi1zB+O5OUgA/3g== X-Received: by 2002:adf:e8d0:: with SMTP id k16-v6mr4021963wrn.182.1525034078312; Sun, 29 Apr 2018 13:34:38 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-2db5-7d2a-42d0-ab6a.holly.idiocy.org. [2001:8b0:3f8:8129:2db5:7d2a:42d0:ab6a]) by smtp.gmail.com with ESMTPSA id y101sm8756676wmh.10.2018.04.29.13.34.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Apr 2018 13:34:37 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87604a70dm.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:224966 Archived-At: On Sun, Apr 29, 2018 at 12:49:57PM +0200, Bastien wrote: > I interactively change the text size often enough to use these custom > keybindings: > > (global-set-key (kbd "C-+") 'text-scale-increase) > (global-set-key (kbd "C--") 'text-scale-decrease) > (global-set-key (kbd "C-=") 'text-scale-adjust) > > which is what I also use in other applications (e.g. Firefox) on a > GNU/Linux machine. I thought C-+/- was pretty standard. MacOS commonly replaces C-X commands on other platforms with s-X. Amusingly it means you get both emacs style bindings (e.g. C-a to move to start of line) alongside CUA type bindings (e.g. s-a to select all). > C-+ and C-= are free in Emacs, but C-- is not, emulating C-u -, but > I don't really mind having to type C-u - instead of C-- when I need. Looks like the macOS super bindings will interfere with s--, which is bound to center-line. center-line is also bound to M-o M-s, so I don’t think that losing the s-- binding would be a huge problem. This sounds like a good change, too late for Emacs 26, though. -- Alan Third