From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?b?U8O4cmVu?= Pedersen Subject: calling org-remember with an argument to select remember-type? Date: Wed, 22 Oct 2008 19:18:56 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsjKS-0004xH-J0 for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 15:25:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsjKR-0004wM-0l for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 15:25:11 -0400 Received: from [199.232.76.173] (port=53383 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsjKQ-0004wG-Gg for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 15:25:10 -0400 Received: from main.gmane.org ([80.91.229.2]:36184 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsjKP-0002gO-6z for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 15:25:10 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KsjKI-0003vQ-Od for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 19:25:02 +0000 Received: from 1405ds1-abc.1.fullrate.dk ([90.185.49.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Oct 2008 19:25:02 +0000 Received: from pengmeister by 1405ds1-abc.1.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Oct 2008 19:25:02 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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: emacs-orgmode@gnu.org Hey all I am trying to call org-remember and automatically select making a journal entry (associated with the character "j"). I have tried the following: (org-remember "j") (org-remember ?J) describe-function on org-remember mentions org-force-remember-template-char so I have also tried: (let ((org-force-remember-template-char ?j)) (org-remember)) (let ((org-force-remember-template-char "j")) (org-remember)) But all of these display the prompt to select which remember-type to create. As might be apparent I am not really proficient in elisp, so I am hoping you guys can help me out kind regards Søren Pedersen