all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: rms@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Fwd: shell-script-mode gets lost in small repro
Date: Mon, 23 Jul 2007 21:17:06 -0400	[thread overview]
Message-ID: <jwvy7h6ppnj.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1ID6QR-0006RA-9t@fencepost.gnu.org> (Richard Stallman's message of "Mon\, 23 Jul 2007 18\:30\:47 -0400")

> [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

      reply	other threads:[~2007-07-24  1:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvy7h6ppnj.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.