From 08dbdcb7ba7d77b5c0dfd2b8cd821343625bdf25 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Mon, 19 Jan 2009 20:28:49 +0100 Subject: [PATCH] Fixed external editor on Linux, maybe broke it for some other system? --- common/content/io.js | 9 +++++++-- vimperator/Donors | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/common/content/io.js b/common/content/io.js index eb4a5f0c..4acb103c 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -118,8 +118,13 @@ function IO() //{{{ try { path.appendRelativePath(self.expandPath(tail, true)); // FIXME: should only expand env vars and normalise path separators - if (path.exists() && path.normalize) - path.normalize(); + // TODO: This code breaks the external editor at least in ubuntu + // because /usr/bin/gvim becomes /usr/bin/vim.gnome normalized and for + // some strange reason it will start without a gui then (which is not + // optimal if you don't start firefox from a terminal ;) + // Why do we need this code? + // if (path.exists() && path.normalize) + // path.normalize(); } catch (e) { diff --git a/vimperator/Donors b/vimperator/Donors index 46fa3099..a24d01e2 100644 --- a/vimperator/Donors +++ b/vimperator/Donors @@ -1,4 +1,5 @@ 2009: +* Peleg Michaeli ("Every hand revealed" from my amazon.de wishlist) * InspireFocus * Michael Fremont * Kamil Dworakowski