Package: php-elisp Version: 1.1.0-2 Severity: normal Curly braces are used for string subscripting in PHP. For example, $str{$i} takes the i-th character of str. When trying to type that expression in php-mode, after typing the open curly brace, automatic indentation happens, and the cursor skips to the next line:
$str { <cursor> This should not happen. Well, this one, I'm afraid, is difficult to fix because php-mode needs to make difference between the cases where the curly brace is used to start a nested block and when it's used for string subscripting. Maybe the preceding token should be checked, and if it's a variable, then automatic indentation on typing '{' should be suppressed. -- System Information: Debian Release: testing/unstable APT prefers testing-proposed-updates APT policy: (995, 'testing-proposed-updates'), (990, 'testing'), (500, 'stable'), (90, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-k7 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages php-elisp depends on: ii emacs21 [emacsen] 21.4a-1 The GNU Emacs editor php-elisp recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]