unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [johan.walles@gmail.com: shell-script-mode gets lost in small repro]
@ 2007-07-17  3:35 Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2007-07-17  3:35 UTC (permalink / raw)
  To: emacs-devel

Would someone please try to DTRT, then ack?
Sometimes bugs like this are not feasible to fix, but I'd
like someone to at least try.

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=lGwtQ1aZB0tkJoOS2CfF5M45CizPKhwj0tUb8CRdYFDb7CWE5eXyrfyzA/s9hgHsUqqgFF4EuukZAl80M6Hc+2L1oK8CN6yxyQ4lIhZvoJtAwjeO/mlWHO07UnaDTU3npx6SQz1H2jAwfiHeiVRLDq2x6zuiytTLKNvXPvH4bQA=
Date: Mon, 16 Jul 2007 14:26:58 +0200
From: "Johan Walles" <johan.walles@gmail.com>
To: emacs-pretest-bug@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: shell-script-mode gets lost in small repro

In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11)
 of 2007-07-06 on helios
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
configured using `configure  '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.0/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend'
'--with-xft' '--with-freetype' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CC=gcc' 'CFLAGS=-DDEBIAN
- -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: swedish
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-1-unix
  default-enable-multibyte-characters: t

Major mode: Shell-script

Minor modes in effect:
  show-paren-mode: t
  pc-selection-mode: t
  global-auto-revert-mode: t
  auto-revert-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Type the following in a buffer in shell-script-mode:

#!/bin/bash
while false ; do
    echo "server $(hostname), $(date)" |
    mail -s "Alert: Almost out of disk space $usep%" $ADMIN
done

Note that shell-script-mode gets lost at the "mail" line, thinking it
is some kind of pre-formatted text.  Really obvious in font-lock-mode,
or if you try to indent the "mail" line using TAB.

Removing $(date) from the line before works around the problem.

  Regards //Johan


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=RrN35AnxsNyMTXph8u05dRv14BVh0DobwdFhbv57JKh3WJEY1f8wbgpqkhQ4e5+7MTWKUaRCXDxYHVq0ERZUXnP7RwUjCZV9E6bQd6JICq30E+2jMI1hF5zkDK3W/54lkRHowUjY4+/bkuZyOYVGQooU5MoV68qeJkgge9SsJAo=
Date: Mon, 16 Jul 2007 14:31:34 +0200
From: "Johan Walles" <johan.walles@gmail.com>
To: emacs-pretest-bug@gnu.org
In-Reply-To: <9b0752e70707160526p4c921496ibef8755f9a31cc38@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: Re: shell-script-mode gets lost in small repro

Additional info: After typing in the whole script, you may have to
type a space at the end of the "echo" line to trigger the
lost-getting.

2007/7/16, Johan Walles <johan.walles@gmail.com>:
> In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11)
>  of 2007-07-06 on helios
> Windowing system distributor `The X.Org Foundation', version 11.0.70200000
> configured using `configure  '--build' 'i486-linux-gnu' '--host'
> 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
> '--libexecdir=/usr/lib' '--localstatedir=/var'
> '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
> '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.0/leim'
> '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend'
> '--with-xft' '--with-freetype' 'build_alias=i486-linux-gnu'
> 'host_alias=i486-linux-gnu' 'CC=gcc' 'CFLAGS=-DDEBIAN
> -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''
>
> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: swedish
>   value of $XMODIFIERS: nil
>   locale-coding-system: iso-latin-1-unix
>   default-enable-multibyte-characters: t
>
> Major mode: Shell-script
>
> Minor modes in effect:
>   show-paren-mode: t
>   pc-selection-mode: t
>   global-auto-revert-mode: t
>   auto-revert-mode: t
>   delete-selection-mode: t
>   tooltip-mode: t
>   tool-bar-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   global-auto-composition-mode: t
>   auto-composition-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
>
> Type the following in a buffer in shell-script-mode:
>
> #!/bin/bash
> while false ; do
>     echo "server $(hostname), $(date)" |
>     mail -s "Alert: Almost out of disk space $usep%" $ADMIN
> done
>
> Note that shell-script-mode gets lost at the "mail" line, thinking it
> is some kind of pre-formatted text.  Really obvious in font-lock-mode,
> or if you try to indent the "mail" line using TAB.
>
> Removing $(date) from the line before works around the problem.
>
>   Regards //Johan
>


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [johan.walles@gmail.com: shell-script-mode gets lost in small repro]
@ 2007-07-23 22:30 Richard Stallman
  2007-07-24  1:17 ` Fwd: shell-script-mode gets lost in small repro Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-07-23 22:30 UTC (permalink / raw)
  To: emacs-devel

[I sent this message a week ago but did not get a response.]

Would someone please try to DTRT, then ack?
Sometimes bugs like this are not feasible to fix, but I'd
like someone to at least try.

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
	b=lGwtQ1aZB0tkJoOS2CfF5M45CizPKhwj0tUb8CRdYFDb7CWE5eXyrfyzA/s9hgHsUqqgFF4EuukZAl80M6Hc+2L1oK8CN6yxyQ4lIhZvoJtAwjeO/mlWHO07UnaDTU3npx6SQz1H2jAwfiHeiVRLDq2x6zuiytTLKNvXPvH4bQA=
Date: Mon, 16 Jul 2007 14:26:58 +0200
From: "Johan Walles" <johan.walles@gmail.com>
To: emacs-pretest-bug@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: shell-script-mode gets lost in small repro

In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11)
 of 2007-07-06 on helios
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
configured using `configure  '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.0/leim'
'--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend'
'--with-xft' '--with-freetype' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CC=gcc' 'CFLAGS=-DDEBIAN
- -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: swedish
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-1-unix
  default-enable-multibyte-characters: t

Major mode: Shell-script

Minor modes in effect:
  show-paren-mode: t
  pc-selection-mode: t
  global-auto-revert-mode: t
  auto-revert-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Type the following in a buffer in shell-script-mode:

#!/bin/bash
while false ; do
    echo "server $(hostname), $(date)" |
    mail -s "Alert: Almost out of disk space $usep%" $ADMIN
done

Note that shell-script-mode gets lost at the "mail" line, thinking it
is some kind of pre-formatted text.  Really obvious in font-lock-mode,
or if you try to indent the "mail" line using TAB.

Removing $(date) from the line before works around the problem.

  Regards //Johan


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
	autolearn=failed version=3.1.0
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=RrN35AnxsNyMTXph8u05dRv14BVh0DobwdFhbv57JKh3WJEY1f8wbgpqkhQ4e5+7MTWKUaRCXDxYHVq0ERZUXnP7RwUjCZV9E6bQd6JICq30E+2jMI1hF5zkDK3W/54lkRHowUjY4+/bkuZyOYVGQooU5MoV68qeJkgge9SsJAo=
Date: Mon, 16 Jul 2007 14:31:34 +0200
From: "Johan Walles" <johan.walles@gmail.com>
To: emacs-pretest-bug@gnu.org
In-Reply-To: <9b0752e70707160526p4c921496ibef8755f9a31cc38@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Disposition: inline
Subject: Re: shell-script-mode gets lost in small repro

Additional info: After typing in the whole script, you may have to
type a space at the end of the "echo" line to trigger the
lost-getting.

2007/7/16, Johan Walles <johan.walles@gmail.com>:
> In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11)
>  of 2007-07-06 on helios
> Windowing system distributor `The X.Org Foundation', version 11.0.70200000
> configured using `configure  '--build' 'i486-linux-gnu' '--host'
> 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
> '--libexecdir=/usr/lib' '--localstatedir=/var'
> '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
> '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.0/leim'
> '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend'
> '--with-xft' '--with-freetype' 'build_alias=i486-linux-gnu'
> 'host_alias=i486-linux-gnu' 'CC=gcc' 'CFLAGS=-DDEBIAN
> -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''
>
> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: swedish
>   value of $XMODIFIERS: nil
>   locale-coding-system: iso-latin-1-unix
>   default-enable-multibyte-characters: t
>
> Major mode: Shell-script
>
> Minor modes in effect:
>   show-paren-mode: t
>   pc-selection-mode: t
>   global-auto-revert-mode: t
>   auto-revert-mode: t
>   delete-selection-mode: t
>   tooltip-mode: t
>   tool-bar-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   global-auto-composition-mode: t
>   auto-composition-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
>
> Type the following in a buffer in shell-script-mode:
>
> #!/bin/bash
> while false ; do
>     echo "server $(hostname), $(date)" |
>     mail -s "Alert: Almost out of disk space $usep%" $ADMIN
> done
>
> Note that shell-script-mode gets lost at the "mail" line, thinking it
> is some kind of pre-formatted text.  Really obvious in font-lock-mode,
> or if you try to indent the "mail" line using TAB.
>
> Removing $(date) from the line before works around the problem.
>
>   Regards //Johan
>


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fwd: shell-script-mode gets lost in small repro
  2007-07-23 22:30 [johan.walles@gmail.com: shell-script-mode gets lost in small repro] Richard Stallman
@ 2007-07-24  1:17 ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2007-07-24  1:17 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

> [I sent this message a week ago but did not get a response.]
> Would someone please try to DTRT, then ack?
> Sometimes bugs like this are not feasible to fix, but I'd
> like someone to at least try.

I fixed it a few weeks before this report.


        Stefan


> ------- Start of forwarded message -------
> X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
> 	autolearn=failed version=3.1.0
> DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
> 	h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
> 	b=lGwtQ1aZB0tkJoOS2CfF5M45CizPKhwj0tUb8CRdYFDb7CWE5eXyrfyzA/s9hgHsUqqgFF4EuukZAl80M6Hc+2L1oK8CN6yxyQ4lIhZvoJtAwjeO/mlWHO07UnaDTU3npx6SQz1H2jAwfiHeiVRLDq2x6zuiytTLKNvXPvH4bQA=
> Date: Mon, 16 Jul 2007 14:26:58 +0200
> From: "Johan Walles" <johan.walles@gmail.com>
> To: emacs-pretest-bug@gnu.org
> MIME-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Disposition: inline
> Subject: shell-script-mode gets lost in small repro

> In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11)
>  of 2007-07-06 on helios
> Windowing system distributor `The X.Org Foundation', version 11.0.70200000
> configured using `configure  '--build' 'i486-linux-gnu' '--host'
> 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
> '--libexecdir=/usr/lib' '--localstatedir=/var'
> '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
> '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.0/leim'
> '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend'
> '--with-xft' '--with-freetype' 'build_alias=i486-linux-gnu'
> 'host_alias=i486-linux-gnu' 'CC=gcc' 'CFLAGS=-DDEBIAN
> - -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: swedish
>   value of $XMODIFIERS: nil
>   locale-coding-system: iso-latin-1-unix
>   default-enable-multibyte-characters: t

> Major mode: Shell-script

> Minor modes in effect:
>   show-paren-mode: t
>   pc-selection-mode: t
>   global-auto-revert-mode: t
>   auto-revert-mode: t
>   delete-selection-mode: t
>   tooltip-mode: t
>   tool-bar-mode: t
>   mouse-wheel-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   global-auto-composition-mode: t
>   auto-composition-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t

> Type the following in a buffer in shell-script-mode:

> #!/bin/bash
> while false ; do
>     echo "server $(hostname), $(date)" |
>     mail -s "Alert: Almost out of disk space $usep%" $ADMIN
> done

> Note that shell-script-mode gets lost at the "mail" line, thinking it
> is some kind of pre-formatted text.  Really obvious in font-lock-mode,
> or if you try to indent the "mail" line using TAB.

> Removing $(date) from the line before works around the problem.

>   Regards //Johan


> _______________________________________________
> emacs-pretest-bug mailing list
> emacs-pretest-bug@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
> ------- End of forwarded message -------

> X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
> 	autolearn=failed version=3.1.0
> DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
> 	h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
> 	b=RrN35AnxsNyMTXph8u05dRv14BVh0DobwdFhbv57JKh3WJEY1f8wbgpqkhQ4e5+7MTWKUaRCXDxYHVq0ERZUXnP7RwUjCZV9E6bQd6JICq30E+2jMI1hF5zkDK3W/54lkRHowUjY4+/bkuZyOYVGQooU5MoV68qeJkgge9SsJAo=
> Date: Mon, 16 Jul 2007 14:31:34 +0200
> From: "Johan Walles" <johan.walles@gmail.com>
> To: emacs-pretest-bug@gnu.org
> In-Reply-To: <9b0752e70707160526p4c921496ibef8755f9a31cc38@mail.gmail.com>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Disposition: inline
> Subject: Re: shell-script-mode gets lost in small repro

> Additional info: After typing in the whole script, you may have to
> type a space at the end of the "echo" line to trigger the
> lost-getting.

> 2007/7/16, Johan Walles <johan.walles@gmail.com>:
>> In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11)
>> of 2007-07-06 on helios
>> Windowing system distributor `The X.Org Foundation', version 11.0.70200000
>> configured using `configure  '--build' 'i486-linux-gnu' '--host'
>> 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
>> '--libexecdir=/usr/lib' '--localstatedir=/var'
>> '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
>> '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.0/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.0/leim'
>> '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend'
>> '--with-xft' '--with-freetype' 'build_alias=i486-linux-gnu'
>> 'host_alias=i486-linux-gnu' 'CC=gcc' 'CFLAGS=-DDEBIAN
>> -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''
>> 
>> Important settings:
>> value of $LC_ALL: nil
>> value of $LC_COLLATE: nil
>> value of $LC_CTYPE: nil
>> value of $LC_MESSAGES: nil
>> value of $LC_MONETARY: nil
>> value of $LC_NUMERIC: nil
>> value of $LC_TIME: nil
>> value of $LANG: swedish
>> value of $XMODIFIERS: nil
>> locale-coding-system: iso-latin-1-unix
>> default-enable-multibyte-characters: t
>> 
>> Major mode: Shell-script
>> 
>> Minor modes in effect:
>> show-paren-mode: t
>> pc-selection-mode: t
>> global-auto-revert-mode: t
>> auto-revert-mode: t
>> delete-selection-mode: t
>> tooltip-mode: t
>> tool-bar-mode: t
>> mouse-wheel-mode: t
>> menu-bar-mode: t
>> file-name-shadow-mode: t
>> global-font-lock-mode: t
>> font-lock-mode: t
>> global-auto-composition-mode: t
>> auto-composition-mode: t
>> auto-compression-mode: t
>> line-number-mode: t
>> transient-mark-mode: t
>> 
>> Type the following in a buffer in shell-script-mode:
>> 
>> #!/bin/bash
>> while false ; do
>> echo "server $(hostname), $(date)" |
>> mail -s "Alert: Almost out of disk space $usep%" $ADMIN
>> done
>> 
>> Note that shell-script-mode gets lost at the "mail" line, thinking it
>> is some kind of pre-formatted text.  Really obvious in font-lock-mode,
>> or if you try to indent the "mail" line using TAB.
>> 
>> Removing $(date) from the line before works around the problem.
>> 
>> Regards //Johan
>> 


> _______________________________________________
> emacs-pretest-bug mailing list
> emacs-pretest-bug@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug



> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-24  1:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23 22:30 [johan.walles@gmail.com: shell-script-mode gets lost in small repro] Richard Stallman
2007-07-24  1:17 ` Fwd: shell-script-mode gets lost in small repro Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2007-07-17  3:35 [johan.walles@gmail.com: shell-script-mode gets lost in small repro] Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).