Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Latest inf-ruby changes on github have changed inf-ruby-keys to inf-ruby-setup-keybindings #145

Closed
wants to merge 1 commit into from

5 participants

@tmcgilchrist

Simple rename of a function in inf-ruby.

Commit in question
nonsequitur/inf-ruby@86db14c

@daemianmack

This bit me too. +1

@technomancy
Owner

Does this break compatibility with the stable version of inf-ruby published at marmalade? Also, is the repo in question the canonical version of inf-ruby? Last I heard it was still being maintained out of Ruby's own repository.

@dgutov

No, and yes. See where the "homepage" link from the Marmalade page leads.
inf-ruby.el in the Ruby repository is quite different, and it hasn't seen substantial changes in over 4 years.

@qizwiz

Suggested workaround. Put this in your .emacs or init.el:
(defalias 'inf-ruby-keys 'inf-ruby-setup-keybindings)

@dgutov

There's no reason to: the latest inf-ruby calls inf-ruby-setup-keybindings in an autoload.

The hook should just be removed.

@Felix11H Felix11H referenced this pull request from a commit in Felix11H/.emacs.d
@eschulte eschulte remove `inf-ruby-keys' (which has been renamed)
According to technomancy/emacs-starter-kit#145
this can just be removed, as the function should already be called if
inf-ruby is available.
afa7809
@technomancy
Owner

Thanks, but this project is no longer under deverlopment.

@morganastra morganastra referenced this pull request from a commit in morganastra/emacs24-starter-kit
@eschulte eschulte remove `inf-ruby-keys' (which has been renamed)
According to technomancy/emacs-starter-kit#145
this can just be removed, as the function should already be called if
inf-ruby is available.
d40bdf2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 6, 2012
  1. @tmcgilchrist
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  modules/starter-kit-ruby.el
View
2  modules/starter-kit-ruby.el
@@ -44,7 +44,7 @@
;; work around possible elpa bug
(ignore-errors (require 'ruby-compilation))
(setq ruby-use-encoding-map nil)
- (add-hook 'ruby-mode-hook 'inf-ruby-keys)
+ (add-hook 'ruby-mode-hook 'inf-ruby-setup-keybindings)
(define-key ruby-mode-map (kbd "RET") 'reindent-then-newline-and-indent)
(define-key ruby-mode-map (kbd "C-M-h") 'backward-kill-word)))
Something went wrong with that request. Please try again.