GNU bug report logs - #9484
scheme-indent-function bug?

Previous Next

Package: emacs;

Reported by: 彥瑾 <coldnew.tw <at> gmail.com>

Date: Mon, 12 Sep 2011 16:10:03 UTC

Severity: minor

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 彥瑾 <coldnew.tw <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: scheme-indent-function bug?
Date: Mon, 12 Sep 2011 22:59:42 +0800
[Message part 1 (text/plain, inline)]
Dear:
             I want to make  c-declare function likes following

             (c-declare #<<c-declare-end

              #include <stdio.h>
              c-declare-end
              )

              but if  I use  (put 'c-decare 'scheme-indent-function 0)
whitch is according to scheme wiki

              the scheme code will looks like:

             (c-declare #<<c-declare-end

                               #include <stdio.h>
                               c-declare-end
                                )

               and this will make my scheme compiler error ( I try both
gambit-c and racket)

               if I write a simple emacs lisp

              (defun scheme-indent-dummy (state indent-point normal-indent)
                0)
              (put 'c-declare 'scheme-indent-function 'scheme-indent-dummy)

              and the scheme's c-declare function will indent as I want

               maybe this is a scheme-mode's bug ?
[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.