Re: [Geany] Per-workspace instance of Geany

2011-01-27 Thread Randy Kramer
On Wednesday 26 January 2011 08:23:50 pm Randy Kramer wrote: Ok, from Neil's response to this thread, I see that there is a Oops, sorry, that was Lex's response--I guess I had my mind in the scintilla world... Randy Kramer ___ Geany mailing list

Re: [Geany] Per-workspace instance of Geany

2011-01-27 Thread Krzysztof Żelechowski
Dnia środa, 26 stycznia 2011 o 23:43:24 Lex Trotman napisał(a): 2011/1/26 Krzysztof Żelechowski giecr...@stegny.2a.pl: Dnia środa, 26 stycznia 2011 o 11:45:53 Lex Trotman napisał(a): First of all, proper use of a version control system should eliminate the need to edit networked files in

Re: [Geany] Per-workspace instance of Geany

2011-01-27 Thread Krzysztof Żelechowski
Dnia czwartek, 27 stycznia 2011 o 02:28:05 Randy Kramer napisał(a): Maybe I've just done it accidentally so often that I've developed habits (knock on wood) to avoid the problem. (Primary habit being, always hit ctrl s after doing almost anything (and before moving the focus away from an

Re: [Geany] Per-workspace instance of Geany

2011-01-27 Thread Colomban Wendling
Le 27/01/2011 19:18, Krzysztof Żelechowski a écrit : Dnia środa, 26 stycznia 2011 o 23:43:24 Lex Trotman napisał(a): 2011/1/26 Krzysztof Żelechowski giecr...@stegny.2a.pl: Dnia środa, 26 stycznia 2011 o 11:45:53 Lex Trotman napisał(a): First of all, proper use of a version control system

Re: [Geany] Per-workspace instance of Geany

2011-01-27 Thread Krzysztof Żelechowski
Dnia czwartek, 27 stycznia 2011 o 19:54:24 Colomban Wendling napisał(a): I was told by Geany documentation that Geany does not handle URL. There is no interface for that in Geany’s file requester. When Dolphin passes a remote file to Geany, Geany opens a temporary file. So I can see no

Re: [Geany] Per-workspace instance of Geany

2011-01-27 Thread Dimitar Zhekov
On Wed, 26 Jan 2011 22:08:33 +0100 Julien Nicoulaud julien.nicoul...@gmail.com wrote: 2011/1/23 Dimitar Zhekov dimitar.zhe...@gmail.com Anyway, I wrote a little wrapper script that detects if there's no Geany window in the current workspace, in which case it forces creating one:

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Lex Trotman
2011/1/26 Krzysztof Żelechowski giecr...@stegny.2a.pl: Dnia środa, 26 stycznia 2011 o 00:57:48 Lex Trotman napisał(a): 2011/1/26 Krzysztof Żelechowski giecr...@stegny.2a.pl: Dnia wtorek, 25 stycznia 2011 o 14:27:18 Randy Kramer napisał(a): On Tuesday 25 January 2011 04:04:53 am Krzysztof

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Krzysztof Żelechowski
Dnia środa, 26 stycznia 2011 o 11:45:53 Lex Trotman napisał(a): Ok, understand. OOq puts a lock file in the directory for each file thats open, thats how it prohibits multi-edit. Thats Ok for a document editor, but I'm not so sure for a development editor where potentially lots of files are

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Randy Kramer
On Tuesday 25 January 2011 06:57:48 pm Lex Trotman wrote: 2011/1/26 Krzysztof Żelechowski giecr...@stegny.2a.pl: Dnia wtorek, 25 stycznia 2011 o 14:27:18 Randy Kramer napisał(a): On Tuesday 25 January 2011 04:04:53 am Krzysztof Żelechowski wrote: Dnia wtorek, 25 stycznia 2011 o 00:43:11

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Thomas Martitz
On 26.01.2011 14:22, Randy Kramer wrote: Yes, I forgot about that behavior (that I've seen in other apps)--sometimes quite useful, sometimes very annoying. Very reasonable behavor if you ask me. For both users and developers. It solves the same file in multiple instances problem quite

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Randy Kramer
On Wednesday 26 January 2011 09:01:18 am Thomas Martitz wrote: On 26.01.2011 14:22, Randy Kramer wrote: Yes, I forgot about that behavior (that I've seen in other apps)--sometimes quite useful, sometimes very annoying. Very reasonable behavor if you ask me. For both users and developers.

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Julien Nicoulaud
2011/1/23 Dimitar Zhekov dimitar.zhe...@gmail.com On Sat, 22 Jan 2011 22:49:47 +0100 Julien Nicoulaud julien.nicoul...@gmail.com wrote: I'm using GNOME with several workspaces, and there's a behaviour I find quite annoying: if you have an instance of Geany running in a workspace and you

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Thomas Martitz
On 26.01.2011 21:05, Randy Kramer wrote: One annoyance is if you want to have a 2nd instance of the file so that you can work in two places in the file. (Some editors allow you to do a split pane or similar to solve that problem, but not all.) Concurrent instances is probably not the way to

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Lex Trotman
2011/1/26 Krzysztof Żelechowski giecr...@stegny.2a.pl: Dnia środa, 26 stycznia 2011 o 11:45:53 Lex Trotman napisał(a): Ok, understand. OOq puts a lock file in the directory for each file thats open, thats how it prohibits multi-edit. Thats Ok for a document editor, but I'm not so sure for a

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Randy Kramer
On Wednesday 26 January 2011 05:37:57 pm Lex Trotman wrote: On 27 January 2011 09:12, Randy Kramer rhkra...@gmail.com wrote: On Wednesday 26 January 2011 04:58:57 pm Thomas Martitz wrote: On 26.01.2011 21:05, Randy Kramer wrote: One annoyance is if you want to have a 2nd instance of the

Re: [Geany] Per-workspace instance of Geany

2011-01-26 Thread Lex Trotman
On 27 January 2011 18:42, Jon Senior j...@restlesslemon.co.uk wrote: On Wed, 26 Jan 2011 20:23:50 -0500 Randy Kramer rhkra...@gmail.com wrote: Ok, from Neil's response to this thread, I see that there is a misunderstanding somewhere--I did not intend to say that the changes would be visible

Re: [Geany] Per-workspace instance of Geany

2011-01-25 Thread Krzysztof Żelechowski
Dnia wtorek, 25 stycznia 2011 o 00:43:11 Lex Trotman napisał(a): Your description of single instance, multi window is correct, yes there is a slightly enhanced risk, but IMH(unbiased)O compared to the problems with multiple instances this is small, see my scenario on another post on this

Re: [Geany] Per-workspace instance of Geany

2011-01-25 Thread Randy Kramer
On Monday 24 January 2011 06:43:11 pm Lex Trotman wrote: On 24 January 2011 23:52, Randy Kramer rhkra...@gmail.com wrote: On Saturday 22 January 2011 09:07:31 pm Lex Trotman wrote: 3. It is (I think) a big change to allow Geany to have one instance with multiple top level windows, how to

Re: [Geany] Per-workspace instance of Geany

2011-01-25 Thread Randy Kramer
On Tuesday 25 January 2011 04:04:53 am Krzysztof Żelechowski wrote: Dnia wtorek, 25 stycznia 2011 o 00:43:11 Lex Trotman napisał(a): Your description of single instance, multi window is correct, yes there is a slightly enhanced risk, but IMH(unbiased)O compared to the problems with multiple

Re: [Geany] Per-workspace instance of Geany

2011-01-25 Thread Dimitar Zhekov
On Tue, 25 Jan 2011 10:12:05 +1100 Lex Trotman ele...@gmail.com wrote: To answer both a and b, nobody wins. For the preferences and project files, the single instance sm works like hybernate-and-restore: each instance preserves it's own configuration, and neither geany.conf nor the

Re: [Geany] Per-workspace instance of Geany

2011-01-25 Thread Dimitar Zhekov
Hi, On the single single instance, multi window: it has it's own problems. For example, when you stop Geany, it'll have to save in geany.conf the [positions and] desktops of all open windows, which is unportable. And of course, under Windows, multi-window is limited to a single desktop (see

Re: [Geany] Per-workspace instance of Geany

2011-01-25 Thread Krzysztof Żelechowski
Dnia wtorek, 25 stycznia 2011 o 14:27:18 Randy Kramer napisał(a): On Tuesday 25 January 2011 04:04:53 am Krzysztof Żelechowski wrote: Dnia wtorek, 25 stycznia 2011 o 00:43:11 Lex Trotman napisał(a): Your description of single instance, multi window is correct, yes there is a slightly

Re: [Geany] Per-workspace instance of Geany

2011-01-25 Thread Lex Trotman
On 26 January 2011 05:24, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: On Tue, 25 Jan 2011 10:12:05 +1100 Lex Trotman ele...@gmail.com wrote: To answer both a and b, nobody wins. For the preferences and project files, the single instance sm works like hybernate-and-restore: each

Re: [Geany] Per-workspace instance of Geany

2011-01-24 Thread Dimitar Zhekov
On Mon, 24 Jan 2011 11:22:33 +1100 Lex Trotman ele...@gmail.com wrote: X11: the session management supports instances. So who decides who wins? To answer both a and b, nobody wins. For the preferences and project files, the single instance sm works like hybernate-and-restore: each instance

Re: [Geany] Per-workspace instance of Geany

2011-01-23 Thread Dimitar Zhekov
On Sun, 23 Jan 2011 13:07:31 +1100 Lex Trotman ele...@gmail.com wrote: a. who owns the preferences? preventing multiple instances from changing preferences is very limiting, if they can all change them, who saves their set when Geany terminates? and how to lock them irrespective of the

Re: [Geany] Per-workspace instance of Geany

2011-01-23 Thread Julien Nicoulaud
Thanks for the infos and script Dimitar ! 2011/1/23 Dimitar Zhekov dimitar.zhe...@gmail.com On Sun, 23 Jan 2011 13:07:31 +1100 Lex Trotman ele...@gmail.com wrote: a. who owns the preferences? preventing multiple instances from changing preferences is very limiting, if they can all change

Re: [Geany] Per-workspace instance of Geany

2011-01-23 Thread Erik de Castro Lopo
Lex Trotman wrote: There are two issues that I see which complicate potential solutions here. 1. There is not AFAIK any common portable way to find out which workspace Geany is running in and that a request to show a file in Geany came from a different workspace, so deciding to run another

Re: [Geany] Per-workspace instance of Geany

2011-01-23 Thread Lex Trotman
Hiya, On 24 January 2011 01:35, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: On Sun, 23 Jan 2011 13:07:31 +1100 Lex Trotman ele...@gmail.com wrote: a. who owns the preferences? preventing multiple instances from changing preferences is very limiting, if they can all change them, who saves

Re: [Geany] Per-workspace instance of Geany

2011-01-23 Thread Erik de Castro Lopo
Lex Trotman wrote: On MS Windows? Windows doesn't have workspace, or rather it does, but 99.99% of people don't use them. Even the vast majority of windows developers don't use them. Contrast that with Linux where well over 90% of people use them. For developers, its very close to 100%

Re: [Geany] Per-workspace instance of Geany

2011-01-23 Thread Lex Trotman
On 24 January 2011 11:32, Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Lex Trotman wrote: On MS Windows? Windows doesn't have workspace, or rather it does, but 99.99% of people don't use them. Even the vast majority of windows developers don't use them. Contrast that with Linux

Re: [Geany] Per-workspace instance of Geany

2011-01-23 Thread Eugene Arshinov
On Mon, 24 Jan 2011 11:22:33 +1100% Lex Trotman ele...@gmail.com wrote: Hiya, On 24 January 2011 01:35, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: On Sun, 23 Jan 2011 13:07:31 +1100 Lex Trotman ele...@gmail.com wrote: a. who owns the preferences? preventing multiple instances