From 2fd7f6d6818b7d0aab612f82969632eb9b0a86f2 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 14 May 2009 00:54:02 -0400 Subject: [PATCH] Documentation Update - Referenced edit command - Added new edit command references to docs. - Added "#editor=vi" default .taskrc entry. --- ChangeLog | 5 ++++- html/task.html | 5 ++++- src/Config.cpp | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 377773f18..2e6ffcdf6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -34,7 +34,10 @@ + The task man page is now installed. Try "man task" (thanks to Federico Hernandez and P.C. Shyamshankar). + Fixed bug that causes task to create a default .task directory, even if - .taskrc:data.location specified otherwise (thanks to Federico Hernandez). + data.location specified otherwise (thanks to Federico Hernandez). + + New "edit" command that fires up a text editor (uses 'editor' configuration + variable, $VISUAL or $EDITOR environment variable) and allows direct + editing of all editable task details. ------ old releases ------------------------------ diff --git a/html/task.html b/html/task.html index e4b30d3fa..0cac745f3 100644 --- a/html/task.html +++ b/html/task.html @@ -175,7 +175,10 @@
  • The task man page is now installed. Try "man task" (thanks to Federico Hernandez and P.C. Shyamshankar).
  • Fixed bug that causes task to create a default .task directory, even if - .taskrc:data.location specified otherwise (thanks to Federico Hernandez). + data.location specified otherwise (thanks to Federico Hernandez). +
  • New "edit" command that fires up a text editor (uses 'editor' configuration + variable, $VISUAL or $EDITOR environment variable) and allows direct + editing of all editable task details.

    diff --git a/src/Config.cpp b/src/Config.cpp index 633c5bd76..6a99189ad 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -155,6 +155,7 @@ void Config::createDefault (const std::string& home) fprintf (out, "due=7\n"); fprintf (out, "nag=You have higher priority tasks.\n"); fprintf (out, "locking=on\n"); + fprintf (out, "#editor=vi\n"); fprintf (out, "color.overdue=bold_red\n"); fprintf (out, "color.due=bold_yellow\n");