From mboxrd@z Thu Jan  1 00:00:00 1970
From: Pete Phillips <pete@smtl.co.uk>
Subject: Re: Command line tricks
Date: Wed, 20 Aug 2008 11:31:36 +0100
Message-ID: <881.1219228296@localhost>
References: <20080806083741.GA15423@thinkpad.adamsinfoserv.com>
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1KVkvn-0002dQ-It
	for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 06:28:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1KVkvl-0002bk-Il
	for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 06:28:46 -0400
Received: from [199.232.76.173] (port=58523 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1KVkvl-0002bU-9C
	for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 06:28:45 -0400
Received: from mailhost.smtl.co.uk ([193.131.77.174]:2571)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <pete@smtl.co.uk>) id 1KVkvk-00075j-O0
	for emacs-orgmode@gnu.org; Wed, 20 Aug 2008 06:28:45 -0400
Received: from localhost (localhost [127.0.0.1])
	by mailhost.smtl.co.uk (Postfix) with ESMTP id E882E8BBA2
	for <emacs-orgmode@gnu.org>; Wed, 20 Aug 2008 11:28:41 +0100 (BST)
Received: from mailhost.smtl.co.uk ([127.0.0.1])
	by localhost (ktinga.smtl.co.uk [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 10831-06 for <emacs-orgmode@gnu.org>;
	Wed, 20 Aug 2008 11:28:39 +0100 (BST)
Received: from lap1.smtl.co.uk (lap1.smtl.co.uk [192.168.1.210])
	by mailhost.smtl.co.uk (Postfix) with ESMTP id 3861B8BB42
	for <emacs-orgmode@gnu.org>; Wed, 20 Aug 2008 11:28:39 +0100 (BST)
Received: from localhost (localhost [127.0.0.1])
	by lap1.smtl.co.uk (Postfix) with ESMTP id 216C61C13B
	for <emacs-orgmode@gnu.org>; Wed, 20 Aug 2008 11:31:36 +0100 (BST)
In-reply-to: <20080806083741.GA15423@thinkpad.adamsinfoserv.com> 
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Org Mode List <emacs-orgmode@gnu.org>

>>>>> "Russell" == Russell Adams <RLAdams@AdamsInfoServ.Com> writes:

    Russell> In my ~/.bashrc, I have defined an alias for Org that runs:

    Russell> emacs -nw --funcall org-agenda-list

    Russell> Which pulls up Org in the agenda view, which is where I
    Russell> wanted to be in the first place!

Hmm - is there any way to get the same functionality with emacsclient ? 

I'd like to be able to set up a shell alias to pull up a new frame or
reuse the current one with the agenda listing in (and of course, to do
other cool stuff).

I have tried  

  /usr/bin/emacsclient.emacs-snapshot -f org-agenda-list

but it turns out -f isn't supported by emacsclient.

Pete

BTW - any of you using gnome-do ?  It is apparently based on
quicksilver. Because it remembers common keystrokes, if you regularly
use a particular command, say a bash script 'agenda', then running
something like

<super><space>ag

will run the shell script for you from anywhere. It is pretty cool. See 

https://wiki.ubuntu.com/GnomeDo