/usr/share/emacs/site-lisp/search-citeseer/search-citeseer.el is in search-citeseer 0.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ;;; search-citeseer.el --- Helps searching Citeseer
;;; (http://citeseer.nj.nec.com/cs) for BibTeX entries
;; Copyright (C) 2002 Rodrigo Araujo Real
;; Author: Rodrigo Araujo Real <rreal@inf.ufrgs.br>
;; Maintainer: Rodrigo Araujo Real <rreal@inf.ufrgs.br>
;; Created: 14 Aug 2002
;; Version: 0.1
;; Keywords: bibtex bibliography
;; Requires: search-citeseer perl
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
;;
;; This file is neither part of XEmacs nor GNU Emacs.
;;; Commentary:
;;
;; To perform a search, you should do:
;; M-x search-citeseer
;; and follow the instructions
;;
;; Contributed to this source code:
;; Mario Domenech Goulart
(defvar search-citeseer-pathname "search-citeseer"
"*Pathname of bib executable")
(defvar search-citeseer-buffer-name "*search-citeseer*"
"Name of the buffer to display BibTeX results.")
(defun search-citeseer (query)
(interactive "sSearch Expression: ")
(start-process "search-citeseer" search-citeseer-buffer-name search-citeseer-pathname query)
(setq orig-size (window-height))
(set-buffer search-citeseer-buffer-name)
(bibtex-mode)
(goto-char (point-max))
(setq buffer-read-only t)
(pop-to-buffer search-citeseer-buffer-name)
(shrink-window (- (window-height) (/ orig-size 3)))
)
|