From: Wei <william.wtang@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How to put mode Info into comment header of program?
Date: Tue, 22 Apr 2008 14:58:06 -0700 (PDT) [thread overview]
Message-ID: <6b8bad34-151e-4d71-a928-14277555d573@26g2000hsk.googlegroups.com> (raw)
Hi,
I am not sure if this is a trivial question. But it definitely seems
non-trivial to me.
Recently I browse some common lisp code written for Artificial
Intelligence, which can be found at http://aima.cs.berkeley.edu/lisp/doc/overview.html.
I think the author uses Emacs for his common lisp programming, The
interesting part is on the top of each of his lisp program, he has a
line like ";;; -*- Mode: Lisp; Syntax: Common-Lisp; -*- File:
utilities.lisp". I think this is automatic inserted through some
mechanism and could be used for other programming language mode also,
such as cc-mode.
However, I searched over goolge for quite a while and couldn't find
what kind of setting can enable this.
Can I get any hints from any of you experts?
Thanks!
next reply other threads:[~2008-04-22 21:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 21:58 Wei [this message]
2008-04-22 22:59 ` How to put mode Info into comment header of program? Pascal Bourguignon
2008-04-23 14:52 ` Johan Bockgård
2008-04-23 14:44 ` Joel J. Adamson
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6b8bad34-151e-4d71-a928-14277555d573@26g2000hsk.googlegroups.com \
--to=william.wtang@gmail.com \
--cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).