Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d19dc73d
Commit
d19dc73d
authored
Oct 27, 2010
by
Stefan Monnier
Browse files
* test/indent/octave.m: Add a test to ensure indentation is local.
parent
80cb310d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
11 deletions
+21
-11
test/ChangeLog
test/ChangeLog
+6
-2
test/indent/octave.m
test/indent/octave.m
+15
-9
No files found.
test/ChangeLog
View file @
d19dc73d
2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
* indent/octave.m: Add a test to ensure indentation is local.
2010-10-23 Glenn Morris <rgm@gnu.org>
* comint-testsuite.el
(comint-testsuite--test-comint-password-prompt-regexp):
Add
"Please enter the password". (Bug#7224)
(comint-testsuite--test-comint-password-prompt-regexp):
Add
"Please enter the password". (Bug#7224)
2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
...
...
test/indent/octave.m
View file @
d19dc73d
...
...
@@ -17,15 +17,21 @@
cnty
=
repmat
(
x
(
:
,
1
)(
:
),
10
,
1
);
pop
=
x
(
:
,
1
:
10
)(
:
);
bir
=
x
(
:
,
11
:
20
)(
:
);
dth
=
x
(
:
,
21
:
30
)(
:
);
imig
=
x
(
:
,
31
:
40
)(
:
);
dmig
=
x
(
:
,
41
:
50
)(
:
);
gq
=
x
(
:
,
51
:
60
)(
:
);
yrs
=
repmat
(
2000
:
2009
,
39
,
1
)(
:
);
res
=
[
yrs
,
cnty
,
pop
,
bir
,
dth
,
imig
,
dmig
,
gq
];
## Here and below, we test if the indentation aligns with a previous
## fixindented line. This is important so as to make it easier for the
## user to verride some indentation somewhere, and also because it
## reflects the fact that the indentation decision is taken with a minimum
## amount of work (i.e. in the present case, without having to walk back
## until the `function' line).
bir
=
x
(
:
,
11
:
20
)(
:
);
#
fixindent
dth
=
x
(
:
,
21
:
30
)(
:
);
imig
=
x
(
:
,
31
:
40
)(
:
);
dmig
=
x
(
:
,
41
:
50
)(
:
);
gq
=
x
(
:
,
51
:
60
)(
:
);
yrs
=
repmat
(
2000
:
2009
,
39
,
1
)(
:
);
res
=
[
yrs
,
cnty
,
pop
,
bir
,
dth
,
imig
,
dmig
,
gq
];
endfunction
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment