From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Defun Self Documentation Date: Fri, 6 Nov 2020 17:07:21 +0100 Message-ID: References: <83a6vu8p12.fsf@gnu.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="38389"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 06 17:09:36 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1kb4Ix-0009sZ-Px for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 17:09:35 +0100 Original-Received: from localhost ([::1]:51638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb4Iw-00080D-HU for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 11:09:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47208) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb4Gs-0007zY-Sy for help-gnu-emacs@gnu.org; Fri, 06 Nov 2020 11:07:26 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:50895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb4Gq-0006no-Ji; Fri, 06 Nov 2020 11:07:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604678842; bh=gHzN5FTs4BbIFT6oXB9vdLI8PqZyYhSFrARPI8x9JRU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=LvHtHzQakbnvJmGxq93h0SWKsQC4GDFIS0Se8wKtq8acqZIEa9ecTvoxB3RrX0mle R45i6HmC+TywC76/weUrwx9stDfUKJ5/lyc2UWuStZfn5vNXQs2hSgDGrA1QkBhDE7 Fl21Iu8zR+44n8xTw+yvO2d2KSoLqo9VvHAD9LEg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Fri, 6 Nov 2020 17:07:21 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <83a6vu8p12.fsf@gnu.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:fEmtY6a+7EZWW6F2c/P42a8Tw6UVQnbuhDrmdDGt69hR24eJySF2ewt+vjx/RdlQmDPIW NGB+Vu5vhPis+md945F/OwGhb03uEzOIrEYS6XAcSnH03TfnpsuFzWRmr13pmQQjWiprK0y/kU6K kWyUY7Cm3QU7vddOi0RpqAv0+bfWwmeGka/jPDP3fAb0KiptiNcesmBfh4JOnrmf5EC6ZMHQDSj3 d7iO29F602z81iPftXImhw4uqchOasQYFyV4l8frQDaACgyjgIVyE2+K8CGJ/CJE1CtD4qS7iT0w f8= X-UI-Out-Filterresults: notjunk:1;V03:K0:+zKzIuN4JuM=:dlgCqLbxNfYrTXts3qmh/g vK2XSej4hWNhlw6DJYt/2gSKkEgVgIcRLUCT3cb2MFZioyX+5g+YcTNX1YLAqAIwH7447XRpp wuwdi7Ehfja2kRJOOR/8xt05WZ8SVKFb1ZsHDmYQY99AHB+limKYJTh3j3T+ZSvtit6hPNkX5 QurvVmg6QaEwIn+Py5OKX0x/mi1DKhNQcdLsXgcJ1NkR6KrZT5tWw1rAHs+6JURjuG4VUt3uE konwzKQVuZO+xb3WpWPnU8fNafmC0UtIzoDESZohCerhPoCW8INocOZH0nCgthWoJDqxZdg1t miu92ftqzkN1wFOBoVJaouVQiYWHAxIh/9HMSd/0OWrdExwfqT9cSchwNzQrQ+poFzanQeven mQfhqWxxIDnZ8J6Fd4BalXlk5eTPR3XQdQHwRGmnZI5UMtcOtSbqvx/c5uGxaXOJRTfOZuww5 kiTOTTNIb4mxx2sKrunG6NXUJMLTFB+EmorrRa5RH++gpBQ0Vv5gCjKKecNiTZuPIParVeYgX +6I9eYvxBJaJlDldvdWqMT9Xd2CHVg7Cg/CczAzJa+RKs1wujUeKM1rhJxTwvhYtasqn0j3v8 8hB2ukZnQ8zuk= Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/06 11:07:22 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125072 Archived-At: > I'm not sure the 0.1 number is relevant to this feature. We are not > talking about the reaction time, we are talking about the shortest > time that indicates the user stopped typing. It all depends if the user would like to get the highliting every time the cursor gets ta a parenthesis. It is therefore understandable not wanting highlithing contiually. A solution would be a keybinding that cycles, so the hightlite can be enabled when required. > Sent: Friday, November 06, 2020 at 4:48 PM > From: "Eli Zaretskii" > To: help-gnu-emacs@gnu.org > Subject: Re: Defun Self Documentation > > > From: Anders Munch > > Date: Fri, 6 Nov 2020 15:33:27 +0000 > > > > Eli Zaretskii wrote: > > > Thanks for explaining your reasoning, but let's not forget that sett= ing that to zero has a downside: if one types fast, it will slow down redi= splay by delaying the response to the typing. > > > > There is less work to do because it happens 0.125 seconds later? > > No, because with zero value it happens immediately, and the extra work > required to show the overlay will slow down Emacs. > > The display of the overlays to show the matching parentheses works > with an idle timer, and that value is the amount of time Emacs should > be idle before the parentheses are highlighted. If you time fast, > Emacs will never be idle for that much time, so the parentheses will > not be highlighted while typing. If you set the value to zero, the > parentheses will be highlighted no matter how fast you type, so Emacs > becomes less responsive to your typing. > > > > But of course, this is personal, which is why it is a user option. > > > > Sure, but we were talking about the default, and the 0.1 seconds is an= actual > > scientific result. > > I'm not sure the 0.1 number is relevant to this feature. We are not > talking about the reaction time, we are talking about the shortest > time that indicates the user stopped typing. > >