ほんとのこと知りたいだけなのに。

夏休みはもうおわり。

Emacs Lisp のポジション関連のオペレータ

ナローイングに興味が出たのでオペレータの一覧を作成してみた。

29 Positions

29.1 Point

Type Statement
Function point
Function point-min
Function point-max
Function buffer-end flag
Function buffer-size &optional buffer

29.2 Motion

29.2.1 Motion by Characters

Type Statement
Command goto-char position
Command forward-char &optional count
Command backward-char &optional count

29.2.2 Motion by Words

Type Statement
Command forward-word &optional count
Command backward-word &optional count
User Option words-include-escapes
Variable inhibit-field-text-motion
Variable find-word-boundary-function-table
Function forward-word-strictly &optional count
Function backward-word-strictly &optional count

29.2.3 Motion to an End of the Buffer

Type Statement
Command beginning-of-buffer &optional n
Command end-of-buffer &optional n

29.2.4 Motion by Text Lines

Type Statement
Command beginning-of-line &optional count
Function line-beginning-position &optional count
Command end-of-line &optional count
Function line-end-position &optional count
Command forward-line &optional count
Function count-lines start end
Command count-words start end
Function line-number-at-pos &optional pos

29.2.5 Motion by Screen Lines

Type Statement
Function vertical-motion count &optional window cur-col
Function count-screen-lines &optional beg end count-final-newline window
Command move-to-window-line count
Function move-to-window-group-line count
Function compute-motion from frompos to topos width offsets window

29.2.6 Moving over Balanced Expressions

Type Statement
Command forward-list &optional arg
Command backward-list &optional arg
Command up-list &optional arg escape-strings no-syntax-crossing
Command backward-up-list &optional arg escape-strings no-syntax-crossing
Command down-list &optional arg
Command forward-sexp &optional arg
Command backward-sexp &optional arg
Command beginning-of-defun &optional arg
Command end-of-defun &optional arg
User Option defun-prompt-regexp
User Option open-paren-in-column-0-is-defun-start
Variable beginning-of-defun-function
Variable end-of-defun-function

29.2.7 Skipping Characters

Type Statement
Function skip-chars-forward character-set &optional limit
Function skip-chars-backward character-set &optional limit

29.2.6 Moving over Balanced Expressions

Type Statement
Command backward-list &optional arg
Command up-list &optional arg escape-strings no-syntax-crossing
Command backward-up-list &optional arg escape-strings no-syntax-crossing
Command down-list &optional arg
Command forward-sexp &optional arg
Command backward-sexp &optional arg
Command beginning-of-defun &optional arg
Command end-of-defun &optional arg
User Option defun-prompt-regexp
User Option open-paren-in-column-0-is-defun-start
Variable beginning-of-defun-function
Variable end-of-defun-function

29.2.7 Skipping Characters

Type Statement
Function skip-chars-forward character-set &optional limit
Function skip-chars-backward character-set &optional limit

29.3 Excursions

Type Statement
Special Form save-excursion body...
Macro save-mark-and-excursion body...

29.4 Narrowing

Type Statement
Command narrow-to-region start end
Command narrow-to-page &optional move-count
Command widen
Function buffer-narrowed-p
Special Form save-restriction body...

おわり

しかし「ポジション」ってなんやろ。