Remember the last folders used in panels...

Something is missing in Far Manager? You have a great idea that should be heard? Write here.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

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

Post 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.
User avatar
HaRT
Moderator
Posts: 10822
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

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

Post 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.
Фар есть инструмент, а не нянька. © 2009 DrKnS
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

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

Post by DrKnS »

2useven10 wrote:What about new event or flag "RunBeforeFARExit" ?
Better make ExtFAR run earlier, I doubt it breaks anything.
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

Remember the last folders used in panels...

Post by 2useven10 »

So if ExitFAR fixed, something should work.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

Remember the last folders used in panels...

Post 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.
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

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

Post 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!
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

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

Post 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.
User avatar
Mauro72
Posts: 220
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

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

Post by Mauro72 »

Go back to CONEMU version 130223 and NO PROBLEMS/ERRORS!!!
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

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

Post 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.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

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

Post 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.
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

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

Post by 2useven10 »

Shmuel :ROFL:
I looking forward to view certified solution. Then I'll compare it with mine 20-minute code serfing.
Shmuel
Posts: 6819
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 41 times
Been thanked: 528 times

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

Post 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.
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

Remember the last folders used in panels...

Post by 2useven10 »

User avatar
HaRT
Moderator
Posts: 10822
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Remember the last folders used in panels...

Post by HaRT »

2useven10 wrote: Fri 12 May, 2023 10:50
b6139
Does this enable those scripts?
Фар есть инструмент, а не нянька. © 2009 DrKnS
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

Remember the last folders used in panels...

Post by 2useven10 »

I hope so...
Look at script under link in quotes - it is more correct (event action has additional parameter).
Last edited by HaRT on Fri 12 May, 2023 19:42, edited 1 time in total.
Reason: Added direct link to the script
Post Reply

Return to “Suggestions and Ideas”