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

Lines Matching +defs:find +defs:face

126     ;;("f" . diff-goto-source)		;find-file
199 "`diff-mode' face inherited by hunk and index header faces."
202 (put 'diff-header-face 'face-alias 'diff-header)
203 (defvar diff-header-face 'diff-header)
215 "`diff-mode' face used to highlight file header lines."
218 (put 'diff-file-header-face 'face-alias 'diff-file-header)
219 (defvar diff-file-header-face 'diff-file-header)
223 "`diff-mode' face used to highlight index header lines."
226 (put 'diff-index-face 'face-alias 'diff-index)
227 (defvar diff-index-face 'diff-index)
231 "`diff-mode' face used to highlight hunk header lines."
234 (put 'diff-hunk-header-face 'face-alias 'diff-hunk-header)
235 (defvar diff-hunk-header-face 'diff-hunk-header)
239 "`diff-mode' face used to highlight removed lines."
242 (put 'diff-removed-face 'face-alias 'diff-removed)
243 (defvar diff-removed-face 'diff-removed)
247 "`diff-mode' face used to highlight added lines."
250 (put 'diff-added-face 'face-alias 'diff-added)
251 (defvar diff-added-face 'diff-added)
258 "`diff-mode' face used to highlight changed lines."
261 (put 'diff-changed-face 'face-alias 'diff-changed)
262 (defvar diff-changed-face 'diff-changed)
266 "`diff-mode' face used to highlight indicator of removed lines (-, <)."
269 (defvar diff-indicator-removed-face 'diff-indicator-removed)
273 "`diff-mode' face used to highlight indicator of added lines (+, >)."
276 (defvar diff-indicator-added-face 'diff-indicator-added)
280 "`diff-mode' face used to highlight indicator of changed lines."
283 (defvar diff-indicator-changed-face 'diff-indicator-changed)
287 "`diff-mode' face used to highlight function names produced by \"diff -p\"."
290 (put 'diff-function-face 'face-alias 'diff-function)
291 (defvar diff-function-face 'diff-function)
295 "`diff-mode' face used to highlight context and other side-information."
298 (put 'diff-context-face 'face-alias 'diff-context)
299 (defvar diff-context-face 'diff-context)
303 "`diff-mode' face used to highlight nonexistent files in recursive diffs."
306 (put 'diff-nonexistent-face 'face-alias 'diff-nonexistent)
307 (defvar diff-nonexistent-face 'diff-nonexistent)
334 (1 diff-hunk-header-face) (2 diff-function-face))
336 (1 diff-hunk-header-face) (2 diff-function-face))
337 ("^\\*\\*\\* .+ \\*\\*\\*\\*". diff-hunk-header-face) ;context
338 ("^--- .+ ----$" . diff-hunk-header-face) ;context
339 ("^[0-9,]+[acd][0-9,]+$" . diff-hunk-header-face) ;normal
340 ("^---$" . diff-hunk-header-face) ;normal
342 (0 diff-header-face) (2 diff-file-header-face prepend))
344 (1 diff-indicator-removed-face) (2 diff-removed-face))
346 (1 diff-indicator-added-face) (2 diff-added-face))
348 (1 diff-indicator-changed-face) (2 diff-changed-face))
350 (0 diff-header-face) (1 diff-index-face prepend))
351 ("^Only in .*\n" . diff-nonexistent-face)
353 (1 font-lock-comment-delimiter-face)
354 (2 font-lock-comment-face))
355 ("^[^-=+*!<>#].*\n" (0 diff-context-face))))
399 (error (error "Can't find the beginning of the hunk")))))
407 (error (error "Can't find the beginning of the file")))))
548 "Tell Emacs where the find the source file of the current hunk.
555 nil (diff-find-file-name old) t))))
588 (defun diff-find-file-name (&optional old prefix)
625 (diff-find-file-name old (match-string 1)))
766 (error "Can't find matching `--- n1,n2 ----' line"))
841 (error "Can't find matching `--- n1,n2 ----' line"))
1036 'diff-find-file-name))
1248 (defun diff-find-text (text)
1262 (defun diff-find-approx-text (text)
1284 (defun diff-find-source-location (&optional other-file reverse)
1307 (error "Can't find the hunk header")
1311 (error "Can't find the hunk separator"))
1313 (file (or (diff-find-file-name other) (error "Can't find the file")))
1314 (buf (find-file-noselect file)))
1323 (pos (or (diff-find-text (car old))
1324 (progn (setq switched t) (diff-find-text (car new)))
1327 (diff-find-approx-text (car old))
1331 (diff-find-approx-text (car new))
1365 (diff-find-source-location (not reverse) reverse)
1368 (error "Can't find the text to patch"))
1410 (diff-find-source-location (not reverse) reverse)
1430 (diff-find-source-location other-file rev)
1444 (diff-find-source-location)
1467 (error "Can't find line number"))
1512 ;; (diff-find-file-name, diff-mode): add smarts to find the right file
1532 ;; (diff-find-file-name): taken out of diff-goto-source.