unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* [shell-script-mode]: should insert two spaces between []
@ 2005-08-27 12:55 Frank Küster
  2005-08-29  8:41 ` Richard M. Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Küster @ 2005-08-27 12:55 UTC (permalink / raw)


Hi Emacs team,

In shell-script-mode, pressing `[' inserts `[]' (when skeleton-pair is
set to t) and places point between the brackets.  When you carry on
typing, too easily you end up with something like

[ -f "$somefile"]

which gives a syntax error, because a space is missing before the
closing ].  This could be resolved by inserting `[  ]' instead, and
placing point between the two inserted spaces.

TIA, Frank

In GNU Emacs 21.4.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-03-17 on trouble, modified by Debian
configured using `configure '--build=i386-linux' '--host=i386-linux' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes' '--with-x-toolkit=athena' 'CFLAGS=-DDEBIAN -g -O2' 'build_alias=i386-linux' 'host_alias=i386-linux''
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: C
  value of $LC_TIME: de_DE.UTF-8@euro
  value of $LANG: de_DE@euro
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:



-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

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

* Re: [shell-script-mode]: should insert two spaces between []
  2005-08-27 12:55 [shell-script-mode]: should insert two spaces between [] Frank Küster
@ 2005-08-29  8:41 ` Richard M. Stallman
  2005-08-29  9:07   ` Frank Küster
  0 siblings, 1 reply; 3+ messages in thread
From: Richard M. Stallman @ 2005-08-29  8:41 UTC (permalink / raw)
  Cc: bug-gnu-emacs

I will fix this in the development sources.

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

* Re: [shell-script-mode]: should insert two spaces between []
  2005-08-29  8:41 ` Richard M. Stallman
@ 2005-08-29  9:07   ` Frank Küster
  0 siblings, 0 replies; 3+ messages in thread
From: Frank Küster @ 2005-08-29  9:07 UTC (permalink / raw)
  Cc: bug-gnu-emacs

"Richard M. Stallman" <rms@gnu.org> wrote:

> I will fix this in the development sources.

Thank you very much,
Frank

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer

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

end of thread, other threads:[~2005-08-29  9:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-27 12:55 [shell-script-mode]: should insert two spaces between [] Frank Küster
2005-08-29  8:41 ` Richard M. Stallman
2005-08-29  9:07   ` Frank Küster

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).