Yoshiki Hayashi wrote:
Vaclav Barta <vbar(a)comp.cz> writes:
> also bind cperl-fill-paragraph to M-q by default. Any
You should bind cperl-fill-paragraph to
fill-paragraph-function, not directly changing M-q. That
You mean like (setq
fill-paragraph-function
'cperl-fill-paragraph) ? That doesn't work (M-q still calls
fill-paragraph-or-region)... Perhaps I'm putting it in the wrong
place (I certainly don't understand how cperl-mode initializes
itself), but uncommenting the (cperl-define-key "\M-q"
'cperl-fill-paragraph) in the same place (cperl-mode-map
initialization) works OK...
Except that point, I agree it is a good change. Would you
care to post a patch to xemacs-patches?
You'll have far more trouble explaining
to me how to make a xemacs
patch than making the one-line change yourselves - but if you
insist...:-)
Bye
Vasek