From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] RFC: eldoc-documentation-functions hook Date: Sun, 12 Jun 2016 14:52:37 -0400 Message-ID: <20160612185237.GA12617@holos.localdomain> References: <20160612061229.GA6463@holos.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1465757581 8715 80.91.229.3 (12 Jun 2016 18:53:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2016 18:53:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 12 20:52:55 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bCAVC-00082T-TW for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2016 20:52:55 +0200 Original-Received: from localhost ([::1]:52346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCAV8-00075v-Rv for ged-emacs-devel@m.gmane.org; Sun, 12 Jun 2016 14:52:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCAV2-00070p-Lq for emacs-devel@gnu.org; Sun, 12 Jun 2016 14:52:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCAUy-0007HG-Ih for emacs-devel@gnu.org; Sun, 12 Jun 2016 14:52:43 -0400 Original-Received: from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]:35851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCAUy-0007H8-DQ for emacs-devel@gnu.org; Sun, 12 Jun 2016 14:52:40 -0400 Original-Received: by mail-qt0-x232.google.com with SMTP id 37so30154997qtc.3 for ; Sun, 12 Jun 2016 11:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Hyuvvep/vR0DCs1vMNPXw2yLQ3SfU1hGq1by3t0kESo=; b=YVqInxgudU4IjBGrflX4us1alVjC4diQEHMSypBZa/oGEO4AELLIDkSBuw2LHDjx2G D2l7/JM0yKxtYB6NCHysNe2nwh0XVC8DYhCiQHthtcNKQmBoZUPxLm7uEcG/tk63Uxs7 HrOQX+7cIWs+XvmcG1DMd3RdtjNugCaVE3HASo0NvGE7QpD2bJvJCDrfFMMs/7F44Ldn gOqQhlyxndQB4kVJ0mrrpqGVAGgp8PxY9zxKxPqM8DibxkBQXzLa0zjKc19TSNqiPQve sMQoY30z6/gtgOfj0ytCIvh9XtHGphAqlcofyWdwazzG1kJKbqmudeovZcrDIUCW3rjY Pn5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Hyuvvep/vR0DCs1vMNPXw2yLQ3SfU1hGq1by3t0kESo=; b=NNcoFP/aw4JBDlkpMW/CJC81OEb3vekO9bbvJA2DKXaFPp2hjeZSxsT0UDYktbYWUr 3337GN8wpuKBRpS2hlwShUwo164kkIUrUnQQ+lTEjPyHRk34M6WZMKO5oJG3xyEp1rg5 W34oQkyWD74yO3d475R6kzzFBKmWk+xUge8EPCoGCyJq2UgtbDT2zzWhRMLXNa3EHwbk mCn3TAjoe40KWQjs01E0VzXhTg2IVRZjpqQnHPYwm0/KzijcWrRq5ha92d6JEVg/2qQG 8Scak3gCOMDXjZjfUtCB72rsSSIrLCyjiIre/8BTcbtTJsVlmO+ZY2J/Dw9pc2w2r9Av qQAw== X-Gm-Message-State: ALyK8tL9pqdzJTxlSbldQ5yO+1Rz5lvzHiuFAKjT00vA4KCWGluO8GxQhMQGNgd0GaJzaZ+E X-Received: by 10.237.58.39 with SMTP id n36mr11362697qte.37.1465757558892; Sun, 12 Jun 2016 11:52:38 -0700 (PDT) Original-Received: from holos.localdomain (ip68-100-200-121.dc.dc.cox.net. [68.100.200.121]) by smtp.gmail.com with ESMTPSA id y47sm3984551qgy.11.2016.06.12.11.52.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Jun 2016 11:52:37 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 584ED69683; Sun, 12 Jun 2016 14:52:37 -0400 (EDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1+26 (8e342d73159b) (2016-04-27) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c0d::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204316 Archived-At: On 12/06/16 at 09:23am, Noam Postavsky wrote: > On Sun, Jun 12, 2016 at 2:12 AM, Mark Oteiza wrote: > > Perhaps the main motivation for doing this is that I don't like the > > unreadable mess I see when looking at the value of > > eldoc-documentation-function. For example, the value in > > *scratch* from emacs -Q. This also exists in other places, like lambdas > > as defcustom values in eshell, but that's another matter. > > Could we improve the display of function values instead? Why not both? AFAICT the current behavior in eldoc is an imitation of what hooks do already.