From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.help Subject: workgroups.el, switching non-interactively Date: Mon, 15 Oct 2012 11:50:26 +0200 Message-ID: <87hapwysgt.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1350294670 25382 80.91.229.3 (15 Oct 2012 09:51:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2012 09:51:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 11:51:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TNhKP-0002gM-AH for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 11:51:17 +0200 Original-Received: from localhost ([::1]:57707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNhKI-0005Y3-Hr for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 05:51:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNhK8-0005Wv-8f for help-gnu-emacs@gnu.org; Mon, 15 Oct 2012 05:51:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNhJz-0003th-I8 for help-gnu-emacs@gnu.org; Mon, 15 Oct 2012 05:51:00 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNhJz-0003tZ-A0 for help-gnu-emacs@gnu.org; Mon, 15 Oct 2012 05:50:51 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TNhK2-0002LK-G2 for help-gnu-emacs@gnu.org; Mon, 15 Oct 2012 11:50:54 +0200 Original-Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Oct 2012 11:50:54 +0200 Original-Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Oct 2012 11:50:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gas45-3-82-244-252-119.fbx.proxad.net User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) Cancel-Lock: sha1:8BCH+/pq/Q0iK4OebMaB9ybA0Vs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87266 Archived-At: 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...