[Bug 1348899] Re: taskwarrior does not respect EDITOR when using task edit

2014-08-01 Thread Jakub Wilk
I don't believe anything has changed in this respect between 2.2.0-3 and 
2.3.0+dfsg-2.
The code for the latter version looks like this:

  // Determine correct editor: .taskrc:editor  $VISUAL  $EDITOR  vi
  std::string editor = context.config.get (editor);
  char* peditor = getenv (VISUAL);
  if (editor ==   peditor) editor = std::string (peditor);
  peditor = getenv (EDITOR);
  if (editor ==   peditor) editor = std::string (peditor);
  if (editor == ) editor = vi;

Perhaps you have editor configured in your taskrc? Or have VISUAL set in
your environment?

(In 2.3.0+dfsg-3, the fallback editor was changed from vi to
editor.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1348899

Title:
  taskwarrior does not respect EDITOR when using task edit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/task/+bug/1348899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1348899] Re: taskwarrior does not respect EDITOR when using task edit

2014-08-01 Thread Muelli
hm. funny. It does seem to work indeed. I wonder what I did wrong.
Embarrasing...

$ env EDITOR=cowsay /usr/bin/task 1 edit
Launching 'cowsay task.21721.1.task' now...
sh: 1: cowsay: not found
Editing complete.
No edits were detected.
$

sorry for the noise.

** Changed in: task (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1348899

Title:
  taskwarrior does not respect EDITOR when using task edit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/task/+bug/1348899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1348899] Re: taskwarrior does not respect EDITOR when using task edit

2014-07-27 Thread Muelli
Interesting. Seems to be a regression then.

env TASKDATA=/tmp/tasks EDITOR=cowsay task 1 edit

does not do what I expect with the 2.3.0 package:

➜ ~apt-cache policy taskwarrior
taskwarrior:
  Installed: 2.3.0+dfsg-2
  Candidate: 2.3.0+dfsg-2
  Version table:
 *** 2.3.0+dfsg-2 0
100 /var/lib/dpkg/status
➜ ~

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1348899

Title:
  taskwarrior does not respect EDITOR when using task edit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/task/+bug/1348899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1348899] Re: taskwarrior does not respect EDITOR when using task edit

2014-07-26 Thread Jakub Wilk
I can't reproduce it here:

$ apt-cache policy task
task:
  Installed: 2.2.0-3
  Candidate: 2.2.0-3
  Version table:
 *** 2.2.0-3 0
500 http://cz.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status

$ task add moo
Created task 1.

$ EDITOR=cowsay task 1 edit
Launching 'cowsay task.718.1.task' now...
 _
 task.718.1.task 
 -
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||
Editing complete.
No edits were detected.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1348899

Title:
  taskwarrior does not respect EDITOR when using task edit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/task/+bug/1348899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs