aboutsummaryrefslogtreecommitdiff
path: root/sam/addresses
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-02-02 13:43:34 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-02 13:43:34 +0100
commit0a3fdd77894a02c63cc14592505a4dbaaeaf7af7 (patch)
treeee2505726fae7a1f039a37b8145f6c16ac0feba0 /sam/addresses
parent11754d3c6451288fc06d85fb2f6e85552336010e (diff)
downloadvis-0a3fdd77894a02c63cc14592505a4dbaaeaf7af7.tar.gz
vis-0a3fdd77894a02c63cc14592505a4dbaaeaf7af7.tar.xz
test/sam: add more tests
Diffstat (limited to 'sam/addresses')
-rw-r--r--sam/addresses/columns.cmd5
-rw-r--r--sam/addresses/first-last.cmd4
-rw-r--r--sam/addresses/first-last.in4
-rw-r--r--sam/addresses/second.cmd4
-rw-r--r--sam/addresses/second.in4
5 files changed, 20 insertions, 1 deletions
diff --git a/sam/addresses/columns.cmd b/sam/addresses/columns.cmd
index 80110dc..b00f736 100644
--- a/sam/addresses/columns.cmd
+++ b/sam/addresses/columns.cmd
@@ -1 +1,4 @@
-,x/def/ -/^/+#10 i/|/
+,x/def|uvw/ {
+ g/def/ -/^/+#10 i/|/
+ g/uvw/ +/$/-#10 i/|/
+}
diff --git a/sam/addresses/first-last.cmd b/sam/addresses/first-last.cmd
new file mode 100644
index 0000000..ff1d6fc
--- /dev/null
+++ b/sam/addresses/first-last.cmd
@@ -0,0 +1,4 @@
+0/Emacs/,$-/Emacs/ {
+ i/>>/
+ a/<</
+}
diff --git a/sam/addresses/first-last.in b/sam/addresses/first-last.in
new file mode 100644
index 0000000..02d5652
--- /dev/null
+++ b/sam/addresses/first-last.in
@@ -0,0 +1,4 @@
+This manual is organized in a rather haphazard manner. The first
+several sections were written hastily in an attempt to provide a
+general introduction to the commands in Emacs and to try to show
+the method in the madness that is the Emacs command structure.
diff --git a/sam/addresses/second.cmd b/sam/addresses/second.cmd
new file mode 100644
index 0000000..525bfa1
--- /dev/null
+++ b/sam/addresses/second.cmd
@@ -0,0 +1,4 @@
+0/Emacs/+// {
+ i/>>/
+ a/<</
+}
diff --git a/sam/addresses/second.in b/sam/addresses/second.in
new file mode 100644
index 0000000..02d5652
--- /dev/null
+++ b/sam/addresses/second.in
@@ -0,0 +1,4 @@
+This manual is organized in a rather haphazard manner. The first
+several sections were written hastily in an attempt to provide a
+general introduction to the commands in Emacs and to try to show
+the method in the madness that is the Emacs command structure.