* Re: workgroups.el, switching non-interactively
[not found] <mailman.11014.1350294667.855.help-gnu-emacs@gnu.org>
@ 2012-10-15 15:14 ` jpkotta
2012-10-15 16:36 ` Julien Cubizolles
0 siblings, 1 reply; 3+ messages in thread
From: jpkotta @ 2012-10-15 15:14 UTC (permalink / raw
To: gnu.emacs.help; +Cc: help-gnu-emacs
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"))
^ permalink raw reply [flat|nested] 3+ messages in thread
* workgroups.el, switching non-interactively
@ 2012-10-15 9:50 Julien Cubizolles
0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2012-10-15 9:50 UTC (permalink / raw
To: help-gnu-emacs
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...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-15 16:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.11014.1350294667.855.help-gnu-emacs@gnu.org>
2012-10-15 15:14 ` workgroups.el, switching non-interactively jpkotta
2012-10-15 16:36 ` Julien Cubizolles
2012-10-15 9:50 Julien Cubizolles
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.