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

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

Re: [emacs-wiki-discuss] planner-calendar


From: Gary V. Vaughan
Subject: Re: [emacs-wiki-discuss] planner-calendar
Date: Tue, 25 May 2004 18:13:11 +0100
User-agent: Mozilla Thunderbird 0.6 (X11/20040502)

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

Charles Phlip Chan wrote:
| On 24 May 2004, address@hidden wrote:
|
|>Are you using XEmacs?
|
| No, emacs 21.3.50.1 from cvs.

Hmm.  I wonder why \& isn't substituting in CVS?

|>What do you get if using an existing page, you run:
|>
|>~  M-x:(planner-calendar-published-file-href "2004.05.24" "24" 'nop)

My bad.  That should have said M-: not M-x.

What does this do for you:

~  M-:(replace-regexp-in-string "bar" "bar \\&" "foo bar black sheep")

If you don't get "foo bar bar black sheep", what about this:

~  M-:(replace-regexp-in-string "\\(bar\\)" "bar \\1" "foo bar black sheep")

| Maybe I am using it wrong, since there is no documentation. This is
| what I have in my .emacs for planner-calendar:
|
| (require 'planner-calendar)
| (add-hook 'emacs-wiki-before-markup-hook
'planner-calendar-insert-calendar-maybe)

That's what I have too, but I am using a released 21.2.93.1.

If the first replace-regexp above doesn't work, then I think that is a bug
in cvs emacs.  If it does, then we need to figure out why my function isn't
calling it correctly...

HTH,
        Gary.
- --
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAs36nFRMICSmD1gYRAnEhAJ9VvJuCgEwc+us2jCJfCpxXXNul9QCfcAtm
KwsWCK+soU1QmoHCkovZT58=
=ugf2
-----END PGP SIGNATURE-----




reply via email to

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