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

Lines Matching +defs:indent +defs:string

64 		 string)
79 If this is non-nil, it should be a regular expression string;
104 TeX Mode sets `tex-command' to this string.
106 :type 'string
112 LaTeX Mode sets `tex-command' to this string.
114 :type 'string
120 SliTeX Mode sets `tex-command' to this string.
122 :type 'string
131 :type 'string
143 (string :tag "String at your choice"))
163 :type '(repeat string)
169 If this string contains an asterisk (`*'), that is replaced by the file name;
171 :type 'string
177 If this string contains an asterisk (`*'), that is replaced by the file name;
179 :type 'string
185 If this string contains an asterisk (`*'), that is replaced by the file name;
193 '(format \"lpr -P%s\" (read-string \"Use printer: \")))
197 :type '(choice (string :tag "Command")
208 If it is a string, that specifies the command directly.
209 If this string contains an asterisk (`*'), that is replaced by the file name;
213 :type '(choice (const nil) string sexp)
220 :type 'string
235 :type 'string
242 :type 'string
253 If this string contains an asterisk \(`*'\), that is replaced by the file name;
313 (defcustom latex-imenu-indent-string ". "
316 :type 'string
366 latex-imenu-indent-string))
408 (1+ (or (cdr (assoc (match-string 1) latex-section-alist)) -1))
561 'font-lock-string-face)
632 ;; start and end the fenced-string).
667 '((t :inherit font-lock-string-face))
675 ;; '((t :inherit font-lock-string-face))
698 (skip-chars-forward (string ?^ char)) ;; Use `end' ?
708 ;; Use string syntax but math face for $...$.
908 Command string used by \\[tex-region] or \\[tex-buffer].
913 Command string used by \\[tex-print] to print a .dvi file.
915 Alternative command string used by \\[tex-print] (when given a prefix
918 Command string used by \\[tex-view] to preview a .dvi file.
920 Command string used by \\[tex-show-print-queue] to show the print
954 Command string used by \\[tex-region] or \\[tex-buffer].
959 Command string used by \\[tex-print] to print a .dvi file.
961 Alternative command string used by \\[tex-print] (when given a prefix
964 Command string used by \\[tex-view] to preview a .dvi file.
966 Command string used by \\[tex-show-print-queue] to show the print
1006 (set (make-local-variable 'indent-line-function) 'latex-indent)
1007 (set (make-local-variable 'fill-indent-according-to-mode) t)
1036 Command string used by \\[tex-region] or \\[tex-buffer].
1041 Command string used by \\[tex-print] to print a .dvi file.
1043 Alternative command string used by \\[tex-print] (when given a prefix
1046 Command string used by \\[tex-view] to preview a .dvi file.
1048 Command string used by \\[tex-show-print-queue] to show the print
1095 (set (make-local-variable 'indent-tabs-mode) nil)
1284 (unless (re-search-forward (regexp-quote (match-string 1)) opoint t)
1470 (match-string 1)))
1478 (prog1 (match-string 1)
1602 evaluates to a command string.
1609 (star (string-match "\\*" cmd))
1610 (string
1628 (insert string)
1647 (not (string-match "\\.dvi$" (car list)))
1697 FORMAT is an expression that evaluates to a string that can contain
1700 IN can be either a string (with the same % escapes in it) indicating
1703 OUT describes the output file and is either a %-escaped string
1707 (defsubst* tex-string-prefix-p (str1 str2)
1724 ((eq all 'sub) (tex-string-prefix-p default-directory dir))
1733 ((eq all 'sub) (tex-string-prefix-p default-directory dir))
1772 (if (or (file-exists-p file) (string-match "\\.tex\\'" file))
1778 (mapcar (lambda (s) (car (split-string s)))
1779 (split-string cmd "\\s-*\\(?:;\\|&&\\)\\s-*"))
1827 (unless (string-match ignored-dirs-re f)
1849 (substring s 0 (string-match "[ \t]\\|\\'" s))))
1922 (and (string-match re (car cmd))
1923 (or (not (string-match "%[fr]\\([-._[:alnum:]]+\\)" (car cmd)))
1924 (string-match (regexp-quote (match-string 1 (car cmd)))
1929 (string-match (concat "[' \t\"]" (format-spec "%r" fspec)
1963 (let* ((star (string-match "\\*" command))
2032 (linenum (string-to-number (match-string 1)))
2033 (error-text (regexp-quote (match-string 3)))
2046 (not (string-equal last-filename filename))))
2203 (subst-char-in-string ?. ?- (system-name))))
2206 ;; Expand each file name, separated by colons, in the string S.
2209 (while (string-match ":" s start)
2318 (string-match "\\.[^.]*$" file))
2326 (string-match "\\." file))
2359 (defvar tex-indent-allhanging t)
2360 (defvar tex-indent-arg 4)
2361 (defvar tex-indent-basic 2)
2362 (defvar tex-indent-item tex-indent-basic)
2363 (defvar tex-indent-item-re "\\\\\\(bib\\)?item\\>")
2366 (defvar tex-latex-indent-syntax-table
2374 (defun latex-indent (&optional arg)
2378 (with-syntax-table tex-latex-indent-syntax-table
2380 (let ((indent
2383 (latex-find-indent))))
2384 (if (< indent 0) (setq indent 0))
2386 (indent-line-to indent)
2387 (save-excursion (indent-line-to indent)))))))
2389 (defun latex-find-indent (&optional virtual)
2404 (member (match-string 2) tex-verbatim-environments)
2412 (latex-find-indent 'virtual))))
2416 (indent (if (looking-at tex-indent-item-re) (- tex-indent-item) 0))
2429 ;; Have to indent relative to the open-paren.
2431 (if (and (not tex-indent-allhanging)
2451 (member (match-string 1)
2453 0 tex-indent-basic)
2454 indent (latex-find-indent 'virtual))))
2458 (+ indent (current-column)))
2460 ((looking-at tex-indent-item-re)
2462 (+ indent (current-column) tex-indent-item))
2471 (+ indent col)
2477 (min (current-column) (+ tex-indent-arg col))
2493 (eval-when-compile (string-to-syntax "< b"))
2494 (eval-when-compile (string-to-syntax ">"))))
2500 (eval-when-compile (string-to-syntax "> b")))))
2501 (eval-when-compile (string-to-syntax "< b")))))