aboutsummaryrefslogtreecommitdiffstats
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* * misc/ruby-mode.el (ruby-mode-set-encoding): commit miss.nobu2010-05-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode-set-encoding): skip shebang linenobu2010-05-311-1/+1
| | | | | | | always regardless of ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el (ruby-style-version): take revision ifnobu2010-05-251-1/+1
| | | | | | | keyword is expanded. [ruby-dev:41408] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode-map): binded C-c C-c and C-c C-c C-ukosaki2010-04-071-1/+3
| | | | | | | | | | 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
* * misc/ruby-mode.el (ruby-here-doc-beg-match): fix for here-docnobu2010-01-121-3/+5
| | | | | | | which ends with an underscore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/rdoc-mode.el: added.nobu2009-09-181-0/+82
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el: It is too late to set c-file-style inknu2009-06-241-4/+5
| | | | | | | | c-mode-hook (at least on Emacs 23). Call c-set-style instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb (IRB::InputCompletor::Operators): Addknu2009-04-031-2/+2
| | | | | | | | | | | | | | | | | 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
* * misc/ruby-mode.el: added comment to mention newer versionmatz2008-12-231-6/+47
| | | | | | | 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
* * misc/ruby-style.el (ruby-style-c-mode): buffer may not have filenobu2008-10-091-1/+9
| | | | | | | name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el: safe custimizable variables.nobu2008-09-261-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-keyword-end-re): emacs21 support. amatz2008-09-221-15/+41
| | | | | | | | | | | 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
* * misc/emacs-mode.el: don't set case-fold-search globally to nil;matz2008-09-061-4/+5
| | | | | | 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
* * misc/ruby-mode.el: fix a variable-name error.matz2008-09-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/*.el: untabify, for interal consistency and consistencymatz2008-09-064-857/+857
| | | | | | with standard Emacs elisp files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el, misc/ruby-electric.el: use regexp-opt wherematz2008-09-062-18/+33
| | | | | | possible for more efficient regexps. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el: don't highlight keywords when they're thematz2008-09-061-5/+4
| | | | | | beginning of non-keyword symbols. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el: don't crash the whole mode if the Subversionmatz2008-09-061-3/+2
| | | | | | $ keyword isn't interpolated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/*.el: merged the following patches from Nathan Weizenbaummatz2008-09-062-20/+20
| | | | | | | | <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
* * misc/ruby-mode.el (ruby-imenu-create-index-in-block): Fix theknu2008-08-071-1/+1
| | | | | | | | 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
* * misc/ruby-mode.el: fix here-doc strings with inner quotes. patchesnobu2008-07-221-46/+96
| | | | | | | | 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
* * misc/ruby-mode.el (ruby-mode): use run-hooks if run-mode-hook ismatz2008-05-261-1/+3
| | | | | | | 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
* * misc/ruby-mode.el: move fontifying code from hook.matz2008-05-021-18/+12
| | | | | | [ruby-core:16636] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el (ruby-style-{case,label}-indent): up list fromnobu2008-04-221-0/+2
| | | | | | | indentation point. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-encoding-map): added shift-jis for oldernobu2008-04-151-12/+20
| | | | | | | | | | | | | | | | 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
* * misc/rdebug.el, misc/README: Remove rdebug.el as per requestknu2008-04-101-136/+0
| | | | | | | | from the maintainer and mention the ruby-debug project at RubyForge in README. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention the ruby-debug project at RubyForge.knu2008-04-101-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode): should use `run-mode-hooks' insteadnobu2008-03-171-1/+1
| | | | | | | | 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
* * misc/ruby-mode.el (ruby-encoding-map, ruby-use-encoding-map): addednobu2008-03-141-4/+12
| | | | | | | to customize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode-set-encoding): special treat fornobu2008-03-121-0/+3
| | | | | | | compatibility with -Ks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-add-log-current-method): use ruby stylenobu2008-03-061-8/+33
| | | | | | | method name format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-calculate-indent): should distinguishmatz2008-02-261-1/+1
| | | | | | comment and # in strings. [ruby-dev:33874] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el (ruby-style-label-indent): fix for labels insidenobu2008-02-231-1/+1
| | | | | | | blocks in switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode-set-encoding): updates magic comment.nobu2008-01-281-9/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode): set ruby-mode-set-encoding to buffernobu2008-01-271-0/+1
| | | | | | | local before-save-hook. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-mode-set-encoding): automatically insertnobu2008-01-271-10/+30
| | | | | | | encoding magic comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * $Date$ keyword removed to avoid inclusion of locale dependentakr2008-01-063-3/+0
| | | | | | | string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-parse-partial): handle stringifiedmatz2007-11-121-2/+3
| | | | | | symbols properly using ruby-forward-string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el (ruby-style-{case,label}-indent): adjust fornobu2007-10-261-9/+13
| | | | | | | labels inside switch block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): dot at the head of the line denote linematz2007-10-251-6/+10
| | | | | | | | | 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
* * misc/ruby-style.el (ruby-style-label-indent): fix for function topnobu2007-09-201-3/+23
| | | | | | | level labels. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el (ruby-style-label-indent): for yacc rules.nobu2007-05-171-4/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el: new file. C/C++ style for ruby source code.nobu2007-04-261-0/+36
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-block-end-re): Support for theknu2007-03-111-1/+1
| | | | | | | exprimental ';;' terminator had been dropped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/README, misc/rdebug.el: Add rdebug.el, Emacs ruby-debugknu2007-03-102-6/+143
| | | | | | | | interface based on rubydb3x.el; submitted by Martin Nordholts <enselic AT gmail.com> in [ruby-bugs:PR#9023]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fixmatz2007-01-241-1/+1
| | | | | | regexp font-lock bug. [ruby-talk:235758] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (Matrix::rank): use quo method to avoid integermatz2006-12-051-0/+2
| | | | | | | | | 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
* * misc/ruby-mode.el (ruby-parse-partial): better here-doc support.matz2006-09-131-1/+1
| | | | | | | | 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
* * misc/ruby-mode.el (ruby-expr-beg): support $! at the end ofmatz2005-11-301-1/+1
| | | | | | | expression. [ruby-dev:27868] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-calculate-indent): arrange deep-indentnobu2005-09-241-2/+6
| | | | | | | 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