• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/textmodes/

Lines Matching +defs:function +defs:document

37   "Create TAGS file by running `etags' on the current document.
42 (files (reftex-all-document-files))
54 "Last grep command used in \\[reftex-grep-document]; default for next grep.")
56 (defun reftex-grep-document (grep-cmd)
57 "Run grep query through all files related to this document.
58 With prefix arg, force to rescan document.
62 (list (read-from-minibuffer "Run grep on document (like this): "
66 (let* ((files (reftex-all-document-files t))
72 (defun reftex-search-document (&optional regexp)
73 "Regexp search through all files of the current document.
80 (setq regexp (read-string (format "Search regexp in document [%s]: "
85 (tags-search regexp (list 'reftex-all-document-files))))
87 (defun reftex-query-replace-document (&optional from to delimited)
88 "Do `query-replace-regexp' of FROM with TO over the entire document.
96 (setq from (read-string (format "Replace regexp in document [%s]: "
103 (list 'reftex-all-document-files))))
107 (defvar isearch-next-buffer-function))
110 "Produce a list of all duplicate labels in the document."
114 ;; Rescan the document to make sure
141 (if (null dlist) (error "No duplicate labels in document"))
169 Works on the entire multifile document.
182 (reftex-query-replace-document
187 "Renumber all simple labels in the document to make them sequentially.
190 have sequential numbers throughout the document. Any references to
194 documents. You should not use it if another document refers to this
197 ;; Resan the entire document
212 (files (reftex-all-document-files))
232 (reftex-ensure-write-access (reftex-all-document-files))
234 ;; Save all document buffers before this operation
235 (reftex-save-all-document-buffers)
251 (yes-or-no-p "Save entire document? "))
252 (reftex-save-all-document-buffers))
313 (defun reftex-save-all-document-buffers ()
314 "Save all documents associated with the current document.
315 The function is useful after a global action like replacing or renumbering
318 (let ((files (reftex-all-document-files))
349 (defun reftex-isearch-wrap-function ()
352 (funcall isearch-next-buffer-function (current-buffer) t)))
355 (defun reftex-isearch-push-state-function ()
357 (reftex-isearch-pop-state-function cmd ,(current-buffer))))
359 (defun reftex-isearch-pop-state-function (cmd buffer)
376 (when isearch-next-buffer-function
381 (funcall isearch-next-buffer-function
390 (funcall isearch-next-buffer-function
400 ;;; This function is called when isearch reaches the end of a
403 ;;; the document. This function looks through list of files in the
404 ;;; document (reftex-all-document-files), searches for the current
406 ;;; of the document. If WRAPP is true then wrap the search to the
411 (flist (reftex-all-document-files))
428 "When on, isearch searches the whole document, not only the current file.
430 the current TeX document.
446 (set (make-local-variable 'isearch-wrap-function)
447 'reftex-isearch-wrap-function)
448 (set (make-local-variable 'isearch-search-fun-function)
450 (set (make-local-variable 'isearch-push-state-function)
451 'reftex-isearch-push-state-function)
452 (set (make-local-variable 'isearch-next-buffer-function)
459 (kill-local-variable 'isearch-wrap-function)
460 (kill-local-variable 'isearch-search-fun-function)
461 (kill-local-variable 'isearch-push-state-function)
462 (kill-local-variable 'isearch-next-buffer-function)