help-gnu-emacs
[Top][All Lists]
Advanced

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

comment-region and EOF


From: jgphpc
Subject: comment-region and EOF
Date: 19 Sep 2005 08:41:04 -0700
User-agent: G2/0.2

Hello,

Uncommenting region is not doing as expected : my version is GNU emacs
= 21.3.1.

----------CUT HERE-----------
cat > out << EOF
 &control
 calculation = a
EOF

echo coucou
----------CUT HERE-----------

I want to comment this section of shell-script code : I select my
region and M-x comment-region, result is ok :

----------CUT HERE-----------
#cat > out << EOF
# &control
# calculation = a
#EOF
#
#echo coucou
----------CUT HERE-----------

My problem is that emacs can not uncomment this section because of the
"&control" line : I select my region and C-u-M-x comment-region, result
is KO :
----------CUT HERE-----------
cat > out << EOF
# &control
 calculation = a
EOF

echo coucou
----------CUT HERE-----------

Give it a try, and help me please ?



reply via email to

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