From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Need help with eldoc: Date: Fri, 25 Mar 2022 22:52:45 +0000 Message-ID: <87y20xd4qq.fsf@gmail.com> References: <25149.276.56904.499053@retriever.mtv.corp.google.com> <87ee2qevjs.fsf@gmail.com> <25149.10028.97873.940861@google.com> <87a6dee4dd.fsf@gmail.com> <25149.52138.240688.137767@retriever.mtv.corp.google.com> 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="10484"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 25 23:52:22 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nXsn8-0002XU-IB for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Mar 2022 23:52:22 +0100 Original-Received: from localhost ([::1]:33340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXsn7-00086O-96 for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Mar 2022 18:52:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXsmY-0007Rq-AO for emacs-devel@gnu.org; Fri, 25 Mar 2022 18:51:46 -0400 Original-Received: from [2a00:1450:4864:20::434] (port=39797 helo=mail-wr1-x434.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXsmW-0000VS-Ry for emacs-devel@gnu.org; Fri, 25 Mar 2022 18:51:45 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id j18so12615258wrd.6 for ; Fri, 25 Mar 2022 15:51:44 -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:content-transfer-encoding; bh=u4T4lfsZZb4NuZZzmR5kTR+f0OWOG53LRNQBpUVm1eY=; b=O9NjVIQYlmbH4XUfnuUod/YSRaqDY+TqgwDwtU9B2rj10p4RASArVpesKj6UlWUo5P nAUstOZ6B4R39Brj5h/Mqk0dZZ1TenPGkAB1gikiFoWvRTHD11VEZYPFVJqi7rgUut5v o9YCGgY7KZHdb7LTlIVVEulhutDSl04eW0j+WvNCKcTGChjG7sIOktlK90Ls4mNZlY7G P/plAIHrOS1ugnfmqO2llMbXJNtfEoDw55ZPZ6gLNSb9Nu1tpnfo8yv3x0emb0yxawK+ tdXjizOriavyUOc55EiMfClSBNclgPHFoqR4jEqYhXiVQdrnAiVP8qXntjOYit/VtHX1 OiZw== 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:content-transfer-encoding; bh=u4T4lfsZZb4NuZZzmR5kTR+f0OWOG53LRNQBpUVm1eY=; b=Vp3gdbkc6g/0DQG6VvhCsHE7n2w2fOdtJq85zvMfiSkBtLsQRZ3TVtvRa97ij+Obmx jAQmgh6Pu7fIlDWnq9Hbf/Bh8cwhK6cZyZ3qOP1olMnP0sFPmQ7PnDnnmbyFvmzEZ4GU diI8xx9bWtbyJAiDfoIk5g523wUnWHrtEeYtogeyuZ8qnSpstGmcB0ni5uv1E9WyJ85c kunNusVqWdYJKXR+g/uB6a81Cxc+iXIoS4KQVQgsYn2xc9fedCaL2euV3QuYphaGnVMo q/uxMagbqPccR9Q5UrnWCfa6nx/yEyz0o4F1AuC/z82gUGy6IEPoigZaDMd2mpp6ChH3 o9bQ== X-Gm-Message-State: AOAM533I2OuMpKBCaydVHhD/t3eSOy+/hXVEZMpPszK/a52krQnVRM4D UbC80bXz9wP+HtGWksFQV9Bu4ukTIYAhMA== X-Google-Smtp-Source: ABdhPJy6KLeE3h7o4gc70Ti1EJoPoKHJXAzie+7u8S06ieE9CbmGCMD+rwCZgvHXz/HCMTf+KC6Q6Q== X-Received: by 2002:a5d:52c5:0:b0:1f2:1a3:465a with SMTP id r5-20020a5d52c5000000b001f201a3465amr11191957wrv.206.1648248702804; Fri, 25 Mar 2022 15:51:42 -0700 (PDT) Original-Received: from krug ([87.196.73.186]) by smtp.gmail.com with ESMTPSA id e9-20020a5d6d09000000b00203ecdca5b7sm6719218wrq.33.2022.03.25.15.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 15:51:42 -0700 (PDT) In-Reply-To: <25149.52138.240688.137767@retriever.mtv.corp.google.com> (T. V. Raman's message of "Fri, 25 Mar 2022 07:03:22 -0700") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::434 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287461 Archived-At: "T.V Raman" writes: > This is awesome! > > Q: what is "patch in PS"? "patch in Post Scriptum" means I attached a small diff at the end of the email, after my signature. This will repurpose the eldoc-doc-buffer function for non-interactive use, as we discussed. > Once you push the patch to emacs git I'll implement what you suggest > as the final solution. OK. Perfect. For now you can use one of the solutions using internal symbols. I believe they are unlikely to change in the near future. > One more question -- Once I have this working well for myself, I then > need to build a solution that works when Emacs 28 releases --- since I > cant depend on all emacspeak users running emacs from @HEAD, but I'd > like to first get the *final* solution right, then worry about > backwards compat. Actually, this _might_ be a non-problem. You see, eldoc.el is a GNU ELPA "core package" that works in older versions of Emacs as long as they're >=3D 26.3. You can see this in the header of the eldoc.el file: ;; Package-Requires: ((emacs "26.3")) =20=20=20=20 ;; This is a GNU ELPA :core package. Avoid functionality that is not ;; compatible with the version of Emacs recorded above. So if you can arrange for emacsspeak to either use package.el ELPA packages or simply for emacsspeak to load the Emacs's lisp/emacs-lisp/eldoc.el file, then "you're golden", as they say. Jo=C3=A3o