Package: ruby1.8-elisp
Version: 1.8.6.111-4
Severity: normal

1. Bind your RETURN key to newline-and-indent:
  1.1 M-x global-set-key
  1.2 Press RETURN
  1.3 Type newline-and-indent

2. Enter ruby-mode:
  2.1 M-x ruby-mode

3. Type "if fluff then", then press RETURN.


Expected behavior:
The cursor should move to the next line.  It should also move in a few step 
(which is the 
point of having RETURN bound to newline-and-indent).

Current behavior:
The cursor moves to the next line.  It does not move in.  To start typing at 
the correct 
location I have to press TAB after pressing RETURN :-(.

Note:
Binding RETURN to newline-and-indent works for all other editing modes I have 
tried (perl, 
cperl, c, java).

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ruby1.8-elisp depends on:
ii  emacs [emacsen]               22.1+1-2.3 The GNU Emacs editor (metapackage)
ii  emacs22-gtk [emacsen]         22.1+1-2.3 The GNU Emacs editor (with GTK use

ruby1.8-elisp recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to