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

Lines Matching +defs:backward +defs:kill +defs:paragraph

127 ;;   point backward, e.g., "\cl" expanded with a space becomes
133 ;; comment paragraph. To accomplish this, tabs are permanently
134 ;; replaced by spaces in the text surrounding the paragraph, which
137 ;; paragraph is filled via `idlwave-fill-paragraph'.
280 of the paragraph."
286 in the first line of a comment paragraph. The size of the indent
404 '(find-file save-buffer kill-buffer compile-buffer)
412 kill-buffer Remove buffer info when buffer gets killed
421 (const :tag "After a buffer was killed" kill-buffer)
1540 (define-key idlwave-mode-map "\M-\C-p" 'idlwave-backward-block)
1542 (define-key idlwave-mode-map "\M-\C-u" 'idlwave-backward-up-block)
1551 (define-key idlwave-mode-map "\M-q" 'idlwave-fill-paragraph)
1581 (define-key idlwave-mode-map "\C-c\C-k" 'idlwave-kill-autoloaded-buffers)
1633 ;;; When expanding abbrevs and the abbrev hook moves backward, an extra
1642 "Define-abbrev with backward compatibility.
1807 Use \\[idlwave-fill-paragraph] to refill a paragraph inside a
1808 comment. The indentation of the second line of the paragraph
1905 (kill-all-local-variables)
1940 (set (make-local-variable 'paragraph-separate)
1942 (set (make-local-variable 'paragraph-start) "[ \t\f]\\|[ \t]*;+[ \t]")
1943 (set (make-local-variable 'paragraph-ignore-fill-prefix) nil)
1986 ;; (make-local-hook 'kill-buffer-hook)
1987 (add-hook 'kill-buffer-hook 'idlwave-kill-buffer-update nil 'local)
1990 (add-hook 'after-save-hook 'idlwave-revoke-license-to-kill nil 'local)
2070 backward if `idlwave-abbrev-move' is non-nil.
2090 (setq idlwave-command-hook (list 'backward-char (1+ arg)))
2091 (backward-char arg)))
2116 (backward-char 1)
2150 (backward-word 1)
2151 (backward-char 1)
2161 ;;(backward-char 1)
2182 (skip-chars-backward "a-zA-Z")
2196 (backward-char 3)
2218 ((re-search-backward ":[ \t]*\\=" limit t)
2221 ((re-search-backward idlwave-block-match-regexp limit t)
2234 (skip-chars-backward " \t")
2278 (backward-char length)
2281 (skip-chars-backward " \t")
2312 ((start-col (progn (skip-chars-backward " \t") (current-column)))
2365 (if (save-excursion (skip-chars-backward " \t") (bolp))
2371 (skip-chars-backward " \t")
2394 (backward-char 1)
2440 (idlwave-backward-up-block -1)
2443 (idlwave-backward-block)
2459 (defun idlwave-backward-up-block (&optional arg)
2475 (backward-word 1))
2484 (defun idlwave-backward-block ()
2485 "Move backward across previous nested block."
2522 (if (re-search-backward idlwave-doclib-start nil t)
2558 (if (re-search-backward idlwave-shell-prompt-pattern nil t)
2756 (backward-char)
2758 (re-search-backward non-an-ops nil t)
2760 (re-search-backward "\\(#\\)\\=" nil t))
2762 (when (re-search-backward an-ops nil t)
2774 (skip-chars-backward "= \t")
2792 (re-search-backward "\\<\\(end\\)\\s-*\\="
2814 (skip-chars-backward " \t")
3137 (search-func (if (> dir 0) 're-search-forward 're-search-backward))
3274 (defun idlwave-fill-paragraph (&optional nohang)
3276 A paragraph is made up of all contiguous lines having the same comment
3284 matching `idlwave-hang-indent-regexp' on the paragraph's first line . If the
3297 ;; Change tabs to spaces in the surrounding paragraph.
3298 ;; The surrounding paragraph will be the largest containing block of
3306 (backward-paragraph)
3309 (forward-paragraph)
3333 ;; Mark the beginning and end of the paragraph
3336 (not (looking-at paragraph-separate))
3339 ;; Move to first line of paragraph
3345 (not (looking-at paragraph-separate))
3350 (looking-at paragraph-separate))
3355 ;; the paragraph or it will add a line).
3357 (progn (insert ?\n) (backward-char 1)))
3358 ;; Set END to the beginning of line after the paragraph
3362 ;; Calculate the indentation for the paragraph.
3367 ;; the first paragraph line and thus will not affect the
3376 ;; Adjust lines of paragraph by inserting spaces so that
3378 ;; indent. This is needed for fill-paragraph to work with
3397 ;; No hang. Instead find minimum indentation of paragraph
3402 ;; be the case for a single line paragraph).
3432 ;; In place of the more modern fill-region-as-paragraph, a hack
3440 (fill-region-as-paragraph
3455 paragraph. The hanging indent position is given by the first match
3463 (if (re-search-backward
3493 (paragraph-separate ".")
3510 ;; paragraph. So we check for a hanging indent.
3629 (idlwave-fill-paragraph)
3643 (if (and (or (re-search-backward idlwave-doclib-start nil t)
3751 (re-search-backward (concat "\\(" idlwave-idl-keywords
3906 Buffers in this list may be killed by `idlwave-kill-autoloaded-buffers'.")
3915 (defun idlwave-kill-autoloaded-buffers ()
3917 Function prompts for a letter to identify the buffers to kill.
3936 (idlwave-do-kill-autoloaded-buffers 'find))
3938 (idlwave-do-kill-autoloaded-buffers 'shell))
3940 (idlwave-do-kill-autoloaded-buffers t))
3950 (defun idlwave-do-kill-autoloaded-buffers (&rest reasons)
3959 (kill-buffer (car entry))
3967 (defun idlwave-revoke-license-to-kill ()
3969 Killing would be done by `idlwave-do-kill-autoloaded-buffers'.
3978 (remove-hook 'after-save-hook 'idlwave-revoke-license-to-kill 'local)))
4047 (kill-buffer buffer))
4084 (kill-buffer errbuf))
4383 (kill-process idlwave-catalog-process)
4410 (kill-process idlwave-catalog-process)
4415 (kill-process idlwave-catalog-process)
5177 (defun idlwave-kill-buffer-update ()
5178 (idlwave-update-current-buffer-info 'kill-buffer))
5193 (if (eq why 'kill-buffer)
5427 (kill-buffer (get-buffer-create "*IDLWAVE Widget*"))
5429 (kill-all-local-variables)
5465 (kill-buffer (current-buffer)))
5549 (kill-buffer "*idlwave-scan.pro*")
5550 (kill-buffer (get-buffer-create "*IDLWAVE Widget*"))
5574 (kill-buffer (current-buffer)))
5615 (kill-buffer (current-buffer))))
5863 ;; particular, .RESET_SESSION will kill all user procedures. If
6561 (if (re-search-backward "->[ \t]*\\(\\$[ \t]*\\(;.*\\)?\n\\s-*\\)?\\(\\([$a-zA-Z0-9_]+\\)::\\)?[$a-zA-Z0-9_]*\\=" bos t)
6577 (progn (skip-chars-backward class) (point))
6604 (re-search-backward
6610 (if (re-search-backward
6696 (skip-chars-backward "a-zA-Z0-9_$")
6699 (backward-char 1))
6702 (skip-chars-backward " \t")
6738 (skip-chars-backward "a-zA-Z0-9_$")
6801 ; (re-search-backward " <" beg t)))))
6829 (re-search-backward "\\<\\(pro\\|function\\)[ \t]+\\="
7077 (skip-chars-backward "a-zA-Z0-9_")
7369 backward."
7385 (re-search-backward re nil t))
7614 (skip-chars-backward "a-zA-Z0-9._$")
7675 (skip-chars-backward "[a-zA-Z0-9_$]")
7685 (skip-chars-backward "a-zA-Z0-9_$.")
7881 (backward-char 1))
7952 (backward-char 1)
8108 (if (re-search-backward
8667 (re-search-backward
9155 ["Up Block" idlwave-backward-up-block t]
9157 ["Skip Block Backward" idlwave-backward-block t]
9222 ["Kill auto-created buffers" idlwave-kill-autoloaded-buffers t]