Page 2 of 2

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 11:59
by Shmuel

Latest post of the previous page:

2useven10 wrote:What about new event or flag "RunBeforeFARExit" ?
I would rather fix the existing ExitFARW, calling it when all Plugins API is available.

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 12:06
by HaRT
2useven10 wrote:What about new event or flag "RunBeforeFARExit" ?
A new pre-exit event (or a flag to an existing one) would be useful, with an ability to postpone/cancel the exit in order to complete some pending operations. Within handlers of that event, all of FAR API should work as usual.

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 12:18
by DrKnS
2useven10 wrote:What about new event or flag "RunBeforeFARExit" ?
Better make ExtFAR run earlier, I doubt it breaks anything.

Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 13:13
by 2useven10
So if ExitFAR fixed, something should work.

Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 13:42
by Shmuel
2useven10 wrote:So if ExitFAR fixed, something like that should work.
Sure.
Just note, it is not ExitFARW that should be fixed, it is the moment of unloading plugins when exiting Far.

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 16:46
by Mauro72
The problem/error is generated by CONEMU plugin...
Running FAR without CONEMU, no error/problem!!
I remember update conemu before try your macro Shmuel.
So the problem is CONEMU!
Thanks again Shmuel for your help!

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 16:51
by Shmuel
Mauro72 wrote:So the problem is CONEMU!
Thanks again Shmuel for your help!
You're welcome! :)
You may want to report the problem to ConEmu author.

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 17:08
by Mauro72
Go back to CONEMU version 130223 and NO PROBLEMS/ERRORS!!!

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 17:31
by 2useven10
DrKnS wrote:
2useven10 wrote:What about new event or flag "RunBeforeFARExit" ?
Better make ExtFAR run earlier, I doubt it breaks anything.
I've tried...
Moving ExitFarW call for all plugins is dangerous.
Arclite crashed in my test if its panel was active when exit.

If that move done for LuaMacro only - everything looks good.

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 17:41
by Shmuel
2useven10 wrote:
DrKnS wrote:Better make ExtFAR run earlier, I doubt it breaks anything.
I've tried...
Moving ExitFarW call for all plugins is dangerous.
Arclite crashed in my test if its panel was active when exit.
Don't take it personally but this thing should be done only after one learned the relevant pieces of code thoroughly. Or it should be done by one that already knows the code.

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 17:50
by 2useven10
Shmuel :ROFL:
I looking forward to view certified solution. Then I'll compare it with mine 20-minute code serfing.

Re: Remember the last folders used in panels...

Posted: Thu 08 Aug, 2013 18:04
by Shmuel
2useven10 wrote:Shmuel :ROFL:
I looking forward to view certified solution. Then I'll compare it with mine 20-minute code serfing.
It is certainly doable. Just not during 20 minutes if not already familiar with this part of Far.
In fact, yesterday I was about to try implementing that, but there were (and still are) other things to do.

Remember the last folders used in panels...

Posted: Fri 12 May, 2023 10:47
by 2useven10

Remember the last folders used in panels...

Posted: Fri 12 May, 2023 14:44
by HaRT
2useven10 wrote: Fri 12 May, 2023 10:50
b6139
Does this enable those scripts?

Remember the last folders used in panels...

Posted: Fri 12 May, 2023 17:16
by 2useven10
I hope so...
Look at script under link in quotes - it is more correct (event action has additional parameter).