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: 4958
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 11 times
Been thanked: 125 times

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

Postby Shmuel » Thu 08 Aug, 2013 11:59

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: 7918
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 65 times
Been thanked: 94 times

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

Postby HaRT » Thu 08 Aug, 2013 12:06

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: 4464
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 2 times
Been thanked: 105 times
Contact:

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

Postby DrKnS » Thu 08 Aug, 2013 12:18

2useven10 wrote:What about new event or flag "RunBeforeFARExit" ?


Better make ExtFAR run earlier, I doubt it breaks anything.

2useven10
Posts: 2882
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 2 times
Been thanked: 76 times

Remember the last folders used in panels...

Postby 2useven10 » Thu 08 Aug, 2013 13:13

So if ExitFAR fixed, something should work.

Shmuel
Posts: 4958
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 11 times
Been thanked: 125 times

Remember the last folders used in panels...

Postby Shmuel » Thu 08 Aug, 2013 13:42

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: 206
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 6 times

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

Postby Mauro72 » Thu 08 Aug, 2013 16:46

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: 4958
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 11 times
Been thanked: 125 times

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

Postby Shmuel » Thu 08 Aug, 2013 16:51

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: 206
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 6 times

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

Postby Mauro72 » Thu 08 Aug, 2013 17:08

Go back to CONEMU version 130223 and NO PROBLEMS/ERRORS!!!

2useven10
Posts: 2882
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 2 times
Been thanked: 76 times

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

Postby 2useven10 » Thu 08 Aug, 2013 17:31

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: 4958
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 11 times
Been thanked: 125 times

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

Postby Shmuel » Thu 08 Aug, 2013 17:41

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: 2882
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 2 times
Been thanked: 76 times

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

Postby 2useven10 » Thu 08 Aug, 2013 17:50

Shmuel :ROFL:
I looking forward to view certified solution. Then I'll compare it with mine 20-minute code serfing.

Shmuel
Posts: 4958
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 11 times
Been thanked: 125 times

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

Postby Shmuel » Thu 08 Aug, 2013 18:04

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.


Return to “Suggestions and Ideas”

Who is online

Users browsing this forum: No registered users and 2 guests