help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: workgroups.el, switching non-interactively


From: jpkotta
Subject: Re: workgroups.el, switching non-interactively
Date: Mon, 15 Oct 2012 08:14:37 -0700 (PDT)
User-agent: G2/1.0

On Monday, October 15, 2012 4:51:08 AM UTC-5, Julien Cubizolles wrote:
> Hi, I'm using workgroups.el (works great by the way) to manage windows
> 
> configuration but fails miserably at programming a simple taskĀ : how to
> 
> use the function wg-switch-to-workgroup in a non-interactive way, to
> 
> call it inside another elisp function. One of my workgroups is named
> 
> "org" and 
> 
> 
> 
> (wg-switch-to-workgroup "org")
> 
> (wg-switch-to-workgroup org)
> 
> and such don't work.
> 
> 
> 
> Thanks for your help.
> 
> 
> 
> Julien, seriously thinking about properly learning lisp...

Looks like you need to use wg-get-workgroup:

(wg-switch-to-workgroup (wg-get-workgroup 'name "org"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]