Re: dirline.focus_toggle does not consider the active pane?

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Sat, 26 Jul 2008 10:14:34 +1000

On Fri, 25 Jul 2008 15:19:26 +0200
Walther Maldonado <walther.md@xxxxxxxxx> wrote:

> On Fri, 25 Jul 2008 10:41:12 +1000
> <tpgww@xxxxxxxxxxx> wrote:
> 
> > On Thu, 24 Jul 2008 15:24:30 +0200
> > Walther Maldonado <walther.md@xxxxxxxxx> wrote:
> > 
> > > Recently I've bumped into a small annoyance. I have <X key> configured to 
> > > pane_active.switch, and I have <Y key> configured to 
> > > dirline.focus_toggle. The problem is that there are two dirlines, and no 
> > > matter which pane is the active one, I always get the focus on the 
> > > right-sided dirline (curiously enough, when doing dirline.focus_toggle 
> > > again, I do go back to the last active pane rather than the right one). 
> > > How could I set it so I can get the left-sided dirline get the focus when 
> > > I press the shortcut?
> > 
> > Walther, that action should toggle focus between active filelist and its 
> > correspoding dirline if no argument is supplied to the action. To apply to 
> > a specific list+line, supply argument "1" or "2" (no quotes).
> 
> "Should" is apparently quite different from practice. I just found the 
> related code section and added a few debug messages to see what is happening:

Apologies, my previous message was sloppy. I did change the relevant code in 
svn yesterday, to make it work as it should.

Regards
Tom


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: