summaryrefslogtreecommitdiff
path: root/misc/ruby-mode.el
AgeCommit message (Collapse)Author
2011-02-08* misc/ruby-mode.el (ruby-expr-beg): fix for invalid nest errors.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07* misc/ruby-mode.el (ruby-expr-beg, ruby-in-here-doc-p): tellnobu
singleton class definitions from here documents. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07* misc/ruby-mode.el (ruby-expr-beg, ruby-parse-partial): keywordnobu
followed by colon is label. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27* misc/ruby-mode.el (ruby-mode-map): remove deprecated binding.nobu
use M-; instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-07* misc/ruby-mode.el (ruby-mode-variables), misc/ruby-style.el:nobu
show trailing whitespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-07* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): highlightnobu
regexp after open bracket. [ruby-core:34183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-29* misc/ruby-mode.el (ruby-forward-sexp): stop after literal hashnobu
key labels. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-29* misc/ruby-mode.el (ruby-font-lock-keywords): highlight literalnobu
hash key labels as symbols. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-19Commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-19* test/ruby/test_sprintf.rb: fix ML ref. [ruby-core:32848]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31* misc/ruby-mode.el (ruby-mode-set-encoding): commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31* misc/ruby-mode.el (ruby-mode-set-encoding): skip shebang linenobu
always regardless of ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-07 * misc/ruby-mode.el (ruby-mode-map): binded C-c C-c and C-c C-c C-ukosaki
to comment-region and uncomment-region. Thanks Michael Klishin! [Feature #872] [ruby-core:20552] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12* misc/ruby-mode.el (ruby-here-doc-beg-match): fix for here-docnobu
which ends with an underscore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-03* lib/irb/completion.rb (IRB::InputCompletor::Operators): Addknu
overloadable negative operators. * lib/irb/ruby-lex.rb (RubyLex#lex_init): Support overloadable negative operators. * lib/irb/ruby-lex.rb (RubyLex#identify_identifier): Minus signs need to be escaped in regexp character class. * misc/ruby-mode.el (ruby-font-lock-keywords, ruby-parse-partial): Support overloadable negative operators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-23* misc/ruby-mode.el: added comment to mention newer versionmatz
bundled with Emacs 23 or later. a patch from Phil Hagelberg <phil at hagelb.org> in [ruby-core:20838]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26* misc/ruby-mode.el: safe custimizable variables.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-22* misc/ruby-mode.el (ruby-keyword-end-re): emacs21 support. amatz
patch from Hiroshi Moriyama <hiroshi at kvd.biglobe.ne.jp> in [ruby-dev:36471]. * misc/ruby-mode.el (ruby-in-ppss-context-p): ditto. * misc/ruby-mode.el (ruby-here-doc-end-syntax): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-06* misc/emacs-mode.el: don't set case-fold-search globally to nil;matz
instead just set it when we need it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-06* misc/ruby-mode.el: fix a variable-name error.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-06* misc/*.el: untabify, for interal consistency and consistencymatz
with standard Emacs elisp files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-06* misc/ruby-mode.el, misc/ruby-electric.el: use regexp-opt wherematz
possible for more efficient regexps. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-06* misc/ruby-mode.el: don't highlight keywords when they're thematz
beginning of non-keyword symbols. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-06* misc/ruby-mode.el: don't crash the whole mode if the Subversionmatz
$ keyword isn't interpolated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-06* misc/*.el: merged the following patches from Nathan Weizenbaummatz
<nex342 at gmail.com>. [ruby-core:18424] * misc/ruby-mode.el: improve here-doc performance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-07* misc/ruby-mode.el (ruby-imenu-create-index-in-block): Fix theknu
regexp to only pick definition lines properly. `module_funtion' is not a definition of a module named `_function'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-22* misc/ruby-mode.el: fix here-doc strings with inner quotes. patchesnobu
by Nathan Weizenbaum <nex342 AT gmail.com> from [ruby-core:17615] through [ruby-core:17910]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-26* misc/ruby-mode.el (ruby-mode): use run-hooks if run-mode-hook ismatz
not available. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:34853]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-02* misc/ruby-mode.el: move fontifying code from hook.matz
[ruby-core:16636] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-15* misc/ruby-mode.el (ruby-encoding-map): added shift-jis for oldernobu
versions. * misc/ruby-mode.el (ruby-mode-set-encoding): coding-system-to-mime-charset is not a standard function. [carbon-emacs:795] fix for the case that magic comment exists but coding system is absent. * misc/ruby-mode.el (ruby-mode): use write-contents-functions or write-contents-hooks for older versions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-17* misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' insteadnobu
of calling `run-hooks' directly to run the mode hook. patch from Chiyuan Zhang <pluskid AT gmail.com> in [ruby-core:15915] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-14* misc/ruby-mode.el (ruby-encoding-map, ruby-use-encoding-map): addednobu
to customize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-12* misc/ruby-mode.el (ruby-mode-set-encoding): special treat fornobu
compatibility with -Ks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-06* misc/ruby-mode.el (ruby-add-log-current-method): use ruby stylenobu
method name format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-26* misc/ruby-mode.el (ruby-calculate-indent): should distinguishmatz
comment and # in strings. [ruby-dev:33874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-28* misc/ruby-mode.el (ruby-mode-set-encoding): updates magic comment.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-27* misc/ruby-mode.el (ruby-mode): set ruby-mode-set-encoding to buffernobu
local before-save-hook. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-27* misc/ruby-mode.el (ruby-mode-set-encoding): automatically insertnobu
encoding magic comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-06* $Date$ keyword removed to avoid inclusion of locale dependentakr
string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12* misc/ruby-mode.el (ruby-parse-partial): handle stringifiedmatz
symbols properly using ruby-forward-string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* parse.y (parser_yylex): dot at the head of the line denote linematz
continuation from previous one to support fluent interface. [experimental] * misc/ruby-mode.el (ruby-calculate-indent): support fluent dot. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-11* misc/ruby-mode.el (ruby-block-end-re): Support for theknu
exprimental ';;' terminator had been dropped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-24* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fixmatz
regexp font-lock bug. [ruby-talk:235758] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-05* lib/matrix.rb (Matrix::rank): use quo method to avoid integermatz
division problem. [ruby-core:09644] * lib/matrix.rb (Matrix::rank_e): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-09-13* misc/ruby-mode.el (ruby-parse-partial): better here-doc support.matz
a patch from Marshall T. Vandegrift <llasram at gmail.com>. [ruby-core:08804] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-30* misc/ruby-mode.el (ruby-expr-beg): support $! at the end ofmatz
expression. [ruby-dev:27868] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-24* misc/ruby-mode.el (ruby-calculate-indent): arrange deep-indentnobu
closing parenthesis at same column as the opening. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-24* misc/ruby-mode.el (ruby-expr-beg): deal with heredoc separately.nobu
fixed: [ruby-list:41168] * misc/ruby-mode.el (ruby-calculate-indent): not to deepen indent level for continuous line inside parentheses. http://nabeken.tdiary.net/20050915.html#p02 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-12* signal.c (sigexit): call rb_thread_signal_exit() instead ofmatz
rb_exit(). [ruby-dev:26347] * eval.c (rb_thread_signal_exit): a new function to exit on main thread. * eval.c (rb_thread_switch): exit status should be retrieved from ruby_errinfo. * eval.c (rb_f_exit): ensure exit(0) should call exit(EXIT_SUCCESS). * missing/mkdir.c: remove. [ruby-core:05177] * hash.c (env_aset): do not treat nil as key-removing value. [ruby-list:40865] * parse.y (method_call): allow aref expression ([]) to take a block. * parse.y (block_dup_check): a function to check duplication of a block argument and an actual block. * lib/delegate.rb (SimpleDelegator::__setobj__): need check for recursive delegation. [ruby-core:04940] * lib/cgi.rb: add underscore aliases CGI::escape_html, CGI::unescape_html, CGI::escape_element, CGI::unescape_element. [ruby-core:05058] * misc/ruby-mode.el (ruby-expr-beg): fix looking point drift. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-06-07* parse.y (parser_yylex): allow ';;' to be block terminator inmatz
place of 'end'. [highly experimental] * misc/ruby-mode.el (ruby-block-end-re): allow ';;' for a negative indent trigger. [highly experimental] * parse.y (parser_yylex): "respond_to?:foo" should be interpreted as "respond_to? :foo" at the command level. [ruby-talk:144303] * sprintf.c (rb_f_sprintf): raise exception on debug mode (-d), not verbose mode (-w/-w). [ruby-core:05123] * sprintf.c (rb_f_sprintf): warn always on verbose mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e