And again, I really must remind me that Gmail can't handle this list correctly. The message is just below.
2006/7/24, Alexandre Moreira alexandream@gmail.com:
2006/7/24, Nexu nexu.jin@gmail.com:
On Mon, 2006-07-24 at 13:49 -0300, Alexandre Moreira wrote:
Right now, whenever the user opens a new empty instance of geany, geany checks out to see if the FIFO exists, and if it does, it asks the user what to do, if it should skip launching
or if it should delete the pipe and open. But I think asking the user is rather annoying, and would like to give Geany the ability to try to connect to the pipe, send a ping message wait for, say, 3 or 5 seconds (enough time for a process to reply a pipe ping message) and if it doesnt reply, deletes the pipe and runs itsel. If it does reply, we skip launching and raise the old instance.
so the question is not about the achievability of the feature in Win32 anymore, but on the actual merits of the feature.
As an user, i think these 2 choices are choices between 2 evil.
From my point of view the pro and cons of asking the user.
Pro: - User only have to click and Geany starts Cons: - User _must_ click something before Geany starts - User might be confused why its necessary to answer such question and what it means.
From my points of view the pro and cons of the delay.
Pro: - No more dialog at start-up after a crash Cons: - User might be confused why Geany is not responsive at start-up
(after a crash)
Now consider the main user target group (at-least that is what i assume, correct me if i am wrong on this) are mostly programmers or at least more experienced computer users. I think the cons of the dialog is not necessary 'confusing' and better than a delay where Geany is 'idle'.
As a suggestion, perhaps you could merge these 2 ideas. Instead of a dialog which needs input. Change it into a dialog with a message Geany is trying to connect to the existing FIFO with a "cancel" button which deletes the current FIFO and starts up, or wait where after X seconds (display count down perhaps to inform the user how long left) of time out and not able to reconnect to existing FIFO and delete it and make a new one.
The Idea looks nice, but I don't think we can implement it without making a major change in our initialization code. I am not very familiar with neither GTK+ or Windows programming (I usually only develop console applications) but I think we'll need a thread to handle the waiting on the pipe and another to handle the window presentation, synchronize them both and stuff. Not really a hard thing to do, but would make a bigger codebase for initialization, something I don't think everyone will agree on.
Perhaps we should just leave it the way it is now.
Regards, Alexandre Moreira.
Regards,
Nex
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
Regards, Alexandre Moreira.
PS: Nexu, sorry for the duplicate message.
On Mon, 24 Jul 2006 15:27:54 -0300, "Alexandre Moreira" alexandream@gmail.com wrote:
And again, I really must remind me that Gmail can't handle this list correctly. The message is just below.
Because my mailman don't send the Reply-To-Header because this has to be done by the MUA. On xfce4-dev the Reply-To-header is sent. Some months ago, I read some things about this topic, because I used Thunderbird and it has the same problem as your GMail, it replies to the author instead of the list. But setting the Reply-To-header is not the solution and is strongly discouraged. I'm not exactly sure at the moment, but I believe i read something about a RFC violation or something similar.
As a suggestion, perhaps you could merge these 2 ideas. Instead of a dialog which needs input. Change it into a dialog with a message Geany is trying to connect to the existing FIFO with a "cancel" button which deletes the current FIFO and starts up, or wait where after X seconds (display count down perhaps to inform the user how long left) of time out and not able to reconnect to existing FIFO and delete it and make a new one.
The Idea looks nice, but I don't think we can implement it without making a major change in our initialization code. I am not very familiar with neither GTK+ or Windows programming (I usually only develop console applications) but I think we'll need a thread to handle the waiting on the pipe and another to handle the window
This should be possible with GTK's main loop, it is some kind of a separate thread.
But however the solution will look like, it has to wait until 0.9. We just want to do some little fixes(esp. regarding encoding code) to 0.8 and then we release it.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
2006/7/24, Enrico Tröger enrico.troeger@uvena.de:
On Mon, 24 Jul 2006 15:27:54 -0300, "Alexandre Moreira" alexandream@gmail.com wrote:
And again, I really must remind me that Gmail can't handle this list correctly. The message is just below.
Because my mailman don't send the Reply-To-Header because this has to be done by the MUA. On xfce4-dev the Reply-To-header is sent. Some months ago, I read some things about this topic, because I used Thunderbird and it has the same problem as your GMail, it replies to the author instead of the list. But setting the Reply-To-header is not the solution and is strongly discouraged. I'm not exactly sure at the moment, but I believe i read something about a RFC violation or something similar.
Yeah, I read about it when you mentioned it... it is just that Gmail is not as smart as I thought it was :-)
As a suggestion, perhaps you could merge these 2 ideas. Instead of a dialog which needs input. Change it into a dialog with a message Geany is trying to connect to the existing FIFO with a "cancel" button which deletes the current FIFO and starts up, or wait where after X seconds (display count down perhaps to inform the user how long left) of time out and not able to reconnect to existing FIFO and delete it and make a new one.
The Idea looks nice, but I don't think we can implement it without making a major change in our initialization code. I am not very familiar with neither GTK+ or Windows programming (I usually only develop console applications) but I think we'll need a thread to handle the waiting on the pipe and another to handle the window
This should be possible with GTK's main loop, it is some kind of a separate thread.
But however the solution will look like, it has to wait until 0.9. We just want to do some little fixes(esp. regarding encoding code) to 0.8 and then we release it.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
Enrico Tröger wrote:
[snip]
the author instead of the list. But setting the Reply-To-header is not the solution and is strongly discouraged. I'm not exactly sure at the
Who discourages that?
moment, but I believe i read something about a RFC violation or something similar.
AFAIK, it is an option (in mailman) and a matter of taste whether or not the mailinglist program sets the reply-to - header to the list...
Best regards Andreas
On Tue, 25 Jul 2006 08:13:37 +0200, Andreas Tscharner andy@vis.ethz.ch wrote:
Enrico Tröger wrote:
[snip]
the author instead of the list. But setting the Reply-To-header is not the solution and is strongly discouraged. I'm not exactly sure at the
Who discourages that?
From the mailman online help: "There are many reasons not to introduce or override the Reply-To: header. One is that some posters depend on their own Reply-To: settings to convey their valid return address. Another is that modifying Reply-To: makes it much more difficult to send private replies. See `Reply-To' Munging Considered Harmful[1] for a general discussion of this issue. See Reply-To Munging Considered Useful[2] for a dissenting opinion."
moment, but I believe i read something about a RFC violation or something similar.
AFAIK, it is an option (in mailman) and a matter of taste whether or not the mailinglist program sets the reply-to - header to the list...
Maybe. But with the Reply-To-header set to the list address replying a mail to the poster won't work anymore in some MUAs. The other side is a MUA should be able to reply to a mail using the From header.
@Alexandre: you are using the webmail client from gmail? Perhaps asking the Google guys for a reply-to-list feature would be useful. It's a try.
Should I really activate the Reply-To header munging?
[1] http://www.unicom.com/pw/reply-to-harmful.html [2] http://www.metasystema.net/essays/reply-to.mhtml
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key