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
3f150a60
Commit
3f150a60
authored
Jul 01, 2009
by
Glenn Morris
Browse files
(f90-break-delimiters, f90-no-break-re): Doc fixes.
parent
b0d5b05b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/progmodes/f90.el
lisp/progmodes/f90.el
+10
-8
No files found.
lisp/ChangeLog
View file @
3f150a60
2009-07-01 Glenn Morris <rgm@gnu.org>
* progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
* progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
...
...
lisp/progmodes/f90.el
View file @
3f150a60
...
...
@@ -254,9 +254,10 @@ additionally blinks the cursor to the start of the block."
(
defcustom
f90-break-delimiters
"[-+\\*/><=,% \t]"
"Regexp matching delimiter characters at which lines may be broken.
There are certain tokens comprised entirely of characters
matching this regexp that should not be split, and these are
specified by the constant `f90-no-break-re'."
There are some common two-character tokens where one or more of
the members matches this regexp. Although Fortran allows breaks
within lexical tokens (provided the next line has a beginning ampersand),
the constant `f90-no-break-re' ensures that such tokens are not split."
:type
'regexp
:group
'f90
)
(
put
'f90-break-delimiters
'safe-local-variable
'stringp
)
...
...
@@ -824,11 +825,12 @@ Can be overridden by the value of `font-lock-maximum-decoration'.")
(defconst f90-no-break-re
(regexp-opt '("
**
" "
//
" "
=>
" "
>=
" "
<=
" "
==
" "
/=
" "
(
/
" "
/
)
") 'paren)
"
Regexp
specifying
where
not
to
break
lines
when
filling.
This
regexp
matches
certain
tokens
comprised
entirely
of
characters
matching
the
regexp
`
f90-break-delimiters
'
that
should
not
be
split
by
filling.
Each
element
is
assumed
to
be
two
characters
long.
")
"
Regexp
specifying
two-character
tokens
not
to
split
when
breaking
lines.
Each
token
has
one
or
more
of
the
characters
from
`
f90-break-delimiters
'.
Note
that
if
only
one
of
the
characters
is
from
that
variable,
then
the
presence
of
the
token
here
allows
a
line-break
before
or
after
the
other
character,
where
a
break
would
not
normally
be
allowed.
This
minor
issue
currently
only
affects
\"
(
/\"
and
\"/
)
\".
")
(defvar f90-cache-position nil
"
Temporary
position
used
to
speed
up
region
operations.
")
...
...
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