21 feb. 2024 kl. 14.13 skrev kobarity : > As far as I have tried, native completions cannot be enabled for > libedit-based readline package, even on Linux. Did you find out why? Python responds nicely to TAB if run from a terminal, so what is it that we do in Emacs that prevents it from doing so? A TTY setting, or an environment variable (the TERM=dumb)? > So, there are two ways for Mac users to avoid the warning. One is to > use gnureadline instead of libedit, and the other is to give up native > completions and set `python-shell-completion-native-enable' to nil. Preferably neither. Emacs should adapt to the system environment, and in particular not warn about the default environment. A warning is an indication of a possible risk or other problem, and there is none here. At most, python-mode could show a calm notice on the echo line but even that is a stretch. What do you think about this rough patch?