From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Emacs default bindings Date: Tue, 28 Sep 2021 02:49:47 +0300 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="9692"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: philipk@posteo.net, danflscr@gmail.com, lokedhs@gmail.com, yantar92@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca To: 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 01:51:06 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 1mV0Oo-0002JH-12 for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 01:51:06 +0200 Original-Received: from localhost ([::1]:33478 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV0Ol-0004yK-R6 for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 19:51:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV0Ne-00049s-Fr for emacs-devel@gnu.org; Mon, 27 Sep 2021 19:49:54 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:36641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV0Nc-0002x4-OB; Mon, 27 Sep 2021 19:49:54 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id g16so54789139wrb.3; Mon, 27 Sep 2021 16:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=UFKl2UFKfs3oARkEbG9n10fAJZ55UPDM03mf5h5jFOo=; b=hNmXpk0nIdGVFQ3qaNv8DyK3ojw4Hn6pYHkh8zEI2H5xP3hN903ZW7NbSJ7TMX70GJ qZcrRIZ6YAFd/wDRw+3p5JmU21jgMWrHxYolAO15YfAMYSIR0kgtTZKcZRiqXPCz6uNl c2TrfjZvdsKp3WkkKFfWkcpwVobDLsXtvReVHRtkMpFOp8t/Us1Uo1sN1eJAr4jQUwje UxUEWRrWEaYZZW2/Fq+Bydeg+yCxUfu0nSabNbRIfnnubXDwurImcUiW7/fd7t2UNBj3 HLoe1MCa2H4IZVhfsTbGmcdRwPmooyUWn78oFYqD4ix9I5ZEbjVUh9Shl49gDhqksuqi 7bag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UFKl2UFKfs3oARkEbG9n10fAJZ55UPDM03mf5h5jFOo=; b=MpwTmE9HX5Cdn33A1ajcNCVrBKHiV4zicEndMPpRIHTFXmN/TRotmw3dxNfbpLyyfu N6fIOqpNycHkF/mY86hGqvjXOOqHHgpaqgXF4vFTb/mHjm0DxMIeNj3qA2N7kCJJyX4D I1DUrRXhm19tvCL5lTOtJ6l1T5oFJBXe/1JOZS3+lK89/qLt7qMJ6LA3Uw6/N2WpGYl8 rgjQ/V+jqCPogEnUTUW9UyDh+qSp7M4FUGbviJbxHmEBVd4lHbe+RmtzvdIClJga0Tec n3s5XSHI1POUgSYrtUXMIpOwHgjOBJiq6EySO8F3Pw63aCildGoZxAoC4nuaDGEoIhSU YSpA== X-Gm-Message-State: AOAM532X1tjsxhqgWkcrsiEiY73rKuGPeZDA+QcQycghKEDWibPBB88X tNsZs63WwEVbARqNIZXSVqA= X-Google-Smtp-Source: ABdhPJzQy1s5/ij4uvMiQjGRSy7n+JgwrqmNIQQFuOg8EVZ5FC+Wy0U3pgfUuiic3D5h1ofknlmaoA== X-Received: by 2002:adf:e387:: with SMTP id e7mr3058941wrm.199.1632786590568; Mon, 27 Sep 2021 16:49:50 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id l25sm875760wmi.29.2021.09.27.16.49.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Sep 2021 16:49:50 -0700 (PDT) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=raaahh@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -45 X-Spam_score: -4.6 X-Spam_bar: ---- X-Spam_report: (-4.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-3.136, 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:275632 Archived-At: 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? We could flip it on universally, and then later change the behavior in text modes if we get some more negative feedback. As for how to do it -- maybe with a variable show-paren-global-modes. Semantics similar to font-lock-global-modes, but using 'derived-mode-p', I guess.