>>>>> "Daniel" == Daniel Serodio <[EMAIL PROTECTED]> writes:
Daniel> Well, I've found some more info on this error. emacs-wiki Daniel> defines a line-beginning-position function with 1 optional Daniel> argument, and jde-bug defines a function with the same name Daniel> but no arguments. Daniel> In emacs-wiki.el: Daniel> (unless (fboundp 'line-beginning-position) Daniel> (defsubst line-beginning-position (&optional N) Daniel> (save-excursion (beginning-of-line N) (point)))) Daniel> In jde-bug.el: Daniel> (when jde-xemacsp Daniel> (defun line-beginning-position () Daniel> (point-at-bol)) Daniel> (defun line-end-position () Daniel> (point-at-eol))) Daniel> How can I solve this conflict? Thanks for any help. Sadly you can't. Really the best way to do these things would to remove (when jde-xemacsp (defun line-beginning-position... and instead have (defun jde-line-beginning-position() (or (when jde-xemacsp (point-at-bol) (line-beginning-position)))) or some such. Obviously you would also need to change every reference to line-beginning-position in JDE, but it would resolve the name clash. Alternatively after loading JDE you could do (defsubst line-beginning-position (&optional N) (save-excursion (beginning-of-line N) (point)))) which will force the definition of the function with the optional argument. From a quick look at the definitions it should all work. The other option would be to change all the references to line-beginning-position in JDE to point-at-bol, as an alias for this (to line-beginning-position) already exists in Emacs. Wow. Complicated eh? Phil