[Haskell-cafe] Automatically move cursor focus in split window in haskell-mode in emacs on load (C-c C-l) command?

Brandon S Allbery KF8NH allbery.b at gmail.com
Mon Jan 31 02:10:55 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/30/11 12:13 , JETkoten wrote:
>>                                     ;Default behaviour is to always
>> jump to the GHCi window.
>>                                     ;Jump back automatically unless errors.
>>                                     (defadvice haskell-ghci-load-file
>> (after name)
>>                                       (other-window 1))
>>                                     (ad-activate 'haskell-ghci-load-file t)
>>
> I tried various combinations of moving the various lines around and nothing
> works. Is the indentation significant in elisp?

Aside from the comments, wich go to end of line but got broken in this case,
no; all that matters is the parens.  I suspect it may depend strongly on
what version of emacs you're running though.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1GDB8ACgkQIn7hlCsL25XwUwCfTYktCZ2WuayLprACS79LS8gG
td4AnR5WygspwmARIUUeNRm9E++cHOMa
=1r0X
-----END PGP SIGNATURE-----



More information about the Haskell-Cafe mailing list