From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: emacs-28 a866674b2a: Fix inaccuracies in "lax search" documentation Date: Thu, 01 Sep 2022 15:07:26 +0200 Message-ID: <878rn3gs4x.fsf@gmail.com> References: <165875050243.3275.8867100069985547389@vcs2.savannah.gnu.org> <20220725120142.D1283C0F203@vcs2.savannah.gnu.org> <87r1298hxp.fsf@gmail.com> <864jz513nb.fsf@mail.linkov.net> <83h735dpno.fsf@gnu.org> <86tu75doeq.fsf@mail.linkov.net> <867d41dlc8.fsf@mail.linkov.net> <87ilnk8fuc.fsf@gmail.com> <86o7w2196j.fsf@mail.linkov.net> <87mtbkkdb5.fsf@gmail.com> <867d2ol9yl.fsf@mail.linkov.net> <861qsvef9w.fsf@mail.linkov.net> <87r10vik8w.fsf@gmail.com> <83zgfjqqec.fsf@gnu.org> <87czcfgu6m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23506"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , juri@linkov.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 01 15:08:34 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTjvu-0005t9-6j for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Sep 2022 15:08:34 +0200 Original-Received: from localhost ([::1]:54258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTjvt-0002W7-1X for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Sep 2022 09:08:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTjut-0001Vl-HT for emacs-devel@gnu.org; Thu, 01 Sep 2022 09:07:31 -0400 Original-Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]:45913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oTjur-0000cY-Sz; Thu, 01 Sep 2022 09:07:31 -0400 Original-Received: by mail-wm1-x329.google.com with SMTP id bd26-20020a05600c1f1a00b003a5e82a6474so1412912wmb.4; Thu, 01 Sep 2022 06:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=yX3zllSU3lgoX4sDk2j+BoRhUR4e8eDiGk/GR8F0O2I=; b=omusiIt+HGTljGAbDpYjUIMQQRLEXdwE1AeKvhNYew+L4NZK404lPFuIWVaYWMO6V9 EUnDt0fsr1Qo7y2/kampUqCSS7V4X3IljJytoSDd2hKrczkPqm6kzEVrdoGhMrka+tP0 mQjGXSVWgIGIyBCbsVCf2L8mbCk2he3zxkr27ztBxBaIokYQoczk8YH1xB/52ZPZuplm +wEtdwKgF0wbjgYmaQXvKMqEfXeStraGsHxB0dJfo3h3KLhBC73TXPymA1aSFlXXAUcW ULHSk63u4CYZOdY3eprBFD8FvZg/dsZJY7vODiWb9ll3/bH3dYpYhESED3HP0fipUG6h Io6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=yX3zllSU3lgoX4sDk2j+BoRhUR4e8eDiGk/GR8F0O2I=; b=n8k1k7E8Hi0j2mSOnQK13tNutIYD4uu8mXcB/VrSETbJpSK36CLe2vakA9TdTP72Wb DGbJ8W2DkP6rSg2P0V+VQcAIOCa0s52N6YQZjrYlXdbOkoSjMEqZCEoak4mLvAeZeob3 ktI8WTi12fZUn+KOOed3qK4vO7tpKmqfZD5lhL0sf/ljeLGj9BWZNcKjCIr9hAHxCFTS /RB8Rrili3fjqlcR+YCUeQBydux5eKyuvx+Wx1/8fVf3aSME8UlhiKqe1Jjw4N/cs0kL QNMwKBvcTUE498ioDzsMMf+icrJFIxQfPDeCGzmSiHiXl3pyUR1k7xQzs9nHil9dDCrB 4eow== X-Gm-Message-State: ACgBeo2Z/k24uUHtYKG8qTXvTU+z6B4MNdcj+53PWXBe3gAUq3gclDs7 SZeVvzcnppwxzI6BAOS37dr+PoJL+V4= X-Google-Smtp-Source: AA6agR6t38Rgw0+j4BfgpToTaD1w6d2U5wgUllDTByQXmpljmb05QnOk2PlGzG7U8I4afUyY+FxmLA== X-Received: by 2002:a05:600c:3512:b0:3a5:e9d3:d418 with SMTP id h18-20020a05600c351200b003a5e9d3d418mr5251884wmq.0.1662037647491; Thu, 01 Sep 2022 06:07:27 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:34fb:6aed:1aac:5cee]) by smtp.gmail.com with ESMTPSA id v15-20020adfe28f000000b002255eebf785sm15079602wri.89.2022.09.01.06.07.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Sep 2022 06:07:26 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Thu, 01 Sep 2022 09:00:30 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=rpluim@gmail.com; helo=mail-wm1-x329.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:294481 Archived-At: >>>>> On Thu, 01 Sep 2022 09:00:30 -0400, Stefan Monnier said: >> >> >> I lost the beginning of this discussion: why can't we unify >> >> >> `read-char-from-minibuffer` and `read-char-by-name' into a sin= gle function? >> >>=20 Juri> Robert sent a patch that does this by adding a new arg ALLOW-SING= LE Juri> to `read-char-by-name'. >> >>=20 >> >> You still need to hit RET though, unlike `read-char-from-minibuff= er'. Stefan> Oh, right `read-char-from-minibuffer` is more like `read-key` a= nd is not Stefan> a good choice (IMO) to let the user enter "any char" (many char= s would Stefan> require the use of an input method and it doesn't seem easy to = make Stefan> that work). Oh, we can make it seem to work easily enough, I=CA=BCm just scared of the fallout =F0=9F=98=80 Stefan> Then I'm all for `allow-single`. OK. I=CA=BCll work on the documentation. Robert --=20