From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GGI0M4cTdGG4pQAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 15:52:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yDjfLocTdGGoOQAA1q6Kng (envelope-from ) for ; Sat, 23 Oct 2021 13:52:07 +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 434CB863E for ; Sat, 23 Oct 2021 15:52:06 +0200 (CEST) Received: from localhost ([::1]:43960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meHRM-0005ZZ-I0 for larch@yhetil.org; Sat, 23 Oct 2021 09:52:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meHQx-0005ZQ-5J for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 09:51:39 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:45952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meHQv-0003D9-I8 for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 09:51:38 -0400 Received: by mail-wr1-x434.google.com with SMTP id a16so2065943wrh.12 for ; Sat, 23 Oct 2021 06:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=B3FMtb3plokZjV7VC8F91u/0557C5OsAqqGcrpyC/Vs=; b=fQK6+6PrIzB09zO2yVbQR3kXqK0Xm6rGFmcyfo3u1hy1xnakrx9q6unEGtgvgKgnV7 agtv3I7t7PsPjtqgzy3tcFVElEiu4rz5DLyT5XVEWEB5DlE55Jb+P5sNXxY+8h1JI3aa fbQFzTMdIG/l47G4qte8tXAw1lafBDUnOz6falNXd/V8j5LbnStyfuVpUwvLDFysFqtI 8p9M/E+fQ143lMq5VXtqluuT+mbRVmhRSkjBnvhV/Jj9sA610xOAtAKdgFonATxAw/lr 1hPuMpelVySw3cN8CfqvFUnJd5Ohug6uZzdrCc0x+tiipllgAHtKIe1Vg71p0/0Tnbiu lLzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B3FMtb3plokZjV7VC8F91u/0557C5OsAqqGcrpyC/Vs=; b=3GkTnLwcQqyzopFteqlX0p3KbFpQ49/bPBACJQIulhZtm/nuf8FmeCkY4MjqwDBU5+ xjjUiJQ6Vg5pIIFjn4IKr+c4+yxhbAqdgsJDktQ5kxPUWrLLQze5o4W+KjlYV+FdbgTR LnBdkRk22deGY5r6hL7OpDw68Xt7mG6gfcAJm9ogsjEcwpvR/H2Es9/L5nruzhXT+4YU iPSxZcH2SrN8uruAfxx1JOQ4OVr3mEiugbQz7hf6vuiPthn4K/aYtRipjhjQ+CcX6jd2 /j/TzRrWPTgRBIJKgIpDu0f8Z87pBOrhN6ZY33ltRjuuvW+/zEPHrIYPWWL5dOCR91u2 5LWw== X-Gm-Message-State: AOAM531LMpnNZ4MzOuPEqzTw7e+VJuBwccxTG8j/C6cNc5CsUkIz0zAb sw72EKUsa18rfmDNhtRoxASBQsJULNKk17UFbj8= X-Google-Smtp-Source: ABdhPJzGKYOjKMuuFhfZq++HheJA0CzTQ4E78WkR9prlyc8IS6PkBK1x6DrBCfrezX6T2Ni/hdsIVPYgUhDsqrZ25kU= X-Received: by 2002:a05:6000:1563:: with SMTP id 3mr8211290wrz.20.1634997095316; Sat, 23 Oct 2021 06:51:35 -0700 (PDT) MIME-Version: 1.0 References: <87lf2k8ck1.fsf@localhost> <871r4bg8op.fsf@localhost> In-Reply-To: <871r4bg8op.fsf@localhost> From: "Bruce D'Arcus" Date: Sat, 23 Oct 2021 09:51:23 -0400 Message-ID: Subject: Re: Keyword completion list: uppercase or lowercase? (was: Shower thought: submit an IETF RFC to register Org as a MIME type) To: Ihor Radchenko Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x434.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: , Cc: Carlos Pita , org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634997126; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=B3FMtb3plokZjV7VC8F91u/0557C5OsAqqGcrpyC/Vs=; b=dL15Kxwzoqdei38gi8cArBUq7tFXQBXIy329DmcOlwTmC1sLqhvhqKVtI4LcLF3C6r+2II vDhtc607IxenkpdiigcHS18w5b9eSwrwZYwVFVJIO8mXAnHMMlZyXcqsaDn3uMfn/5mWMd YKlxkLI19LKH7bvaUBLpD0j3aCmioUWIAFzgMre+SiLLdNJOHueSeu16fV9vYSy7Ivx7SD /qVXRzlUsPNh6656Llyrvxu6Ww0YgT+tc0Hnjl4aKeiY0lynElAeeszDYvoFfcB9phHd0F 8lTUOlvo9df/GL0B8yj+5TYwvHAaijqCrj4nGe3/B6LjAzuhR5g7uMuZYrp19Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634997126; a=rsa-sha256; cv=none; b=HJaa9aki/1Fbj1jETsST4rHCDNETkMP8kjjBzTT6YrHAayC3PY+Jl4Ql/7ZCkd4Mde3g30 WHyjoUN+8eN3cCgZlr4l8RlWRqqDc+XMfbjd35/rC45WUcFR7L4noFsUrOVnE2aJPJ3gbj Man/jeT/PVNoJM1IOX9GM8AqTQrVQQUEqTZS+1QyH/kc48UqB5esnQRzoIxXkEhUjmZL/e nz1HAnIq66X9mvYZbfTIe4yV383cA6WwCs1TlehTG38bU8qZH5/vg9OmC5DZrKhPIRYBnY NA9f8kQTNfKGB39bKRggqz+Uuj8BxTEQhdmlGVIsmZ9386XhOcAvcys2n25amw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fQK6+6Pr; 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-Spam-Score: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fQK6+6Pr; 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: 434CB863E X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: spFoeQTWBV3v On Sat, Oct 23, 2021 at 9:41 AM Ihor Radchenko wrote: > > Carlos Pita writes: > > >>> But then c-a-p is very lenient since it lists lower and upper case block > >>> variants even when I typed a lower case prefix, and upper case usually > >>> will go first in the list, hence promoting a seemingly bad practice. > >> > >> Could you clarify what is "c-a-p"? > > > > Yes, I just meant completion-at-point. At least some org functions, > > which I believe are implemented using pcomplete and then exposed through > > the completion-at-point interface, provide completions in both lower and > > uppercase variants and except when completion-ignore-case is nil (not > > the default) uppercase candidates will be sorted first in the list. > > It's often quite inconvenient to scroll down a completion menu to pick > > the lowercase completion for a short prefix, which either promotes using > > the uppercase variant at hand or offsets the benefits of > > autocompletion. Moreover, popular external collections of snippets have > > already adopted the lowercase convention of org-mode, hence introducing > > inconsistency in the document when one mixes both sources of completion > > (lowercase snippets and org-mode uppercase completions). So perhaps > > uppercase completions should be provided only when the user explicitly > > typed an uppercase prefix. What do you think? > > I just tried with clean Emacs: > > #+beg #+begin_ -> list of completions, all in lower case > #+BEG #+BEGIN_ -> list of completions, all in upper case Perhaps at some point the upper case should just be removed? This raises a related question I've wondered about: Why doesn't the completion insert the full begin/end, and put point inside? It's a bit of an awkward UX to add the end line ATM. Bruce