patchemacs-wiki, planner, and related modules - Patches: patch #4603, Create variable to hold the name...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4603: Create variable to hold the name of the 'WelcomePage' instead of hardcoding that string.

Submitter:  None
Submitted:  Tue 08 Nov 2005 12:14:38 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  mwolson Originator Email:  -email is unavailable-
Open/Closed:  Closed

Discussion

Sun 11 Dec 2005 06:50:16 AM UTC, comment #1: 

Thanks for the patch!  I think this has been implemented in another
way, but to the same effect.  Sorry for taking so long to get to it.

Michael W. Olson <mwolson>
Group administrator
Tue 08 Nov 2005 12:14:38 AM UTC, original submission:  

--- old/planner.el      2005-11-07 19:13:49.190359012 -0500
+++ new/planner.el      2005-11-07 19:14:00.788991059 -0500
@@ -437,6 +437,11 @@
   :type 'boolean
   :group 'planner)
 
+(defcustom planner-welcome-page-name "WelcomePage"
+  "The name of the default page when day pages are not used."
+  :type 'string
+  :group 'planner)
+
 (defcustom planner-mode-hook nil
   "A hook for Planner mode."
   :type 'hook
@@ -1230,7 +1235,7 @@
   "Return the filename of the current date."
   (if planner-use-day-pages
       (or planner-timewarp-date (planner-date-to-filename (decode-time (current-time))))
-    "WelcomePage"))
+    planner-welcome-page-name))
 
 (defun planner-date-to-filename (date)
   "Return the planner filename corresponding to DATE.
@@ -3105,7 +3110,7 @@
             ;; Save/kill files if configured to do so
             (when planner-tasks-file-behavior
               (planner-save-buffers live-buffers))))
-    (planner-find-file "WelcomePage")))
+    (planner-find-file planner-welcome-page-name)))
 
 (defvar planner-goto-hook '(planner-seek-to-first)
   "Functions called after a planner page is opened.")


Anonymous

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

History

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-12-11 mwolson StatusNone Done
    Assigned toNone mwolson
    Open/ClosedOpen Closed
2005-11-08 None Carbon-Copy- Added damned --AT-- theworld --DOT-- com

Back to the top

Powered by Savane 3.16-11ef.
Corresponding source code