cmds = """
ggplot
qplot
geom_jitter
geom_line
geom_path
geom_pointrange
geom_point
geom_quantile
geom_rect
geom_ribbon
geom_segment
geom_rug
geom_step
geom_text
geom_tile
geom_violin
geom_vlin
geom_polygon
geom_abline
geom_area
geom_bar
geom_bin2d
geom_blank
geom_boxplot
geom_contour
geom_crossbar
geom_density
geom_density2d
geom_dotplot
geom_errorbar
geom_errorbarh
geom_freqpoly
geom_hex
geom_histogram
geom_hline
stat_bin
stat_bin2d
stat_bindot
stat_binhex
stat_boxplot
stat_contour
stat_density
stat_density2d
stat_ecdf
stat_function
stat_identify
stat_qq
stat_quantile
stat_smooth
stat_spoke
stat_sum
stat_summary
stat_unique
stat_ydensity
expand_limits
guides
guide_legend
guide_colourbar
scale_alpha
scale_alpha_continuous
scale_alpha_discrete
scale_area
scale_colour_brewer
scale_color_brewer
scale_fill_brewer
scale_colour_gradient
scale_color_gradient
scale_color_continuous
scale_color_gradient
scale_colour_continuous
scale_fill_continuous
scale_fill_gradient
scale_colour_gradient2
scale_color_gradient2
scale_fill_gradient2
scale_colour_gradientn
scale_color_gradientn
scale_fill_gradientn
scale_colour_grey
scale_color_grey
scale_fill_grey
scale_colour_hue
scale_color_discrete
scale_color_hue
scale_colour_discrete
scale_fill_discrete
scale_fill_hue
scale_identity
scale_alpha_identity
scale_color_identity
scale_colour_identity
scale_fill_identity
scale_linetype_identity
scale_shape_identity
scale_size_identity
scale_manual
scale_alpha_manual
scale_color_manual
scale_colour_manual
scale_fill_manual
scale_linetype_manual
scale_shape_manual
scale_size_manual
scale_size
scale_size_continuous
scale_size_discrete
scale_linetype
scale_linetype_continuous
scale_linetype_discrete
scale_shape
scale_shape_continuous
scale_shape_discrete
scale_x_continuous
scale_x_log10
scale_x_reverse
scale_x_sqrt
scale_y_continuous
scale_y_log10
scale_y_reverse
scale_y_sqrt
scale_x_date
scale_y_datetime
scale_x_datetime
scale_y_datetime
scale_x_discrete
scale_y_discrete
xlim
ylim
coord_fixed
coord_flip
coord_map
coord_polar
coord_trans
label_both
label_bquote
label_parsed
label_value
position_dodge
position_fill
position_identity
position_stack
position_jitter
annotate
annotation_custom
annotation_logticks
annotation_map
annotation_raster
borders
add_theme
calc_element
element_blank
element_line
element_rect
element_text
theme
theme_bw
theme_grey
theme_classic
aes
aes_all
aes_auto
aes_string
"""
for x in cmds.split("\n"):
  if x:
    print "%s = mkfunc(\"%s\")" % (x,x)