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

Lines Matching defs:only

163 This variable is only used if the variable
176 (defcustom comint-prompt-read-only nil
177 "If non-nil, the comint prompt is read only.
178 The read only region includes the newline before the prompt.
183 override the read-only-ness of comint prompts is to call
195 If you sometimes use comint-mode on text-only terminals or with `emacs -nw',
217 If the value is `history', then the expansion is only when inserting
259 If `this', scroll only the selected window.
275 If `this', move point only the selected window.
276 If `others', move point only in other windows, not in the selected window.
327 If so, delete one copy of the input so that only one copy eventually
436 `(process-kill-without-query)'). In contrast, the `comint-mode-hook' is only
1611 ;; problems when `comint-prompt-read-only' is non-nil.
1612 (let ((inhibit-read-only t))
1615 (when comint-prompt-read-only
1652 (let ((inhibit-read-only t)
1673 (inhibit-read-only t))
1712 (let ((inhibit-read-only t)
1787 (let ((inhibit-read-only t)
1797 (inhibit-read-only t)
1799 (when comint-prompt-read-only
1801 (get-text-property (1- prompt-start) 'read-only)
1803 (1- prompt-start) prompt-start 'read-only 'fence))
1806 '(read-only t rear-nonsticky t front-sticky (read-only))))
1897 (let ((inhibit-read-only t))
2075 (inhibit-read-only t))
2212 Sends an EOF only if point is at the end of the buffer and there is no input."
2367 ;; Support editing with `comint-prompt-read-only' set to t.
2370 "Update read-only status of newline before point.
2371 The `fence' read-only property is used to indicate that a newline
2372 is read-only for no other reason than to \"fence off\" a
2373 following front-sticky read-only region. This is used to
2374 implement comint read-only prompts. If the text after a newline
2375 changes, the read-only status of that newline may need updating.
2381 read-only property, then the preceding newline is given a
2382 read-only property of `fence', unless it already is read-only.
2384 read-only property, any read-only property of `fence' on the
2390 (if (and (get-text-property pt 'read-only)
2391 (if (listp lst) (memq 'read-only lst) t))
2392 (unless (get-text-property (1- pt) 'read-only)
2393 (put-text-property (1- pt) pt 'read-only 'fence))
2394 (when (eq (get-text-property (1- pt) 'read-only) 'fence)
2395 (remove-list-of-text-properties (1- pt) pt '(read-only)))))))
2398 "Kill current line, ignoring read-only and field properties.
2404 The read-only status of newlines is updated with `comint-update-fence',
2407 (let ((inhibit-read-only t) (inhibit-field-text-motion t))
2412 "Like `kill-region', but ignores read-only properties, if safe.
2413 This command assumes that the buffer contains read-only
2414 \"prompts\" which are regions with front-sticky read-only
2416 being read-only to protect the prompt. This is true of the
2417 comint prompts if `comint-prompt-read-only' is non-nil. This
2423 read-only properties intact. The read-only status of newlines is
2431 (beg-bad (and (get-text-property true-beg 'read-only)
2432 (if (listp beg-lst) (memq 'read-only beg-lst) t)))
2435 (end-bad (and (get-text-property true-end 'read-only)
2436 (if (listp end-lst) (memq 'read-only end-lst) t))))
2440 (let ((inhibit-read-only t))
2552 then the filename reader will only accept a file that exists.
2676 Note that this applies to `comint-dynamic-complete-filename' only."
2902 Returns `sole' if completed with the only completion match.
3113 ;; Each comint buffer may only use one redirection at a time, but any number
3195 "Non-nil means `comint-redirect' can insert into read-only buffers.
3196 This works by binding `inhibit-read-only' around the insertion.
3319 (let ((inhibit-read-only comint-redirect-subvert-readonly))