If I understood correctly, we do not like code included with the Emacs distribution to use `defadvice'. longlines.el uses defadvice for `newline', `kill-region', `copy-region-as-kill', `yank' and `yank-pop'.
Yes,it would be good to think about other mechanisms to use instead of that. Yidong, would you like to think about what kind of new hook might make it possible to do the job? _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel