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

Lines Matching +defs:new +defs:prompt

88 ;; prompted to create a new buffer called "234a".
189 ;; (defun my-icompleting-read (prompt choices)
191 ;; choices. PROMPT is a string to prompt with. CHOICES is a list of
196 ;; (iswitchb-read-buffer prompt)))
203 ;; matching buffers matching your current prompt, you can then press
204 ;; e.g. C-o to restrict matching to those buffers and clearing the prompt:
339 "*How to switch to new buffer when using `iswitchb-buffer'.
341 `samewindow' Show new buffer in same window
342 `otherwindow' Show new buffer in another window (same frame)
344 `otherframe' Show new buffer in another frame
345 `maybe-frame' If a buffer is visible in another frame, prompt to ask if you
365 "*Non-nil means create new buffer if no buffer matches substring.
366 See also `iswitchb-prompt-newbuffer'."
370 (defcustom iswitchb-prompt-newbuffer t
371 "*Non-nil means prompt user to confirm before creating new buffer.
513 If equal to `takeprompt', we use the prompt as the buffer name to be
549 ;; generated every time so that it can inherit new functions.
577 list is empty, possibly prompt to create new buffer.
579 \\[iswitchb-select-buffer-text] Select the current prompt as the buffer.
580 If no buffer is found, prompt for a new one.
596 (let* ((prompt "iswitch ")
598 (buf (iswitchb-read-buffer prompt)))
617 (iswitchb-possible-new-buffer buf)))
620 (defun iswitchb-read-buffer (prompt &optional default require-match
624 PROMPT is the prompt to give to the user.
656 ;; prompt the user for the buffer name
658 prompt ;the prompt
739 (delete-region (minibuffer-prompt-end) (point))
784 "Select the buffer named by the prompt.
785 If no buffer exactly matching the prompt exists, maybe create a new one."
903 "Set `iswitchb-matches' to the list of buffers matching prompt."
1104 (defun iswitchb-possible-new-buffer (buf)
1105 "Possibly create and visit a new buffer called BUF."
1110 (not iswitchb-prompt-newbuffer)
1112 (and iswitchb-prompt-newbuffer
1117 ;; then create a new buffer
1123 ;; else wont create new buffer
1232 (let ((contents (buffer-substring (minibuffer-prompt-end) (point-max)))
1409 "Remove completions display, if any, prior to new user input.