[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: bind commands that change buffer contents to `undefined' whenread-on
From: |
Drew Adams |
Subject: |
RE: bind commands that change buffer contents to `undefined' whenread-only? |
Date: |
Sat, 22 Sep 2007 17:37:18 -0700 |
> (defcustom buffer-modifying-cmds
> '(delete-char quoted-insert transpose-chars kill-region yank kill-word
> indent-new-comment-line kill-sentence fill-paragraph
> transpose-words yank-pop zap-to-char just-one-space
> indent-for-comment delete-indentation kill-sexp split-line
> transpose-sexps backward-kill-sentence)
> "*Buffer-modifying commands used in `undefine-killer-commands'."
> :type '(repeat symbol))
That definition is pretty old and skimpy. FWIW, here are some more such
commands. Many of these are not bound to keys by default, but including them
wouldn't hurt.
(defcustom buffer-modifying-cmds
'(align-newline-and-indent backward-delete-char
backward-delete-char-untabify backward-kill-paragraph
backward-kill-sentence backward-kill-sexp backward-kill-word
bookmark-insert bookmark-insert-location canonically-space-region
capitalize-region capitalize-word c-backslash-region
c-context-line-break center-line center-paragraph center-region
c-fill-paragraph c-hungry-delete-backwards
c-hungry-delete-forward c-indent-command c-indent-defun
c-indent-exp clear-rectangle clipboard-kill-region
comint-kill-input comint-truncate-buffer comment-dwim
comment-indent-new-line comment-kill comment-region
comment-or-uncomment-region complete-symbol compose-last-chars
compose-region dabbrev-completion dabbrev-expand decompose-region
delete-backward-char delete-blank-lines delete-char
delete-horizontal-space delete-indentation delete-matching-lines
delete-non-matching-lines delete-pair delete-rectangle
delete-region delete-trailing-whitespace
delete-whitespace-rectangle delimit-columns-region
downcase-region downcase-word edit-picture expand-abbrev
expand-region-abbrevs fill-individual-paragraphs
fill-nonuniform-paragraphs fill-paragraph fill-region
fill-region-as-paragraph format-insert-file flush-lines
ido-insert-buffer ido-insert-file increase-left-margin
increase-right-margin indent-code-rigidly indent-for-comment
indent-for-tab-command indent-line-function
indent-new-comment-line indent-pp-sexp indent-region
indent-rigidly insert-abbrevs insert-buffer insert-file
insert-file-literally insert-kbd-macro insert-pair
insert-parentheses insert-register insert-zippyism join-line
justify-current-line just-one-space keep-lines
kill-backward-up-list kill-comment kill-line kill-paragraph
kill-rectangle kill-region kill-sentence kill-sexp
kill-whole-line kill-word lisp-complete-symbol
lisp-fill-paragraph lisp-indent-line morse-region mouse-kill
mouse-yank-at-click mouse-yank-secondary newline
newline-and-indent open-line open-rectangle query-replace
query-replace-regexp quoted-insert
reindent-then-newline-and-indent replace-regexp replace-string
repunctuate-sentences reverse-region rot13-region
self-insert-command set-justification-center
set-justification-full set-justification-left
set-justification-none set-justification-right set-left-margin
set-right-margin skeleton-pair-insert-maybe smiley-region
sort-columns sort-fields sort-lines sort-numeric-fields
sort-pages sort-paragraphs split-line string-insert-rectangle
string-rectangle studlify-region table-delete-column
table-delete-row table-heighten-cell table-insert
table-insert-column table-insert-row table-insert-sequence
table-justify table-shorten-cell table-span-cell table-split-cell
table-split-cell-horizontally table-split-cell-vertically
table-widen-cell tab-to-tab-stop tabify texinfo-format-region
tildify-region time-stamp todo-insert-item translate-region
transpose-chars transpose-lines transpose-paragraphs
transpose-sentences transpose-sexps transpose-words ucs-insert
uncomment-region unmorse-region untabify upcase-region
upcase-word vc-insert-headers whitespace-cleanup
whitespace-cleanup-region yank yank-pop yank-rectangle
zap-to-char)
"*Buffer-modifying commands used in `undefine-killer-commands'."
:type '(repeat symbol))
Re: TAB for non-editing modes, Richard Stallman, 2007/09/22
- Re: TAB for non-editing modes, Dan Nicolaescu, 2007/09/22
- Re: TAB for non-editing modes, Dan Nicolaescu, 2007/09/22
- bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/22
- RE: bind commands that change buffer contents to `undefined' whenread-only?,
Drew Adams <=
- RE: bind commands that change buffer contents to `undefined'whenread-only?, Drew Adams, 2007/09/22
- Re: bind commands that change buffer contents to `undefined'whenread-only?, Stefan Monnier, 2007/09/22
- RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/22
- Re: bind commands that change buffer contents to `undefined' when read-only?, Stefan Monnier, 2007/09/23
- RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/23
- Re: bind commands that change buffer contents to `undefined' when read-only?, Stefan Monnier, 2007/09/23
- RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/23
RE: bind commands that change buffer contents to `undefined' when read-only?, Davis Herring, 2007/09/24
RE: bind commands that change buffer contents to `undefined' when read-only?, Drew Adams, 2007/09/24
RE: bind commands that change buffer contents to `undefined' when read-only?, Davis Herring, 2007/09/24