all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 彥瑾 <coldnew.tw@gmail.com>
To: 9484@debbugs.gnu.org
Subject: bug#9484: scheme-indent-function bug?
Date: Mon, 12 Sep 2011 22:59:42 +0800	[thread overview]
Message-ID: <CAF6djU_KMQcw-0dAs_6GUcQenM3MgpnCXUkbuFqUjBoP93EXzA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

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 ?

[-- Attachment #2: Type: text/html, Size: 2146 bytes --]

             reply	other threads:[~2011-09-12 14:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-12 14:59 彥瑾 [this message]
2011-09-13  4:02 ` bug#9484: scheme-indent-function bug? Glenn Morris
2011-09-13  7:01   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF6djU_KMQcw-0dAs_6GUcQenM3MgpnCXUkbuFqUjBoP93EXzA@mail.gmail.com \
    --to=coldnew.tw@gmail.com \
    --cc=9484@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.