diff options
| author | Eli Zaretskii | 2016-01-30 14:16:36 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-01-30 14:16:36 +0200 |
| commit | 25b79d7bc71079cd6ebb2700623e7e3b76b03287 (patch) | |
| tree | 1654109110b07b8ebf8fd9b9196e73f2d4553972 /doc | |
| parent | ccc3b3cd68312e1d69d9f9af943ee2b9a9d88198 (diff) | |
| download | emacs-25b79d7bc71079cd6ebb2700623e7e3b76b03287.tar.gz emacs-25b79d7bc71079cd6ebb2700623e7e3b76b03287.zip | |
Improve Ruby support in 'etags'
* lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
singleton classes. Remove class qualifiers from tags generated
for method and constant names. (Bug#22241)
* doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
are tagged by etags in Ruby.
* etc/NEWS: Mention that constants are tagged by etags in Ruby.
* test/etags/ruby-src/test1.ruby: Add more tests.
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/ETAGS.good_6:
* test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
tests.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/maintaining.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 471a16b57de..7039de63e53 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -2264,7 +2264,7 @@ generate a tag. | |||
| 2264 | 2264 | ||
| 2265 | @item | 2265 | @item |
| 2266 | In Ruby code, @code{def} or @code{class} or @code{module} at the | 2266 | In Ruby code, @code{def} or @code{class} or @code{module} at the |
| 2267 | beginning of a line generate a tag. | 2267 | beginning of a line generate a tag. Constants also generate tags. |
| 2268 | @end itemize | 2268 | @end itemize |
| 2269 | 2269 | ||
| 2270 | You can also generate tags based on regexp matching (@pxref{Etags | 2270 | You can also generate tags based on regexp matching (@pxref{Etags |