* Emacs scheme-mode indentation
@ 2008-08-15 16:48 JG
0 siblings, 0 replies; only message in thread
From: JG @ 2008-08-15 16:48 UTC (permalink / raw)
To: help-gnu-emacs
Is there a way to set the indentation rules for scheme-mode in emacs
just as they are for example in drscheme?
The default ones are just bizzare :
(define (function arg)
(cond ((<condition>)
( <--------- after hitting <TAB>, emacs puts the caret
in the position of the paren (the parentheses don't line up)
(define (function arg)
(cond ((<condition>)
( <------- I'd rather it to be like this (one character
to the left).
I've put a (put 'cond 'scheme-indent-function 10) in my .emacs but it
didn't help (on the other hand the "if" special form is indented
nicely (with (put 'if 'scheme-indent-function 3))).
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-15 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15 16:48 Emacs scheme-mode indentation JG
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.