From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Emacs default bindings Date: Wed, 08 Sep 2021 15:06:00 +0000 Message-ID: <877dfrf6p3.fsf@posteo.net> References: <83y28mp0rb.fsf@gnu.org> <51a363db-fde7-791d-cf8d-98ac601d62ee@yandex.ru> <57ca4d78-2339-201d-edce-678c9b003a99@yandex.ru> <01341bd6-b94b-4f94-1461-405e723142ad@yandex.ru> <8735qmjklm.fsf@localhost> <87ilzi86h7.fsf@posteo.net> <875yvh9anq.fsf@posteo.net> <83o899yjh2.fsf@gnu.org> <83ilzbo9jj.fsf@gnu.org> <3283dcc3-1abf-3fb1-7c54-cd6bed105cf8@yandex.ru> <87k0jrxk5l.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9780"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Fleischer , Richard Stallman , Elias =?utf-8?Q?M=C3=A5rtenson?= , Ihor Radchenko , Emacs developers , Stefan Monnier , Dmitry Gutov , Lars Ingebrigtsen , Eli Zaretskii To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 08 17:18:38 2021 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 1mNzLS-0002Ng-05 for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Sep 2021 17:18:38 +0200 Original-Received: from localhost ([::1]:48174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNzLQ-000819-TN for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Sep 2021 11:18:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNz9P-0006dN-Kg for emacs-devel@gnu.org; Wed, 08 Sep 2021 11:06:11 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:52625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNz9K-00048r-LN for emacs-devel@gnu.org; Wed, 08 Sep 2021 11:06:11 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 52893240108 for ; Wed, 8 Sep 2021 17:06:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631113564; bh=yS+IP2J84GEGp9dcjctnntzlu+8MFI0LzBjJg4/vUFM=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=RXV29H3t5f2lujKw6adV2nqAWwlUPoIL1cAl6HI/2dI6H75gDWLC355UDObqxmSmG jYoahC3yqvcUx9YjHQwYurudhskDpOIhrvqyMJmBN5vn/ZNwWXXm9HM0HKk7c2S8H4 04ou52jWCvB3WtZZmuAgZB39UcmN6CjRvyutAy9WtIWaH2VgEPWlFBu2bo92r5Wwlo l79V4ubOuVsdLKde3W9j830/pnQFCQdWOuhCng6koRFs1ttAqsFcL88uUu5l4jB4SE ds7DZzdE2RnnTHfQwDx/FpWfl1WNQp9iFO7x93gENprMHAlgNCFykHzca0UDixYE7q yNHCu/141CnyQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H4QST13H5z6tmZ; Wed, 8 Sep 2021 17:06:01 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=mutual; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: (Stefan Kangas's message of "Wed, 8 Sep 2021 16:53:57 +0200") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:274356 Archived-At: Stefan Kangas writes: > Lars Ingebrigtsen writes: > >> So it should be rewritten as a show-paren-mode/show-paren-local-mode and >> then enabled > > I've always found the effect of show-paren-mode pointless (and rather > annoying) when writing prose, e.g. in org-mode. I therefore think it > should be enabled by default only in prog-mode. There are also some tricky situations where from what I understand unusual syntax tables break the highlighting. I remember a forth-mode wanting to pair the ":" and ";" in word definitions, but show-paren-mode didn't work as expected. > By the way, VSCode seems to have a feature to enable highlighting the > enclosing brackets when inside expressions. Perhaps we should add > that feature as well (unless we already have it)? There is highlight-parentheses (in NonGNU ELPA): https://sr.ht/~tsdh/highlight-parentheses.el/ > https://stackoverflow.com/questions/45182543/highlight-enclosing-bracket-in-visual-studio-code -- Philip Kaludercic