Thanks for the patches, Agustin. I just tried it out. Works for the most part. One thing that doesn't work for me is (gnuplot-mode) being executed when opening a .gp file. You added this to the package, and the dh-elpa machinery is creating the appropriate file:
/etc/emacs/site-start.d/50elpa-gnuplot-mode.el I don't think this is being evaluated, however. Is it working for you? Do you know at which point in the emacs startup sequence this is sourced? Is it always supposed to be sourced? What about 'emacs -q'? Or 'emacs -Q'? Thanks