Mercurial > emacs
comparison lisp/textmodes/bibtex.el @ 810:80303373daae
*** empty log message ***
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Fri, 17 Jul 1992 07:10:46 +0000 |
parents | 4f28bd14272c |
children | 213978acbc1e |
comparison
equal
deleted
inserted
replaced
809:8a0066235d56 | 810:80303373daae |
---|---|
1 ;;; bibtex.el --- BibTeX mode for GNU Emacs | 1 ;;; bibtex.el --- BibTeX mode for GNU Emacs |
2 | |
3 ;; Author: Bengt Martensson <ubrinf!mond!bengt> | |
4 ;; Mark Shapiro <shapiro@corto.inria.fr> | |
5 ;; Mike Newton <newton@gumby.cs.caltech.edu> | |
6 ;; Aaron Larson <alarson@src.honeywell.com> | |
7 ;; Maintainer: Mark Shapiro <shapiro@corto.inria.fr> | |
8 ;; Keywords: tex, bib | |
2 | 9 |
3 ;; Copyright (C) 1992 Free Software Foundation, Inc. | 10 ;; Copyright (C) 1992 Free Software Foundation, Inc. |
4 | 11 |
5 ;; This file is part of GNU Emacs. | 12 ;; This file is part of GNU Emacs. |
6 | 13 |
7 ;; GNU Emacs is free software; you can redistribute it and/or modify | 14 ;; GNU Emacs is free software; you can redistribute it and/or modify |
8 ;; it under the terms of the GNU General Public License as published by | 15 ;; it under the terms of the GNU General Public License as published by |
9 ;; the Free Software Foundation; either version 2, or (at your option) | 16 ;; the Free Software Foundation; either version 1, or (at your option) |
10 ;; any later version. | 17 ;; any later version. |
11 | 18 |
12 ;; GNU Emacs is distributed in the hope that it will be useful, | 19 ;; GNU Emacs is distributed in the hope that it will be useful, |
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | 23 |
17 ;; You should have received a copy of the GNU General Public License | 24 ;; You should have received a copy of the GNU General Public License |
18 ;; along with GNU Emacs; see the file COPYING. If not, write to | 25 ;; along with GNU Emacs; see the file COPYING. If not, write to |
19 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 26 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
20 | 27 |
21 ;;; (current keeper: shapiro@corto.inria.fr) | 28 ;;; Change Log: |
22 | 29 |
23 ;;; alarson@src.honeywell.com 92-Jan-31 | 30 ;;; alarson@src.honeywell.com 92-Jan-31 |
24 ;;; Added support for: ispell, beginning/end of entry movement, a simple | 31 ;;; Added support for: ispell, beginning/end of entry movement, a simple |
25 ;;; outline like mode (hide the bodies of bibtex entries), support for | 32 ;;; outline like mode (hide the bodies of bibtex entries), support for |
26 ;;; sorting bibtex entries, and maintaining them in sorted order, and | 33 ;;; sorting bibtex entries, and maintaining them in sorted order, and |
117 | 124 |
118 ;;; NOTE by Marc Shapiro, 14-dec-87: | 125 ;;; NOTE by Marc Shapiro, 14-dec-87: |
119 ;;; (bibtex-x-environment) binds an X menu for bibtex mode to x-button-c-right. | 126 ;;; (bibtex-x-environment) binds an X menu for bibtex mode to x-button-c-right. |
120 ;;; Trouble is, in Emacs 18.44 you can't have a mode-specific mouse binding, | 127 ;;; Trouble is, in Emacs 18.44 you can't have a mode-specific mouse binding, |
121 ;;; so it will remain active in all windows. Yuck! | 128 ;;; so it will remain active in all windows. Yuck! |
129 | |
130 ;;; Code: | |
122 | 131 |
123 (provide 'bibtex) | 132 (provide 'bibtex) |
124 | 133 |
125 ;;; these guys typically don't have autoloads...[alarson:19920131.1548CST] | 134 ;;; these guys typically don't have autoloads...[alarson:19920131.1548CST] |
126 (if (not (fboundp 'TeX-insert-quote)) | 135 (if (not (fboundp 'TeX-insert-quote)) |
1255 interactively" | 1264 interactively" |
1256 (interactive) | 1265 (interactive) |
1257 (local-set-mouse '(text right) 'bibtex-sun-menu-eval)) | 1266 (local-set-mouse '(text right) 'bibtex-sun-menu-eval)) |
1258 | 1267 |
1259 ;;; bibtex-mode.el ends here | 1268 ;;; bibtex-mode.el ends here |
1260 |