From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Emacs default bindings Date: Tue, 28 Sep 2021 08:56:14 -0400 Message-ID: References: <46353190-1190-495f-b15e-22980159b3ab@yandex.ru> <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> <2aed65dd-bcec-8e0e-e48b-7664a041f98b@yandex.ru> <875yul6v9w.fsf@posteo.net> <83sfxpjhba.fsf@gnu.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="21910"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Yuri Khan , philipk@posteo.net, danflscr@gmail.com, rms@gnu.org, lokedhs@gmail.com, yantar92@gmail.com, emacs-devel@gnu.org, stefan@marxist.se, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 28 15:27:39 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 1mVD91-0005Rh-6Q for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 15:27:39 +0200 Original-Received: from localhost ([::1]:50878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVD90-0006CG-3F for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 09:27:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVCei-0002oB-Im for emacs-devel@gnu.org; Tue, 28 Sep 2021 08:56:20 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:46166) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVCeg-0003cK-Ty; Tue, 28 Sep 2021 08:56:20 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A7804807F7; Tue, 28 Sep 2021 08:56:16 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 31A1080347; Tue, 28 Sep 2021 08:56:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1632833775; bh=rKjcYDCqHWN6v69TdB+Jwpj0VuK+dCftZBRxUObfVjg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KXdlq/6vYcdwAXKPws6EaG/MzMcu1zOtZs2ameDgS+cFLy3JIYpOAgp8I6QBfO5jE YU2w7fCZdA94WgE49qZOPlOEjNgoGmNdZI+T/zS4JDlbx8G2OlYrnTNXbIPzy4xTYd txkrWmlyBXqyDIiC1/QHQ6solQ0o9BtCq7X62iBseh182coRlkH6I+0/FuPh47SKy/ mjxYk1jsk5gGl88RKDNqCgqQpBWcIA7sHK+amcydPyrARpmURMEyZE5emkXvAQSt9U tXyxPosSXBz33vJ3ECGytMZUZfK7TdiEEAuGsGus2h9n3mAXdLFO18dJQgD/V5nb48 VKzYUf0g7NoYw== Original-Received: from milanesa (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B93661202FC; Tue, 28 Sep 2021 08:56:14 -0400 (EDT) In-Reply-To: <83sfxpjhba.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Sep 2021 10:22:01 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:275689 Archived-At: >> a) foo; >> b) bar; >> c) baz. > > This could happen in prog-mode's as well. For example in shell > scripts, with the 'case' construct. Does it mean this mode makes no > sense in prog-mode either? FWIW, there's an important difference in that sh-script knows about sh's `case` syntax and neuters those parentheses, so they (usually) don't break paren matching. In contrast in prose, the use of parens as above is just a loose convention that's hard to properly detect and handle correctly. I personally avoid that convention because it breaks blink-matching-paren ;-) > There will always be corner use cases like that, but they don't make > the feature generally useless. And the problem already exists with blink-matching-paren. Stefan "who's planning on disabling `show-paren-mode` in his .emacs"