Bug#570239: TAB after type declaration doesn't work in literate-haskell-mode

2010-02-18 Thread Marco Túlio Gontijo e Silva
Hi Petr.

Excerpts from Petr Rockai's message of Qui Fev 18 04:28:40 -0200 2010:
(...)
 can you try changing your indent mode to the previous default? (add-hook
 'haskell-mode-hook 'turn-on-haskell-indent) instead of (add-hook
 'haskell-mode-hook 'turn-on-haskell-indentation)

Yes, this is much better.  Thanks for the hint. =)

 I will probably flip this back, since it seems that the older default
 worked better... Especially if that helps with your issue(s).

Great idea.  But the bug will still be present in the haskell-indentation.

Greetings.
-- 
marcot
http://marcot.iaaeee.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570239: TAB after type declaration doesn't work in literate-haskell-mode

2010-02-17 Thread Marco Túlio Gontijo e Silva
Package: haskell-mode
Version: 2.7.0-2
Severity: normal

Hi.

If I have this line in a buffer in haskell-mode:

f :: Int

And I go to the next line and press TAB, I got:

f :: Int
f

With literate-haskell-mode, in a line like:

 f :: Int


If I press tab in the next line, I got:

 f :: Int
   

Greetings.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages haskell-mode depends on:
ii  emacs21 [emacsen]21.4a+1-5.7 The GNU Emacs editor
ii  emacs23 [emacsen]23.1+1-6The GNU Emacs editor (with GTK+ us

Versions of packages haskell-mode recommends:
ii  ghc6  6.12.1-9   GHC - the Glasgow Haskell Compilat

haskell-mode suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100217151324.734.406.report...@zezinho



Bug#570239: TAB after type declaration doesn't work in literate-haskell-mode

2010-02-17 Thread Marco Túlio Gontijo e Silva
Hi.

Excerpts from Marco Túlio Gontijo e Silva's message of Qua Fev 17 13:13:24 
-0200 2010:
(...)
 If I have this line in a buffer in haskell-mode:
 
 f :: Int
 
 And I go to the next line and press TAB, I got:
 
 f :: Int
 f
 
 With literate-haskell-mode, in a line like:
 
  f :: Int
 
 
 If I press tab in the next line, I got:
 
  f :: Int


I just notice that on this version of haskell-mode it doesn't work like this
even in haskell-mode (.hs).  Was this feature deliberative dropped?  If yes,
please change this to wishlist.

Greetings.
-- 
marcot
http://marcot.iaaeee.org/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#570239: TAB after type declaration doesn't work in literate-haskell-mode

2010-02-17 Thread Petr Rockai
Hi,

Marco Túlio Gontijo e Silva mar...@debian.org writes:
 Excerpts from Marco Túlio Gontijo e Silva's message of Qua Fev 17 13:13:24 
 -0200 2010:
 (...)
 If I have this line in a buffer in haskell-mode:
 
 f :: Int
 
 And I go to the next line and press TAB, I got:
 
 f :: Int
 f
 
 With literate-haskell-mode, in a line like:
 
  f :: Int
 
 
 If I press tab in the next line, I got:
 
  f :: Int


 I just notice that on this version of haskell-mode it doesn't work like this
 even in haskell-mode (.hs).  Was this feature deliberative dropped?  If yes,
 please change this to wishlist.
can you try changing your indent mode to the previous default? (add-hook
'haskell-mode-hook 'turn-on-haskell-indent) instead of (add-hook
'haskell-mode-hook 'turn-on-haskell-indentation)

I will probably flip this back, since it seems that the older default
worked better... Especially if that helps with your issue(s).

Yours,
   Petr.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org