emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog progmodes/f90.el [EMACS_23_1_RC]


From: Glenn Morris
Subject: [Emacs-diffs] emacs/lisp ChangeLog progmodes/f90.el [EMACS_23_1_RC]
Date: Wed, 01 Jul 2009 07:18:45 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_23_1_RC
Changes by:     Glenn Morris <gm>       09/07/01 07:18:45

Modified files:
        lisp           : ChangeLog 
        lisp/progmodes : f90.el 

Log message:
        (f90-break-delimiters, f90-no-break-re): Doc fixes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.15702.2.8&r2=1.15702.2.9
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/progmodes/f90.el?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.119&r2=1.119.2.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15702.2.8
retrieving revision 1.15702.2.9
diff -u -b -r1.15702.2.8 -r1.15702.2.9
--- ChangeLog   1 Jul 2009 06:10:35 -0000       1.15702.2.8
+++ ChangeLog   1 Jul 2009 07:18:39 -0000       1.15702.2.9
@@ -1,3 +1,7 @@
+2009-07-01  Glenn Morris  <address@hidden>
+
+       * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
+
 2009-07-01  Nick Roberts  <address@hidden>
 
        * progmodes/gdb-ui.el (gdb-init-2): Move to ...

Index: progmodes/f90.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/f90.el,v
retrieving revision 1.119
retrieving revision 1.119.2.1
diff -u -b -r1.119 -r1.119.2.1
--- progmodes/f90.el    9 Jan 2009 04:15:58 -0000       1.119
+++ progmodes/f90.el    1 Jul 2009 07:18:44 -0000       1.119.2.1
@@ -254,9 +254,10 @@
 
 (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,11 @@
 
 (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.")
 
 (defvar f90-cache-position nil
   "Temporary position used to speed up region operations.")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]