all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jeff Miller <jmiller@cablespeed.com>
Subject: Re: What's wrong with this elisp code?
Date: 03 Aug 2006 23:31:51 -0400	[thread overview]
Message-ID: <m3psfh6us8.fsf@cablespeed.com> (raw)
In-Reply-To: mailman.4811.1154626598.9609.help-gnu-emacs@gnu.org

ken <gebser@speakeasy.net> writes:

> But I'm getting the error:
> 
> Loading rng-auto.el (source)...
> Loading /usr/lib/emacs/21.3/i586-suse-linux/fns-21.3.1.el (source)...
> Preparing diary...
> Preparing diary...done
> Symbol's value as variable is void: diary-entries-list

I think this variable is only used inside of some let statements and
not available for general use.

If you use this in your emacs-diary-day.el, does it get you closer to
what you want?

(let* ((diary-display-hook 'fancy-diary-display)
       (diary-list-include-blanks t)
       (text (progn (list-diary-entries (calendar-current-date) 1)
		    (set-buffer fancy-diary-buffer)
		    (buffer-substring (point-min) (point-max)))))
  (find-file "emacs-diary-day")
  (erase-buffer)
  (insert text))
(save-buffer)

-- 
Jeff Miller
jmiller@cablespeed.com

       reply	other threads:[~2006-08-04  3:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4811.1154626598.9609.help-gnu-emacs@gnu.org>
2006-08-04  3:31 ` Jeff Miller [this message]
     [not found]   ` <44D32639.80305@speakeasy.net>
2006-08-04 19:53     ` What's wrong with this elisp code? Jeff Miller
2006-08-03 17:35 ken
2006-08-03 19:16 ` Peter Dyballa
     [not found]   ` <44D24F39.5080607@speakeasy.net>
     [not found]     ` <52A05EBB-9A5D-48C9-8A2A-553908FD097E@Web.DE>
     [not found]       ` <44D25BD4.7040006@speakeasy.net>
     [not found]         ` <C1580EEC-6A6C-4FE3-8295-070AC6D482AD@Web.DE>
     [not found]           ` <44D327DF.6090500@speakeasy.net>
2006-08-04 11:27             ` Peter Dyballa
2006-08-04 19:39               ` ken
2006-08-04 20:04                 ` Peter Dyballa
     [not found]               ` <mailman.4866.1154720372.9609.help-gnu-emacs@gnu.org>
2006-08-04 20:51                 ` Glenn Morris
     [not found]             ` <mailman.4842.1154691137.9609.help-gnu-emacs@gnu.org>
2006-08-04 22:23               ` Glenn Morris
2006-08-05  0:06                 ` ken

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3psfh6us8.fsf@cablespeed.com \
    --to=jmiller@cablespeed.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.