ruby-additional.el

* misc/ruby-additional.el: missing functions in Emacs 24.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@36888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby-electric.el: fix #198

* misc/ruby-electric.el using variable `last-command-event' instead of
  obsolete `last-command-char', so that work with Emacs trunk.
  a patch by Victor Deryagin <vderyagin AT gmail.com>.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@37297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby-additional.el: set encoding

* misc/ruby-additional.el (ruby-mode-set-encoding): now encoding needs
  to be set always explicitly actually.  [Feature #6679]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@37533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
inf-ruby.el: fix compilation-shell-minor-mode

* misc/inf-ruby.el (inferior-ruby-mode): fix the
  compilation-shell-minor-mode configuration.  a patch by
  j2petkov (Jean-Christophe Petkovich) in [ruby-core:46518].
  [Bug #6742]

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@38107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby-electric.el: use kill-region

* misc/ruby-electric.el (ruby-electric-curlies): use kill-region
  instead of interactive command delete-backward-char.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@38108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* misc: ignore pre-compiled emacs lisp files.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@38119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby-mode.el: fix argument indent

* misc/ruby-mode.el (ruby-block-end-re, ruby-delimiter)
  (ruby-mode-syntax-table, ruby-parse-partial, ruby-beginning-of-indent):
  merge from Emacs.
* misc/ruby-mode.el (ruby-calculate-indent): fix indentation of
  argument lines in parentheses.  [Bug #5140]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@38150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Fix a typo in misc/ruby-additional.el.

* misc/ruby-additional.el (ruby-mode-set-encoding): Unbreak by
  fixing a typo, s/set/setq/.




git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@38152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby-electric.el (ruby-electric-curlies): Automatically indent "}".

* misc/ruby-electric.el (ruby-electric-curlies): Automatically
  indent closing curly brackets when
  ruby-electric-newline-before-closing-bracket is true.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@38642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Fix ruby-electric-curlies.

* misc/ruby-electric.el (ruby-electric-curlies): Fix the bug where
  an open curly is always replaced with a hash sign.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@38895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
misc/ruby-electric.el: Avoid electric insertion in some cases.

* misc/ruby-electric.el (ruby-electric-curlies)
  (ruby-electric-matching-char, ruby-electric-bar): Avoid electric
  insertion when there is a prefix argument.

* misc/ruby-electric.el (ruby-electric-insert)
  (ruby-electric-cua-replace-region-p)
  (ruby-electric-cua-replace-region): Avoid electric insertion and
  fall back when cua-mode is enabled and a region is active.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk/misc@39419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e