From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#51196: 29.0.50; python.el eldoc problems Date: Fri, 15 Oct 2021 22:22:29 +0200 Message-ID: <87o87qdomy.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13383"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: 51196@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 15 22:23:14 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 1mbTjV-0003Kq-MX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Oct 2021 22:23:13 +0200 Original-Received: from localhost ([::1]:48892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbTjU-0000sb-JT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Oct 2021 16:23:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbTjK-0000pD-RB for bug-gnu-emacs@gnu.org; Fri, 15 Oct 2021 16:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbTjK-0006mW-Ia for bug-gnu-emacs@gnu.org; Fri, 15 Oct 2021 16:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mbTjK-0004at-Cf for bug-gnu-emacs@gnu.org; Fri, 15 Oct 2021 16:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Oct 2021 20:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51196 X-GNU-PR-Package: emacs Original-Received: via spool by 51196-submit@debbugs.gnu.org id=B51196.163432935917613 (code B ref 51196); Fri, 15 Oct 2021 20:23:02 +0000 Original-Received: (at 51196) by debbugs.gnu.org; 15 Oct 2021 20:22:39 +0000 Original-Received: from localhost ([127.0.0.1]:40471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbTix-0004a1-E1 for submit@debbugs.gnu.org; Fri, 15 Oct 2021 16:22:39 -0400 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:46806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbTiv-0004Zm-DM for 51196@debbugs.gnu.org; Fri, 15 Oct 2021 16:22:38 -0400 Original-Received: by mail-wm1-f50.google.com with SMTP id l38-20020a05600c1d2600b0030d80c3667aso3185777wms.5 for <51196@debbugs.gnu.org>; Fri, 15 Oct 2021 13:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=YlA4YumHH6p5743jhT8i+BjpUZnrY2nG+mbPX1plUV8=; b=k2+a+joBhlostC87N8kRIqP8H9CXe71siRUcB/9YkQ5qbGVzPm8GRFPqh5eugoAwpv AXZNLgOXiqzb/HWw0aDFWCTxCuip1DhfLDPk+7uJ1ul+gE6nIVFLzJguVe6YDwAgI5ji QcZ2qjHZp9AK4ZfW4HeQmMNJ0KdEpK6fFobd3ZmXFi1T2Qi9wFawU/RIuDBHu1IDkHnS BTTVNEfDsnjbUB0Nqny3+XbVnuohQRb0tRA+ZqrwIS5ukELsw6Z4LIr9JvKF2oz25qUp g1/DgKuf8IdoOe0HdV28wAKkYkannD+cj/NoecnhkTKlnHeKym53fRbywIzNew9ViFoy 4ePA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=YlA4YumHH6p5743jhT8i+BjpUZnrY2nG+mbPX1plUV8=; b=2NGiDhXCQOR42mNLTtTcezjwiZ7A7Z5pwYKv0x7AIXxVwvJBwnVvXsu63v/UrsGkVW SSiWKralVNPZ+dGq6sxrHpGhRQ8vxb8KHTjUGwnG37UtRBtHyr1lIxDCfph5vtQGOLrT srWRuIKvEVMJC8/sZCYUYpmsCu07nRvET0zhAnFCxhs4kSUr0HYmzVIJXdrP5MK06NzO hZQvQ/WHeAiAF5GMZAX3ESr3CaB2HSqW4GjsdWYsdlW1r374d+yPxfrh2dLQUrZj53D8 z0vULUYqHFmx/5SHqVc0IFpl85dmdBRXrFCWOw0jAas/3clGRX9moiY5uXPhgIjZl79C StXg== X-Gm-Message-State: AOAM530fd6euhjJYIenFeXGSii1FXmUyrGykKs+b/yQdkbqxwFdUCB8t +neUmP+8zWUwQD7S1OxNAtlxd5cn8es= X-Google-Smtp-Source: ABdhPJxekKQ+8sp3vogkCTVqvW4Mxcc4yz0BXfRY/fsHchggEgtdb/xbFHxf0MrM2ajn6nnQ53kT+w== X-Received: by 2002:a1c:7212:: with SMTP id n18mr28468712wmc.87.1634329351312; Fri, 15 Oct 2021 13:22:31 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::c48f]) by smtp.gmail.com with ESMTPSA id j11sm5484649wmi.24.2021.10.15.13.22.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 13:22:30 -0700 (PDT) In-Reply-To: (Carlos Pita's message of "Wed, 13 Oct 2021 20:42:53 -0300") 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:217330 Archived-At: On Wed, 13 Oct 2021 at 20:42, Carlos Pita wrote: > I've expressed this opinion before regarding the autocompletion > mechanism, which shows similar shortcomings, I believe that the best > options are: > > - Have a sane, solid and simple python.el with good syntax highlighting, > movements commands, folding, etc. and leave the cleverness to elpy, > lsp-mode, eglot, emacs-jupyter or whatever. But the problematic Eldoc functionality is disabled by default, right? So leaving it there doesn't hurt anyone --- except for the unwitting user who doesn't know that this feature is kind of broken. > > - If we still want some basic autocompletion and documentation features > in this module, then let's do it right and open a thread in the > underlying process and talk to it, avoiding the flaky and dangerous > mechanism of pretending that emacs is the user typing. Personally I have zero motivation to implement this, because it would still require evaluating code before one can get completion or docstrings. Nowadays there are decent static analyzers for Python out there.