From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#46739: Python mode vs. whitespace Date: Wed, 24 Feb 2021 10:03:07 +0800 Message-ID: <87sg5musro.5.fsf@jidanni.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="29078"; mail-complaints-to="usenet@ciao.gmane.io" To: 46739@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 24 03:04:12 2021 Return-path: Envelope-to: geb-bug-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 1lEjXA-0007U8-Bt for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 03:04:12 +0100 Original-Received: from localhost ([::1]:37888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEjX9-0000qO-Ct for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 21:04:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEjX0-0000nx-UG for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 21:04:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEjX0-0002Rk-NC for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 21:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEjX0-0007ot-JQ for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 21:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Feb 2021 02:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46739 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161413220229990 (code B ref -1); Wed, 24 Feb 2021 02:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Feb 2021 02:03:22 +0000 Original-Received: from localhost ([127.0.0.1]:32879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEjWL-0007ne-Qh for submit@debbugs.gnu.org; Tue, 23 Feb 2021 21:03:22 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:37690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEjWK-0007nW-42 for submit@debbugs.gnu.org; Tue, 23 Feb 2021 21:03:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEjWJ-0008Um-SU for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 21:03:19 -0500 Original-Received: from cheetah.elm.relay.mailchannels.net ([23.83.212.34]:52962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEjWE-000274-Ko for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 21:03:19 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C19C04035B4 for ; Wed, 24 Feb 2021 02:03:11 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a43.g.dreamhost.com (100-96-17-34.trex.outbound.svc.cluster.local [100.96.17.34]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 593BC403531 for ; Wed, 24 Feb 2021 02:03:11 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a43.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.17.34 (trex/6.0.2); Wed, 24 Feb 2021 02:03:11 +0000 X-MC-Relay: Good X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Left-Ski: 4d171e1566d216af_1614132191593_1809921235 X-MC-Loop-Signature: 1614132191593:2220697414 X-MC-Ingress-Time: 1614132191592 Original-Received: from pdx1-sub0-mail-a43.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a43.g.dreamhost.com (Postfix) with ESMTP id 1589E7EE97 for ; Tue, 23 Feb 2021 18:03:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=0egbIMvXm4ME2IaWFamU5Xzq+JA=; b=F47n2+Xvj86VrHv8 /CJHHkOkmAKco3b1e22EiTe3DGXwDwfGp9tX/vXpuTuFRN+Mc9OAugxlO1v5f0Bd 6pUyqjPd/gcb1qcJa0KOn2Fb+Vwbj1HiclMI76KlyHqwzI7b/MEksLa9G7fGZoSc 59fJ7hOD8sIKMLyQG43Xf57de20= Original-Received: from jidanni.org (114-46-58-252.dynamic-ip.hinet.net [114.46.58.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a43.g.dreamhost.com (Postfix) with ESMTPSA id D66E47EE96 for ; Tue, 23 Feb 2021 18:03:10 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a43 Received-SPF: pass client-ip=23.83.212.34; envelope-from=jidanni@jidanni.org; helo=cheetah.elm.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200696 Archived-At: $ emacs file.py p=1 p= 2 p = 3 p =4 I sure wish TAB (indent-for-tab-command) would make up its mind about which one of these is best, and not throw up its hands and not deal with it at all. "Even if they are all valid." Of course 1 and 3 are better, and 3 is best. But there could be a variable to set, for users who like 1.