unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: OT: emacs-style variables (etc) in the headers?
Date: Mon, 03 Jan 2005 19:57:42 GMT	[thread overview]
Message-ID: <jwv652eb8cv.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 1cXzd.3978$Rb3.3396@fe07.lga

> I'm starting on a project where I want to include script
> snippets in the headers of files (perl, shell, etc.) actually
> inside comments where these snippets will not bother the real
> script. Is there an algorithm somewhere to detect the script
> is really a script and not a binary file, what the comment
> character is, and some standard way to include these variables
> and such in files?

I do not fully understand your question.

Could you give a concrete example?
Does interpreter-mode-alist answer the question?


        Stefan "who doesn't read comp.emacs religiously"

  parent reply	other threads:[~2005-01-03 19:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 16:59 OT: emacs-style variables (etc) in the headers? Mike
2004-12-27 17:40 ` Peter Dyballa
     [not found] ` <mailman.9151.1104169993.27204.help-gnu-emacs@gnu.org>
2004-12-27 18:17   ` Mike
2005-01-03 19:57 ` Stefan Monnier [this message]
2005-01-03 20:44   ` Mike
2005-01-03 22:21     ` Stefan Monnier
2005-01-03 23:00       ` Mike
2005-01-03 23:03         ` Stefan Monnier

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=jwv652eb8cv.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /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).