This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: inserting some Emacs-specific stuff into the source files
- To: ttn at glug dot org
- Subject: Re: inserting some Emacs-specific stuff into the source files
- From: Michael Livshin <mlivshin at bigfoot dot com>
- Date: 19 Mar 2000 13:38:30 +0200
- Cc: guile at sourceware dot cygnus dot com
- Organization: who? me?
- References: <s3k8iz1bsw.fsf@verisity.com> <200003191130.DAA03233@revel.glug.org>
thi <ttn@revel.glug.org> writes:
> how about:
>
> (add-hook 'find-file-hook
> (lambda () (and (fboundp 'c-set-style)
> (string-match "guile" (buffer-file-name))
> (c-set-style "gnu") )))
yes, I'm aware of this approach. it has the same conceptual problem
as the C typing model: you attach an attribute to a location, instead
of the object itself.
OTOH, I see no apparent reason to move Guile source files around, so
it's prolly good enough...
--
Parenthesize to avoid ambiguity.