[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: vi(m) modelines (was: patch-7: README.alpha update)
From: |
Ralf Wildenhues |
Subject: |
FYI: vi(m) modelines (was: patch-7: README.alpha update) |
Date: |
Mon, 30 Jan 2006 21:09:24 +0100 |
User-agent: |
Mutt/1.5.9i |
Hi Gary,
Finishing up part of an oldish thread:
* Gary V. Vaughan wrote on Fri, Dec 16, 2005 at 06:10:30PM CET:
> Ralf Wildenhues wrote:
>
> >> - I guess you don't use emacs? Can you refill at column 72 to
> >> match the rest of the files before you commit please?
> >
> >Hmm. To avoid me hitting this ever again, can I add vi(m) modelines
> >to the files (README, README.alpha, ChangeLog)?
>
> Yes, please do. I was too lazy to look up the syntax myself when I
> added the emacs-fu. Sorry about that.
>
> >Does the emacs variable stuff:
> >have to be right at the end?
> Looking at the sources, the 'Local Variables:\n' string must begin within
> the last 3000 characters of the file.
OK, thanks. I have applied this patch to HEAD, to make vi(m) behave
more like emacs. And yes, the vi/vim difference is intended. ;-)
Cheers,
Ralf
* ChangeLog, HACKING, README, README.alpha,
libltdl/config/ltmain.m4sh: Add vi(m) modelines, to match emacs
formatting variables.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/libtool/libtool/ChangeLog,v
retrieving revision 1.2250
diff -u -r1.2250 ChangeLog
--- ChangeLog 24 Jan 2006 07:43:48 -0000 1.2250
+++ ChangeLog 30 Jan 2006 20:04:31 -0000
@@ -60,3 +65,5 @@
Continued in ChangeLog.2005
$Revision: 1.2250 $ $Date: 2006/01/24 07:43:48 $
+
+vim:tw=72
Index: HACKING
===================================================================
RCS file: /cvsroot/libtool/libtool/HACKING,v
retrieving revision 1.26
diff -u -r1.26 HACKING
--- HACKING 19 Dec 2005 16:29:38 -0000 1.26
+++ HACKING 30 Jan 2006 20:04:32 -0000
@@ -634,3 +634,4 @@
mode: text
fill-column: 72
End:
+vim:tw=72
Index: README
===================================================================
RCS file: /cvsroot/libtool/libtool/README,v
retrieving revision 1.24
diff -u -r1.24 README
--- README 3 Jan 2006 13:51:13 -0000 1.24
+++ README 30 Jan 2006 20:04:32 -0000
@@ -181,3 +181,4 @@
mode: text
fill-column: 72
End:
+vim:tw=72
Index: README.alpha
===================================================================
RCS file: /cvsroot/libtool/libtool/README.alpha,v
retrieving revision 1.8
diff -u -r1.8 README.alpha
--- README.alpha 3 Jan 2006 13:51:13 -0000 1.8
+++ README.alpha 30 Jan 2006 20:04:32 -0000
@@ -128,3 +128,4 @@
mode: text
fill-column: 72
End:
+vim:tw=72
Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.30
diff -u -r1.30 ltmain.m4sh
--- libltdl/config/ltmain.m4sh 21 Jan 2006 16:44:41 -0000 1.30
+++ libltdl/config/ltmain.m4sh 30 Jan 2006 20:08:19 -0000
@@ -6888,3 +6888,4 @@
# mode:shell-script
# sh-indentation:2
# End:
+# vi:sw=2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: vi(m) modelines (was: patch-7: README.alpha update),
Ralf Wildenhues <=