Branch: refs/heads/master Home: https://github.com/yi-editor/yi Commit: fa5ca9743507beba0bad9a375bdecc2ada27a101 https://github.com/yi-editor/yi/commit/fa5ca9743507beba0bad9a375bdecc2ada27a101 Author: Mateusz Kowalczyk <fuuze...@fuuzetsu.co.uk> Date: 2013-12-18 (Wed, 18 Dec 2013)
Changed paths: M yi/src/library/Yi/Dired.hs M yi/src/library/Yi/Keymap/Emacs/Utils.hs M yi/src/library/Yi/MiniBuffer.hs M yi/src/library/Yi/Misc.hs M yi/src/library/Yi/Mode/Haskell.hs Log Message: ----------- Allow running of actions on minibuffer input. This relates to the issue #475. Upon further investigation, it was in fact myself that introduced the bug when implementing commits in pull request #472. The problem was that I used the hint function we pass in to do the file path substitution. The problem with that was that we are asking for some hints straight away so we can present them in the minibuffer. As a side effect, we were trying to replace a file path in the current buffer which happened to still be the file we were editing. This commit allows us to pass in a function which will only fire when the user tries to input something: not before the buffer is spawned (as getHint does) as well. The minibuffer functions could use some love, some are getting very cluttered. -- -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel --- You received this message because you are subscribed to the Google Groups "yi.devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.