emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-info.js
@ 2008-03-25 10:17 Pete Phillips
  2008-03-26 11:42 ` org-info.js Sebastian Rose
  0 siblings, 1 reply; 9+ messages in thread
From: Pete Phillips @ 2008-03-25 10:17 UTC (permalink / raw)
  To: org-mode mailing list

Morning all

I'm trying to use org-info.js.

I am using the git repository, and have placed the stylesheet.css and
the org-info.js into the same directory that my org file is in.

The top of my org-file is as follows:

#+TITLE:     ubuntu-general.org
#+AUTHOR:    Pete Phillips
#+EMAIL:     pete@smtl.co.uk
#+DATE:      <2008-03-25 Tue>
#+LANGUAGE:  en
#+TEXT:      Some descriptive text to be emitted.  Several lines OK.
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:nil skip:t d:nil tags:not-in-toc
#+STYLE:     <script type=\"text/javascript\" language=\"JavaScript\" src="org-info.js\" /> <script type="text/javascript" language="JavaScript">/* <![CDATA[ */ org_html_manager.setup ();/* ]]> */</script>

When I use ^C^Eh (to export as html), the resulting html file does not
have any of the <script> stuff in there. browsing with firefox does not
give me the interface that the org-info.js.html does.

Can anyone explain what I'm doing wrong ?

Cheers,
Pete

--
Pete Phillips, Acting Director,     |   http://www.smtl.co.uk/
Surgical Materials Testing Lab,     |   http://www.worldwidewounds.com/
Princess of Wales Hospital, S Wales |   http://www.dressings.org/
Tel/Fax: +44 1656-752820/30         |   pete@smtl.co.uk

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: org-info.js
  2008-03-25 10:17 org-info.js Pete Phillips
@ 2008-03-26 11:42 ` Sebastian Rose
  2008-03-26 14:54   ` Add to do item in the Org Agenda Day Grid Xin Shi
  0 siblings, 1 reply; 9+ messages in thread
From: Sebastian Rose @ 2008-03-26 11:42 UTC (permalink / raw)
  To: pete; +Cc: emacs-orgmode Mailinglist

Pete Phillips <pete@smtl.co.uk> writes:
> I'm trying to use org-info.js.
>
> I am using the git repository, and have placed the stylesheet.css and
> the org-info.js into the same directory that my org file is in.
>
> The top of my org-file is as follows:
>
> #+TITLE:     ubuntu-general.org
> #+AUTHOR:    Pete Phillips
> #+EMAIL:     pete@smtl.co.uk
> #+DATE:      <2008-03-25 Tue>
> #+LANGUAGE:  en
> #+TEXT:      Some descriptive text to be emitted.  Several lines OK.
> #+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:nil skip:t d:nil tags:not-in-toc
> #+STYLE:     <script type=\"text/javascript\" language=\"JavaScript\" src="org-info.js\" /> <script type="text/javascript" language="JavaScript">/* <![CDATA[ */ org_html_manager.setup ();/* ]]> */</script>
>
> When I use ^C^Eh (to export as html), the resulting html file does not
> have any of the <script> stuff in there. browsing with firefox does not
> give me the interface that the org-info.js.html does.
>
> Can anyone explain what I'm doing wrong ?

Hello Pete,

unfortunately I can not tell what's wrong. I tried some of the
configuration alternatives I mentioned in the documentation of
org-info.js and found that none of them works anymore. Exept the one in
section 4.2.3. So I'm afraid it's the only way that works at the moment.

Or just put the code in the header of the generated XHTML by hand. I
suspect something is broken in the export. Well, I'm quite shure it
worked that way here. But I can't find the keyword #+STYLE: in the docs
and `M-x org-insert-export-options-templat´ does not insert the STYLE
option, so maybe I'm wrong here.

I'll have investigate this tonight at home and rework the documentation
accordingly.

Sorry for this late answer, but I just got home from searching easter
eggs with my kids ;-)


Regards,

    Sebastian



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sebastian Rose             Fachinformatiker/Anwendendungsentwickler
Viktoriastaße 22
30451 Hannover             Entwicklung  von Internetanwendungen und
                           Programmen  mit  freien  Werkzeugen  und
sebastian_rose at gmx de   Bibliotheken.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Add to do item in the Org Agenda Day Grid
  2008-03-26 11:42 ` org-info.js Sebastian Rose
@ 2008-03-26 14:54   ` Xin Shi
  2008-03-26 15:16     ` John Rakestraw
  2008-03-26 15:22     ` Thomas Baumann
  0 siblings, 2 replies; 9+ messages in thread
From: Xin Shi @ 2008-03-26 14:54 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

Hi,

I'm wondering if there's a way to add todo item in the buffer "Org 
Agenda" on its Day Grid? Since there are frequently something jumps up 
and I want to keep it in the schedule.

Thanks!

Xin

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Add to do item in the Org Agenda Day Grid
  2008-03-26 14:54   ` Add to do item in the Org Agenda Day Grid Xin Shi
@ 2008-03-26 15:16     ` John Rakestraw
  2008-03-26 16:23       ` Xin Shi
  2008-03-26 15:22     ` Thomas Baumann
  1 sibling, 1 reply; 9+ messages in thread
From: John Rakestraw @ 2008-03-26 15:16 UTC (permalink / raw)
  To: emacs-orgmode



On Wed, 26 Mar 2008 10:54:55 -0400
Xin Shi <xs32@cornell.edu> wrote:

> I'm wondering if there's a way to add todo item in the buffer "Org 
> Agenda" on its Day Grid? Since there are frequently something jumps
> up and I want to keep it in the schedule.

While in the agenda buffer, I call one of my remember templates, add
the TODO, schedule it (using ctrl-c ctrl-s), and then refresh the agenda
buffer. The new TODO shows up on the scheduled date.

-- 
John Rakestraw

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Add to do item in the Org Agenda Day Grid
  2008-03-26 14:54   ` Add to do item in the Org Agenda Day Grid Xin Shi
  2008-03-26 15:16     ` John Rakestraw
@ 2008-03-26 15:22     ` Thomas Baumann
  2008-03-26 16:25       ` Xin Shi
  1 sibling, 1 reply; 9+ messages in thread
From: Thomas Baumann @ 2008-03-26 15:22 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I usually use remember for this kind of stuff:

(require 'remember)
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(define-key global-map [(control meta ?r)] 'remember)


You might want to have a look into the info file to take full advantage
of the flexibility of this approach.

Thomas

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Add to do item in the Org Agenda Day Grid
  2008-03-26 15:16     ` John Rakestraw
@ 2008-03-26 16:23       ` Xin Shi
  0 siblings, 0 replies; 9+ messages in thread
From: Xin Shi @ 2008-03-26 16:23 UTC (permalink / raw)
  To: John Rakestraw; +Cc: emacs-orgmode

Hi John,

Thank you!

Could you explain a little bit more about how to set up your "remember 
templates"?

Xin

John Rakestraw wrote:
> On Wed, 26 Mar 2008 10:54:55 -0400
> Xin Shi <xs32@cornell.edu> wrote:
>
>   
>> I'm wondering if there's a way to add todo item in the buffer "Org 
>> Agenda" on its Day Grid? Since there are frequently something jumps
>> up and I want to keep it in the schedule.
>>     
>
> While in the agenda buffer, I call one of my remember templates, add
> the TODO, schedule it (using ctrl-c ctrl-s), and then refresh the agenda
> buffer. The new TODO shows up on the scheduled date.
>
>   

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: Add to do item in the Org Agenda Day Grid
  2008-03-26 15:22     ` Thomas Baumann
@ 2008-03-26 16:25       ` Xin Shi
  2008-03-26 16:54         ` Thomas Baumann
  0 siblings, 1 reply; 9+ messages in thread
From: Xin Shi @ 2008-03-26 16:25 UTC (permalink / raw)
  To: Thomas Baumann; +Cc: emacs-orgmode

Hi Tomas,

Thanks for your reply!

I tried that, and when I called the remember, it gave me a buffer. But 
when I finish that with "C-c C-c", it prompted me asking about the page. 
I don't know how to deal with that.

By the way, I'm using the remember with the planner package, it might be 
due to that?

Xin

Thomas Baumann wrote:
> Hi,
>
> I usually use remember for this kind of stuff:
>
> (require 'remember)
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
> (define-key global-map [(control meta ?r)] 'remember)
>
>
> You might want to have a look into the info file to take full advantage
> of the flexibility of this approach.
>
> Thomas
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>   

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Add to do item in the Org Agenda Day Grid
  2008-03-26 16:25       ` Xin Shi
@ 2008-03-26 16:54         ` Thomas Baumann
  2008-03-26 17:00           ` Xin Shi
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Baumann @ 2008-03-26 16:54 UTC (permalink / raw)
  To: emacs-orgmode


I have customized my remember templates:

 '(org-remember-store-without-prompt t)
 '(org-remember-templates (quote (("Todo" 116 "* TODO %?
  %u" "~/org/diary.org" "Tasks") ("Note" 110 "* %?
  %u" "~/org/tb.org" "Notes") ("Appt" 97 "* %?
  %^T
  %^{Ort}" "~/org/diary.org" "Appointments") ("Call" 99 "* call %:name (%:company)
  [[bbdb:%:name]]
  %^T
  %?" "~/org/diary.org" "Tasks"))))

 '(remember-annotation-functions (quote (org-remember-annotation)))
 '(remember-handler-functions (quote (org-remember-handler)))


Maybe this helps

Thomas

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: Add to do item in the Org Agenda Day Grid
  2008-03-26 16:54         ` Thomas Baumann
@ 2008-03-26 17:00           ` Xin Shi
  0 siblings, 0 replies; 9+ messages in thread
From: Xin Shi @ 2008-03-26 17:00 UTC (permalink / raw)
  To: Thomas Baumann; +Cc: emacs-orgmode

Hi Thomas,

Thank you! I'll read more about the remember package then.

Xin

Thomas Baumann wrote:
> I have customized my remember templates:
>
>  '(org-remember-store-without-prompt t)
>  '(org-remember-templates (quote (("Todo" 116 "* TODO %?
>   %u" "~/org/diary.org" "Tasks") ("Note" 110 "* %?
>   %u" "~/org/tb.org" "Notes") ("Appt" 97 "* %?
>   %^T
>   %^{Ort}" "~/org/diary.org" "Appointments") ("Call" 99 "* call %:name (%:company)
>   [[bbdb:%:name]]
>   %^T
>   %?" "~/org/diary.org" "Tasks"))))
>
>  '(remember-annotation-functions (quote (org-remember-annotation)))
>  '(remember-handler-functions (quote (org-remember-handler)))
>
>
> Maybe this helps
>
> Thomas
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>   

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-03-26 17:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-25 10:17 org-info.js Pete Phillips
2008-03-26 11:42 ` org-info.js Sebastian Rose
2008-03-26 14:54   ` Add to do item in the Org Agenda Day Grid Xin Shi
2008-03-26 15:16     ` John Rakestraw
2008-03-26 16:23       ` Xin Shi
2008-03-26 15:22     ` Thomas Baumann
2008-03-26 16:25       ` Xin Shi
2008-03-26 16:54         ` Thomas Baumann
2008-03-26 17:00           ` Xin Shi

Code repositories for project(s) associated with this public 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).