1 |
;;; reftex-sel.el --- the selection modes for RefTeX |
;;; reftex-sel.el --- the selection modes for RefTeX |
2 |
|
;; Copyright (c) 1997, 1998, 1999, 2000, 2003, 2440, 2005 |
3 |
;; Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004, |
;; Free Software Foundation, Inc. |
|
;; 2005 Free Software Foundation, Inc. |
|
4 |
|
|
5 |
;; Author: Carsten Dominik <dominik@science.uva.nl> |
;; Author: Carsten Dominik <dominik@science.uva.nl> |
6 |
;; Version: 4.28 |
;; Version: VERSIONTAG |
7 |
|
|
8 |
;; This file is part of GNU Emacs. |
;; This file is part of GNU Emacs. |
9 |
|
|
19 |
|
|
20 |
;; You should have received a copy of the GNU General Public License |
;; You should have received a copy of the GNU General Public License |
21 |
;; along with GNU Emacs; see the file COPYING. If not, write to the |
;; along with GNU Emacs; see the file COPYING. If not, write to the |
22 |
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
23 |
;; Boston, MA 02110-1301, USA. |
;; Boston, MA 02111-1307, USA. |
24 |
|
|
25 |
;;; Commentary: |
;;; Commentary: |
26 |
|
|
60 |
(when (syntax-table-p reftex-latex-syntax-table) |
(when (syntax-table-p reftex-latex-syntax-table) |
61 |
(set-syntax-table reftex-latex-syntax-table)) |
(set-syntax-table reftex-latex-syntax-table)) |
62 |
;; We do not set a local map - reftex-select-item does this. |
;; We do not set a local map - reftex-select-item does this. |
63 |
(run-mode-hooks 'reftex-select-label-mode-hook)) |
(run-hooks 'reftex-select-label-mode-hook)) |
64 |
|
|
65 |
(defvar reftex-select-bib-map nil |
(defvar reftex-select-bib-map nil |
66 |
"Keymap used for *RefTeX Select* buffer, when selecting a BibTeX entry. |
"Keymap used for *RefTeX Select* buffer, when selecting a BibTeX entry. |
88 |
mode-name "BSelect") |
mode-name "BSelect") |
89 |
(set (make-local-variable 'reftex-select-marked) nil) |
(set (make-local-variable 'reftex-select-marked) nil) |
90 |
;; We do not set a local map - reftex-select-item does this. |
;; We do not set a local map - reftex-select-item does this. |
91 |
(run-mode-hooks 'reftex-select-bib-mode-hook)) |
(run-hooks 'reftex-select-bib-mode-hook)) |
92 |
|
|
93 |
;;; (defun reftex-get-offset (buf here-am-I &optional typekey toc index file) |
;;; (defun reftex-get-offset (buf here-am-I &optional typekey toc index file) |
94 |
;;; ;; Find the correct offset data, like insert-docstruct would, but faster. |
;;; ;; Find the correct offset data, like insert-docstruct would, but faster. |