[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/rt-liberation 1aa19e9 08/72: Fix compilation errors.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/rt-liberation 1aa19e9 08/72: Fix compilation errors. |
Date: |
Wed, 5 Aug 2020 11:57:33 -0400 (EDT) |
branch: externals/rt-liberation
commit 1aa19e9dc6386624c76d44f00d53be1a6ba8d57a
Author: Yoni Rabkin <yonirabkin@member.fsf.org>
Commit: Yoni Rabkin <yonirabkin@member.fsf.org>
Fix compilation errors.
---
rt-liberation-gnus.el | 8 +++++---
rt-liberation-multi.el | 7 ++++---
rt-liberation.el | 15 +++++++++++----
3 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/rt-liberation-gnus.el b/rt-liberation-gnus.el
index 48ed6a9..ee9949d 100644
--- a/rt-liberation-gnus.el
+++ b/rt-liberation-gnus.el
@@ -1,8 +1,8 @@
;;; rt-liberation-gnus.el --- Gnus integration for rt-liberation
-;; Copyright (C) 2009, 2012 Yoni Rabkin
+;; Copyright (C) 2009, 2012, 2014 Yoni Rabkin
;;
-;; Authors: Yoni Rabkin <yonirabkin@member.fsf.org>
+;; Authors: Yoni Rabkin <yrk@gnu.org>
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@@ -223,7 +223,9 @@ OPTIONS association list of options.
(let ((match (match-string-no-properties 1)))
(when (not match)
(error "no ticket number found in subject line"))
- (rt-liber-display-ticket match)))
+ (rt-liber-browse-query
+ (rt-liber-compile-query
+ (id match)))))
(provide 'rt-liberation-gnus)
diff --git a/rt-liberation-multi.el b/rt-liberation-multi.el
index 3e9c208..1faa682 100644
--- a/rt-liberation-multi.el
+++ b/rt-liberation-multi.el
@@ -1,8 +1,8 @@
;;; rt-liberation-multi.el --- Free from RT
-;; Copyright (C) 2010 Yoni Rabkin
+;; Copyright (C) 2010, 2014 Yoni Rabkin
;;
-;; Authors: Yoni Rabkin <yonirabkin@member.fsf.org>
+;; Authors: Yoni Rabkin <yrk@gnu.org>
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@@ -31,7 +31,8 @@
(((type tty) (class mono))
(:inverse-video t))
(t (:background "Red")))
- "Face for marked tickets in browser buffer.")
+ "Face for marked tickets in browser buffer."
+ :group 'rt-liberation)
(defvar rt-liber-marked-tickets nil
"Marked tickets (becomes ticket-browser buffer local).")
diff --git a/rt-liberation.el b/rt-liberation.el
index 995a767..f67c8ec 100644
--- a/rt-liberation.el
+++ b/rt-liberation.el
@@ -187,6 +187,15 @@ Careful! This might create a sizable buffer.")
(defvar rt-liber-debug-log-buffer-name "*rt-liber debug log*"
"Name of debug log buffer.")
+(defvar rt-liber-ticket-local nil
+ "Buffer local storage for a ticket.
+
+This variable is made buffer local for the ticket history")
+
+(defvar rt-liber-assoc-browser nil
+ "Browser associated with a ticket history.
+
+This variable is made buffer local for the ticket history")
;;; --------------------------------------------------------
;;; Debug log
@@ -585,8 +594,6 @@ AFTER date after predicate."
'rt-liber-refresh-ticket-history)
(set (make-local-variable 'buffer-stale-function)
(lambda (&optional noconfirm) 'slow))
- (set (make-local-variable 'auto-revert-interval)
- (* 15 60)) ;; 15 minutes
(when rt-liber-jump-to-latest
(rt-liber-jump-to-latest-correspondence))
(run-hooks 'rt-liber-viewer-hook))
@@ -854,6 +861,7 @@ If POINT is nil then called on (point)."
(recenter-top-bottom))
(error "ticket #%s not found" id))))
+
;;; --------------------------------------------------------
;;; Ticket browser sorting
;;; --------------------------------------------------------
@@ -1048,8 +1056,6 @@ string then that will be the name of the new buffer."
'rt-liber-browser-refresh)
(set (make-local-variable 'buffer-stale-function)
(lambda (&optional noconfirm) 'slow))
- (set (make-local-variable 'auto-revert-interval)
- (* 15 60)) ;; 15 minutes
(run-hooks 'rt-liber-browser-hook))
(defun rt-liber-setup-browser-name (new)
@@ -1311,6 +1317,7 @@ If FIELD already exists, update to VALUE."
(rt-liber-refresh-ticket-history)))
(error "no ticket currently in view"))))
+
(provide 'rt-liberation)
;;; rt-liberation.el ends here.
- [elpa] branch externals/rt-liberation created (now 05beb9f), Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 6eeb9ca 02/72: * rt-liberation.el: Change mode even when signalling the no-results exception., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation ecd9c12 03/72: * doc/rt-liberation.texinfo: A patch to fix some typos in the documentation is attached., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation e772549 05/72: * rt-liberation.el: Bump copyright notice., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 5de9af6 01/72: import for initial Savannah tree, Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 96cc027 04/72: * rt-liberation.el: Add a debug option., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 246acd2 06/72: * rt-liberation.el: Attempt to handle server response when assigning., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 146b0ed 07/72: Add makefile., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 1aa19e9 08/72: Fix compilation errors.,
Stefan Monnier <=
- [elpa] externals/rt-liberation e81b0a3 09/72: * rt-liberation-gnus.el: Fix compile warnings., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 4dd2f82 11/72: * rt-liberation-gnus.el: Fix single line and leading space bugs., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 7bc66d0 12/72: * rt-liberation.el: Add %-sequence support for priority., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 6a51214 13/72: * rt-liberation.el: Add a custom time format string., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 2c9b357 10/72: Fix compilation warnings., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation f0cf810 23/72: * doc/rt-liberation.texinfo: Update manual., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation b506154 14/72: * rt-liberation.el: Update the browser display format., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 757d808 16/72: * rt-liberation.el: Add keybinding., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation aa3aa83 15/72: * rt-liberation.el: Add priority update and display., Stefan Monnier, 2020/08/05
- [elpa] externals/rt-liberation 28b08a4 17/72: * doc/rt-liberation.texinfo: Document new features., Stefan Monnier, 2020/08/05