From mboxrd@z Thu Jan 1 00:00:00 1970 From: Varun Vats Subject: Enable org-habit using add-to-list Date: Mon, 20 Aug 2012 17:48:25 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec54a35ca15971d04c7b184e3 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Qwr-0004Aw-8Q for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 08:19:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3Qwk-0004TY-Sw for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 08:19:13 -0400 Received: from mail-ob0-f169.google.com ([209.85.214.169]:62960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Qwk-0004TS-Nx for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 08:19:06 -0400 Received: by obhx4 with SMTP id x4so11039272obh.0 for ; Mon, 20 Aug 2012 05:19:06 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --bcaec54a35ca15971d04c7b184e3 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I am trying to enable the org-habit module by using add-to-list like so: (add-to-list 'org-modules "org-habit") The reason I want to use add-to-list and not setq is that I want to add org-habit to the set of modules loaded by default and not re-define the set. However, this is giving me the error - Symbol's value as variable is void: org-modules Any idea how I should get this sorted out? Should I add a hook? Thank you. -- Sincerely, Varun Vats Graduate Student University of Wisconsin, Madison mailvarunvats@gmail.com --bcaec54a35ca15971d04c7b184e3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

I am trying to enable the org-habit module by using add-to-list like so:

(add-to-list 'org-modules "org-habit&q= uot;)

The reason= I want to use=A0add-to-list=A0and not=A0setq=A0is that I=A0= want to add org-habit=A0to the= set of modules loaded by default and not re-define the set.

However, this is giving me the erro= r -=A0

Symbol's value as variable i= s void: org-modules

Any idea how I should get this sorted out? Should I = add a hook?

Thank you.

--
Sincerely,
Varun Vats=
Graduate Student
University of Wisconsin, Madison
mailvarunvats@gmail.com


--bcaec54a35ca15971d04c7b184e3-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Enable org-habit using add-to-list Date: Mon, 20 Aug 2012 14:29:49 +0200 Message-ID: <87vcgd926a.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3R6p-0008S7-M7 for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 08:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3R6k-0000Ai-3C for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 08:29:31 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:40183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3R6j-0000AH-Se for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 08:29:26 -0400 Received: by wibhq4 with SMTP id hq4so3145607wib.12 for ; Mon, 20 Aug 2012 05:29:25 -0700 (PDT) In-Reply-To: (Varun Vats's message of "Mon, 20 Aug 2012 17:48:25 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Varun Vats Cc: emacs-orgmode@gnu.org Hi Varun, Varun Vats writes: > Symbol's value as variable is void: org-modules > > Any idea how I should get this sorted out? Should I add a hook? (require 'org) (require 'org-install) (add-to-list 'org-modules "org-habit") in this order should be okay. HTH, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Varun Vats Subject: Re: Enable org-habit using add-to-list Date: Mon, 20 Aug 2012 18:36:16 +0530 Message-ID: References: <87vcgd926a.fsf@altern.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8fb202f437cdd204c7b22f24 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Rh5-0005PA-16 for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 09:07:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3Rh3-0006Ht-MZ for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 09:06:58 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:57228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3Rh3-0006Ho-IC for emacs-orgmode@gnu.org; Mon, 20 Aug 2012 09:06:57 -0400 Received: by yhr47 with SMTP id 47so5467094yhr.0 for ; Mon, 20 Aug 2012 06:06:57 -0700 (PDT) In-Reply-To: <87vcgd926a.fsf@altern.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org --e89a8fb202f437cdd204c7b22f24 Content-Type: text/plain; charset=ISO-8859-1 Thanks Bastien, that worked! -- Sincerely, Varun Vats Graduate Student University of Wisconsin, Madison mailvarunvats@gmail.com http://varunvats.com On Mon, Aug 20, 2012 at 5:59 PM, Bastien wrote: > Hi Varun, > > Varun Vats writes: > > > Symbol's value as variable is void: org-modules > > > > Any idea how I should get this sorted out? Should I add a hook? > > (require 'org) > (require 'org-install) > (add-to-list 'org-modules "org-habit") > > in this order should be okay. > > HTH, > > -- > Bastien > --e89a8fb202f437cdd204c7b22f24 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Bastien, that worked!

--
Sincerely,
Varu= n Vats
Graduate Student
University of Wisconsin, Madison
mailvarunvats@gmail.c= om
http://varunvats.com=





On Mon, Aug 20, 2012 at 5:59 PM, Bastien= <= bzg@altern.org> wrote:
Hi Varun,

Varun Vats <mailvarunvats@gma= il.com> writes:

> Symbol's value as variable is void: org-modules
>
> Any idea how I should get this sorted out? Should I add a hook?

(require 'org)
(require 'org-install)
(add-to-list 'org-modules "org-habit")

in this order should be okay.

HTH,

--
=A0Bastien

--e89a8fb202f437cdd204c7b22f24--