リージョン
type: Variable
package: editor
file: region.l
killした文字列を格納します。
*kill-ring*は長さが*kill-ring-max*であるリングバッファです。
seealso: *kill-ring-max*
seealso: kill-region
seealso: yank
seealso: *selection-ring*
type: Variable
package: editor
file: region.l
killで保存する個数です。*kill-ring*の長さです。
type: Variable
package: editor
file: rectangl.l
コピーした矩形を格納します。
中身は矩形の各行の文字列を並べたリストです。
seealso: copy-rectangle
seealso: kill-rectangle
seealso: yank-rectangle
type: Variable
package: editor
file: select.l
copy-selectionやkill-selectionで切り取った選択された領域を管理します。
*selection-ring*は*kill-ring*と同様にリングバッファとして管理されます。
seealso: yank-selection
seealso: copy-selection
seealso: *kill-ring*
type: Function
arguments: append-rectangle
package: editor
file: rectangl.l
コピーしている矩形の各行を現在行以下の行末へ追加します。
使用例:
こんなのをコピーしているときに
┌────┐
│A │
│BC │
│DEF │
│GHIJ │
└────┘
* の位置で append-rectangle すると
┌─────┐ ┌─────┐
│*-lmn │ │--lmnA │
│--op │ → │--opBC │
│-- │ │--DEF │
│--q │ │--qGHIJ │
└─────┘ └─────┘
type: Function
arguments: append-to-register R START END &optional DELETE
package: editor
file: register.l
START と END で指定されるリージョンを、レジスタ R に格納されているテキ
ストの末尾へ追加します。 [C-x r a]
R にテキストが入っていないとエラーになります。
DELETE が non-nil ならば同時にリージョンをを削除します。
seealso: prepend-to-register
type: Function
arguments: backward-kill-paragraph &optional (ARG 1)
package: editor
file: paragrph.l
現在のパラグラフの先頭までkillします。
seealso: kill-paragraph
seealso: kill-region
type: Function
arguments: backward-kill-word &optional (ARG 1)
package: editor
file: cmds.l
カーソル位置から後方の単語の先頭までを切り取り、キルリングに追加します。
[ESC C-h]
カーソルが単語の途中にある場合は、カーソル位置からその単語の先頭までが、
対象となります。
seealso: kill-word
type: Function
arguments: base64-decode-region FROM TO
package: editor
file: encdec.l
リージョンをBase64デコードします。
seealso: si:base64-encode
seealso: base64-decode-region-to-file
type: Function
arguments: base64-decode-region-to-file FILENAME FROM TO
package: editor
file: encdec.l
リージョンをBase64デコードしてファイルに保存します。
seealso: si:base64-decode
seealso: base64-decode-region
type: Function
arguments: capitalize-region FROM TO
package: editor
file: builtin.l
リージョン内の単語をcapitalizeします。
つまり、単語の先頭を大文字に、それ以外を小文字にします。
seealso: downcase-region
seealso: upcase-region
type: Function
arguments: clear-rectangle P1 P2
package: editor
file: rectangl.l
P1 と P2 で指定される矩形領域を #\SPC で上書きします。
seealso: open-rectangle
seealso: clear-rectangle-selection
seealso: operate-on-rectangle
type: Function
arguments: clear-rectangle-selection
package: editor
file: select.l
矩形選択されたセレクションの領域を #\SPC で上書きします。
seealso: open-rectangle-selection
seealso: clear-rectangle
seealso: operate-on-rectangle-selection
type: Function
arguments: clear-reverse-region
package: editor
file: builtin.l
reverse-regionで反転表示した部分を元に戻します。
seealso: reverse-region
type: Function
arguments: copy-rectangle P1 P2
package: editor
file: rectangl.l
P1とP2で指定される矩形領域をコピーします。コピーした矩形領域のyankには、
yank-rectangleを使います。
seealso: kill-rectangle
seealso: copy-rectangle-selection
type: Function
arguments: copy-rectangle-selection
package: editor
file: select.l
マウスで矩形選択されたセレクションの領域をコピーします。yankには
yank-rectangle-selectionを使いますが、yank-rectangleでも行けそうです。
コピーした内容は*kill-ring*ともクリップボードとも違う領域に格納されてい
るようです。
seealso: kill-rectangle-selection
seealso: copy-rectangle
seealso: operate-on-rectangle-selection
type: Function
arguments: copy-rectangle-selection-to-clipboard
package: editor
file: select.l
マウスで矩形選択されたセレクションの領域をクリップボードにコピーします。
seealso: kill-rectangle-selection-to-clipboard
seealso: copy-rectangle-selection
seealso: copy-to-clipboard
type: Function
arguments: copy-rectangle-to-register R START END &optional DELETE
package: editor
file: register.l
START と END で指定される矩形領域をレジスタ R へコピーします。[C-x r r]
DELETE が non-nil ならば同時に領域を削除します。
コピーした矩形領域の yank には、 insert-register を使います。
seealso: copy-rectangle
seealso: kill-rectangle
seealso: insert-register
type: Function
arguments: copy-region-as-kill FROM TO
package: editor
file: region.l
リージョンをコピーして、キルリングに追加します。[ESC w]
seealso: kill-region
type: Function
arguments: copy-region-to-clipboard FROM TO
package: editor
file: region.l
指定されたリージョンをクリップボードにコピーします。
FROM : リージョンの開始位置を指定します。
TO : リージョンの終了位置を指定します。
seealso: copy-to-clipboard
type: Function
arguments: copy-selection
package: editor
file: select.l
選択された領域をコピーして、*selection-ring*の先頭に追加します。 [F8]
追加した内容はyank-selectionで貼り付けられます。
seealso: yank-selection
seealso: kill-selection
type: Function
arguments: copy-selection-to-clipboard
package: editor
file: select.l
選択範囲をクリップボードに転送します。[C-Insert]
使用例:
;;; 1. いったんJISに変換して保存
;;; 2. [ファイル]-[開く]で文字エンコーディングを[シフトJIS]にして開く
;;; (またはメモ帳などで開く?)
;;; 3. 選択してコピー
(defun tojiscopy ()
(interactive)
(let ((ocode *kanji-expected-code*)
(tempfile (concat (default-directory) "tempfile.txt")))
(save-excursion
(set-buffer-kanji-fileio-code 1)
(write-region (point-min) (point-max) tempfile nil)
(switch-to-buffer "*JIS*"))
(pop-to-buffer "*JIS*")
(setq *kanji-expected-code* 0)
(find-file tempfile)
(setq *kanji-expected-code* ocode)
(selection-whole-buffer)
(copy-selection-to-clipboard)))
seealso: copy-to-clipboard
type: Function
arguments: copy-to-register R START END &optional DELETE
package: editor
file: register.l
START と END で指定されるリージョンをレジスタ R へコピーします。[C-x r s]
DELETE が non-nil ならば同時にリージョンをを削除します。
コピーしたテキストの yank には、 insert-register を使います。
seealso: insert-register
seealso: append-to-register
type: Function
arguments: delete-rectangle P1 P2
package: editor
file: rectangl.l
P1 と P2 で指定される矩形領域を削除します。
seealso: kill-rectangle
seealso: delete-rectangle-selection
seealso: operate-on-rectangle
type: Function
arguments: delete-rectangle-selection
package: editor
file: select.l
矩形選択されたセレクションの領域を削除します。
seealso: kill-rectangle-selection
seealso: delete-rectangle
seealso: operate-on-rectangle-selection
type: Function
arguments: delete-region FROM TO
package: editor
file: builtin.l
指定された範囲を削除します。
type: Function
arguments: downcase-region FROM TO
package: editor
file: builtin.l
リージョン内の単語を小文字にします。[C-x C-l]
seealso: downcase-word
seealso: capitalize-region
seealso: upcase-region
type: Function
arguments: fill-region FROM TO
package: editor
file: fill.l
リージョン内の各段落に対し、詰め込みを行います。
使用例:
;;; バッファ全体を詰め込み
(fill-region (point-min) (point-max))
seealso: fill-paragraph
seealso: fill-region-as-paragraph
seealso: fill-column
type: Function
arguments: fill-region-as-paragraph FROM TO
package: editor
file: fill.l
リージョンを 1 つの段落として詰め込みます。
詰め込み桁数は、変数 fill-column が参照されます。
seealso: fill-paragraph
seealso: fill-region
seealso: fill-column
type: Variable
package: editor
fill-region/fill-paragraphの最後で実行されます。
seealso: auto-fill-hook
type: Variable
package: editor
narrow-to-regionした領域を非表示にするか薄く表示するかを制御します。
t : 非表示にします。
nil : 薄く表示します。
seealso: narrow-to-region
type: Function
arguments: indent-region FROM TO
package: editor
file: lispmode.l
mode-specific-indent-commandがnon-nilならば、指定のリージョンを
mode-specific-indent-commandで一行ずつインデントします。
行末はdelete-trailing-spacesで空白を削除されます。
type: Function
arguments: insert-register R
package: editor
file: register.l
レジスタ R の内容をバッファに挿入します。[C-x r i], [C-x r g]
R にテキストまたは矩形領域が入っていないとエラーになります。
seealso: copy-to-register
type: Function
arguments: kill-line &optional LINES
package: editor
file: cmds.l
行をkillします。 killした行は *kill-ring* へ追加されます。 [C-k]
連続して kill-line を実行することで、複数行を一括して
*kill-ring* へ追加することができます。
LINES
nil : ポイントが行末ならば、その位置の改行コードをkillします。
ポイントが行末でなければ、その行の行末までkillします。
0 : ポイントが行頭ならば、前行の行頭までkillします。
ポイントが行頭でなければ、その行の行頭までkillします。
その他の整数 : 指定された行数 kill します。
seealso: *kill-ring*
seealso: kill-region
type: Function
arguments: kill-paragraph &optional (ARG 1)
package: editor
file: paragrph.l
現在のパラグラフの最後までkillします。
seealso: kill-region
seealso: backward-kill-paragraph
type: Function
arguments: kill-rectangle P1 P2
package: editor
file: rectangl.l
P1とP2で指定される矩形領域をkillします。
killした矩形領域のyankには、yank-rectangleを使います。
通常の*kill-ring*とは別の領域に格納されているようです。
seealso: delete-rectangle
seealso: kill-region
seealso: kill-rectangle-selection
seealso: *rectangle-kill-buffer*
type: Function
arguments: kill-rectangle-selection
package: editor
file: select.l
マウスで矩形選択されたセレクションの領域をkillします。
yankにはyank-rectangle-selectionを使いますが、yank-rectangleでも行けそうです。
killした内容は*kill-ring*ともクリップボードとも違う領域に格納されているようです。
seealso: copy-rectangle-selection
seealso: kill-rectangle
seealso: operate-on-rectangle-selection
type: Function
arguments: kill-rectangle-selection-to-clipboard
package: editor
file: select.l
マウスで矩形選択されたセレクションの領域を削除した後、クリップボードにコ
ピーします。
seealso: kill-rectangle-selection
seealso: copy-rectangle-selection-to-clipboard
type: Function
arguments: kill-region FROM TO
package: editor
file: region.l
リージョンをkill ringに入れます。 [C-w]
--- kill ringのいい加減な説明 ---
kill-regionした文字列は、*kill-ring*の先頭に追加されます。*kill-ring*は
最大で*kill-ring-max*(標準で16)まで保持できます。最大を越えたら古いも
のから破棄されます。
*kill-ring*
┌─────┐ ─┐
│"defun" ←─── kill-regionした内容
├──↓──┤ │
│"length" │ │
├──↓──┤ ├最大*kill-ring-max*個
│"test" │ │
├──↓──┤ │
│... │ │
└─────┘ ─┘
普通はkill[C-k]してyank[C-y]したら、*kill-ring*の先頭のものしか貼り付け
られませんが、killした直後にyank-pop[M-y]を繰り返すと、*kill-ring*の要素
を順次貼り付けてくれます。
seealso: copy-region-as-kill
seealso: kill-selection
seealso: zap-to-char
type: Function
arguments: kill-region-to-clipboard FROM TO
package: editor
file: region.l
FROMとTOで指定される領域を削除したのち、クリップボードにコピーします。
seealso: kill-rectangle-selection-to-clipboard
seealso: kill-region
type: Function
arguments: kill-selection
package: editor
file: select.l
選択された領域を切り取り、*selection-ring*の先頭に追加します。 [F7]
追加した内容はyank-selectionで貼り付けられます。
seealso: yank-selection
seealso: copy-selection
type: Function
arguments: kill-selection-to-clipboard
package: editor
file: select.l
セレクションを削除し、クリップボードに転送します。[C-Delete]
矩形選択状態であれば、 kill-rectangle-selection-to-clipboard
を実行します。
seealso: kill-region-to-clipboard
seealso: kill-rectangle-selection-to-clipboard
type: Function
arguments: kill-word &optional (ARG 1)
package: editor
file: cmds.l
カーソル位置から前方の単語の末尾までを切り取り、キルリングに追加します。
[ESC d] または [ESC h]
カーソルが単語の途中にある場合は、カーソル位置からその単語の末尾までが、
対象となります。
seealso: backward-kill-word
seealso: kill-region
seealso: forward-word
type: Function
arguments: mark-paragraph
package: editor
file: paragrph.l
段落の末尾にマークを、先頭にポイントを設定します。[ESC h]
type: Function
arguments: mark-whole-buffer &optional ARG
package: editor
file: cmds.l
バッファ全体をリージョンにします。
ARG が
nil ならバッファの末尾にマークを設定し、バッファの先頭に移動
non-nil ならバッファの先頭にマークを設定し、バッファの末尾に移動
type: Function
arguments: mark-word &optional (ARG 1)
package: editor
file: cmds.l
カーソル位置前方の単語の末尾にマークを設定します。[ESC @]
カーソルが単語の途中にある場合は、その単語の末尾にマークを設定します。
seealso: set-mark-command
seealso: forward-word
type: Function
arguments: open-rectangle P1 P2
package: editor
file: rectangl.l
P1 と P2 で指定される矩形領域に #\SPC を挿入します。
seealso: clear-rectangle
seealso: open-rectangle-selection
seealso: operate-on-rectangle
type: Function
arguments: open-rectangle-selection
package: editor
file: select.l
矩形選択されたセレクションの領域に #\SPC を挿入します。
seealso: clear-rectangle-selection
seealso: open-rectangle
seealso: operate-on-rectangle-selection
type: Function
arguments: operate-on-rectangle P1 P2 C1 C2 &key :copy :delete :clear :open :string
package: editor
file: rectangl.l
P1 と P2 で指定されるリージョン中の、 C1 と C2 で定まる矩形領域に対し
てキーワードで指定された操作を行います。
:copy コピーする
:delete 削除する
:clear #\SPC で上書き
:open #\SPC を挿入
:string 削除して各行に STRING を挿入
C1, C2 には nil を指定することもできます。この場合、リージョンの開始位
置と終了位置の表示桁が使われます。
-rectangle 系のコマンドの多くはこれを用いて実装されています。
矩形についての補足:
例えば次の図で / がリージョンの場合 * の部分が操作の対象となります。
C1 C2 C1 C2
-------│-------------│-------- -------│-------------│--------
-------│------///////////////// -------│------*******│--------
//////////////////////////////// -------│*************│--------
//////////////////////////////// -------│*************│--------
//////////////////////////////// -------│*************│--------
/////////////////////////------- -------│*************│--------
-------│-------------│-------- -------│-------------│--------
C1, C2 を明示的に指定することはあまりなく、次のいずれかの形になる場合がほとんどでしょう。
-------------------- --------------------
------------//////// ------********//////
/////*******//////// //////********//////
/////*******//////// //////********//////
/////*******//////// //////********//////
/////*******//////// //////********//////
/////--------------- //////********------
-------------------- --------------------
seealso: operate-on-rectangle-selection
type: Function
arguments: operate-on-rectangle-selection &key :copy :delete :clear :open :string
package: editor
file: select.l
矩形選択されたセレクションの領域に対してキーワードで指定された操作を行
います。
:copy コピーする
:delete 削除する
:clear #\SPC で上書き
:open #\SPC を挿入
:string 削除して各行に STRING を挿入
seealso: operate-on-rectangle
seealso: copy-rectangle-selection
seealso: kill-rectangle-selection
seealso: delete-rectangle-selection
seealso: clear-rectangle-selection
seealso: open-rectangle-selection
seealso: string-rectangle-selection
seealso: *dont-clear-selection*
type: Function
arguments: overwrite-rectangle
package: editor
file: rectangl.l
コピーしている矩形を貼り付けます。既存のテキストに上書きされます。
type: Function
arguments: paste-from-clipboard
package: editor
file: select.l
クリップボードの内容を貼り付けます。[S-Insert]
seealso: paste-rectangle-from-clipboard
seealso: si:*paste-hook*
type: Function
arguments: paste-rectangle-from-clipboard
package: editor
file: select.l
paste-from-clipboardとは異なり、クリップボードの内容を矩形で貼り付けます。
[S-C-Insert]
seealso: paste-from-clipboard
type: Function
arguments: prepend-to-register R START END &optional DELETE
package: editor
file: register.l
START と END で指定されるリージョンを、レジスタ R に格納されているテキ
ストの先頭へ追加します。
R にテキストが入っていないとエラーになります。
DELETE が non-nil ならば同時にリージョンをを削除します。
seealso: append-to-register
type: Function
arguments: quote-region FROM TO
package: editor
file: region.l
指定されたリージョンの先頭に引用を表す接頭子を挿入します。
引用を表す接頭子として *quotation-prefix* を挿入します。
seealso: *quotation-prefix*
type: Function
arguments: quoted-printable-decode-region FROM TO
package: editor
file: encdec.l
リージョンをQuoted-Printableデコードします。
seealso: si:quoted-printable-decode
seealso: quoted-printable-decode-region-to-file
type: Function
arguments: quoted-printable-decode-region-to-file FILENAME FROM TO
package: editor
file: encdec.l
リージョンをQuoted-Printableデコードしてファイルに保存します。
seealso: si:quoted-printable-decode
seealso: quoted-printable-decode-region
type: Function
arguments: reverse-region FROM TO &optional TEMPORARY
package: editor
file: builtin.l
リージョンを反転表示します。
TEMPORARYがnon nilならば、次のキー入力で反転表示が元に戻ります。
seealso: clear-reverse-region
type: Function
arguments: selection-backward-char &optional (ARG 1)
package: editor
file: select.l
後方の文字までをセレクションにします。[S-Left]
type: Function
arguments: selection-backward-word &optional (ARG 1)
package: editor
file: select.l
後方の単語までをセレクションにします。[S-C-Left]
seealso: selection-forward-word
type: Function
arguments: selection-beginning-of-buffer
package: editor
file: select.l
カーソル位置からバッファの先頭までをセレクションにします。
beginning-of-bufferと違いマーク自体は変化しません。
seealso: beginning-of-buffer
seealso: selection-end-of-buffer
type: Function
arguments: selection-beginning-of-line
package: editor
file: select.l
行頭までをセレクションにします。
seealso: beginning-of-line
seealso: selection-end-of-line
type: Function
arguments: selection-beginning-of-virtual-line
package: editor
file: select.l
表示行の先頭までをセレクションにします。
seealso: beginning-of-virtual-line
seealso: selection-end-of-virtual-line
type: Function
arguments: selection-end-of-buffer
package: editor
file: select.l
バッファの最後までをセレクションにします。
end-of-bufferと違いマーク自体は変化しません。
seealso: end-of-buffer
seealso: selection-beginning-of-buffer
type: Function
arguments: selection-end-of-line
package: editor
file: select.l
行末までをセレクションにします。
seealso: selection-beginning-of-line
seealso: end-of-line
type: Function
arguments: selection-end-of-virtual-line
package: editor
file: select.l
表示行の末尾までをセレクションにします。
seealso: end-of-virtual-line
seealso: selection-beginning-of-virtual-line
type: Function
arguments: selection-forward-char &optional (ARG 1)
package: editor
file: select.l
前方の文字までをセレクションにします。[S-Right]
type: Function
arguments: selection-forward-word &optional (ARG 1)
package: editor
file: select.l
前方の単語までをセレクションにします。[S-C-Right]
seealso: selection-backward-word
type: Function
arguments: selection-next-page &optional (ARG 1)
package: editor
file: select.l
次ページまでをセレクションにします。[S-PageDown]
seealso: selection-previous-page
type: Function
arguments: selection-next-virtual-line &optional (ARG 1)
package: editor
file: select.l
次の表示行までをセレクションにします。[S-Down]
type: Function
arguments: selection-paragraph
package: editor
file: paragrph.l
段落をセレクションにします。
type: Function
arguments: selection-previous-page &optional (ARG 1)
package: editor
file: select.l
前ページまでをセレクションにします。[S-PageUp]
seealso: selection-next-page
type: Function
arguments: selection-previous-virtual-line &optional (ARG 1)
package: editor
file: select.l
前の表示行までをセレクションにします。[S-Up]
type: Macro
arguments: selection-start-end (START END) &body BODY
package: editor
file: select.l
セレクションの開始位置、終了位置を取得します。
セレクションが存在すれば、
局所的にSTARTに開始位置、ENDに終了位置をセットされた環境を作り
BODYを順次評価します。
使用例:
;;; セレクションに含まれる文字列を返します。
(selection-start-end (start end)
(buffer-substring start end))
=>"foo"
seealso: ed::get-selection-start-end
type: Function
arguments: selection-whole-buffer
package: editor
file: select.l
バッファ全体をセレクションにします。
type: Function
arguments: shift-region START END &optional (COLUMN (TAB-COLUMNS (SELECTED-BUFFER)))
package: editor
file: region.l
STARTとENDがある行の範囲をCOLUMN桁だけインデントします。
seealso: unshift-region
type: Function
arguments: start-selection TYPE &optional TEMPORARY POINT
package: editor
file: builtin.l
選択領域の範囲指定を開始します。
TYPE:選択領域の範囲指定の方法を指定します。
1の場合 範囲選択を行で行います。
2の場合 範囲選択を文字で行います。
3の場合 範囲選択を矩形で行います。
TEMPORARY:一時的なものかどうかを指定します。
tの場合 キー入力されると範囲指定を解除します。
nilの場合 カーソル移動に応じて範囲を変更します。
使用例:
;;; 矩形で範囲指定する。
(start-selection 3 nil)
=> t
seealso: stop-selection
seealso: get-selection-type
seealso: set-selection-type
seealso: fix-selection-point
seealso: pre-selection-p
type: Function
arguments: start-selection-as-line
package: editor
file: select.l
行選択モードを開始します。[F6]
セレクションが存在する場合は、セレクションを解除します。
seealso: start-selection-as-region
type: Function
arguments: start-selection-as-region
package: editor
file: select.l
文字選択モードを開始します。[S-F6]
文字選択モードが開始されている場合は、矩形選択モードに切替えます。
矩形選択モードが開始されている場合は、文字選択モードに切替えます。
行選択モードが開始されている場合は、選択モードを解除します。
seealso: start-selection-as-line
type: Function
arguments: string-rectangle P1 P2 STRING
package: editor
file: rectangl.l
P1 と P2 で指定される矩形領域の各行を文字列 STRING で置き換えます。
seealso: string-rectangle-selection
seealso: operate-on-rectangle
type: Function
arguments: string-rectangle-selection STRING
package: editor
file: select.l
矩形選択されたセレクションの各行を文字列 STRING で置き換えます。
seealso: string-rectangle
seealso: operate-on-rectangle-selection
type: Function
arguments: transpose-paragraphs &optional (ARG 1)
package: editor
file: paragrph.l
段落を次の段落と交換します。
seealso: transpose-region
type: Function
arguments: unshift-region START END &optional (COLUMN (TAB-COLUMNS (SELECTED-BUFFER)))
package: editor
file: region.l
STARTとENDがある行の範囲をCOLUMN桁だけインデントを戻します。
seealso: shift-region
type: Function
arguments: upcase-region FROM TO
package: editor
file: builtin.l
リージョン内の単語を大文字にします。[C-x C-u]
seealso: upcase-word
seealso: capitalize-region
seealso: downcase-region
type: Function
arguments: uudecode-region FROM TO
package: editor
file: encdec.l
リージョンをuudecodeします。
seealso: si:uudecode
seealso: uudecode-region-to-file
type: Function
arguments: uudecode-region-to-file FILENAME FROM TO
package: editor
file: encdec.l
リージョンをuudecodeしてファイルに保存します。
seealso: si:uudecode
seealso: uudecode-region
type: Function
arguments: yank &optional PREFIX (ARG 0)
package: editor
file: region.l
*kill-ring*の先頭の要素を挿入します。[C-y]
seealso: *kill-ring*
seealso: yank-pop
seealso: yank-rectangle
type: Function
arguments: yank-and-pop &optional PREFIX (ARG 0)
package: editor
file: region.l
*kill-ring*の先頭の要素をyankした後に、先頭の要素を*kill-ring*からpopします。
*kill-ring*は一要素分短くなります。
seealso: yank-pop
type: Function
arguments: yank-pop &optional (ARG 1)
package: editor
file: region.l
次の要素をyankします。 [ESC y]
直前のコマンドがyankならば*kill-ring*のポインターをずらして、次の要素
でyankをし直します。
seealso: yank
type: Function
arguments: yank-rectangle
package: editor
file: rectangl.l
copy-rectangleやkill-rectangleによって選択された領域を矩形挿入します。
yank-rectangle-selectionのInsert相当の機能のようです。
seealso: kill-rectangle
seealso: yank-rectangle-selection
seealso: yank-rectangle-as-region
type: Function
arguments: yank-rectangle-as-region
package: editor
file: rectangl.l
copy-rectangleで切り取った矩形領域を、
連続した一連の文字列として挿入します。
ABCDEFG ;
HIJKLMN ; JKL
OPQRSTU ; QRS
VWXYZ ; XYZの領域をcopy-rectangle
(yank-rectangle)
=>JKL
QRS
XYZ
(yank-rectangle-as-region)
=>JKLQRSXYZ
seealso: yank-rectangle
type: Function
arguments: yank-rectangle-selection &optional ARG
package: editor
file: select.l
マウスで矩形選択されたセレクションの領域をyankします。[S-F9]
実行後にどのようにyankするかを質問されます。
F6 Cancel yank中止
F7 Append 行末に追加
F8 Overwrite 上書き
F9 Insert 挿入
F10 Insert as region 文字列にして挿入
seealso: yank-rectangle
seealso: kill-rectangle-selection
type: Function
arguments: yank-selection &optional (ARG 0)
package: editor
file: select.l
*selection-ring*の先頭の要素を貼り付けます。[F9]
*selection-ring*へはcopy-selectionもしくはkill-selectionで追加します。
seealso: kill-selection
seealso: copy-selection
type: Function
arguments: yank-selection-and-pop &optional (ARG 0)
package: editor
file: select.l
*selection-ring*の先頭の要素をyank-selectionした後に、
先頭の要素を*selection-ring*からpopします。
*selection-ring*は一要素分短くなります。
seealso: yank-selection
type: Function
arguments: yank-to-clipboard &optional (ARG 1)
package: editor
file: region.l
*kill-ring*の内容をクリップボードに複写します。
seealso: copy-to-clipboard