[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small improvements to ruby-mode
From: |
Stefan Monnier |
Subject: |
Re: Small improvements to ruby-mode |
Date: |
Fri, 05 Jul 2013 18:18:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> 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
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/01
- Re: Small improvements to ruby-mode, Bozhidar Batsov, 2013/07/01
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/01
- Message not available
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/02
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/03
- Message not available
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/05
- Re: Small improvements to ruby-mode, Stefan Monnier, 2013/07/05
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/05
- Re: Small improvements to ruby-mode,
Stefan Monnier <=
- Re: Small improvements to ruby-mode, Bozhidar Batsov, 2013/07/05
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/05
- Re: Small improvements to ruby-mode, Bozhidar Batsov, 2013/07/06
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/06
- Re: Small improvements to ruby-mode, Bozhidar Batsov, 2013/07/06
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/06
- Re: Small improvements to ruby-mode, Stefan Monnier, 2013/07/07
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/07
- Re: Small improvements to ruby-mode, Stefan Monnier, 2013/07/08
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/07/08