From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: master 4c0c9d23ab 1/2: Rewrite the minibuffer lazy highlight feature Date: Mon, 11 Apr 2022 08:05:08 +0200 Message-ID: <877d7wb1ez.fsf@gmail.com> References: <164961948912.5547.6176778706291368339@vcs2.savannah.gnu.org> <20220410193810.B2511C00890@vcs2.savannah.gnu.org> <8735ik76wv.fsf@yahoo.com> <87a6csxuof.fsf@ditto.jhoto.spork.org> 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="32250"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.50 (gnu/linux) Cc: Po Lu , emacs-devel@gnu.org To: Brian Cully Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 11 08:08:22 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 1ndnDq-0008FL-5x for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Apr 2022 08:08:22 +0200 Original-Received: from localhost ([::1]:53904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndnDl-0002Zs-9K for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Apr 2022 02:08:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndnAp-0001lI-L1 for emacs-devel@gnu.org; Mon, 11 Apr 2022 02:05:15 -0400 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:45886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndnAo-0007g3-0f for emacs-devel@gnu.org; Mon, 11 Apr 2022 02:05:15 -0400 Original-Received: by mail-ed1-x535.google.com with SMTP id v15so6913007edb.12 for ; Sun, 10 Apr 2022 23:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=HvJWBXhlULmSCSe+328hU6qX7H7dUq1vu9zHr8hPLk8=; b=T3KLPlY+uQn5kt3wUOqLV9GAmOAI5SMmbBTugAdV5vuIHRfflcAGsde9mSmcgP6m/O otax+nygL0Aweb48NZFVOFv3d4hh+oqXpd5cTabetjgZtRefZ7AUXlOlTF5vJ4Qw6mO0 iRABQEpMCTfpshuC263E4Eq20FFu+ejmAUfAj2WfBxj7eobvPlZusgAkavhnlFLMuVVc S+ZcpUQ9KWarN8aVhUxHvLXoEtHvIyJ83AvGNK6iXyqVQ83jdNIrLgH7kq4PyfvkpvW/ Qz7VYjFyfTmTtjG0YSpcpy9/Hdz+bgcLr2G2C+k/Ju0/swHWHEg30pW99TuuaL1zsSf1 B5ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=HvJWBXhlULmSCSe+328hU6qX7H7dUq1vu9zHr8hPLk8=; b=ohODJVVVh1N+PJ9/5Rjx/NWfCY8COKlWmvPkFjE0FFLeUoW5bdNcI1FA5E6LxyghxF hiM8bdULHsrdG9XR3LtUUOga0Qjrlo9oIVWI/lCI4Ka5OZdm9BQixBV5ai6yBdMbjapo Z0bWyd+gLnntYj4xR2doOOha5H8DYIb1Irk2tpBdzTs16CQRw1C+tnsIYA84pNYPPhAj 2ijMPiFoNg2Bgi5hRoHgModSGAgm2gIneDo6GXY/rmWpblehIlOAYWGuHd97nEL2bnZr e+T5XJUBk5rNbIjoAlB9FBQwCTtV663QxZ9xFOmucIsro9Q7D733A7LiK1kuRjZ3yxF3 Zwkw== X-Gm-Message-State: AOAM533w8SUBeh5tAP7U25CoC5llsz97evXJOSlXRd2FTSx2m2kNh0fZ MZbKbAmOCltQseEIsmqnk+C/hBxGP8c= X-Google-Smtp-Source: ABdhPJzFzT8CfZ+HFi5xH/KhxyBygBKPPVEl/QrFcnlGdMSYgMu0VWIKqIr7mgqUb+yodrFWRlc5Yg== X-Received: by 2002:a05:6402:1513:b0:41c:dbde:c3e6 with SMTP id f19-20020a056402151300b0041cdbdec3e6mr31177277edw.190.1649657110202; Sun, 10 Apr 2022 23:05:10 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::7039]) by smtp.gmail.com with ESMTPSA id op12-20020a170906bcec00b006e89b09a238sm339775ejb.4.2022.04.10.23.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 23:05:09 -0700 (PDT) In-Reply-To: <87a6csxuof.fsf@ditto.jhoto.spork.org> (Brian Cully's message of "Sun, 10 Apr 2022 21:39:02 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x535.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:288174 Archived-At: On Sun, 10 Apr 2022 at 21:39, Brian Cully wrote: > Po Lu writes: > >> Juri Linkov writes: >> >>> +This function allows to set up the minibuffer so that lazy >>> +highlighting of its content is applied in the original window. >> >> I used to be guilty of this mistake as well, but yesterday I read an >> style guide according to which "allows to" is not correct English. Sorry, I was also aware of this; as far as grammar rules go, it is a pretty logical one. I guess just let it slip out. I can always create a patch, but it's probably easier for everybody if someone with commit rights just edit this directly? > It has always struck my (native speaker) ears as odd, but this > construction seems to be gaining prominence within the US. > >> It's probably prudent to replace that with "allows you to" or "allows >> users to". > > One may also say =E2=80=9Callows setting up the minibuffer=E2=80=9D, whi= ch I > find the most natural. But any of these choices would be acceptable over > =E2=80=9Callows to=E2=80=9D, IMHO. I slightly prefer "allows doing something". It seems quite normal in English to use "you" to refer to a generic person (as in "apples are good for you"), but this is kinda funny if think about it. > -bjc