Re: simple func for adding www addresses

2004-09-07 Thread Uwe Brauer
> "Colin" == Colin Rafferty <[EMAIL PROTECTED]> writes: Colin> You really shouldn't use knowledge of the format of the Colin> .bbdb file to do this. A better solution might be based Colin> along the lines of how bbdb-ftp.el works. This is the main Colin> entry point: Thanks

Re: simple func for adding www addresses

2004-09-07 Thread colin . rafferty
Uwe Brauer wrote: > The following primitive hack adds a www address to my bbdb > (defun my-bbdb-add-www () ...) > Does anybody have an idea about a cleaner solution? You really shouldn't use knowledge of the format of the .bbdb file to do this. A better solution might be based along the lines

simple func for adding www addresses

2004-09-06 Thread Uwe Brauer
Hello Sorry for any double posting: The following primitive hack adds a www address to my bbdb (defun my-bbdb-add-www () (interactive) (let ((myurl (ffap-url-at-point))) (find-file-confirm-non-existing "~/.bbdb") (goto-char (point-max)) (insert "[nil nil nil nil nil nil n