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

Lines Matching +defs:read +defs:only

122   ;; The ediff control buffer is read-only and it is not supposed to be
146 ;; Reload Ediff keymap. For debugging only.
207 ;; In merging, we allow only A->C and B->C copying.
214 (define-key ediff-mode-map "$$" 'ediff-toggle-show-clashes-only)
228 (define-key ediff-mode-map "C" 'ediff-toggle-read-only))
243 (define-key ediff-mode-map "A" 'ediff-toggle-read-only)
244 (define-key ediff-mode-map "B" 'ediff-toggle-read-only)
379 (setq buffer-read-only nil
431 ;; This has effect only on ediff-windows/regions
451 (setq buffer-read-only t))
458 (setq buffer-read-only t))
465 (setq buffer-read-only t))
471 (setq buffer-read-only t))
488 (setq buffer-read-only t)
489 (setq buffer-read-only nil))
495 (setq buffer-read-only t)
548 (setq buffer-read-only t)
743 ;; this should only be executed in a 3way comparison, not in merge
767 (let (buffer-read-only)
932 ediff-current-difference 'unselect-only)
963 ediff-current-difference 'select-only))
1014 (let (buffer-read-only)
1029 (defun ediff-toggle-read-only (&optional buf)
1030 "Toggle read-only in current buffer.
1032 If optional argument BUF is specified, toggle read-only in that buffer instead
1047 (toggle-ro-cmd (cond (ediff-toggle-read-only-function)
1049 'toggle-read-only)
1050 (file-writable 'toggle-read-only)
1060 (cond ((not buffer-read-only)
1061 (setq toggle-ro-cmd 'toggle-read-only))
1068 ;; original state of buffer-read-only to nil. If we don't
1074 'buffer-read-only nil buf-type)))
1076 (setq toggle-ro-cmd 'toggle-read-only)
1082 (string-match "toggle-read-only" (symbol-name toggle-ro-cmd)))
1087 (error "Don't know how to toggle read-only in buffer %S" buf))
1091 (if (and file (not buffer-read-only)
1092 (eq this-command 'ediff-toggle-read-only)
1097 (message "Warning: file %s is read-only"
1118 ;; able to read such a file anyway).
1334 Works only in versions of Emacs that support toolbars.
1344 ;; do this only after killing the toolbar
1405 (defun ediff-toggle-show-clashes-only ()
1406 "Toggle the mode that shows only the merge regions where both variants differ from the ancestor."
1410 (error "This command makes sense only when merging with an ancestor"))
1411 (setq ediff-show-clashes-only (not ediff-show-clashes-only))
1412 (if ediff-show-clashes-only
1432 Used in ediff-windows/regions only."
2046 (let ((inhibit-read-only (null buffer-read-only)))
2149 (let ((inhibit-read-only (null buffer-read-only)))
2228 (read-string
2233 (read-string
2239 (read-string
2267 (read-string
2272 (read-string
2278 (read-string
2312 "Skipping regions that differ only in white space & line breaks")
2406 Unselects the selected difference, if any, restores the read-only and modified
2437 ;; Restore the visibility range. This affects only ediff-*-regions/windows.
2613 ;; display only if not visible
2699 only if this merge job is part of a group, i.e., was invoked from within
2712 (read-file-name "Save the result of the merge in file: "))
2890 (format "\n%s regions that differ in white space & line breaks only"
2893 (if (and ediff-merge-job ediff-show-clashes-only)
2998 ;; 'select-only or 'unselect-only. If FLAG is 'select-only, the
3000 ;; unselected. If FLAG is 'unselect-only then the current selection is
3011 (or (eq flag 'select-only)
3014 (or (eq flag 'unselect-only)
3018 ;; be called if unselect-only is specified
3090 "Put face on diff N. Invoked for X displays only."
3121 (defun ediff-read-file-name (prompt default-dir default-file &optional no-dirs)
3139 (read-file-name
3417 ;; This function operates only from an ediff control buffer
3433 (setq buffer-read-only nil)
3518 (setq answer (capitalize (read-char-exclusive))))))
3539 (setq answer (capitalize (read-char-exclusive)))))
3558 (setq answer (capitalize (read-char-exclusive))))))
3615 (let ((inhibit-read-only t))
3683 ;; Test if diff region is white space only.
3849 ;; Furthermore, we exclude dired buffers, unless they are the only
3861 ;; if prev selected buffer is dired, look only at
3872 ;; dired buffs are the only ones visible.
3990 Please read this first:
3997 it has nothing to do with those decisions---it only takes the output from
4087 buffer-read-only end)