all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Problems with emacs 25 (master branch)
Date: Fri, 10 Oct 2014 16:10:32 +0200	[thread overview]
Message-ID: <84k348yq07.fsf@tm6592.fritz.box> (raw)
In-Reply-To: 87iojsf66o.fsf@gmail.com

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Tassilo Horn <tsdh@gnu.org> writes:
>
>>
>> It seems `fancy-diary-display' has been renamed to
>> `diary-fancy-display'.  In your config, you probably have
>>
>>   (setq diary-display-function 'fancy-diary-display)
>>
>> and now you need to use
>>
>>   (setq diary-display-function 'diary-fancy-display)
>>
>> Or even better, you can just delete it from your configuration since
>> that's the default value with Emacs 25.
>
> Org in emacs-25 is still using `fancy-diary-display', see the function
> `org-get-entries-from-diary' and because the alias have been removed,
> org-agenda is broken...
>
> So this is a bug in `org-get-entries-from-diary'.

Thanks for the hint.  I will propose a corresponding patch to the Org list.

Concretely:

--8<---------------cut here---------------start------------->8---
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index da7993c..5fd9fbc 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5112,8 +5112,10 @@ of what a project is and how to check if it stuck, customize the variable
   "Get the (Emacs Calendar) diary entries for DATE."
   (require 'diary-lib)
   (let* ((diary-fancy-buffer "*temporary-fancy-diary-buffer*")
-	 (diary-display-hook '(fancy-diary-display))
-	 (diary-display-function 'fancy-diary-display)
+	 (diary-display-function (if (version< emacs-version "25")
+				     'fancy-diary-display
+				   'diary-fancy-display))
+	 (diary-display-hook '(diary-display-function))
 	 (pop-up-frames nil)
 	 (diary-list-entries-hook
 	  (cons 'org-diary-default-entry diary-list-entries-hook))
--8<---------------cut here---------------end--------------->8---


Ciao,  Marco
-- 
http://www.wahlzone.de
PGP: 0x0A3AE6F2




  parent reply	other threads:[~2014-10-10 14:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-10 11:00 Problems with emacs 25 (master branch) Cédric Chépied
2014-10-10 12:12 ` Tassilo Horn
2014-10-10 12:41   ` Thierry Volpiatto
2014-10-10 13:31     ` Cédric Chépied
2014-10-10 13:36       ` Tassilo Horn
2014-10-10 20:23       ` Ulf Jasper
2014-10-13 11:30         ` Cédric Chépied
2014-10-10 14:10     ` Marco Wahl [this message]
2014-10-10 16:13       ` Michael Heerdegen
2014-10-11 11:05         ` Marco Wahl
2014-10-13 12:54         ` Cédric Chépied
2014-10-13 12:58           ` Michael Heerdegen

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=84k348yq07.fsf@tm6592.fritz.box \
    --to=marcowahlsoft@gmail.com \
    --cc=emacs-devel@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.
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.