Hi all,

Today I noticed that the quilt manual page includes expanded $EDITOR
values in the "edit" and "header" subsections. The value is the value of
$EDITOR when the manual page was generated as part of the quilt build
process. It seems to be totally irrelevant here as each user may
customize $EDITOR individually.

Thus, I would propose that we strip the expanded value from the manual
page. The following hack seems to do the trick just fine. Comments?

Thanks.

Index: Makefile.in
===================================================================
RCS file: /cvsroot/quilt/quilt/Makefile.in,v
retrieving revision 1.63
diff -u -r1.63 Makefile.in
--- Makefile.in 28 Aug 2005 18:52:10 -0000      1.63
+++ Makefile.in 5 Sep 2005 21:03:27 -0000
@@ -153,7 +153,8 @@
                 grep -v 'Usage: quilt' |                \
                   sed -e $$'s/^\t//'                    \
                       -e $$'s/\t/\\\n/' |               \
-                  sed -e 's/^\(-.*\)$$/.IP "    \1" 8/';\
+                  sed -e 's/^\(-.*\)$$/.IP "    \1" 8/' \
+                      -e 's/\$$EDITOR ([^)]*)/$$EDITOR/'; \
                 echo;                                   \
               done                                      \
             ;;                                          \


-- 
Jean Delvare


_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to