emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: including files as-is in muse


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: including files as-is in muse
Date: Fri, 20 Jan 2006 21:36:10 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Stefan van der Walt <address@hidden> writes:

> On Thu, Jan 12, 2006 at 06:21:24PM -0500, Michael Olson wrote:
>> Stefan van der Walt <address@hidden> writes:
>> 
>> >> We'll eventually have an <include> tag, similar to the emacs-wiki
>> >> one, and it will allow you to specify whether or not to mark up the
>> >> inserted text.
>> >
>> > In the meantime, is there a kludge I can use to get this going?
>> 
>> Which version/branch of Muse are you using?
>
> I am using the 3.02 Debian release of muse, and planner from 2006/01/03.

The following might work.

<lisp>(muse-with-temp-buffer
  (insert-file-contents "path/to/included/file")
  (buffer-substring (point-min) (point-max)))</lisp>

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: manga, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpLoc3kkF5tk.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]