default sh-test in sh-script.el

FKtPp m_pupil at yahoo.com.cn
Fri Dec 7 03:56:49 EST 2007


dear developers,

The variable sh-test defined in package sh-script sh-script.el make me feel uncomfortable while editing sh/ksh files.

The default value make it move the point to the end of the initial prompt string, and it make me always have to move back/delete one character when inserting `if' clause in sh/ksh shell-script mode.

It will be much better if the default value be as this:

--- sh-script.el~    Wed Nov 28 17:03:20 2007
+++ sh-script.el    Fri Dec 07 16:45:44 2007
@@ -600,8 +600,8 @@
   "Word to delimit here documents.")
 
 (defvar sh-test
-  '((sh "[  ]" . 3)
-    (ksh88 "[[  ]]" . 4))
+  '((sh "[  ]" . 2)
+    (ksh88 "[[  ]]" . 3))
   "Initial input in Bourne if, while and until skeletons.  See `sh-feature'.")
 
 





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 




More information about the XEmacs-Beta mailing list