[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issues with Emacs master?

From: Andreas Röhler
Subject: Re: Issues with Emacs master?
Date: Mon, 5 Aug 2019 22:26:43 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 05.08.19 21:44, Stefan Monnier wrote:
(to know about python-indent-offset) I get in the minibuffer,
- on Windows (MSYS2/MINGW64 build):
    "Shell native completion is disabled, using fallback"
- on GNU/Linux Mint 19.1 (Cairo build):
    "Shell native completion is enabled."
Customizing `python-indent-guess-indent-offset-verbose` to nil should avoid
this message. IMO nil by default seems reasonable.
Hmm, the code I see for it is:

     python.el-      (if (and indentation (not (zerop indentation)))
     python.el-          (set (make-local-variable 'python-indent-offset) 
     python.el:        (when python-indent-guess-indent-offset-verbose
     python.el-          (message "Can't guess python-indent-offset, using defaults: 
     python.el-                   python-indent-offset))))))))

so the message it controls seems to be quite different from the message
that the OP sees.


Referred to mentioned

"Can’t guess python-indent-offset, using defaults: 4"

BTW that's a thing noticed here too for a certain time.

Not a serious bug, but not helpful, worth fixing.

Guessing indent OTOH is costly and reasonably off by default.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]