From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#47388: 27.1; eldoc-documentation-function is ignore in updated eldoc Date: Sun, 28 Mar 2021 12:37:47 -0400 Message-ID: References: <871rc35nwr.fsf@gmail.com> <87o8f53h3q.fsf@tcd.ie> <87im5dg36l.fsf@gmail.com> <87czvlraus.fsf@gmail.com> <87a6qpg02v.fsf@gmail.com> <87y2e894x6.fsf@gmail.com> <87zgynbjy4.fsf@gmail.com> <874kgvfi2p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18311"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "Basil L. Contovounesios" , Alex Branham , 47388@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 28 18:38:11 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 1lQYQU-0004dV-0m for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 18:38:10 +0200 Original-Received: from localhost ([::1]:37920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQYQT-0003hA-1J for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 12:38:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33918) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQYQL-0003fe-TE for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 12:38:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35360) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQYQL-00044r-Lt for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 12:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQYQL-0001BE-J8 for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 12:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Mar 2021 16:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47388 X-GNU-PR-Package: emacs Original-Received: via spool by 47388-submit@debbugs.gnu.org id=B47388.16169494784527 (code B ref 47388); Sun, 28 Mar 2021 16:38:01 +0000 Original-Received: (at 47388) by debbugs.gnu.org; 28 Mar 2021 16:37:58 +0000 Original-Received: from localhost ([127.0.0.1]:46906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQYQH-0001Ax-TQ for submit@debbugs.gnu.org; Sun, 28 Mar 2021 12:37:58 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:48431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQYQG-0001Ak-89 for 47388@debbugs.gnu.org; Sun, 28 Mar 2021 12:37:56 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7655D10022F; Sun, 28 Mar 2021 12:37:50 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E903B100216; Sun, 28 Mar 2021 12:37:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1616949468; bh=cmIRTaZd0CAH7CDC0HlRjFKNqYgEBkj00eQecLJ7TM0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=I7X5c89wHY/yds0A3zzX/tua7wExGtZbK1fhbQ9f9AihUksGAEjAFR46N8R0t4dX7 0guSWxjIszTq77kMzPpPo1mf/EWBdQAoygqBf4hJfEamU9szprynwopQG89mL3VJYA dm4ZKr8wPnWQdmj5xL0AGiyswy3+A7HIN31CooC918VpMbz0YNXuUKzqZefmuZuawy 8ZmRhw3XPmuYeWCAO0opj6gVZ8muJnkU8o0RwH8QNC6ahzwTDQe4LiwlCuqvHeo1Gd 879V52K3ftW+oJBYHqTsQjoarADj6taFjTrxZc1seam/kxQLI1ndmsNwekNme3VfEn 6j5Rt17nzFaAg== Original-Received: from alfajor (unknown [216.154.43.249]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B25C012023B; Sun, 28 Mar 2021 12:37:48 -0400 (EDT) In-Reply-To: <874kgvfi2p.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 28 Mar 2021 15:50:38 +0100") 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:203190 Archived-At: > (when (function-equal #'ignore eldoc-documentation-function) > (setq-local eldoc-documentation-function #'eldoc-documentation-default|compose|whatever)))) BTW, using code like the one above is tolerable, usually for historical reasons, but new APIs should aim not to need such things: comparing functions is fundamentally always a hack. Stefan