From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: Emacs default bindings Date: Mon, 27 Sep 2021 18:21:27 -0700 Message-ID: References: <87h7fcnmq0.fsf@posteo.net> <83tujbqg4j.fsf@gnu.org> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30650"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, danflscr@gmail.com, lokedhs@gmail.com, yantar92@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca To: Dmitry Gutov , Stefan Kangas , rms@gnu.org, Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 28 03:23:35 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 1mV1qI-0007nE-B0 for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 03:23:34 +0200 Original-Received: from localhost ([::1]:60306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV1qG-0002qE-Jv for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 21:23:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV1oP-0000hU-G6 for emacs-devel@gnu.org; Mon, 27 Sep 2021 21:21:37 -0400 Original-Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:36854) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV1oJ-0004jd-E3; Mon, 27 Sep 2021 21:21:33 -0400 Original-Received: by mail-pf1-x433.google.com with SMTP id m26so17535321pff.3; Mon, 27 Sep 2021 18:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=EZAnfdUnevhNCSm0b031NTOieySJo9VyzDR/51Y7SZ0=; b=V7jLLj3+QliRjT1CVEcs+Ik00xz1Ps72humFZWQtEkZiBAg3xrj1+Dxnz54Qbe5Ynx r/lNfhr2uzDyYomkhlvUb6YdiG2hZu1cnmuWEcL4mAsZTM9hqfD1MQHKK7BnqWtR9/5P lFAUNjXAr7kIsCU/MeS/9gW3MwD7XHBmyqiolNqlj1R/pxVJPoa+cg7aTzTm9KjMiLPq 7MFiZVAwDrf6+0buKDuWxsh9Y1LWPFbTfk/duCniDr0JnX4PSttkN0z62KfvAwxnZJf2 wQZuEbMEjd1SmtwLhDgVkS5dXg11lyKtXckSNmgp65eeKJrDDNWYM9KryjMFf43qZf/k wgeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=EZAnfdUnevhNCSm0b031NTOieySJo9VyzDR/51Y7SZ0=; b=LK7X8CZzyoKXUVRQi56jnoppD1jWv9NV5cxz25NOlohlXpKqx1blU292y7BZAKb5gL KH9VXmf1Dy1QyifPOCJvQNvq9+lMtKX5Z5SrtiwB3XsXnFQE6cF3IprDW9R6vj70uOIU tfFBWnmuabJiq5EBk4ciWJ05cg9yWrOVQBC1P7LnomkIBYSkxnZ3shgajR3NoZzJDye/ dNBlY8f7ufHgBQm4pm15PLJQc1QioAJ7+vWKpN73K2TduXJ61EH3+nPEwZHn1h3x5pjW xH00i4i8jtWf8q9hzihAdy+EqaMpFID1rIJ29jAycOXVeK3rTTbymaBg/UBDHgcVVnnx q58A== X-Gm-Message-State: AOAM530KPf4ZP1vtFuVnEB9WdJHht/y7CAg53pK7kR7bqgHdALVlzQit 5KxwLQFItKQl99YOlp2iK18= X-Google-Smtp-Source: ABdhPJxU/RYbTTKIONmdOu0ow8ODeahQcRf8SLvm1Jsz9ngyhG+oKKSQdW5wrtPRpEugkpO77mP/dw== X-Received: by 2002:a63:b54b:: with SMTP id u11mr2224560pgo.163.1632792088610; Mon, 27 Sep 2021 18:21:28 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id s4sm17998774pfw.182.2021.09.27.18.21.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Sep 2021 18:21:28 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=jporterbugs@gmail.com; helo=mail-pf1-x433.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) 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 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:275639 Archived-At: On 9/27/2021 4:49 PM, Dmitry Gutov wrote: > On 28.09.2021 02:40, Stefan Kangas wrote: >> Dmitry Gutov writes: >> >>> Unless anybody has strong objections, I'll flip the default tomorrow. >> >> I still think the default should only be flipped for prog-mode. >> >> When writing prose, it does not help to highlight the parens, in fact it >> is distracting. > > We've had a couple of responses like that. > > But one asked for being able to disable it locally (which we now can), > and another later changed their mind. > > Perhaps you are in the minority? I missed this post originally, so didn't comment back then. I only really want this on for prog-mode (and really, I only find it helpful when writing Lisp; I'm neutral about it in other languages). It's not that big a deal to me either way though; whatever the default is, I'll just customize things to my liking. That said, I also use electric-pair-mode under prog-mode, but customize it to be inactive inside strings and comments. My ideal would be for show-paren-mode to be active only in the parts of buffers where I have electric-pair-mode active, but that would take quite a bit more work. (This is just for context about how I use things, not to suggest that this should be added to show-paren-mode anytime soon.) - Jim