1 ;;; remember-bibl --- Bibl support for remember.el
3 ;; Copyright (C) 1999, 2000, 2001 John Wiegley
5 ;; Author: John Wiegley <johnw@gnu.org>
6 ;; Maintainer: Sacha Chua <sacha@free.net.ph>
7 ;; Created: 29 Mar 1999
9 ;; Keywords: data memory todo pim bibliography
10 ;; URL: http://sacha.free.net.ph/notebook/emacs/emacs-wiki/remember-bibl.el
12 ;; This file is not part of GNU Emacs.
14 ;; This is free software; you can redistribute it and/or modify it under
15 ;; the terms of the GNU General Public License as published by the Free
16 ;; Software Foundation; either version 2, or (at your option) any later
19 ;; This is distributed in the hope that it will be useful, but WITHOUT
20 ;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 ;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24 ;; You should have received a copy of the GNU General Public License
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
26 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27 ;; MA 02111-1307, USA.
31 ;; You can get bibl-mode from
32 ;; http://ftp.azc.uam.mx/mirrors/gnu/emacs-lisp/bosullivan-packages/bibl-mode/
41 (defun remember-url ()
42 "Remember a URL in `bibl-mode' that is being visited with w3."
46 (let ((url (url-view-url t
))
48 (keywords (read-string "Keywords: "))
49 (desc (read-string "Description: ")))
52 (forward-line 1) (end-of-line)
54 (forward-line 1) (end-of-line)
56 (forward-line 1) (end-of-line)
63 (defun remember-location ()
64 "Remember a bookmark location in `bibl-mode'."
69 (let ((name (read-string "Title: "))
70 (keywords (read-string "Keywords: "))
71 (desc (read-string "Description: ")))
73 (bookmark-set-annotation name desc
)
76 (forward-line 1) (end-of-line)
78 (forward-line 1) (end-of-line)
80 (forward-line 1) (end-of-line)
81 (insert (bookmark-get-filename name
))
83 (bookmark-delete name
)
84 (when remember-save-after-remembering
(save-buffer))
89 (provide 'remember-bibl
)
91 ;;; remember-bibl.el ends here