Dear FKtPp,
Ar an seachtú lá de mí na Nollaig, scríobh FKtPp:
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.
This is a little confusing. Normally, one does not see the initial prompt
string in shell-script-mode; prompt strings are limited to shell-mode and
other modes associated with comint. And when, in shell-script mode, I type
if [ -f
enter, and then tab, I get eight spaces, both with and without your
patch. What exactly are you seeing--please give us example inputs--and what
exactly would you like to see?
Bye,
Aidan
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'.")
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta