[Orgmode] small problem in agenda time line?

2009-05-14 Thread Peter Frings

Good day, org-ers

I have seen a *small* problem in the Agenda's log mode.

Org-mode version 6.26d
GNU Emacs 22.3.1 (i386-apple-darwin9.5.0, Carbon Version 1.6.0) of  
2008-11-01



I have this in time-sheets.org:


* Project AI
** Enhancement PT 2009-04-30 Thu 10:00-11:00 +1w
   CLOCK: [2009-05-14 Thu 09:55]--[2009-05-14 Thu 10:45] =  0:50


But, the Agenda shows this:

Day-agenda (W20):
Thursday   14 May 2009
   9:00.. 
  planning:9:12- 9:55 Clocked:   (0:43) BUSY Notifications
  time-sheet: 10:00-11:00 Clocked:   (0:50) Enhancement PT
  time-sheet: 10:00-11:00 Enhancement PT
  10:00.. 
  11:00.. 


The agenda's clocktable shows the proper time:

Day-agenda (W20):
...
| time-sheet.org | 2 | time-sheet.org | Enhancement PT 2009-04-30 Thu  
10:00-11:00 +1w |  | 0:50 |  |

...


I would expect that the actual log entry shows the clocked time, not  
the repeating one.



Cheers,
Peter.___
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


Re: [Orgmode] [PATCH] agenda startup: log-mode should be customizable as well

2009-05-14 Thread Carsten Dominik

Applied, thanks.

- Carsten

On May 14, 2009, at 5:57 AM, Benjamin Andresen wrote:


Hey there,

I was curious as to why a value such log-mode wasn't customizable
to be run on start-up as follow-mode and clock-report-mode are.

If Carsten thinks this is a good idea, I've attached a patch that may
shave of 5 seconds of him adding it. It applies cleanly to current git
HEAD.

br,
benny

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 7622f6a..e52fdbc 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -628,6 +628,7 @@ Needs to be set before org.el is loaded.
  :group 'org-agenda-startup
  :type 'boolean)

+
(defvar org-agenda-include-inactive-timestamps nil
  Non-nil means, include inactive time stamps in agenda and  
timeline.)


@@ -789,6 +790,12 @@ agenda display.
  :group 'org-agenda-daily/weekly
  :type 'boolean)

+(defcustom org-agenda-start-with-log-mode nil
+  The initial value of log-mode in a newly created agenda window.
+  :group 'org-agenda-startup
+  :group 'org-agenda-daily/weekly
+  :type 'boolean)
+
(defcustom org-agenda-start-with-clockreport-mode nil
  The initial value of clockreport-mode in a newly created agenda  
window.

  :group 'org-agenda-startup
@@ -1252,7 +1259,7 @@ The following commands are available:
  (unless org-agenda-keep-modes
(setq org-agenda-follow-mode org-agenda-start-with-follow-mode
  org-agenda-clockreport-mode org-agenda-start-with-clockreport-mode
- org-agenda-show-log nil))
+ org-agenda-show-log org-agenda-start-with-log-mode))
  (easy-menu-change
   '(Agenda) Agenda Files
   (append
___
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


___
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


Re: [Orgmode] latex export todo:nil option only hides some todo keywords.

2009-05-14 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On May 13, 2009, at 10:14 PM, Alexander wrote:


Hi all,

First, of course thanks for org-mode.

I want to export an org-mode file to latex and then pdf, and I want to
hide TODO keywords in the pdf.  I've several per-file defined TODO
keywords, and I can only get todo:nil to turn off some of them.

Here is the file

#+TODO: TODO(t) GET(g) WAITING(w) TRIAGE(i) READ(r) STARTED(s) |
DONE(d) DISCARDED(c)
#+OPTIONS: toc:nil, H:2,todo:nil

* Headline A

** DONE test 1
  CLOSED: [2009-05-13 Wed 16:08]

** TODO test 2

** test 3

** TRIAGE test 4

** DISCARDED test 5
  CLOSED: [2009-05-13 Wed 16:09]

In the exported pdf, TRIAGE and DISCARDED are still visible. What am I
doing wrong?

Alexander


___
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


___
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


Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-14 Thread Carsten Dominik


On May 13, 2009, at 12:04 PM, Sebastian Rose wrote:



I like the idea of publishing the sources.


I have just pushed a change which implements org-publish-org-to-org,
so you should be able to use this in a publishing setup.  It is also
possible to get an htmlized version of the file.  The way to use
this would be to specify two publishing functions, and to specify
the kinds of source file representations with parameters
in org-publish-alist, like this:

  :publishing-function (org-publish-org-to-html org-publish-org-to-org)
  :plain-source t
  :htmlized-source t

for a file file.org, this would give you both file.org and file.org.html
in the publishing directory.  In both files, archived trees, commented
trees and trees excluded by tags from export would have been removed.
The html version will look just like your org buffer in Emacs.

If you want to use this in batch processing, you need a CSS file that  
defines the font colors and set it's location in `org-export-htmlized- 
org-css-url'.  The
CSS file can be generated in an interactive Emacs session with M-x org- 
export-htmlize-generate-css.


- Carsten



Shouldn't we do something like this on worg too?

It's amazing to see the too files side by side - both perfectly
readable - visible simplicity and a great source of examples for
(potentially new) users.

BTW: it would be real fun to tranform links for this purpose, so that
visitors could browse the published org sources just like in emacs.



We could as well this here

[[http://repo.or.cz/w/Worg.git?a=blob;f=org-tutorials/org-publish-html-tutorial.org 
][Source

of this file]]


Maybe in the tutorial index (e.g.)?


...

* Publishing org to html
#+ATTR_HTML: title=See sources of that file (git repo on repo.or.cz)
[[http://repo.or.cz/w/Worg.git?a=blob;f=org-tutorials/org-publish-html-tutorial.org 
][(src)]]





  Sebastian


Bernt Hansen be...@norang.ca writes:

Carsten Dominik carsten.domi...@gmail.com writes:


On May 13, 2009, at 3:50 AM, Bernt Hansen wrote:


Rick Moynihan rick.moyni...@gmail.com writes:


Another comment (and this goes for many documents published in
org-mode) is that it would be nice if the HTML file could link  
to an

online copy of the raw org file.


More thoughts along this line...

The only downside of doing this automatically is if you
include :noexport: tags or COMMENT on headlines to prevent export  
(say

you have information you don't want out on the net.

I wouldn't want the source file automatically published always.   
I'm
like to be able to control that from some org-publish  
configuration.


I guess it would be relatively easy to write a function
`org-publish-org-to-org' which would remove these sensitive
parts and could be used as as :publishing-function in a setup


That works for me :)  I prefer to post my source with the published
files for most things -- my old publishing method (before switching  
to
org-mode) used to do that (without the noexport options -- since it  
had

no concept of not publishing everything).

-Bernt


___
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


Re: [Orgmode] Some Javascript Adventures

2009-05-14 Thread Ian Barton



Unfortunately, it's tricky to get jQuery to work in Opera together with
org-info.js (org-info.js works, jQuery doesn't :) ).
Even in Firefox, if you place the jQuery stuff below the org-info.js
stuff, it stops working.

We should realy create a jQuery version of org-info.js...


Thanks for the tip about the sitemap. Ihad wondered about trying to 
create a jQuery version, but I need to do a lot more learning first!


Attached is a patch that fixes a mis-spelling in org-info.js.

Ian.

diff --git a/code/org-info-js/org-info-src.js b/code/org-info-js/org-info-src.js
index fe73ef1..2e1d4bb 100644
--- a/code/org-info-js/org-info-src.js
+++ b/code/org-info-js/org-info-src.js
@@ -71,7 +71,7 @@ function OrgNode ( _div, _heading, _link, _depth, _parent, _base_id)
   this.link = _link;
   this.hasHighlight = false;  // Node highlighted (search)
   this.parent = _parent;
-  this.durty = false; // Node is durty, when children get
+  this.dirty = false; // Node is dirty, when children get
   // folded seperatly.
   this.state = OrgNode.STATE_FOLDED;
   this.depth = _depth;// The Rootelement will have
@@ -250,7 +250,7 @@ OrgNode.prototype.hideAllChildren = function ()
 
 /**
  * This one is called onclick() to toggle the folding state of the node.
- * This one sets it's parent durty, since node is folded individually. Hence the
+ * This one sets it's parent dirty, since node is folded individually. Hence the
  * next folding of parent has to collapse all.
  * @param show_childrens_folders Boolean. This is only used for the special way
  * of toggling of the ROOT element. If true, prevents this OrgNode from showing
@@ -259,9 +259,9 @@ OrgNode.prototype.hideAllChildren = function ()
 OrgNode.prototype.fold = function (hide_folder)
 {
   if(this.parent)
-this.parent.durty = true;
-  if(this.durty) {
-this.durty = false;
+this.parent.dirty = true;
+  if(this.dirty) {
+this.dirty = false;
 this.state = OrgNode.STATE_UNFOLDED; // so next state is FOLDED. See below.
   }
 
@@ -1200,7 +1200,7 @@ var org_html_manager = {
 
   toggleGlobaly: function ()
   {
-if(this.ROOT.durty) {
+if(this.ROOT.dirty) {
   this.ROOT.state = OrgNode.STATE_UNFOLDED;
 }
 
@@ -1224,8 +1224,8 @@ var org_html_manager = {
   this.ROOT.state = OrgNode.STATE_UNFOLDED;
 }
 
-// All this sets ROOT durty again. So clean it:
-this.ROOT.durty = false;
+// All this sets ROOT dirty again. So clean it:
+this.ROOT.dirty = false;
   },
 
 
@@ -1793,7 +1793,7 @@ var org_html_manager = {
 
   this.hideConsole();
   if(this.PLAIN_VIEW != this.VIEW) this.plainView();
-  this.ROOT.durty = true;
+  this.ROOT.dirty = true;
   this.toggleGlobaly();
   for(var i = 0; i  this.SECS.length; ++i) {
 OrgNode.showElement(this.SECS[i].div);
___
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


Re: [Orgmode] Some Javascript Adventures

2009-05-14 Thread Ian Barton
I have been wondering if it would somehow be possible to get the #+STYLE 
option to allow for an include file in addition to directly typing stuff 
in. The maintainability of multi line STYLE options would then be much 
easier.


Ian.


And this is, how you need to do it, if you have the sitemap included:


= ---8-8-8---
#+STYLE: script type=text/javascript src=jquery-1.3.2.min.js/script
#+STYLE: script type=text/javascript
#+STYLE:  !--/*--![CDATA[/*!--*/
#+STYLE: $(document).ready(



___
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


Re: [Orgmode] small problem in agenda time line?

2009-05-14 Thread Carsten Dominik

Fixed, thanks for the report.

- Carsten

On May 14, 2009, at 11:27 AM, Peter Frings wrote:


Good day, org-ers

I have seen a *small* problem in the Agenda's log mode.

Org-mode version 6.26d
GNU Emacs 22.3.1 (i386-apple-darwin9.5.0, Carbon Version 1.6.0) of  
2008-11-01



I have this in time-sheets.org:


* Project AI
** Enhancement PT 2009-04-30 Thu 10:00-11:00 +1w
   CLOCK: [2009-05-14 Thu 09:55]--[2009-05-14 Thu 10:45] =  0:50


But, the Agenda shows this:

Day-agenda (W20):
Thursday   14 May 2009
   9:00.. 
  planning:9:12- 9:55 Clocked:   (0:43) BUSY Notifications
  time-sheet: 10:00-11:00 Clocked:   (0:50) Enhancement PT
  time-sheet: 10:00-11:00 Enhancement PT
  10:00.. 
  11:00.. 


The agenda's clocktable shows the proper time:

Day-agenda (W20):
...
| time-sheet.org | 2 | time-sheet.org | Enhancement PT 2009-04-30  
Thu 10:00-11:00 +1w |  | 0:50 |  |

...


I would expect that the actual log entry shows the clocked time, not  
the repeating one.



Cheers,
Peter.
___
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




___
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


Re: [Orgmode] Some Javascript Adventures

2009-05-14 Thread Carsten Dominik


On May 14, 2009, at 2:19 PM, Ian Barton wrote:

I have been wondering if it would somehow be possible to get the # 
+STYLE option to allow for an include file in addition to directly  
typing stuff in. The maintainability of multi line STYLE options  
would then be much easier.


Ian.


And this is, how you need to do it, if you have the sitemap included:
= ---8-8- 
8---
#+STYLE: script type=text/javascript src=jquery-1.3.2.min.js/ 
script

#+STYLE: script type=text/javascript
#+STYLE:  !--/*--![CDATA[/*!--*/
#+STYLE: $(document).ready(


I believe you should be able to use link here.

- Carsten



___
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


Re: [Orgmode] Looking for some org-mode hooks

2009-05-14 Thread Carsten Dominik

We did not have hooks in these locations, but now we do:

org-after-refile-insert-hook
org-after-sorting-entries-or-items-hook

HTH

- Carsten

On May 12, 2009, at 11:44 PM, Keith Swartz wrote:


Hi there,

I've recently switched to using org-mode for tracking todo items,  
and I'm finding it to be well worth the effort. I've read through  
the manual, and browsed past messages on the mail archive, but have  
a few questions about whether or not a few enhancements I want to do  
are currently possible in the latest version.


First, is there a hook that gets executed after sorting a subtree?  
In other words, if I'm viewing a subtree as folded/children only,  
then sort it, it changes to display all subtrees. I want it to  
automatically revert back to the visibility I had. I'm hoping I can  
just set the visibility in a hook.


Second, along the same lines, is there a hook that gets executed  
after refiling an item? In this case, I'd like to resort the node to  
which the item has been refiled. So, for instance, if I refile an  
item with priority A to a new node, I'd like that node sorted so  
that the new item appears at or near the top (assuming I sort by  
priority first).


Thanks in advance,
Keith S.



___
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




___
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


Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-14 Thread Eric Schulte
Rick Moynihan rick.moyni...@gmail.com writes:

 2009/5/13 Sebastian Rose sebastian_r...@gmx.de:

 I like the idea of publishing the sources.

 Shouldn't we do something like this on worg too?


This is probably overkill, but one option for publishing the raw
org-mode files is blorgit http://orgmode.org/worg/blorgit.php


 It's amazing to see the too files side by side - both perfectly
 readable - visible simplicity and a great source of examples for
 (potentially new) users.

 BTW: it would be real fun to tranform links for this purpose, so that
 visitors could browse the published org sources just like in emacs.

 Agreed... The only reason I didn't mention worg, is because it's
 already available to me via the git-repo, but lowering the barriers to
 entry and having it more easily web accessible will doubtless help
 bring more people up to speed with org-mode.

 One other thing that might be nice is to supply two copies of the
 org-mode files...  The first as htmlized output of the org file with
 emacs syntax highlighting, and the second RAW plain text for easy
 download/copy/pasting etc...

 I recently discovered Phil Hagelberg's scpaste.el, which does just
 this; and scp's the files to a web-accessible host.  I made some minor
 mods so it would also export the RAW file.  Example output  my
 modified scpaste.el is available here:

 http://sourcesmouth.co.uk/paste/


Very cool, thanks for the pointer

Cheers -- Eric


 R.


 ___
 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


___
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


Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-14 Thread Carsten Dominik


On May 13, 2009, at 8:12 AM, Tassilo Horn wrote:


Hi all,

I use an own function to save the current agenta to a text file,  
which I

display in a tooltip on my desktop:

--8---cut here---start-8---
(defun th-org-mode-init ()
 (add-hook 'after-save-hook 'th-org-update-agenda-file t t))

(add-hook 'org-mode-hook 'th-org-mode-init)

;; TODO: This errors when calling C-x s after modifying things in  
the agenda.

(defun th-org-update-agenda-file (optional force)
 (interactive)
 (when (and (eq major-mode 'org-mode)
(member buffer-file-name org-agenda-files))
   (save-excursion
 (save-window-excursion
   (let ((file /tmp/org-agenda.txt))
 (org-agenda-list)
 (org-write-agenda file))
--8---cut here---end---8---

This works fine when I save an agenda file while in its buffer, but  
when
I edit the file via agenda commands and hit `C-x s', I'm asked if I  
want

to save /home/horn/repos/org/uni.org and say yes, I get this error:



This probably happens because you are relying on org-agenda-list which  
is supposed to display the agenda window and in this way set the  
selected window and buffer.  In non-interactive use, the buffer is  
created, but display is delayed until after the next idle moment.


Not tested, but this may help:

Replace (org-agenda-write) with this:

(with-current-buffer org-agenda-buffer-name (org-write-agenda file))

HTH

- Carsten


___
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


Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-14 Thread Tassilo Horn
Carsten Dominik carsten.domi...@gmail.com writes:

Hi Carsten,

 --8---cut here---start-8---
 (defun th-org-mode-init ()
  (add-hook 'after-save-hook 'th-org-update-agenda-file t t))

 (add-hook 'org-mode-hook 'th-org-mode-init)

 ;; TODO: This errors when calling C-x s after modifying things in the agenda.
 (defun th-org-update-agenda-file (optional force)
  (interactive)
  (when (and (eq major-mode 'org-mode)
 (member buffer-file-name org-agenda-files))
(save-excursion
  (save-window-excursion
(let ((file /tmp/org-agenda.txt))
  (org-agenda-list)
  (org-write-agenda file))
 --8---cut here---end---8---

 This works fine when I save an agenda file while in its buffer, but
 when I edit the file via agenda commands and hit `C-x s', I'm asked
 if I want to save /home/horn/repos/org/uni.org and say yes, I get
 this error:

 This probably happens because you are relying on org-agenda-list which
 is supposed to display the agenda window and in this way set the
 selected window and buffer.  In non-interactive use, the buffer is
 created, but display is delayed until after the next idle moment.

 Not tested, but this may help:

 Replace (org-agenda-write) with this:

 (with-current-buffer org-agenda-buffer-name (org-write-agenda file))

No, I'm sorry.  I still get the error, and it's already triggered in the
call to `org-agenda-list' before `org-write-agenda' is called.  The
error is thrown in `org-agenda-get-day-entries'.

Bye,
Tassilo


___
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


Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-14 Thread Carsten Dominik
Did you restart Emacs?  My idea was that the first time you call this,  
you change the file name of a buffer, and the second time the problem  
happens.


- Carsten

On May 14, 2009, at 6:43 PM, Tassilo Horn wrote:


Carsten Dominik carsten.domi...@gmail.com writes:

Hi Carsten,


--8---cut here---start-8---
(defun th-org-mode-init ()
(add-hook 'after-save-hook 'th-org-update-agenda-file t t))

(add-hook 'org-mode-hook 'th-org-mode-init)

;; TODO: This errors when calling C-x s after modifying things in  
the agenda.

(defun th-org-update-agenda-file (optional force)
(interactive)
(when (and (eq major-mode 'org-mode)
   (member buffer-file-name org-agenda-files))
  (save-excursion
(save-window-excursion
  (let ((file /tmp/org-agenda.txt))
(org-agenda-list)
(org-write-agenda file))
--8---cut here---end---8---

This works fine when I save an agenda file while in its buffer, but
when I edit the file via agenda commands and hit `C-x s', I'm asked
if I want to save /home/horn/repos/org/uni.org and say yes, I get
this error:


This probably happens because you are relying on org-agenda-list  
which

is supposed to display the agenda window and in this way set the
selected window and buffer.  In non-interactive use, the buffer is
created, but display is delayed until after the next idle moment.

Not tested, but this may help:

Replace (org-agenda-write) with this:

(with-current-buffer org-agenda-buffer-name (org-write-agenda file))


No, I'm sorry.  I still get the error, and it's already triggered in  
the

call to `org-agenda-list' before `org-write-agenda' is called.  The
error is thrown in `org-agenda-get-day-entries'.

Bye,
Tassilo




___
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


Re: [Orgmode] Help debugging a problem when saving org-agenda files with C-x s

2009-05-14 Thread Tassilo Horn
Carsten Dominik carsten.domi...@gmail.com writes:

 Did you restart Emacs?  My idea was that the first time you call this,
 you change the file name of a buffer, and the second time the problem
 happens.

First, I only evaled my function anew, but now I tried with a new emacs
instance and the error is still the same.

But now I can see what happens (but I don't have a solution right now):

  - `C-x s' saves the modified org buffer (I checked that the changes
are saved to disk)

  - my function is triggered cause it's in `after-save-hook' buffer
locally

  - somehow the buffer associated with the saved org file uni.org is
erased and org tries to insert an agendo into this buffer (only one
propertized line)

   Week-agenda (W20):

and the major mode is now `org-agenda-mode', which results in the
error I posted when org tries to create the agenda page.

Bye,
Tassilo
-- 
[Emacs] is written in Lisp, which is the only computer language that is
beautiful.  -- Neal Stephenson, _In the Beginning was the Command Line_


___
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


Re: [Orgmode] Some Javascript Adventures

2009-05-14 Thread Sebastian Rose



#+SETUPFILE: filename


??

Ian Barton li...@manor-farm.org writes:
 I have been wondering if it would somehow be possible to get the #+STYLE 
 option
 to allow for an include file in addition to directly typing stuff in. The
 maintainability of multi line STYLE options would then be much easier.

 Ian.

 And this is, how you need to do it, if you have the sitemap included:


 = ---8-8-8---
 #+STYLE: script type=text/javascript src=jquery-1.3.2.min.js/script
 #+STYLE: script type=text/javascript
 #+STYLE:  !--/*--![CDATA[/*!--*/
 #+STYLE: $(document).ready(


 ___
 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



___
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


[Orgmode] limiting ical export

2009-05-14 Thread Taru Karttunen
Hello

Is it possible to limit the ical-file exported in some way?
I'd like to export all events from the current time to one 
month in the future. Is this possible? Maybe postprocessing
the ical file?

- Taru Karttunen


___
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


Re: [Orgmode] source code block HTML appearance under linux firefox

2009-05-14 Thread Sebastian Rose

Hi Dan,


I use FF on Linux all the time, but I cannot see that here. Which
version are you using? Version 3.0.9 does not have that problem.

Maybe that's not FF but X?


  Sebastian

Dan Davison davi...@stats.ox.ac.uk writes:
 When source code blocks are rendered in HTML, in firefox under linux I
 see a thick lower border to the box enclosing the code, however I don't
 see this in firefox under windows and OS X, nor IE under Windows.  As an
 example (for linux users at least) look at the bounding box to the first
 code example on

 http://orgmode.org/worg/org-contrib/org-protocol.php

 It may seem minor on the worg page, but I've modified worg.css for my
 own use (I'm not sure who specifically to thank, but thanks!) and it can
 be very noticeable/ugly e.g.

 http://www.stats.ox.ac.uk/~davison/software/dbm/download.php

 If you zoom in, eventually that becomes a horizontal scrollbar, so
 perhaps what I'm seeing is a sort of vestigial scrollbar? Please excuse
 the slightly OT question, but I was hoping one of the resident css
 experts would know how to fix this? Or is it a bug in firefox?

 Thanks,

 Dan


___
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


Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-14 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 On May 13, 2009, at 12:04 PM, Sebastian Rose wrote:

 I like the idea of publishing the sources.

 I have just pushed a change which implements org-publish-org-to-org,
 so you should be able to use this in a publishing setup.  It is also
 possible to get an htmlized version of the file.  The way to use
 this would be to specify two publishing functions, and to specify
 the kinds of source file representations with parameters
 in org-publish-alist, like this: 

   :publishing-function (org-publish-org-to-html org-publish-org-to-org)
   :plain-source t
   :htmlized-source t

That works great!  Thanks!!

-Bernt


___
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


Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-14 Thread Sebastian Rose
Eric Schulte schulte.e...@gmail.com writes:
 Rick Moynihan rick.moyni...@gmail.com writes:

 2009/5/13 Sebastian Rose sebastian_r...@gmx.de:

 I like the idea of publishing the sources.

 Shouldn't we do something like this on worg too?


 This is probably overkill, but one option for publishing the raw
 org-mode files is blorgit http://orgmode.org/worg/blorgit.php


How did I overlook blorgit??

This looks _really_ cool!

It's now org-remeberd und `blorgit - cool stuff from Eric Schulte' :-D 


  Sebastian


___
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


Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-14 Thread Keith Lancaster
Whoa! Blorgit is EXACTLY what I was looking for - was planning on  
trying to integrate org-mode somehow with Webby (another ruby-based  
site generator), but this blorgit looks great.


Keith

On May 14, 2009, at 2:30 PM, Sebastian Rose wrote:


Eric Schulte schulte.e...@gmail.com writes:

Rick Moynihan rick.moyni...@gmail.com writes:


2009/5/13 Sebastian Rose sebastian_r...@gmx.de:


I like the idea of publishing the sources.

Shouldn't we do something like this on worg too?



This is probably overkill, but one option for publishing the raw
org-mode files is blorgit http://orgmode.org/worg/blorgit.php



How did I overlook blorgit??

This looks _really_ cool!

It's now org-remeberd und `blorgit - cool stuff from Eric Schulte' :-D


 Sebastian


___
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


Keith Lancaster
klancaster1...@mac.com





___
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


[Orgmode] Commas in {{date(FORMAT)}}}

2009-05-14 Thread Dale Smith
I'm confused about the value of FORMAT in {{{date(FORMAT)}}}.

I wanted to use %B %e, %Y, but I have two problems.  With the
quotes, I get an eval: End of file during parsing message.  Without
the quotes, processing stops at the comma, expanding to May 14
instead of May 14, 2009.

Thanks,
  -Dale

-- 
Dale P. Smith
da...@vtiinstruments.com
216-447-4059 x2018
216-447-8951 FAX

(Company mandated disclaimer follows...)

The information in this e-mail and any attachments is intended solely
for use by the recipient(s) to whom this e-mail is addressed and may
contain confidential and/or privileged information which is exempt
from disclosure.  If you are not an intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you have received this e-mail
and any attachments in error and that dissemination, distribution,
review or copying of this e-mail and its attachments is strictly
prohibited.  If you have received this e-mail in error, please notify
the sender immediately and delete all electronic and paper copies of
this e-mail as well as any attachments.
Thank you.

http://www.vtiinstruments.com/images/vtiemaillogo.gif


___
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


[Orgmode] item with more than one type

2009-05-14 Thread Marcelo de Moraes Serpa
Hello,

I'm using the TYPES to mark items as DONE or NEXT (Next Action, GTD-related)
or a PROJECT. Sometimes, however, I'd like to have NEXT IMPORTANT for
example (I could use a tag, but this would be more evident to my eyes at
quick glance. Is it possible?

Thanks,

Marcelo.
___
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


Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-14 Thread Eric Schulte
I hope blorgit works out for you.  I've been using it for a couple of
months both at work and at home, and it's starting to get fairly
stable/reliable.

Please don't hesitate to let me know if you run into any issues.

Cheers -- Eric

Keith Lancaster klancaster1...@mac.com writes:

 Whoa! Blorgit is EXACTLY what I was looking for - was planning on
 trying to integrate org-mode somehow with Webby (another ruby-based
 site generator), but this blorgit looks great.

 Keith

 On May 14, 2009, at 2:30 PM, Sebastian Rose wrote:

 Eric Schulte schulte.e...@gmail.com writes:
 Rick Moynihan rick.moyni...@gmail.com writes:

 2009/5/13 Sebastian Rose sebastian_r...@gmx.de:

 I like the idea of publishing the sources.

 Shouldn't we do something like this on worg too?


 This is probably overkill, but one option for publishing the raw
 org-mode files is blorgit http://orgmode.org/worg/blorgit.php


 How did I overlook blorgit??

 This looks _really_ cool!

 It's now org-remeberd und `blorgit - cool stuff from Eric Schulte' :-D


  Sebastian


 ___
 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

 Keith Lancaster
 klancaster1...@mac.com





 ___
 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


___
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


[Orgmode] Faces

2009-05-14 Thread srandby

Hi,

I've been customizing faces for org-mode. Everything is easy to do 
except I can't figure out how to customize the face of lines which begin 
with # such as the following:


#+STARTUP: hidestars overview

How do I customize the face of these lines?

Scott Randby


___
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


[Orgmode] Re: Faces

2009-05-14 Thread srandby

Please disregard my previous message. I figured out how to change the face.

Scott Randby


___
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


[Orgmode] cannot edit two source code examples simultaneously

2009-05-14 Thread Hsiu-Khuern Tang
Hi Carsten,

You recently changed org-edit-src-code to use a separate buffer instead of an
indirect buffer.  One side effect of this is that I can no longer edit several
code examples at the same time: opening the second buffer will silently discard
any changes made in the first.  I would prefer this behavior: when opening the
second edit source buffer, write any changes in the first buffer to the
originating Org buffer (but don't save it, of course).

Another approach is to use different buffer names.

Thank you for your consideration!

-- 
Best,
Hsiu-Khuern.


___
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