From: Uwe Brauer <oub@mat.ucm.es>
To: help-gnu-emacs@gnu.org
Subject: Re: calwf
Date: Thu, 14 Jan 2016 17:00:00 +0000 [thread overview]
Message-ID: <87twmgaygf.fsf@mat.ucm.es> (raw)
In-Reply-To: jwvegdkuu8k.fsf-monnier+gmane.emacs.help@gnu.org
>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> (let ((diary-display-hook 'fancy-diary-display-week-graph)
> [...]
>> (view-diary-entries 7))))
> There's no such hook run by Emacs's view-diary-entries, hence the difference.
> I think you want to use `diary-display-function' instead.
Ok thanks I got it to work: changes; old values have a comment.
;(add-hook 'diary-display-hook 'fancy-diary-display-week-graph)
(setq diary-display-function 'fancy-diary-display-week-graph);
;(let ((diary-display-hook 'fancy-diary-display-week-graph);
(let ((diary-display-hook 'fancy-diary-display-week-graph)
;(set-buffer (get-buffer-create fancy-diary-buffer))
(set-buffer (get-buffer-create diary-fancy-buffer))
; (display-buffer fancy-diary-buffer)
(display-buffer diary-fancy-buffer)
I could make a change in emacswiki.
I am not sure what is the best solution
wrap the old code with a
(if (featurep 'xemacs)?
Thanks
Uwe
next prev parent reply other threads:[~2016-01-14 17:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-11 16:51 calwf Uwe Brauer
2016-01-12 14:29 ` calwf Stefan Monnier
2016-01-13 17:42 ` calwf Uwe Brauer
2016-01-13 19:55 ` calwf tomas
2016-01-14 14:09 ` calwf Stefan Monnier
2016-01-14 8:54 ` calwf Uwe Brauer
2016-01-14 14:13 ` calwf Stefan Monnier
2016-01-14 17:00 ` Uwe Brauer [this message]
2016-01-14 19:34 ` calwf Stefan Monnier
2016-01-15 9:05 ` [missing diary-display-hook] (was: calwf) Uwe Brauer
2016-01-15 13:56 ` [missing diary-display-hook] Stefan Monnier
2016-01-15 17:38 ` Uwe Brauer
2016-01-15 16:52 ` Glenn Morris
2016-01-15 17:42 ` Uwe Brauer
2016-01-15 9:06 ` calwf Uwe Brauer
2016-01-14 14:15 ` calwf Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twmgaygf.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).