From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#46739: Python mode vs. whitespace Date: Thu, 25 Feb 2021 19:00:24 -0600 Message-ID: References: <87sg5musro.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27628"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46739@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 26 02:01:28 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 1lFRVX-000743-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Feb 2021 02:01:27 +0100 Original-Received: from localhost ([::1]:34948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFRVV-0005p9-If for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Feb 2021 20:01:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFRVA-0005ms-9k for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 20:01:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFRV8-0007FO-DM for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 20:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lFRV8-0006AO-C0 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 20:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2021 01:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46739 X-GNU-PR-Package: emacs Original-Received: via spool by 46739-submit@debbugs.gnu.org id=B46739.161430123323649 (code B ref 46739); Fri, 26 Feb 2021 01:01:02 +0000 Original-Received: (at 46739) by debbugs.gnu.org; 26 Feb 2021 01:00:33 +0000 Original-Received: from localhost ([127.0.0.1]:39808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFRUf-00069M-8q for submit@debbugs.gnu.org; Thu, 25 Feb 2021 20:00:33 -0500 Original-Received: from mail-pj1-f48.google.com ([209.85.216.48]:50760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFRUc-000698-Mm for 46739@debbugs.gnu.org; Thu, 25 Feb 2021 20:00:31 -0500 Original-Received: by mail-pj1-f48.google.com with SMTP id b15so4917382pjb.0 for <46739@debbugs.gnu.org>; Thu, 25 Feb 2021 17:00:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=aSVBuFAjijbPsXCLPjjXJaUnoPp8sQ3xbi+2sm0DNbs=; b=KQLP95nu/XAAAW+J6NNkEcHIy/Oi9ChsG5UEiLzJQSX3um+zB8+PodfcKKxurcqSo/ 1RGrbSWDAT+2zZW4N0bz1IGaMJnQjsoOf36BoffP5Y+iTlC9CNcmmgcSMDRBzpZWMXeS +exqfFeqXggADRyqI3a3key24uw+KX1NTNtGyzHi1moXePRr2Bpg3CCzhYT2rekeLJhM 3wL5tn4eS4GUUr/JUGTn8+fYrxJan4dC16yn3LZStKDeSvvLa8RRCtyRO1Gz98J0YU0L jZ04RwDKHKL571Nby1d9KFET0ByUVBOOR8C+xr20nizxxE8PUR7bbrEJTgygt42jFJhG 3XSg== X-Gm-Message-State: AOAM531++zwotKzIqwo9kpFTl4oMjRod7ykg7mfUXAFaYI/OYwjQmuiK HjoQ6vJpjdm2+LLzTSNWRO0l+xJ+cgOgQXmAMhM= X-Google-Smtp-Source: ABdhPJz49KgU0bDnW/+J0mkfC1QQFNCeXOEVrlHifX1AdnyYXwaMQUBYLYxPXgAyj8sCuNUOxRC4vrR8aSjRnFef0gM= X-Received: by 2002:a17:903:31c4:b029:e1:8840:8ab9 with SMTP id v4-20020a17090331c4b02900e188408ab9mr507164ple.70.1614301224843; Thu, 25 Feb 2021 17:00:24 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 25 Feb 2021 19:00:24 -0600 In-Reply-To: <87sg5musro.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Wed, 24 Feb 2021 10:03:07 +0800") 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:200827 Archived-At: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > $ emacs file.py > > p=3D1 > p=3D 2 > p =3D 3 > p =3D4 > > 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. I don't think I understand. What is the recipe for reproducing this bug? What do you see, and what do you expect to see? Which version of Emacs are you using?