From mboxrd@z Thu Jan 1 00:00:00 1970 From: torys.anderson@gmail.com (Tory S. Anderson) Subject: Agenda Breaks on holidays: cl-return-from: No catch for tag Date: Sat, 20 Dec 2014 15:09:09 -0500 Message-ID: <87oaqy84nu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2QKv-0002Q3-W5 for emacs-orgmode@gnu.org; Sat, 20 Dec 2014 15:09:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2QKu-0001IE-PN for emacs-orgmode@gnu.org; Sat, 20 Dec 2014 15:09:13 -0500 Received: from mail-yh0-x233.google.com ([2607:f8b0:4002:c01::233]:42625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2QKu-0001IA-Kg for emacs-orgmode@gnu.org; Sat, 20 Dec 2014 15:09:12 -0500 Received: by mail-yh0-f51.google.com with SMTP id a41so1340327yho.10 for ; Sat, 20 Dec 2014 12:09:12 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: orgmode list When I try to pull up time span including a holiday, my agenda dies (stops generating, buffer says "not viewing agenda") and I get the following error in my messages: cl-return-from: No catch for tag: --cl-block-nil--, org-agenda-date-weekend It may have something to do with the holiday/weekend markup I use: ;; Holiday/weekends in agenda ;;; Agenda holiday display (setq org-agenda-day-face-function (defun jd:org-agenda-day-face-holidays-function (date) "Compute DATE face for holidays." (unless (org-agenda-todayp date) (dolist (file (org-agenda-files nil 'ifmode)) (let ((face (dolist (entry (org-agenda-get-day-entries file date)) (let ((category (with-temp-buffer (insert entry) (org-get-category (point-min))))) (when (or (string= "Holiday" category) (string= "Vacation" category)) (return 'org-agenda-date-weekend)))))) (when face (return face))))))) Why is my agenda breaking on holidays (but not weekends)?