From: don provan <dprovan@comcast.net>
Subject: Re: Suggestions? Better filetype sniffing -- XHTML vs. HTML
Date: 30 May 2005 23:52:50 -0700 [thread overview]
Message-ID: <uzmubrinx.fsf@comcast.net> (raw)
In-Reply-To: 7e64x48cij.fsf@ada2.unipv.it
Thien-Thi Nguyen <ttn@glug.org> writes:
> On Tue, 24 Feb 2004 09:31:51 -0800, Kin Cho wrote:
>
> > If you know C, 'xml-html-mode is like taking the
> > address of a function.
>
> that's a stretch!
>
> did anyone who:
> (a) did know C previously
> and (b) did NOT know emacs lisp previously
> and (c) learned something about emacs lisp eventually
> find this comparison to be helpful in going from (b) to (c)?
It's hard to remember back that far, but I think I probably found that
comparison helpful way back when. I'm not sure why you think it's such
a stretch. Sure, there are significant differences, but none-the-less,
(setq f 'function)
(funcall f)
is how you accomplish in emacs the same feat as in C with
f = function; /* implicitely takes the address of function */
(*f)();
I suppose not all C programmers are familiar with function pointers,
yet you really aren't an emacs programmer until you're familiar with
quoted function names, so it might be considered a stretch in the
sense that some C programmers wouldn't have the concept to begin with.
Is that what you meant?
-don provan
next prev parent reply other threads:[~2005-05-31 6:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-24 14:56 Suggestions? Better filetype sniffing -- XHTML vs. HTML D. D. Brierton
2004-02-24 16:47 ` Kin Cho
2004-02-24 17:16 ` D. D. Brierton
2004-02-24 17:31 ` Kin Cho
2004-02-24 17:46 ` D. D. Brierton
2005-05-27 14:29 ` slashdevslashnull
[not found] ` <mailman.2088.1117208718.25862.help-gnu-emacs@gnu.org>
2005-05-27 23:39 ` Thien-Thi Nguyen
2005-05-31 6:52 ` don provan [this message]
2005-09-12 7:59 ` Thien-Thi Nguyen
2005-09-15 16:25 ` don provan
2004-02-24 17:11 ` 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=uzmubrinx.fsf@comcast.net \
--to=dprovan@comcast.net \
/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).