emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mark Elston <m.elston@advantest-ard.com>
To: nicholas.dokos@hp.com
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-remember
Date: Mon, 19 Jan 2009 13:19:36 -0800	[thread overview]
Message-ID: <4974EE68.60303@advantest-ard.com> (raw)
In-Reply-To: <9099.1232399183@alphaville.usa.hp.com>

Nick,

I got it working.  As I was looking at my .emacs I noticed that I
had commented out the line:

   (org-remember-insinuate)

Once I uncommented this line it worked as expected.  I see that
this function does largely what yours does.

And, yes, I see the mention of org-install in sec 1.2.
I had a mixture of docs I was working with originally and
missed that line in the new docs...

Mark

* Nick Dokos wrote (on 1/19/2009 1:06 PM):
> Mark Elston <m.elston@advantest-ard.com> wrote:
> 
>> Nick,
>>
>> It helps with the first problem, the autoload problem.  I didn't see
>> this in the manual anywhere.
>>
> It's mentioned in the Installation section (sec. 1.2).
> 
>> However, while it brings up a *Remember* window it doesn't populate
>> it with any of the templates I have set up (basically I copied what was
>> in the texinfo doc).  And when I write something in it and hit
>> C-cC-c I get an error:
>>
>>   Debugger entered--Lisp error: (error "The mark is not set now, so
>> there is no region")
>>   call-interactively(comment-region)
>>
>> This is not what I expected from the docs.
>>
> 
> You probably want to set debug-on-error to t and try it again. You should
> get a backtrace that will tell more of the story.
> 
> However, you might want to give the following a try: it's a
> stripped-down version of my org initialization. Can you try it after
> changing the paths?
> 
> -------------------------------------------------------------------------------------
> ;; change the path appropriately.
> (add-to-list 'load-path (expand-file-name "~/src/emacs/org/git/org-mode/lisp"))
> 
> (require 'org-install)
> 
> ;;; org mode
> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
> (define-key global-map "\C-cl" 'org-store-link)
> (define-key mode-specific-map [?a] 'org-agenda)
> 
> ;;; remember
> ;; change the path appropriately
> (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/remember")
> (require 'remember)
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
> 
> (setq org-remember-templates
>       '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/org/TODO.org" "Tasks")
>         ("Journal" ?j "* %U %?\n\n  %i\n  %a" "~/org/JOURNAL.org")
>         ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/org/JOURNAL.org" "New Ideas")))
> -------------------------------------------------------------------------------------
> 
> 
> 
> 
> 

  parent reply	other threads:[~2009-01-19 21:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 20:13 Mark Elston
2009-01-19 20:22 ` Nick Dokos
2009-01-19 20:32   ` Mark Elston
     [not found]     ` <9099.1232399183@alphaville.usa.hp.com>
2009-01-19 21:19       ` Mark Elston [this message]
     [not found]         ` <9717.1232400732@alphaville.usa.hp.com>
2009-01-19 22:09           ` Mark Elston
2010-03-06  2:40 problem " Christian Wittern
2010-03-06 10:34 ` Christian Wittern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4974EE68.60303@advantest-ard.com \
    --to=m.elston@advantest-ard.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --subject='Re: Problem with org-remember' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).