From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8PtzBPtDGmBcTwAA0tVLHw (envelope-from ) for ; Wed, 03 Feb 2021 06:34:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iOIcAPtDGmCtSgAAbx9fmQ (envelope-from ) for ; Wed, 03 Feb 2021 06:34:35 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 806FB9403EA for ; Wed, 3 Feb 2021 06:34:34 +0000 (UTC) Received: from localhost ([::1]:34718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7BkH-0006OD-G2 for larch@yhetil.org; Wed, 03 Feb 2021 01:34:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7Bjq-0006Nq-OK for emacs-orgmode@gnu.org; Wed, 03 Feb 2021 01:34:06 -0500 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:37057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7Bjp-00021a-4Q for emacs-orgmode@gnu.org; Wed, 03 Feb 2021 01:34:06 -0500 Received: by mail-pf1-x42a.google.com with SMTP id b145so9206391pfb.4 for ; Tue, 02 Feb 2021 22:34:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=LHsvDYcAxkH5oMFL7gaCpv6GhX2yR1+GTNmZ8t4oSbw=; b=TNZw2zFMHvMaAC7q+dA5d5j3rJNGN9B+S15ZxjEVO7HtqGSLyJ5RWDDk/NiSyQI0e4 TV9jOG0nKiLJVVXZgn7XtbMhIDoGTMegX2SssoPHAKENc4835XA3ZZ3q8fchf25AkPm3 uEPU6BWsOrzmIfwrOSkccrnwrCk8/4IgUd4AWm8r7LiyS0iGdyfOdWNWMPohUtNJYCXZ od/WD55g2KacVJFzdk02v4yNKQVYOs4S7S1P4gEiBCYeL7wgAN10wxnYowWaLez9hWDj Jr3u4W0LPLxXxoISiMYDKSTPIrrxtJPpaRS5Hx63XjeziM8FthF7Ji3tzw4hKJMNARuy /qAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=LHsvDYcAxkH5oMFL7gaCpv6GhX2yR1+GTNmZ8t4oSbw=; b=F1CQJDSzn8sOkFZcLegVZrcMZFMlTGFTcCtiZNqI4FLefTIvCIPzCwELibQ5OD2VNb 7uw8+dRt8H8DtCydqbPRFDy9AhlSycMGw22Daa/TjoZYN05GbDBAAYS/bJLs59AFpSf9 63R/1kuE8MLYZ+5t7qi0Aihndssd5eoy5uUC7xETDvBT9QNaVWIoeggxOb5hfclbnLk1 gwvPZ4cqaDRvmENHgOdfpQ5uhTXrWzLdHmdP731WCZ+StbnrfpG0MZsqJpOWjjlEnHGV jv6IsZXAz97HO5H2HhsEoig6As7PKTxnLRdYRGnLR1N0F+YjJikXJRZjLVshmBCAaAS3 Pshw== X-Gm-Message-State: AOAM533yfTQfrVmJPzPOnfTpRd90DIN7OYqRFqmAh7X2JujXjQCGHEcZ dL8wD15p6e72HjBqVDaBM0hlX368puC/KA== X-Google-Smtp-Source: ABdhPJxqXvGq2GDkeyoDJgHywTIbryC2jrDUk+nBtGtrJHmR3scgAE0lcl0HuFUU9Mxp6yjCl7kQYg== X-Received: by 2002:a05:6a00:851:b029:1b3:fbb3:faed with SMTP id q17-20020a056a000851b02901b3fbb3faedmr1745864pfk.18.1612334043173; Tue, 02 Feb 2021 22:34:03 -0800 (PST) Received: from tim-desktop (220-235-5-208.dyn.iinet.net.au. [220.235.5.208]) by smtp.gmail.com with ESMTPSA id o13sm1072287pgm.35.2021.02.02.22.34.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 22:34:02 -0800 (PST) References: <87im7k51u0.fsf@ericabrahamsen.net> <875z39y8ua.fsf@kyleam.com> User-agent: mu4e 1.5.8; emacs 27.1.91 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Free up C-c SPC/org-table-blank-field? Date: Wed, 03 Feb 2021 17:26:11 +1100 In-reply-to: <875z39y8ua.fsf@kyleam.com> Message-ID: <87r1lx1wyw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=TNZw2zFM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 806FB9403EA X-Spam-Score: -2.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: JSWfejQFwj/r Kyle Meyer writes: > Eric Abrahamsen writes: > >> Hi all, >> >> The C-c SPC keybinding is pretty prime property (it's also, according to >> Emacs conventions, meant to be reserved for the user, though I know >> that's already out the window with Org), > > Based on my reading of (info "(elisp)Key Binding Conventions"), I think > `C-c SPC` doesn't fall into the user's `C-c LETTER' territory but > instead into the this group: > > Sequences consisting of =E2=80=98C-c=E2=80=99 followed by any other ASC= II > punctuation or symbol character are allocated for minor modes. > Using them in a major mode is not absolutely prohibited, but if you > do that, the major mode binding may be shadowed from time to time > by minor modes. > Agreed. > But, either way, I don't disagree with what you say next. > >> and it's currently bound to `org-table-blank-field', which is useless >> unless you... happen to be in a table. I don't use tables often (or >> blank fields when I do), which means this binding is effectively just >> removed. Does it actually need a key binding? I've never used it and just use to move to the next field, leaving the field blank. >> >> What do people think about making it a no-op when not on a table >> (letting it fall through to the global map), or putting it in a keymap >> text property on tables, or otherwise not hogging the binding? > > In my view, the first would be fine, and the second also unless someone > chimes in with a technical reason not to. For the last, perhaps `C-c > C-SPC' would be an okay replacement, though I'd assume that would break > some users' muscle memory in a surprising and unpleasant way. I'm not familiar with how this is all put together inside org mode. If it is possible to configure things so that it is only bound when inside a table and does not shadow other bindings for that sequence outside a table, I think that would be a positive change. However, I do also note that this is the type of change which tends to cause 'ripples' and may have unexpected impact in other areas, such as other packages, predefined or 'canned' emacs configurations etc. -- Tim Cross