I'm having a problem with Geanydoc 0.20 running on Windows 7. I have Geanydoc configured for the C++ file type to execute this for Command 0:
firefox "http://www.google.com/search?q=%w"
In my keybindings I have "Doc > Document current word" assigned to <Alt>g, yet in the editor, with the cursor on anything, pressing <Alt>g doesn't do anything.
Is this a known issue, or is this user error? Any pointers on how to get this working would be appreciated.
Thank you,
Chris
Is firefox on your search path? I had the same problem in python running pydoc, which I solved by writing a simple wrapper batch file.
On Wed, Feb 2, 2011 at 12:16 AM, Chris Sutcliffe ir0nh34d@gmail.com wrote:
I'm having a problem with Geanydoc 0.20 running on Windows 7. I have Geanydoc configured for the C++ file type to execute this for Command 0:
firefox "http://www.google.com/search?q=%w"
In my keybindings I have "Doc > Document current word" assigned to <Alt>g, yet in the editor, with the cursor on anything, pressing <Alt>g doesn't do anything.
Is this a known issue, or is this user error? Any pointers on how to get this working would be appreciated.
Thank you,
Chris
-- Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On 2 February 2011 08:08, Jonathan Daily wrote:
Is firefox on your search path? I had the same problem in python running pydoc, which I solved by writing a simple wrapper batch file.
That was the issue, I've added Firefox's path to my system path and all is good. I had thought that because firefox works from command line via an AppPath that I wouldn't need to add it to my system path.
Cheers!
Chris
Glad to hear! Personally, I got tired of having to append 3000 programs to my search path, especially when windows programs installed conflicting versions of things like zlib, libxml, etc that I made a single ~/bin/ folder that I added to my search path that contains (mostly) batch files that link to relevant programs themselves.
On Wed, Feb 2, 2011 at 9:36 AM, Chris Sutcliffe ir0nh34d@gmail.com wrote:
On 2 February 2011 08:08, Jonathan Daily wrote:
Is firefox on your search path? I had the same problem in python running pydoc, which I solved by writing a simple wrapper batch file.
That was the issue, I've added Firefox's path to my system path and all is good. I had thought that because firefox works from command line via an AppPath that I wouldn't need to add it to my system path.
Cheers!
Chris
-- Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On 2 February 2011 10:07, Jonathan Daily wrote:
Glad to hear! Personally, I got tired of having to append 3000 programs to my search path, especially when windows programs installed conflicting versions of things like zlib, libxml, etc that I made a single ~/bin/ folder that I added to my search path that contains (mostly) batch files that link to relevant programs themselves.
That sounds like a good approach. Do you have a sample batch file I can see to use as a basis for what I require? Additionally, when I tested by creating a firefox.bat file, a command prompt popped up when I made use of Geanydoc, is there a way to suppress the command prompt?
Thank you,
Chris
If I were using it for a "spawn and forget", I would probably just make a shortcut in the folder like this
Name: Program Target"C:\path\to\program.exe"
then geanydoc call: "Program.lnk" %w
Which should not spawn a cmd.
If you need buffered output as with pydoc, a batch file with a pipe works great:
@echo off echo | python -u "C:\python27\Lib\pydoc.py" %1
On Wed, Feb 2, 2011 at 12:33 PM, Chris Sutcliffe ir0nh34d@gmail.com wrote:
On 2 February 2011 10:07, Jonathan Daily wrote:
Glad to hear! Personally, I got tired of having to append 3000 programs to my search path, especially when windows programs installed conflicting versions of things like zlib, libxml, etc that I made a single ~/bin/ folder that I added to my search path that contains (mostly) batch files that link to relevant programs themselves.
That sounds like a good approach. Do you have a sample batch file I can see to use as a basis for what I require? Additionally, when I tested by creating a firefox.bat file, a command prompt popped up when I made use of Geanydoc, is there a way to suppress the command prompt?
Thank you,
Chris
-- Chris Sutcliffe http://emergedesktop.org http://www.google.com/profiles/ir0nh34d _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany