[ESS] PATCH additional tags for roxygen

Vinh Nguyen vqnguyen at uci.edu
Thu Oct 28 23:58:23 CEST 2010


Used in current roxygen:
http://r-forge.r-project.org/scm/viewvc.php/pkg/R/namespace.R?view=markup&root=roxygen
http://r-forge.r-project.org/scm/viewvc.php/pkg/R/Rd2.R?view=markup&root=roxygen

no parameter required:
@import
@nord

parameter required:
@exportClass
@exportPattern
@S3method
@importFrom
@importClassesFrom
@importMethodsFrom
@useDynLib
@rdname
@slot

Patch against current SVN version:
-----BEGIN PATCH-----
Index: lisp/ess-custom.el
===================================================================
--- lisp/ess-custom.el	(revision 4416)
+++ lisp/ess-custom.el	(working copy)
@@ -636,7 +636,7 @@

 ;; ---- ./ess-roxy.el : ------------

-(defcustom ess-roxy-tags-noparam '("export")
+(defcustom ess-roxy-tags-noparam '("export" "nord" "import")
   "The tags used in roxygen fields that can be used alone.  Used
 to decide highlighting and tag completion."
   :group 'ess-roxy
@@ -648,7 +648,11 @@
 				 "name" "note" "param"
 				 "include" "references" "return"
 				 "seealso" "source" "docType"
-				 "title" "TODO" "usage")
+				 "title" "TODO" "usage"
+                                 "exportClass" "exportPattern" "S3method"
+                                 "importFrom" "importClassesFrom"
+                                 "importMethodsFrom" "useDynLib"
+                                 "rdname" "slot")
   "The tags used in roxygen fields that require a parameter.
 Used to decide highlighting and tag completion."
   :group 'ess-roxy
----END PATCH----

Vinh
--
Vinh Nguyen
Department of Statistics
Donald Bren School of ICS
2231 Bren Hall
University of California, Irvine
Irvine, CA 92607
vqnguyen at uci.edu | http://www.ics.uci.edu/~vqnguyen/
Schedule a meeting: http://tungle.me/VinhNguyen



More information about the ESS-help mailing list