From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Small improvements to ruby-mode Date: Fri, 05 Jul 2013 18:18:18 -0400 Message-ID: References: <2A6700DEDCA640EF92B326002717596D@gmail.com> <87txkrm46t.fsf@yandex.ru> <6EF2AEF8D67840A2AF1C908AA3D0725F@gmail.com> <51C5A67A.2020002@yandex.ru> <51C6EA5F.2040408@yandex.ru> <51D1CB5A.2060900@yandex.ru> <51D1F98D.3060900@yandex.ru> <51D31E12.7060002@yandex.ru> <51D4476A.40107@yandex.ru> <51D6A02C.2020207@yandex.ru> <51D6B43B.8060902@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373062711 8296 80.91.229.3 (5 Jul 2013 22:18:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 22:18:31 +0000 (UTC) Cc: Bozhidar Batsov , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 06 00:18:30 2013 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 1UvEKj-0001u5-OG for ged-emacs-devel@m.gmane.org; Sat, 06 Jul 2013 00:18:29 +0200 Original-Received: from localhost ([::1]:41930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvEKj-0004w6-5s for ged-emacs-devel@m.gmane.org; Fri, 05 Jul 2013 18:18:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvEKe-0004vw-5R for emacs-devel@gnu.org; Fri, 05 Jul 2013 18:18:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UvEKc-0006Us-R2 for emacs-devel@gnu.org; Fri, 05 Jul 2013 18:18:24 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:51848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UvEKc-0006Uf-MB for emacs-devel@gnu.org; Fri, 05 Jul 2013 18:18:22 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r65MIIfX026443; Fri, 5 Jul 2013 18:18:19 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 5BF43AE0C1; Fri, 5 Jul 2013 18:18:18 -0400 (EDT) In-Reply-To: <51D6B43B.8060902@yandex.ru> (Dmitry Gutov's message of "Fri, 05 Jul 2013 15:55:39 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4630=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4630> : streams <994706> : uri <1468119> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161618 Archived-At: > yard-mode's value of eldoc-documentation-function is only useful in > comments. I'm maintaining another package, which sets a different value of > eldoc-documentation-function that is only useful outside of comments. The > two don't mesh. Ok, thanks, makes sense now. >>> I guess we'll eventually need eldoc-documentation-functions hook, like >>> we have for completions. >> (add-function :around (local eldoc-documentation-function) ...) >> should make eldoc-documentation-functions unnecessary. > Ah, good. Never having used `add-function' before, I assumed it wouldn't > work when the "value at place" is nil, as eldoc-documentation-function is, > by default. Indeed when the value is nil, it doesn't work as well, so we should little-by-little change those defaults to non-nil values. > I guess that means *-functions hooks are going away. Could be, indeed, tho I haven't really thought about it. Stefan