unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Carlos Pita <carlosjosepita@gmail.com>
Cc: Robert Pluim <rpluim@gmail.com>, 32120@debbugs.gnu.org
Subject: bug#32120: 26.1; In python.el tab-width should default to 4
Date: Sat, 30 Mar 2019 08:52:33 -0400	[thread overview]
Message-ID: <87mulc8qy6.fsf@gmail.com> (raw)
In-Reply-To: <CAELgYhd0mMNQnpPtEapfspZTREX_g7D5vNrn1J+jwKBfr4FAHw@mail.gmail.com> (Carlos Pita's message of "Sat, 30 Mar 2019 00:25:46 -0300")

Carlos Pita <carlosjosepita@gmail.com> writes:

> On Sat, Mar 30, 2019 at 12:17 AM Noam Postavsky <npostavs@gmail.com> wrote:
>
>>
>> Seems clear to me that the proper solution is simply to rebind C-x Tab
>> S-left/right to use python-indent-shift-left/right.  That will solve the
>> actual problem you experience, without incorrectly showing any existing
>> tab charaters as 4 spaces.
>>
>>
>  I would agree with you if I understood why is it incorrect to show 4
> spaces for a tab.

Because, as Glenn mentioned, the Python spec specifically says that tabs
should be 8 spaces.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32120#14





  reply	other threads:[~2019-03-30 12:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-10 22:05 bug#32120: 26.1; In python.el tab-width should default to 4 Carlos Pita
2018-07-11  9:33 ` Robert Pluim
2018-07-11 13:50   ` Carlos Pita
2018-07-11 17:19     ` Glenn Morris
2018-07-11 17:25       ` Carlos Pita
2018-07-11 20:15         ` Glenn Morris
2018-07-11 20:23           ` Carlos Pita
2019-03-30  3:17         ` Noam Postavsky
2019-03-30  3:25           ` Carlos Pita
2019-03-30 12:52             ` Noam Postavsky [this message]
2019-03-30 13:33               ` Carlos Pita
2019-03-30 13:37                 ` Carlos Pita
2019-01-07  3:13 ` bug#32120: Carlos Pita
2019-09-13 11:03 ` bug#32120: 26.1; In python.el tab-width should default to 4 Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mulc8qy6.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=32120@debbugs.gnu.org \
    --cc=carlosjosepita@gmail.com \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).