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

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

[emacs-wiki-discuss] Re: How to generate a page without title


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: How to generate a page without title
Date: Thu, 01 Dec 2005 10:24:46 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Evan <address@hidden> writes:

> Michael Olson <mwolson <at> gnu.org> writes:
>> 
>> (defun my-muse-remove-title-directive
>>   (setq muse-publishing-directives
>>         (delq (assoc "title" muse-publishing-directives)
>>               muse-publishing-directives)))
>> 
>> (add-hook 'muse-before-publish-hook 'my-muse-remove-title-directive)
>> 
>
> Should I put the code into .emacs?

Yes.

> I did this and Muse just won't publish any more, though it says it
> had done.

I don't understand how that could happen because of this one change.

> And I just find an unexpected thing related to the '#title'
> directive. If a muse file contains only "#title Title", without any
> more text, Muse will treat file name as its title and "Title" as
> body text in the published page.

I'm not terribly worried about that particular case :^) .

- -- 
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDjxXB+1Ho2POo0xkRAsP4AKCsr7pxd7pi9bXc7uHqp6TqIIkVYgCgnAee
dLCsa8FqqjQNWy9iTHyPPpk=
=EWyY
-----END PGP SIGNATURE-----




reply via email to

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