Re: [Orgmode] Re: [PATCH] Always return refreshed category

2011-01-03 Thread Carsten Dominik

Hi Julien,

neither in the patch nor in the ChangeLog entry I am
able to find the refresh for categories in agenda
buffer preparation - even though your message states that you
have changed this.

Can you please take a fresh look and write a fresh patch?
Matt, will you be able to test that patch when it comes in?

Thanks

- Carsten

On Dec 27, 2010, at 3:23 PM, Julien Danjou wrote:


On Mon, Dec 27 2010, Julien Danjou wrote:


On Fri, Dec 24 2010, Carsten Dominik wrote:


I have reverted the patch for now.  It would be great if the two of
you could continue to try to fix it before we make another attempt.


Here's an updated patch with all the fixes above.


I've re-added a refresh in the prepare, otherwise the categories are  
not

being updated in the agenda views.
From f84b0aaa50854ebfcd70008646411e9809874346 Mon Sep 17 00:00:00 2001
From: Julien Danjou 
Date: Wed, 22 Dec 2010 15:00:27 +0100
Subject: [PATCH] Always return refreshed category

* org-icalendar.el (org-print-icalendar-entries): Do not manually
 refresh categories.

* org-clock.el (org-clock-insert-selection-line): Do not manually
 refresh categories.

* org.el (org-get-category): Refresh categories if no category found.
(org-entry-properties): Do not manually refresh categories.

It seems a very bad thing to call manually for a category refresh. It
seems better to try to refresh if we do not have a category.

Signed-off-by: Julien Danjou 
---
lisp/org-archive.el   |1 -
lisp/org-clock.el |4 +---
lisp/org-icalendar.el |1 -
lisp/org.el   |   13 ++---
4 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/lisp/org-archive.el b/lisp/org-archive.el
index e56b01f..c32ee23 100644
--- a/lisp/org-archive.el
+++ b/lisp/org-archive.el
@@ -226,7 +226,6 @@ this heading."
  (save-excursion
(org-back-to-heading t)
;; Get context information that will be lost by moving the tree
-   (org-refresh-category-properties)
(setq category (org-get-category)
  todo (and (looking-at org-todo-line-regexp)
(match-string 2))
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 93b0b52..17fccae 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -442,9 +442,7 @@ pointing to it."
(ignore-errors
  (goto-char marker)
  (setq file (buffer-file-name (marker-buffer marker))
-   cat (or (org-get-category)
-   (progn (org-refresh-category-properties)
-  (org-get-category)))
+   cat (org-get-category)
heading (org-get-heading 'notags)
prefix (save-excursion
 (org-back-to-heading t)
diff --git a/lisp/org-icalendar.el b/lisp/org-icalendar.el
index d4034fe..a1bc5ad 100644
--- a/lisp/org-icalendar.el
+++ b/lisp/org-icalendar.el
@@ -302,7 +302,6 @@ When COMBINE is non nil, add the category to  
each line."

scheduledp deadlinep todo prefix due start
tmp pri categories location summary desc uid alarm
(sexp-buffer (get-buffer-create "*ical-tmp*")))
-(org-refresh-category-properties)
(save-excursion
  (goto-char (point-min))
  (while (re-search-forward re1 nil t)
diff --git a/lisp/org.el b/lisp/org.el
index e190b84..61180ca 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8142,7 +8142,10 @@ call CMD."

(defun org-get-category (&optional pos)
  "Get the category applying to position POS."
-  (get-text-property (or pos (point)) 'org-category))
+  (let ((pos (or pos (point
+(or (get-text-property pos 'org-category)
+   (progn (org-refresh-category-properties)
+  (get-text-property pos 'org-category)

(defun org-refresh-category-properties ()
  "Refresh category text properties in the buffer."
@@ -8150,8 +8153,7 @@ call CMD."
  ((null org-category)
   (if buffer-file-name
   (file-name-sans-extension
-   (file-name-nondirectory buffer-file-name))
-"???"))
+   (file-name-nondirectory buffer-file-name
  ((symbolp org-category) (symbol-name org-category))
  (t org-category)))
beg end cat pos optionp)
@@ -13482,10 +13484,7 @@ things up because then unnecessary parsing  
is avoided."

   'add_times))
props))
  (unless (assoc "CATEGORY" props)
-   (setq value (or (org-get-category)
-   (progn (org-refresh-category-properties)
-  (org-get-category
-   (push (cons "CATEGORY" value) props))
+   (push (cons "CATEGORY" (org-get-category)) props))
  (append sum-props (nreverse props)))

(defun org-entry-get (pom property &optional inherit literal-nil)
--
1.7.2.3


--
Julien Danjou
❱ http://julien.danjou.info

Re: [Orgmode] Re: [PATCH] Always return refreshed category

2011-01-03 Thread Julien Danjou
On Mon, Jan 03 2011, Carsten Dominik wrote:

> neither in the patch nor in the ChangeLog entry I am
> able to find the refresh for categories in agenda
> buffer preparation - even though your message states that you
> have changed this.

Of course since it was a line I removed, and I removed the removal from
the patch. :)

-- 
Julien Danjou
❱ http://julien.danjou.info


pgpmRUCO36qvp.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Installing org-mode from git without byte-compiling

2011-01-03 Thread Noorul Islam K M
Jeff Horn  writes:

> Bernt, Eric Schulte, and others,
>
> Bernt recently mentioned to me on #org-mode that he doesn't
> byte-compile org-mode, which makes it much easier to read backtraces.
> I'm trying to use Eric Schulte's starter-kit fork, and the
> instructions suggest compiling org-mode.[1]
>
> Inspecting the Makefile, I see that I probably want to make the info
> documentation and have that installed automatically, I just don't want
> to byte-compile the lisp.
>
> 1) Is there a flag or something I can pass to make in order to skip
> byte-compiling but perform the rest of the script tasks? (The Makefile
> docstring suggests 'make doc' to make html and PDF docs. Will it also
> make the info docs and install them automatically?)
>
> 2) Out of curiosity, is 'make install' ever necessary when the local
> git directory is sourced into the load-path?
>

make info
make install-info

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] orgmode add-on that implements links to eshell buffers

2011-01-03 Thread Konrad Hinsen
The attached file implements a new link type "eshell". An eshell link consists 
of an optional buffer name followed by a colon, and of an eshell command line. 
Opening the link switches to the indicated buffer, creating it if necessary, or 
to the default *eshell* buffer, and executes the command line exactly as if it 
were entered from the keyboard. Inside an eshell buffer, org-store-link stores 
a link that switches back to the same buffer and does a  cd to the current 
working directory.

I'd be happy to contribute this file to org-mode if there is interest.

Konrad.



org-eshell.el
Description: Binary data
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [PATCH] Always return refreshed category

2011-01-03 Thread Carsten Dominik


On Jan 3, 2011, at 11:57 AM, Julien Danjou wrote:


On Mon, Jan 03 2011, Carsten Dominik wrote:


neither in the patch nor in the ChangeLog entry I am
able to find the refresh for categories in agenda
buffer preparation - even though your message states that you
have changed this.


Of course since it was a line I removed, and I removed the removal  
from

the patch. :)


Indeed.  Thanks.

Still, I have only taken part of the patch.  Calling the property update
explicitly is important in some cases, as you have noticed.

Best wishes

- Carsten


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] Display invisible entry text at point when visiting a task from the agenda

2011-01-03 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Jan 1, 2011, at 2:33 PM, Bernt Hansen wrote:


* lisp/org-agenda.el (org-agenda-goto): Display invisible entry text
* lisp/org-agenda.el (org-agenda-switch-to): Display invisible entry  
text


Visiting clock lines with RET or TAB in the agenda can put point on a
folded clock drawer.  This means you are editing invisible/hidden text
inside the task entry.  Now when moving to invisible regions show the
entry so point is always visible.
---
Hi,

I regularly visit clock line details from the agenda (C-u l then TAB  
or
RET on a clock line or state change log entry line).  My clocks and  
state changes

are in two separate drawers :CLOCK: and :LOGBOOK: respectively.

Visiting lines inside drawers are normally folded for me and the  
point is

buried in invisible text.

This patch is available at git://git.norang.ca/org-mode.git agenda- 
visit-shows-entry


Happy New Year all!

-Bernt

lisp/org-agenda.el |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index f787240..bf36758 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6486,7 +6486,9 @@ and by additional input from the age of a  
schedules or deadline entry."

  (org-show-context 'agenda)
  (save-excursion
(and (outline-next-heading)
-(org-flag-heading nil ; show the next heading
+(org-flag-heading nil  ; show the next heading
+(when (outline-invisible-p)
+  (show-entry)); display invisible text
(recenter (/ (window-height) 2))
(run-hooks 'org-agenda-after-show-hook)
(and highlight (org-highlight (point-at-bol) (point-at-eol)
@@ -6672,7 +6674,9 @@ at the text of the entry itself."
(org-show-context 'agenda)
(save-excursion
  (and (outline-next-heading)
-  (org-flag-heading nil)))  ; show the next heading
+  (org-flag-heading nil))) ; show the next heading
+   (when (outline-invisible-p)
+ (show-entry)) ; display invisible text

(defun org-agenda-goto-mouse (ev)
  "Go to the Org-mode file which contains the item at the mouse  
click."

--
1.7.4.rc0


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] org-plist-delete rewrite

2011-01-03 Thread Carsten Dominik

I removed the duplicate definition.

Thanks.

- Carsten


On Dec 24, 2010, at 5:46 PM, Julien Danjou wrote:


* org-macs.el (org-plist-delete): Rewrite faster.

* org.el (org-plist-delete): Remove duplicate from org-macs.el.

Signed-off-by: Julien Danjou 
---
lisp/org-macs.el |   16 +++-
lisp/org.el  |   10 --
2 files changed, 7 insertions(+), 19 deletions(-)

diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 97a8fdc..608c0d7 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -289,15 +289,13 @@ we turn off invisibility temporarily.  Use  
this in a `let' form."

(goto-char (point-at-bol))
(looking-at re)))

-(defun org-plist-delete (plist property)
-  "Delete PROPERTY from PLIST.
-This is in contrast to merely setting it to 0."
-  (let (p)
-(while plist
-  (if (not (eq property (car plist)))
- (setq p (plist-put p (car plist) (nth 1 plist
-  (setq plist (cddr plist)))
-p))
+(defun org-plist-delete (plist prop)
+"Delete PROPERTY from PLIST."
+  (let ((p (memq prop plist)))
+(if (not p)
+plist
+  (setcdr p (cddr p))
+  (delq prop plist

(defun org-replace-match-keep-properties (newtext &optional fixedcase
  literal string)
diff --git a/lisp/org.el b/lisp/org.el
index 5fb2ba4..dd18189 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -17995,16 +17995,6 @@ With prefix arg UNCOMPILED, load the  
uncompiled versions."
  (concat "\"" (mapconcat 'identity (split-string s "\"")  
"\"\"") "\"")

s))

-(defun org-plist-delete (plist property)
-  "Delete PROPERTY from PLIST.
-This is in contrast to merely setting it to 0."
-  (let (p)
-(while plist
-  (if (not (eq property (car plist)))
- (setq p (plist-put p (car plist) (nth 1 plist
-  (setq plist (cddr plist)))
-p))
-
(defun org-force-self-insert (N)
  "Needed to enforce self-insert under remapping."
  (interactive "p")
--
1.7.2.3


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


- Carsten




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Babel and R issue when exporting to PDF via LaTeX in Windows 7

2011-01-03 Thread Erik Iverson



Ben Ward wrote:

Hi, all, I hope someone can help with this issue,

Unfortunately I'm having a work PC upgrade, and it means Windows 7 and 
the order not to install any other system on it for compatibility and 
for the IT experts - I use the term loosely, to only need to know how to 
use one system.


Im trying to get org-mode set up with emacs so I can icorporate R code 
in my documents - like Sweave functionality. I have this achieved in 
Arch Linux. Howeer when I export to PDF in Windows 7 I'm just getting a 
PDF with Titl, Author, Date, and Contents and then no R stuff.


Is R in your path?  ESS uses its own tricks to find a valid version
of R on your system, but I think org-mode will just use your system
path, if I recall correctly.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Manual typos/dead link

2011-01-03 Thread Steve Hafner
In the recent org manual,

3294 @lisp
3295 (add-hook 'org-load-hook
3296   (lambda ()
3297 (define-key 'org-mode-map "\C-n" 'org-next-link)
3298 (define-key 'org-mode-map "\C-p" 'org-previous-link)))
3299 @end lisp

I think should be

3294 @lisp
3295 (add-hook 'org-load-hook
3296   (lambda ()
3297 (define-key org-mode-map "\C-n" 'org-next-link)
3298 (define-key org-mode-map "\C-p" 'org-previous-link)))
3299 @end lisp

Also, in section "15.10.1 Packages that Org cooperates with" under the
item  "calc.el by Dave Gillespie", the link "See Embedded Mode" is
dead.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: encoding problems in org website

2011-01-03 Thread Sébastien Vauban
Hi Rustom and Bastien,

Bastien wrote:
> Rustom Mody  writes:
>
>> I see this line in http://orgmode.org/Changes.html#sec-1_2_8
>>
>> Thanks to Sébastien Vauban for this contribution.
>
> Er...
>
>> Apart from the fact that Sebastien has been square rooted, he has also
>> become Bastien!
>
> Fixed in git, should appear soon on the website.
>
> Sorry Sebastien!  And thanks Rustom for pointing this.

No worry. Thanks for the correction, anyway!

"Add msosql engine to sql code blocks -- SQL code blocks can now be executed
using the myosql engine on Windows systems."

To be more accurate, I'd write:

"msosql engine ... using the osql command (from MS SQL Server) on Windows
systems."

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Babel and R issue when exporting to PDF via LaTeX in Windows 7

2011-01-03 Thread Ben Ward

On 03/01/2011 15:57, Erik Iverson wrote:



Ben Ward wrote:

Hi, all, I hope someone can help with this issue,

Unfortunately I'm having a work PC upgrade, and it means Windows 7 
and the order not to install any other system on it for compatibility 
and for the IT experts - I use the term loosely, to only need to know 
how to use one system.


Im trying to get org-mode set up with emacs so I can icorporate R 
code in my documents - like Sweave functionality. I have this 
achieved in Arch Linux. Howeer when I export to PDF in Windows 7 I'm 
just getting a PDF with Titl, Author, Date, and Contents and then no 
R stuff.


Is R in your path?  ESS uses its own tricks to find a valid version
of R on your system, but I think org-mode will just use your system
path, if I recall correctly.



Thats it! It works now =] I didn't realise/forgot Windows 7 needed stuff 
to be added to the path manually, I've not needed to do it on my other 
systems. I assumed the lovely .exe installer wizards would take care of 
such things when installing stuff.


Thanks,
Ben.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] migrating from planner mode

2011-01-03 Thread Bastien
Hi Seb,

Seb  writes:

> I'm resuscitating this old thread, which is the only one I found on the
> subject as someone starting to peek into Org and exploring ways to
> migrate from Planner.  

You may have a look at this perl script: 

  http://www.c0t0d0s0.de/plan2org/plan2org.pl

I added a FAQ in Worg about migration for Planner with just this link,
maybe other can improve the FAQ later.

HTH,

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Manual typos/dead link

2011-01-03 Thread Bastien
Hi Steve,

Steve Hafner  writes:

> In the recent org manual,
>
> 3294 @lisp
> 3295 (add-hook 'org-load-hook
> 3296   (lambda ()
> 3297 (define-key 'org-mode-map "\C-n" 'org-next-link)
> 3298 (define-key 'org-mode-map "\C-p" 'org-previous-link)))
> 3299 @end lisp
>
> I think should be
>
> 3294 @lisp
> 3295 (add-hook 'org-load-hook
> 3296   (lambda ()
> 3297 (define-key org-mode-map "\C-n" 'org-next-link)
> 3298 (define-key org-mode-map "\C-p" 'org-previous-link)))
> 3299 @end lisp

Fixed, thanks.

> Also, in section "15.10.1 Packages that Org cooperates with" under the
> item  "calc.el by Dave Gillespie", the link "See Embedded Mode" is
> dead.

This link works when reading the Info version of the manual, and points
to the Calc manual.  I don't know how to handle this problem - except by
adding the Calc manual to http://orgmode.org.

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Attempting to build latest version

2011-01-03 Thread J. David Boyd

I'm getting this error message:



In toplevel form:
lisp/org-indent.el:223:39:Error: Wrong type argument: listp, nstars
make: *** [lisp/org-indent.elc] Error 1



Any ideas how to get around this?


Dave


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-special-blocks.el is now part of the core

2011-01-03 Thread Bastien
Hi all,

Carsten received the completed FSF assignment of Chris Gray, author of
org-special-blocks.el.  I just moved this contrib from contrib/lisp/
into the core (lisp/), it will be part of the next Emacs release.

Here is a summary of what org-special-blocks.el does:

;; This package generalizes the #+begin_foo and #+end_foo tokens.

;; To use, put the following in your init file:
;;
;; (require 'org-special-blocks)

;; The tokens #+begin_center, #+begin_verse, etc. existed previously.
;; This package generalizes them (at least for the LaTeX and html
;; exporters).  When a #+begin_foo token is encountered by the LaTeX
;; exporter, it is expanded into \begin{foo}.  The text inside the
;; environment is not protected, as text inside environments generally
;; is.  When #+begin_foo is encountered by the html exporter, a div
;; with class foo is inserted into the HTML file.  It is up to the
;; user to add this class to his or her stylesheet if this div is to
;; mean anything.

Thanks Chris!

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-special-blocks.el is now part of the core

2011-01-03 Thread Christian Moe

Great! Special blocks is a really helpful contribution.

Yours,
Christian

On 1/3/11 8:21 PM, Bastien wrote:

Hi all,

Carsten received the completed FSF assignment of Chris Gray, author of
org-special-blocks.el.  I just moved this contrib from contrib/lisp/
into the core (lisp/), it will be part of the next Emacs release.

Here is a summary of what org-special-blocks.el does:

;; This package generalizes the #+begin_foo and #+end_foo tokens.

;; To use, put the following in your init file:
;;
;; (require 'org-special-blocks)

;; The tokens #+begin_center, #+begin_verse, etc. existed previously.
;; This package generalizes them (at least for the LaTeX and html
;; exporters).  When a #+begin_foo token is encountered by the LaTeX
;; exporter, it is expanded into \begin{foo}.  The text inside the
;; environment is not protected, as text inside environments generally
;; is.  When #+begin_foo is encountered by the html exporter, a div
;; with class foo is inserted into the HTML file.  It is up to the
;; user to add this class to his or her stylesheet if this div is to
;; mean anything.

Thanks Chris!




___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Understanding habits - repeat interval

2011-01-03 Thread Tommy Kelly
I'm trying a first use of the habits tracking function but I'm not sure
I understand the way they are set up. I have three questions. Here's the
first. 

Is it possible to set up a daily habit -- that is, one that should be
done at least every day and at most every day (as opposed to the
"shaving" example in the manual where the at-most and at-least numbers
are different). Suppose I want to shave every day. Is this correct:

 ** TODO Shave
SCHEDULED: <2009-10-17 Sat .+1d>

I already tried the following but it gives an error:

 ** TODO Shave
SCHEDULED: <2009-10-17 Sat .+1d/1d>


The first seems to work but it's giving me a confusing bar chart (more
on that later), so I wanted to ask in case the repeater is wrong.

thanks,
Tommy


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Understanding habits - graph coloring of single missed day

2011-01-03 Thread Tommy Kelly

Assuming I have the correct repeater syntax for a daily habit, what
should the colored graph look like if I do the task consistently for a
few days, then miss a day, then pick up the task again? What I expected
to see was:


- a set of GREEN cells (with asterisks)
- a RED cell (no asterisk) for the missed day
- more GREEN cells (again with asterisks). 

But what I actually see is 

- a set of GREEN cells (with *)
- a YELLOW cell (no *) for the missed day
- a RED cell (with *) for the day after the missed day
- more GREEN cells (with *)

 Is that the way it's supposed to be? It doesn't seem right somehow.

thanks,
Tommy


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Understanding habits - org-log-done

2011-01-03 Thread Tommy Kelly

For habits to work, he manual says that "You must also have state
logging for the DONE state enabled". My experimentation leads me to
believe that the state logging must not only be enabled but it must be
such that org-log-done is set to 'time and *not* to 'note. I tried the
latter and it doesn't seem to be interpreted as a state change. 

Is that as it should be?

Suppose I want to keep a note. Maybe it's "Go for run" and I want to log
time or distance. Is that possible?

thanks,
Tommy


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Question on "Document creation workflow"

2011-01-03 Thread Erwin Panen

Happy New Year to all listreaders & users!!

I'm debating a possible workflow, here's the idea:

Would the following be conceivable?
- I'd like to prepare a legal (or comparable, just an example) dossier / 
document
- document would contain links to other documents, even snippets from 
such document (use bib reference on self made document?)

- Document needs to be exported to:
  - doc format
  - pdf format
  - html format (ready to be publicezed on web server)
  - preferabley links need to remain intact & functioning

Is this conceivable at all?
Is anyone doing something similar? Example or pointers to example?
What would be the best approach to treating linked files? (even 
considering using git)

knowing that you'd be working on multiple PC's even multiple OS'es?
I'm mainly worried of the relative position of the linked files..

Thanks for your precious input!

Erwin

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Question on "Document creation workflow"

2011-01-03 Thread Russell Adams

> - document would contain links to other documents, even snippets
> from such document (use bib reference on self made document?)
> - Document needs to be exported to:
>   - doc format
>   - pdf format
>   - html format (ready to be publicezed on web server)
>   - preferabley links need to remain intact & functioning

I frequently dual format documents for PDF and HTML. Doc is generally
just Word importing the HTML. With this method links remain.

Regarding links, keep them local if they refer to files using relative
names from the current directory, and doublecheck any URLs.

I'm not sure how footnotes would work here.

Good luck!

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Question on "Document creation workflow"

2011-01-03 Thread Jambunathan K

Erwin Panen  writes:

> Happy New Year to all listreaders & users!!
>
> I'm debating a possible workflow, here's the idea:
>
> Would the following be conceivable?
> - I'd like to prepare a legal (or comparable, just an example) dossier
> / document
> - document would contain links to other documents, even snippets from
> such document (use bib reference on self made document?)
> - Document needs to be exported to:
>   - doc format
>   - pdf format
>   - html format (ready to be publicezed on web server)
>   - preferabley links need to remain intact & functioning
>
> Is this conceivable at all?
> Is anyone doing something similar? Example or pointers to example?
> What would be the best approach to treating linked files? (even
> considering using git)
> knowing that you'd be working on multiple PC's even multiple OS'es?
> I'm mainly worried of the relative position of the linked files..
>
> Thanks for your precious input!
>

Org is mature enough to handle your requirements. Specifically look at
export and publishing modules. You can use git for syncing documents
between different PCs.

If you are interested in linking to documents that are *not* generated
by Org then Org's attachment function could be of some help to you.

Hope this helps. 
Jambunathan K.

> Erwin
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] A new server for http://orgmode.org - Jason is its maintainer

2011-01-03 Thread Bastien
Dear all,

I asked Jason if he could take care of http://orgmode.org and I'm glad
he kindly accepted.  We've been working on the website migration: it's
effective since yesterday.

Links and services like mathjax or org-info-js work as expected.  If 
you notice anything missing/broken, please tell us.

On top of his time, Jason also pays for the server cost.

Thanks a lot Jason!

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Introducing gnugol - an org-mode-output web search client

2011-01-03 Thread Bart Bunting
Hi Dave,

I have tried to download the git source of gnugol and compile it.

Running into a few issues at the moment:  I did download and build the
jansson library which is installed in /usr/local 

However when I run gnugol I'm seeing the following error:

Errors: google(1): ../engines/google.so: cannot open shared object file: No 
such file or directory
google: failed to acquire shared lib

Warnings:google(1): Not in default location, error: libjansson.so.0: cannot 
open shared object file: No such file or directory

b...@zig:~/src/Gnugol$ 

I have the *.so files from gnugol in the default place that the makefile
puts them, /var/lib/gnugol.  I also tried simlinking them into
/usr/local/lib but this doesn't appear to make any difference.

The error also suggests that the janson library isn't being found.

Although the ldd output doesn't appear to list it?

$ which gnugol
/usr/local/bin/gnugol
b...@zig:~/src/Gnugol$ ldd /usr/local/bin/gnugol
linux-vdso.so.1 =>  (0x7fffab5ff000)
libcurl-gnutls.so.4 => /usr/lib/libcurl-gnutls.so.4 (0x7f8c9eccc000)
libdl.so.2 => /lib/libdl.so.2 (0x7f8c9eac8000)
libc.so.6 => /lib/libc.so.6 (0x7f8c9e744000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x7f8c9e511000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x7f8c9e303000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x7f8c9e0b7000)
librt.so.1 => /lib/librt.so.1 (0x7f8c9deae000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x7f8c9dc79000)
libz.so.1 => /lib/libz.so.1 (0x7f8c9da6)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x7f8c9d7bf000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x7f8c9d545000)
/lib64/ld-linux-x86-64.so.2 (0x7f8c9ef44000)
libresolv.so.2 => /lib/libresolv.so.2 (0x7f8c9d329000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x7f8c9d10f000)
libpthread.so.0 => /lib/libpthread.so.0 (0x7f8c9cef1000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x7f8c9cc2c000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x7f8c9ca05000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x7f8c9c801000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x7f8c9c5f8000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x7f8c9c3e7000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x7f8c9c1e3000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x7f8c9bfdf000)
b...@zig:~/src/Gnugol$ 


I'm running the current unstable ubuntu branch natty.  It also appears
to have no package for janson.

Any suggestions would be welcome.

Cheers

Bart
 
On Sun, 02 Jan 2011 15:28:00 -0800, Dave Taht  wrote:
> I have been an avid user of org-mode for over 2 years now.
> 
> It has grown increasingly painful to exit emacs to use anything else!
> Recently I found that making the jump to web-search-space was bothering
> me...
> 
> So over the holiday I wrote a command line web search client with an
> emacs interface and called it "gnugol". It uses the google json and bing
> json APIs to search the web, and outputs the results in plain text, in
> whatever format you're working in, notably, org, so you can navigate the
> results in the mind-set you're in.
> 
> Gnugol is small, fast, simple, and growing more useful by the day. (I
> wrote the doc (http://gnugol.taht.net) for it in org-mode, too)
> 
> It's not fully baked yet, but it's usable/reliable enough to have
> plausible promise for other org-mode users, so I'm announcing it today,
> here, in the hope I'll get comments, criticism, and patches.(especially,
> patches! I'm not much of an elisp hacker, and a full on in-org interface
> is thus far beyond me)
> 
> Installation instructions:
> 
> gnugol compiles on various linuxen (tested on debian/ubuntu x86, arm,
> x86_64) and OSX
> 
> If you are using debian, you should be able to obtain almost all the
> dependencies by doing a:
> 
> sudo apt-get install curl-dev
> 
> Regrettably, the json library jansson does not have a debian package yet
> (at least on my distro), so you need to download and build it
> separately. The git version has API changes that I haven't grokked yet,
> so get version 1.3 from:
> 
> http://www.digip.org/jansson/
> 
> And go through the standard ./configure && make && make install # process
> 
> And for gnugol itself:
> 
> git clone git://github.com/dtaht/Gnugol.git
> cd Gnugol
> make; sudo make install
> 
> Copy the src/lisp/gnugol.el into your ~/.emacs.d directory and put a
> (require 'gnugol) into your .emacs...
> 
> At the command line:
> 
> $ gnugol keywords to search for
> 
> In Emacs, esc-x gnugol phrase to look for
> 
> Example output:
> 
> # note, wrapped by my mail client, not gnugol
> d...@cruithne:~/src/gnugol$ gnugol org-mode search engine
> 
> ** [[http://orgmode.org/worg/blorgit.php][Blorgit: Org-Mode based, git
> amenable, blogging engine]]
>Blorgit is a blogging en

[Orgmode] Re: Understanding habits - repeat interval

2011-01-03 Thread Bernt Hansen
Tommy Kelly  writes:

> I'm trying a first use of the habits tracking function but I'm not sure
> I understand the way they are set up. I have three questions. Here's the
> first. 
>
> Is it possible to set up a daily habit -- that is, one that should be
> done at least every day and at most every day (as opposed to the
> "shaving" example in the manual where the at-most and at-least numbers
> are different). Suppose I want to shave every day. Is this correct:
>
>  ** TODO Shave
> SCHEDULED: <2009-10-17 Sat .+1d>

This should work.

>
> I already tried the following but it gives an error:
>
>  ** TODO Shave
> SCHEDULED: <2009-10-17 Sat .+1d/1d>

Recent versions of org-mode flag this as an error.  So I just use the
first example you have for things that repeat daily (as habits)

,
| if: Habit Shave deadline repeat period is less than or equal to scheduled 
(.+1d/1d)
`

I'm not sure why equal is considered an error in this case.  It breaks
agenda display completely for me until I edit the offending habit entry.

>
> The first seems to work but it's giving me a confusing bar chart (more
> on that later), so I wanted to ask in case the repeater is wrong.

Any repeater should be valid.  (.+1d, ++1d, +1d)

Regards,
Bernt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Matt Lundin is the new Worg maintainer

2011-01-03 Thread Bastien
Dear all,

another great news: Matt Lundin accepted to become the new maintainer of
Worg.  Requests to get push access to Worg should now be emailed to Matt
directly.  See this page for more on Worg maintainance:

  http://orgmode.org/worg/worg-maintainance.html

Thanks a lot Matt!

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Understanding habits - graph coloring of single missed day

2011-01-03 Thread Bernt Hansen
Tommy Kelly  writes:

> Assuming I have the correct repeater syntax for a daily habit, what
> should the colored graph look like if I do the task consistently for a
> few days, then miss a day, then pick up the task again? What I expected
> to see was:
>
>
> - a set of GREEN cells (with asterisks)
> - a RED cell (no asterisk) for the missed day
> - more GREEN cells (again with asterisks). 
>
> But what I actually see is 
>
> - a set of GREEN cells (with *)
> - a YELLOW cell (no *) for the missed day
> - a RED cell (with *) for the day after the missed day
> - more GREEN cells (with *)
>
>  Is that the way it's supposed to be? It doesn't seem right somehow.

I think that's right.  The *'s mark the days you did the habit.  As I
understand it the meaning of the colors is as follows:

   BLUE: Done early (before the next repeat interval)
   GREEN: Done on time
   YELLOW: Will be late on the following day if not done on this date
   RED: overdue

So a daily repeating task will always have today in yellow (since it'll
be late (red) if you don't do it today.)  For a daily task any days
without a * are missed.

For habits that that can go a day or two (or longer) without requiring a
repeat the colors probably make more sense.

Regards,
Bernt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Matt Lundin is the new Worg maintainer

2011-01-03 Thread Samuel Wales
Thanks, Matt.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
I support WPI: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] A new server for http://orgmode.org - Jason is its maintainer

2011-01-03 Thread Samuel Wales
Thanks, Jason.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
I support WPI: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] pcomplete bug in 7.4

2011-01-03 Thread kelaouchi

Hello,


Completing todo keywords using M-TAB always works for "TODO"
and "WAITING" on 7.4 (except it doesn't add any space after keyword).

Completing other todo keywords (as "SOMEDAY", "CANCELLED", ...) only
works the first time i run M-TAB.

For example, after having typed :

* SOM

completing using M-TAB will well outputs :

* SOMEDAY

But if once more i need to create a "SOMEDAY" task, completing :

* SOM

does not work.


Commit that breaks completing looks like to be :
0ff8d32131b58a655492b97ebb9536907efa64dd.

Reverting fixed it for me.


Best regards.

kelaouchi

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] datetree+file broken?

2011-01-03 Thread Daniel E . Doherty

All,

I have the following templates defined for org-capture:

,
| (setq org-capture-templates
|   '(("t" "Todo Item" entry
|  (file+headline  org-default-notes-file "Tasks")
|  "* TODO %? %^G\n  %a")
| ("p" "Phone Call Log" entry
|  (file+headline org-default-notes-file "Phone calls")
|  "* %U Phone call with %:name %^G\n\n  %?")
| ("i" "Invoice" entry
|  (file+headline org-default-notes-file "Invoices")
|  "* %^T  %^G\n  %?")
| ("j" "Journal Entry" entry
|  (file+datetree (concat org-directory "Journal.org"))
|  "* Entered on %U\n %i%?\n%a")))
`

But when I hit 'j' at the capture dispatch and make an entry, it goes
into my defult notes file, Notes.org, rathern than Journal.org, like it
should.

Does anyone else get this?
-- 



Daniel E. Doherty
7300 W. 110th Street, Suite 930
Overland Park, KS 66210
913.338.7182 (Phone)
913,338.7164 (FAX)

Up the airy mountain,
Down the rushy glen,
We daren't go a-hunting,
For fear of little men.
  --- William Allingham (Donegal, Ireland)

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Understanding habits - org-log-done

2011-01-03 Thread Bernt Hansen
Tommy Kelly  writes:

> For habits to work, he manual says that "You must also have state
> logging for the DONE state enabled". My experimentation leads me to
> believe that the state logging must not only be enabled but it must be
> such that org-log-done is set to 'time and *not* to 'note. I tried the
> latter and it doesn't seem to be interpreted as a state change. 
>
> Is that as it should be?
>
> Suppose I want to keep a note. Maybe it's "Go for run" and I want to log
> time or distance. Is that possible?

I can confirm this.  I personally only log state changes to DONE but
setting a LOGGING property value of lognotedone prompts for a note and
fails to show the history for the habit in the graph.

This is probably a bug.

Regards,
Bernt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] error navigating the agenda "org-agenda-earlier"

2011-01-03 Thread Richard Riley

Using org from git today:-

C-c a a to bring up my agenda for the week.

,
| b runs the command org-agenda-earlier, which is an interactive compiled Lisp
| function in `org-agenda.el'.
`

Debugger entered--Lisp error: (error "Not allowed in nil-type agenda buffers")
  signal(error ("Not allowed in nil-type agenda buffers"))
  error("Not allowed in %s-type agenda buffers" nil)
  org-agenda-check-type(t agenda)
  org-agenda-later(-1)
  org-agenda-earlier(1)
  call-interactively(org-agenda-earlier nil nil)

The first few "b" presses worked then sometime in my october I got the
above.

If you cant reproduce I can try and narrow it down more.



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: error navigating the agenda "org-agenda-earlier"

2011-01-03 Thread Bernt Hansen
Richard Riley  writes:

> Using org from git today:-
>
> C-c a a to bring up my agenda for the week.
>
> ,
> | b runs the command org-agenda-earlier, which is an interactive compiled Lisp
> | function in `org-agenda.el'.
> `
>
> Debugger entered--Lisp error: (error "Not allowed in nil-type agenda buffers")
>   signal(error ("Not allowed in nil-type agenda buffers"))
>   error("Not allowed in %s-type agenda buffers" nil)
>   org-agenda-check-type(t agenda)
>   org-agenda-later(-1)
>   org-agenda-earlier(1)
>   call-interactively(org-agenda-earlier nil nil)
>
> The first few "b" presses worked then sometime in my october I got the
> above.
>
> If you cant reproduce I can try and narrow it down more.

Hi Richard,

More information would be good.  Things like:

  - what is the SHA1 of the git commit are you on?
  - Is it back that breaks or something on the week you are displaying?
  - Is your org-agenda-files variable a list of files, directories, other?

I can't reproduce this here.  I went back to September 2010 a week at a
time without any problems.  I'm currently using org-agenda-files with a
list of directories instead of files (but I have no idea if that has
anything to do with your problem or not).

Regards,
Bernt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: error navigating the agenda "org-agenda-earlier"

2011-01-03 Thread Richard Riley
Bernt Hansen  writes:

> Richard Riley  writes:
>
>> Using org from git today:-
>>
>> C-c a a to bring up my agenda for the week.
>>
>> ,
>> | b runs the command org-agenda-earlier, which is an interactive compiled 
>> Lisp
>> | function in `org-agenda.el'.
>> `
>>
>> Debugger entered--Lisp error: (error "Not allowed in nil-type agenda 
>> buffers")
>>   signal(error ("Not allowed in nil-type agenda buffers"))
>>   error("Not allowed in %s-type agenda buffers" nil)
>>   org-agenda-check-type(t agenda)
>>   org-agenda-later(-1)
>>   org-agenda-earlier(1)
>>   call-interactively(org-agenda-earlier nil nil)
>>
>> The first few "b" presses worked then sometime in my october I got the
>> above.
>>
>> If you cant reproduce I can try and narrow it down more.
>
> Hi Richard,
>
> More information would be good.  Things like:
>
>   - what is the SHA1 of the git commit are you on?
>   - Is it back that breaks or something on the week you are displaying?
>   - Is your org-agenda-files variable a list of files, directories, other?
>
> I can't reproduce this here.  I went back to September 2010 a week at a
> time without any problems.  I'm currently using org-agenda-files with a
> list of directories instead of files (but I have no idea if that has
> anything to do with your problem or not).

Hi Bernd,

It's a list of files. I will try the list of directories tomorrow AM and
let you know - I dont *think* that was possible when I set my org up ;)

r.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [org-beamer] Help: Questions about overlay, background image, spacing between bullet points, and footnote

2011-01-03 Thread Eric S Fraga
Sunny Srivastava  writes:

> Hello Org-moders:
>
> I was trying to use org-mode to make a beamer presentation. The
> tutorial on Worg by Eric Fraga helped a lot (thank you Eric).

You're very welcome.  Sorry for delay in answering but I have avoided
much of my email over the xmas period... :-)

> However, I am stuck with a few questions. Some of them are because of
> me being picky (apologies in advance for that). To make my questions
> clearer here is a reproducible example

I cannot help you with most of what you are asking unfortunately.
Hopefully others will.  You may wish to check out the beamer mailing
list or newsgroup for help as well?

[...]

> 4. Background Image for a slide :: I wanted to insert (different)
> background images on different slides and I was trying to use
> something like:
>
> \usebackgroundtemplate{\includegraphics[width=\paperwidth]{../images/
> crayons.png}}
>
> But, this did not work for me. Is there a way of doing this? I also
> tried Eric's example of inserting images but failed again. He says "I
> have added an attribute to the image to tell LaTeX to scale the image
> to the full width of the column." I think my problem is related to

The attribute I was referring to is the ATTR_LATEX line which specified
the width of the image but, in my case, the latex code created by org
will be \includegraphics[...]{...}.  Your question here is more of a
beamer question than an org question.  Is the latex code you specify
above exported correctly by org?  That is, have you looked at the latex
code created by the export to see what it looks like?

Happy new year to all!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.4 (release_7.4.100.gdf7d)

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] shrinking contents on one slide in beamer export

2011-01-03 Thread Eric S Fraga
Suvayu Ali  writes:

> On Sunday 26 December 2010 10:09 AM, Neil Hepburn wrote:
>> Greetings,
>> I am trying to produce a Beamer slide presentation from org-mode. I have a 
>> slide that has some output from R in a src_block. The problem is that the 
>> material that I want to present (coefficients from a regression) is just a 
>> bit too wide for the page. If I were writing this in native LaTeX, I could 
>> do something like
>
>> \begin{frame}[shrink=5]\frametitle{some stuff}
>> contents here
>> \end{frame}
>>
>> How do I pass the shrink argument to latex from org-mode?
>>
>
> I haven't used it but the org info node Beamer class[fn:1] export might
> help, look for BEAMER_extra.

[...]

Putting [shrink=5] in your BEAMER_envargs property will do it, as in:

--8<---cut here---start->8---
*** Example slide
:PROPERTIES:
:BEAMER_envargs: [shrink=5]
:END:

- one point
- another
--8<---cut here---end--->8---


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.4 (release_7.4.100.gdf7d)

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Bug report: filing into a date tree in year 2011 when 2010 exists in file

2011-01-03 Thread Charles Cave
> Carsten Dominik  gmail.com> writes:

> Strange, for me this worked without any problems this morning.

I have found that the new year was created in other files but it definitely
misbehaves in my taskdiary.org file.  

I can only assume there is a pattern of characters that fools the algorithm
for locating the headline

I did another test and this is what the sparse tree looks like:

* 2010
  :PROPERTIES: ...
* 2010-10 October...
* 2010-11 November...
* 2011-01 January   
 * Testing
  Added [2011-01-04 Tue 14:45]

I will keep checking the data and see if I can locate the offending text.
It is annoying to see the years out of sequence

Charles

http://twitter.com/#!/ozcaveman


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Bug report: filing into a date tree in year 2011 when 2010 exists in file

2011-01-03 Thread Carsten Dominik

What would be helpful is a minimal file that, as a date-tree target,
reproduces the issue.  I am sure the problem could then easily be found.

- Carsten

On Jan 4, 2011, at 4:48 AM, Charles Cave wrote:


Carsten Dominik  gmail.com> writes:



Strange, for me this worked without any problems this morning.


I have found that the new year was created in other files but it  
definitely

misbehaves in my taskdiary.org file.

I can only assume there is a pattern of characters that fools the  
algorithm

for locating the headline

I did another test and this is what the sparse tree looks like:

* 2010
 :PROPERTIES: ...
   * 2010-10 October...
   * 2010-11 November...
   * 2011-01 January
* Testing
 Added [2011-01-04 Tue 14:45]

I will keep checking the data and see if I can locate the offending  
text.

It is annoying to see the years out of sequence

Charles

http://twitter.com/#!/ozcaveman


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] A new server for http://orgmode.org - Jason is its maintainer

2011-01-03 Thread Noorul Islam K M
Bastien  writes:

> Dear all,
>
> I asked Jason if he could take care of http://orgmode.org and I'm glad
> he kindly accepted.  We've been working on the website migration: it's
> effective since yesterday.
>
> Links and services like mathjax or org-info-js work as expected.  If 
> you notice anything missing/broken, please tell us.
>
> On top of his time, Jason also pays for the server cost.
>

Thank you Jason for supporting this org mode community.

Thanks and Regards
Noorul

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Bug report: filing into a date tree in year 2011 when 2010 exists in file

2011-01-03 Thread Carsten Dominik


On Jan 4, 2011, at 7:24 AM, Carsten Dominik wrote:


What would be helpful is a minimal file that, as a date-tree target,
reproduces the issue.  I am sure the problem could then easily be  
found.


If you want to follow the procedure yourself, do

M-x debug-on-entry RET org-datetree-find-year-create RET

and then step through the function and try to understand why
it identified the 2010 tree as a match.

- Carsten





- Carsten

On Jan 4, 2011, at 4:48 AM, Charles Cave wrote:


Carsten Dominik  gmail.com> writes:



Strange, for me this worked without any problems this morning.


I have found that the new year was created in other files but it  
definitely

misbehaves in my taskdiary.org file.

I can only assume there is a pattern of characters that fools the  
algorithm

for locating the headline

I did another test and this is what the sparse tree looks like:

* 2010
:PROPERTIES: ...
  * 2010-10 October...
  * 2010-11 November...
  * 2011-01 January
   * Testing
Added [2011-01-04 Tue 14:45]

I will keep checking the data and see if I can locate the offending  
text.

It is annoying to see the years out of sequence

Charles

http://twitter.com/#!/ozcaveman


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode