• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/emacs-92/emacs/lisp/progmodes/

Lines Matching +defs:visit +defs:buffer

458   "*Non-nil means use buffer-local `compilation-error-regexp-alist'.
460 compilation is started from a VHDL buffer. Otherwise, the error message
675 NOTE: Activate the new setting in a VHDL buffer by using the menu entry
759 taken from the file name of the current buffer."
772 buffer. The string that is matched against the regexp is the concatenation
786 automatically taken from the file name of the current buffer."
798 taken from the file name of the current buffer. Package files can be created
933 <filename> : replaced by the name of the buffer
1005 "*Non-nil means update the modification date when the buffer is saved.
1008 NOTE: Activate the new setting in a VHDL buffer by using the menu entry
1099 NOTE: Activate the new setting in a VHDL buffer by using the menu entry
1175 None : in current buffer
1367 None : in current buffer
1382 automatically taken from the file name of the current buffer. Testbench
1424 NOTE: Activate the new setting in a VHDL buffer by using the menu entry
1433 NOTE: Activate the new setting in a VHDL buffer by using the menu entry
1467 When a region or the entire buffer is aligned, the code is divided into
1488 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1505 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1518 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1532 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1545 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1560 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1576 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1606 NOTE: Activate a changed regexp in a VHDL buffer by re-fontifying it (menu
1622 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1637 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1648 NOTE: Activate the new setting in a VHDL buffer by re-fontifying it (menu
1704 "*Non-nil means jump to the design unit code when opened in a buffer.
1705 The buffer cursor position is left unchanged otherwise."
1710 "*Automatically update design hierarchy when buffer is saved."
1754 NOTE: Activate the new setting in a VHDL buffer by using the menu entry
1801 NOTE: Activate the new setting in a VHDL buffer by using the menu entry
1833 NOTE: Activate the new setting in a VHDL buffer by using the menu entry
1918 cons cell of the syntactic symbol and a buffer position. This buffer
2175 (message "WARNING: See warnings in message buffer (type `C-c M-m')."))))
2320 current buffer if no project is defined."
2390 (defmacro vhdl-visit-file (file-name issue-error &rest body)
2395 (let ((source-buffer (current-buffer))
2396 (visiting-buffer (find-buffer-visiting ,file-name))
2398 (when (or (and visiting-buffer (set-buffer visiting-buffer))
2400 (progn (set-buffer (create-file-buffer ,file-name))
2411 (when file-opened (kill-buffer (current-buffer)))
2412 (set-buffer source-buffer)
2421 (when file-opened (kill-buffer (current-buffer)))
2422 (set-buffer source-buffer)
2425 (when file-opened (kill-buffer (current-buffer)))
2426 (set-buffer source-buffer)))))
2487 "Get *Messages* buffer to show recent messages."
2489 (display-buffer (if vhdl-xemacs " *Message-Log*" "*Messages*")))
2502 "Goto marker in appropriate buffer."
2504 (set-buffer (marker-buffer marker)))
2740 (define-key vhdl-mode-map "\C-c\C-i\C-b" 'vhdl-indent-buffer)
2747 (define-key vhdl-mode-map "\C-c\C-a\C-b" 'vhdl-align-buffer)
2766 (define-key vhdl-mode-map "\C-c\C-x\C-c" 'vhdl-fix-case-buffer)
2768 (define-key vhdl-mode-map "\C-c\C-x\C-w" 'vhdl-fixup-whitespace-buffer)
2770 (define-key vhdl-mode-map "\C-c\C-b" 'vhdl-beautify-buffer)
2772 (define-key vhdl-mode-map "\C-c\C-u\M-s" 'vhdl-update-sensitivity-list-buffer)
2773 (define-key vhdl-mode-map "\C-cf" 'vhdl-fontify-buffer)
2774 (define-key vhdl-mode-map "\C-cs" 'vhdl-statistics-buffer)
2886 (make-variable-buffer-local 'vhdl-syntactic-context)
2917 ("buffer" "" vhdl-template-default-hook 0)
3436 ["Buffer" vhdl-indent-buffer :keys "C-c C-i C-b"])
3443 ["Buffer" vhdl-align-buffer t]
3447 ["Inline Comment Buffer" vhdl-align-inline-comment-buffer t])
3455 ["Buffer" vhdl-beautify-buffer t])
3460 ["Case Buffer" vhdl-fix-case-buffer t]
3463 ["Whitespace Buffer" vhdl-fixup-whitespace-buffer t]
3468 ["Sensitivity List Buffer" vhdl-update-sensitivity-list-buffer t])
3470 ["Fontify Buffer" vhdl-fontify-buffer t]
3471 ["Statistics Buffer" vhdl-statistics-buffer t]
3883 (vhdl-fontify-buffer))
3888 (vhdl-fontify-buffer))
3893 (vhdl-fontify-buffer))
3898 (vhdl-fontify-buffer))
3903 (vhdl-fontify-buffer))
3908 (vhdl-fontify-buffer))
3913 (vhdl-fontify-buffer))
4088 (> font-lock-maximum-size (buffer-size)))
4090 (message "Scanning buffer for index...buffer too big"))))
4155 ;; performs all buffer local initializations
4210 word in the buffer that starts alike, inserts it and adjusts case.
4258 \(`M-C-\\') or the entire buffer (menu). Argument and port lists are
4306 buffer respectively. This inludes indentation, alignment, and case
4310 emacs -batch -l ~/.emacs filename.vhd -f vhdl-beautify-buffer
4447 The syntax of the current buffer can be analyzed by calling a VHDL
4500 can be saved afterwards in its customization buffer. When starting
4515 file) for browsing the file contents (is not populated if buffer is
4533 region (menu) or buffer (`C-c C-x C-c') according to the options
4570 `paren-showing'. Automatic buffer highlighting is turned on/off by
4590 current process, `C-c C-u M-s' of all processes in the current buffer.
4621 customization buffer is opened. Changed options can be saved for future
4785 "Add/remove hooks when buffer is saved."
4819 "begin" "block" "body" "buffer" "bus"
5167 (error "ERROR: Bad buffer position requested: %s" position))
5185 (t (error "ERROR: Unknown buffer position requested: %s" position))
5289 changed buffer local, instead of the default, which is to set the
5414 (buffer-substring (match-beginning 0) (match-end 0))))
5599 (buffer-substring (match-beginning 0) (match-end 0))
5795 (vector (buffer-substring (match-beginning 1)
5801 (vector (buffer-substring (match-beginning 1)
6083 (buffer-substring (match-beginning 1)
6188 stops due to beginning or end of buffer.
6232 stops due to beginning or end of buffer."
6297 prefix arg, a buffer position limit which is the farthest back to
7097 (defun vhdl-indent-buffer ()
7098 "Indent whole buffer as VHDL code.
7099 Calls `indent-region' for whole buffer and adds progress reporting."
7144 (read (current-buffer)))))
7182 (vhdl-mode ":[ \t]*\\(in\\|out\\|inout\\|buffer\\|\\)\\>"
7183 ":[ \t]*\\(in\\|out\\|inout\\|buffer\\|\\)\\([ \t]+\\)" 2)
7474 (defun vhdl-align-buffer ()
7475 "Align buffer."
7608 (defun vhdl-align-inline-comment-buffer ()
7609 "Align inline comments within buffer. Groups of code lines separated by
7668 (defun vhdl-fixup-whitespace-buffer ()
7669 "Fixup whitespace in buffer. Surround operator symbols by one space,
7680 case fixing to a region. Calls functions `vhdl-indent-buffer',
7681 `vhdl-align-buffer' (option `vhdl-align-groups' set to non-nil), and
7682 `vhdl-fix-case-buffer'."
7690 (defun vhdl-beautify-buffer ()
7691 "Beautify buffer by applying indentation, whitespace fixup, alignment, and
7692 case fixing to entire buffer. Calls `vhdl-beautify-region' for the entire
7693 buffer."
7696 (when noninteractive (save-buffer)))
7774 (defun vhdl-update-sensitivity-list-buffer ()
7775 "Update sensitivity list of all processes in current buffer."
7918 "." (file-name-extension (buffer-file-name)))))
7919 (vhdl-visit-file
8038 "Remove trailing spaces in the whole buffer."
9947 (replace-match (buffer-name) t t))
10396 "Prompt for string and insert it in buffer with optional FOLLOW-STRING.
10899 (setq string (buffer-substring-no-properties start (point)))
11024 (buffer-substring-no-properties
11043 (buffer-substring-no-properties
11088 (and (vhdl-parse-string "\\<\\(in\\|out\\|inout\\|buffer\\|linkage\\)\\>[ \t\n]+" t)
11096 (buffer-substring-no-properties
11571 (source-buffer (current-buffer))
11573 ent-buffer arch-buffer position)
11579 "." (file-name-extension (buffer-file-name))))
11584 (erase-buffer)
11585 (set-buffer-modified-p nil))
11624 (setq ent-buffer (current-buffer))
11628 "." (file-name-extension (buffer-file-name))))
11634 (erase-buffer)
11635 (set-buffer-modified-p nil)
11699 (setq arch-buffer (current-buffer))
11700 (when ent-buffer (set-buffer ent-buffer) (save-buffer))
11701 (set-buffer arch-buffer) (save-buffer))
11792 (and (vhdl-parse-string "\\(in\\|out\\|inout\\|buffer\\|linkage\\)[ \t\n]+" t)
11801 (buffer-substring-no-properties
11820 (buffer-substring-no-properties
12125 (defun vhdl-fix-case-buffer ()
12126 "Convert all VHDL words in buffer to lower or upper case, depending on
12260 (defun vhdl-statistics-buffer ()
12286 (buffer-file-name) no-stats no-code-lines no-lines)
12354 (let ((orig-buffer (current-buffer)))
12359 (set-buffer (find-file-noselect file-name t t))
12360 (erase-buffer)
12371 (pp (aget vhdl-project-alist vhdl-project) (current-buffer))
12373 (save-buffer)
12374 (kill-buffer (current-buffer))
12375 (set-buffer orig-buffer))))
12959 (defun vhdl-fontify-buffer ()
12960 "Re-initialize fontification and fontify buffer."
13190 (vhdl-visit-file
13196 (< limit-design-file-size (buffer-size)))
13342 (< limit-hier-file-size (buffer-size)))
13602 "Update hierarchy information by contents of current buffer."
13861 (let* ((orig-buffer (current-buffer))
13882 (set-buffer (find-file-noselect file-dir-name t t))
13883 (erase-buffer)
13889 (if project (insert project) (prin1 directory (current-buffer)))
13896 (prin1 (or project directory) (current-buffer))
13901 (print (aget vhdl-entity-alist cache-key t) (current-buffer))
13904 (print (aget vhdl-config-alist cache-key t) (current-buffer))
13907 (print (aget vhdl-package-alist cache-key t) (current-buffer))
13910 (print (aget vhdl-ent-inst-alist cache-key t) (current-buffer))
13913 (print (aget vhdl-file-alist cache-key t) (current-buffer))
13917 (print (aget vhdl-directory-alist cache-key t) (current-buffer)))
13923 (current-buffer))
13927 (save-buffer)
13928 (kill-buffer (current-buffer))
13929 (set-buffer orig-buffer))))
14109 "Allow the buffer to be writable and evaluate FORMS."
14333 (speedbar-center-buffer-smartly)))
14396 (speedbar-center-buffer-smartly)))
14465 (speedbar-center-buffer-smartly)))
14524 (speedbar-center-buffer-smartly)))
14582 (speedbar-center-buffer-smartly)))
14651 (speedbar-center-buffer-smartly)))
14714 (setq file-name (abbreviate-file-name (or (buffer-file-name) "")))
14725 (set-buffer speedbar-buffer)
14773 (speedbar-center-buffer-smartly)
15016 (speedbar-center-buffer-smartly)))
15056 (buffer-substring-no-properties
15105 (add-to-list 'vhdl-modified-file-list (buffer-file-name)))
15163 is already shown in a buffer."
15166 (let ((buffer (get-file-buffer (car token))))
15168 (when (or vhdl-speedbar-jump-to-unit buffer)
15186 (vhdl-visit-file (car token) t
15406 ent-file-name arch-file-name ent-buffer arch-buffer project)
15412 "." (file-name-extension (buffer-file-name))))
15418 (erase-buffer)
15419 (set-buffer-modified-p nil))
15449 (setq ent-buffer (current-buffer))
15453 "." (file-name-extension (buffer-file-name))))
15459 (erase-buffer)
15460 (set-buffer-modified-p nil)
15494 (setq arch-buffer (current-buffer))
15495 (when ent-buffer (set-buffer ent-buffer) (save-buffer))
15496 (set-buffer arch-buffer) (save-buffer)
15518 "." (file-name-extension (buffer-file-name))))
15519 (orig-buffer (current-buffer)))
15556 (switch-to-buffer orig-buffer))
15570 "." (file-name-extension (buffer-file-name))))
15577 "." (file-name-extension (buffer-file-name))))
15603 (vhdl-visit-file
15613 "." (file-name-extension (buffer-file-name))))
15614 (vhdl-visit-file
15849 (switch-to-buffer (marker-buffer signal-beg-pos))
15894 "." (file-name-extension (buffer-file-name))))
15906 (erase-buffer)
15935 (vhdl-visit-file (nth 2 (car ent-alist)) nil
15948 (save-buffer)
16079 "." (file-name-extension (buffer-file-name))))
16085 (erase-buffer)
16086 (set-buffer-modified-p nil)
16118 (save-buffer))
16276 "Compile current buffer using the VHDL compiler specified in
16284 (file-name (buffer-file-name))
16294 (setq vhdl-compile-file-name (buffer-file-name))
16578 (orig-buffer (current-buffer))
16593 (set-buffer (find-file-noselect makefile-path-name t t))
16594 (erase-buffer)
16725 (progn (save-buffer)
16726 (kill-buffer (current-buffer))
16727 (set-buffer orig-buffer)
16732 (switch-to-buffer (current-buffer))))))
16987 "Display VARIABLE's documentation in *Help* buffer."
16991 (with-output-to-temp-buffer
16992 (if (fboundp 'help-buffer) (help-buffer) "*Help*")
16994 (with-current-buffer standard-output
16999 "Display VHDL Mode documentation in *Help* buffer."
17003 (with-output-to-temp-buffer
17004 (if (fboundp 'help-buffer) (help-buffer) "*Help*")
17008 (with-current-buffer standard-output