[Orgmode] Re: Variable 'org-ctrl-k-protect-subtree' defaults to nil

2010-11-02 Thread Noorul Islam K M
 writes:

> Hi everyone,
>
> It's the first time I'm giving any feedback on org-mode, so first of all I 
> would like to congratulate the original creator and all contributors on a 
> very interesting and useful work.
>
> I've discovered org-mode only a couple of weeks ago and was intrigued enough 
> to restart using emacs, after several years away from it! I've been studying 
> Org's documentation and tutorials, and started using it to help me manage my 
> relocation from Brazil to Italy.
>
> What I am reporting, technically, is a feature: the fact that variable 
> 'org-ctrl-k-protect-subtree' defaults to nil. But considering how easy this 
> makes to lose a whole subtree of data, especially for a newcomer to org-mode, 
> I think it should be considered a serious bug. As a matter of fact, I am very 
> surprised that C-k would be considered an admissible alternative to C-c C-x 
> C-w/M-w, as a way to kill a subtree!
>
> I propose that 'org-ctr-k-protect-subtree' is made to default to 't' ASAP 
> (already costumized it in that way on my setup), and that the behavior of C-k 
> on headings is made consistent: kill to the end of line, regardless of the 
> visibility of the subtree.
>

I slightly disagree here. Most of the time I definitely want the entire
subtree to go away. I think this is the beauty of outline mode. 

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] Re: How do I convert org to OpenOffice?

2010-11-02 Thread Jambunathan K

> I'm glad of it though!  Jambunathan, would you be willing to put your code up
> on github?  Then we can perhaps all help out in a co-ordinated manner. 

I put it up on repo.or.cz as I already had an account there. Here is the
URL:

- http://repo.or.cz/w/org-mode/oo.git/

> If you od put it on github, maybe you can suggest minor features for people to
> work on -- i'm a lousy coder (& v. busy for about 3 more weeks) but maybe I 
> and
> others on the list could help with some of the more tedious elements. 

Anyone curious about the odt exporter can download a snapshot anytime
and export or report problems.

contrib/odt/  directory is the best place to get started. 

1. README.org 
   - 'The one file' for jotting down TODOs, FIXMEs or any useful ideas.

2. setup.el
   - Useful elisp stuff that can go in to a user's .emacs

3. files/ and files/test.org
   - Unit Test file for feeding to the exporter.

I have currently bound C-c C-e o and C-c C-e O for OpenOffice export.

As I write now, things are in very early stages (as in 'Jurassic
Times'). So it is not really meant to be used by anyone other than the
committers. Needless to say it will mature as time progresses.

Jambunathan K.






___
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: How do I convert org to OpenOffice?

2010-11-02 Thread Jambunathan K

Hello Lennart

I uploaded a snapshot of org-7.3 and committed my workarea files to
repo.or.cz. For now, rely on the commits and the logs to get started
with what I have done till now.

Web Interface:
- http://repo.or.cz/w/org-mode/oo.git/

Push URL:
- ssh://repo.or.cz/srv/git/org-mode/oo.git

Read-only URL:
- git://repo.or.cz/org-mode/oo.git
- http://repo.or.cz/r/org-mode/oo.git

Admin URL:
- http://repo.or.cz/editproj.cgi?name=org-mode/oo

I will send the admin password separately to you (Lennart) and Matt
separately so that you can add yourself to committers.

>>> Interesting that two people are working on org->OpenOffice exporter. The
>>> other person is me.
>>>
>>> I made this announcement roughly one week in to the project.
>>> - http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg00372.html
>>
>> Ah, very good. I missed that one. I started this thread a month ago
>> and hoped there where more people interested.
>
>
> Hi again Jambunathan,
>
>
> I just tried to test what you have written. Then I noticed that you
> have a separate file styles.xml.

> You have to place the styles somewhere, but I wonder if I do not like
> the idea used in muse-odt.el by Paul Rivier better. He instead uses a
> default.odt file from which he grabs the styles.xml.

> If you do it Paul's way the user can easily edit the styles from
> within LibreOffice (or OpenOffice.org if someone still wants to use
> that - when LibreOffice is released).

> I rewrote the zipping together from Paul's file in a way that should
> be easy to use with your solution otherwise.

I agree that working with a template file is more user-friendly than
working with an xml file.

Which codebase should we start from?

I started with org-html.el because it assured me a stable and
feature-rich base that is also XMLish. 

One of the problems that I see with org-html.el route is that it is a
bit monolithic - there is a one big blob that does everything. The
side-effect of this is that our merges are most likely to conflict (even
if we work on two independent functional pieces)

If you look at org-odt.el, you will see that I have siphoned off the
Table Of Contents in to smaller routines, partly for my own
understanding and mostly because I wanted to break up the monolithic
structure of org-export-as-odt.

I also have a feeling that (my) org-odt.el has started becoming a beast
of it's own resembling less and less like org-html.el that it started
with.

Jambunathan K.


___
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] novice - inline src ?

2010-11-02 Thread Adam
On Wednesday 03 November 2010 04:23 pm, you wrote:
> On Wed, Nov 03, 2010 at 03:34:58PM +1300, Adam wrote:
> > Am a novice, and just trying my first src emacs lisp.
> > Can a results output be included in the middle of a line of text ?
>
> Hi,
>
> Yo can include inline code blocks thus:
>
> The date today is src_emacs-lisp{(format-time-string "%a %e %b %Y ")}.
>
> The complete format is:
>
>   src_lang[optional header arguments]{code body}
>
> Check the following message on the mailing list:
>
> Date: Tue, 03 Aug 2010 11:44:14 -0600  
>From: Eric
> Schulte
> Subject: Re: [Orgmode] Babel -
> display results in an overlay?
>
> > Also,  is there a switch on setting to avoid the
> > "Evaluate this Lisp code on your system?  (yes or no)"
> > questions being asked at export - to always answer yes to this ?
>
> Customize the following variable to nil:
>
> org-confirm-babel-evaluate
>
> Regards,
> .j.

Great. Thank you. 

However in the example I gave, copied below,  when I set 
"org-confirm-babel-evaluate"  to nil,  I get the error message  
"Symbol's function definition is void:  pt "

If  "org-confirm-babel-evaluate" is t   I get the normal confirm dialogue. 

Am using  Org-mode version  7.01hGNU Emacs 23.1.1




* test

#+begin_src emacs-lisp :exports results
  (format-time-string "%a %e %b %Y ")
#+end_src

#+begin_src emacs-lisp :exports none
(defun pt ()
  (format-time-string "%a %e %b %Y "))
#+end_src

The quick brown fox jumps 
#+begin_src emacs-lisp :exports results
  (pt)
#+end_src
over the lazy dog.


___
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] novice - inline src ?

2010-11-02 Thread Juan Pechiar
On Wed, Nov 03, 2010 at 03:34:58PM +1300, Adam wrote:
> Am a novice, and just trying my first src emacs lisp.
> Can a results output be included in the middle of a line of text ?

Hi,

Yo can include inline code blocks thus:

The date today is src_emacs-lisp{(format-time-string "%a %e %b %Y ")}.

The complete format is:

  src_lang[optional header arguments]{code body}

Check the following message on the mailing list:

Date: Tue, 03 Aug 2010 11:44:14 -0600   
   From: Eric Schulte 

Subject: Re: [Orgmode] Babel - display results 
in an overlay?

> Also,  is there a switch on setting to avoid the
> "Evaluate this Lisp code on your system?  (yes or no)"
> questions being asked at export - to always answer yes to this ?

Customize the following variable to nil:

org-confirm-babel-evaluate

Regards,
.j.

___
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] novice - inline src ?

2010-11-02 Thread Adam
Am a novice, and just trying my first src emacs lisp.   
Can a results output be included in the middle of a line of text ? 

I've looked through section 14 of the manual. Perhaps the entire 
line must be "concat"ed into the one composite line needed. 

See the "quick brown fox" example below, with src result plonked 
in the middle. 

Also,  is there a switch on setting to avoid the 
"Evaluate this Lisp code on your system?  (yes or no)"
questions being asked at export - to always answer yes to this ? 


* test

#+begin_src emacs-lisp :exports results
  (format-time-string "%a %e %b %Y ")
#+end_src

#+begin_src emacs-lisp :exports none
(defun pt ()
  (format-time-string "%a %e %b %Y "))
#+end_src

The quick brown fox jumps 
#+begin_src emacs-lisp :exports results
  (pt)
#+end_src
over the lazy dog.


___
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: How do I convert org to OpenOffice?

2010-11-02 Thread Lennart Borgman
>> Interesting that two people are working on org->OpenOffice exporter. The
>> other person is me.
>>
>> I made this announcement roughly one week in to the project.
>> - http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg00372.html
>
> Ah, very good. I missed that one. I started this thread a month ago
> and hoped there where more people interested.


Hi again Jambunathan,


I just tried to test what you have written. Then I noticed that you
have a separate file styles.xml.

You have to place the styles somewhere, but I wonder if I do not like
the idea used in muse-odt.el by Paul Rivier better. He instead uses a
default.odt file from which he grabs the styles.xml.

If you do it Paul's way the user can easily edit the styles from
within LibreOffice (or OpenOffice.org if someone still wants to use
that - when LibreOffice is released).

I rewrote the zipping together from Paul's file in a way that should
be easy to use with your solution otherwise.

___
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: conditional export based on target

2010-11-02 Thread Juan Pechiar
On Tue, Nov 02, 2010 at 04:41:05PM -0300, Ezequiel Birman wrote:
> #+source: tree1_latex
> #+BEGIN_SRC latex :exports (if (and (boundp 'latexp) latexp) "results" "none")
>   \begin{tikzpicture}
...
> \end{tikzpicture}
> #+end_src

> I still don't know how to export the TikZ code to latex but a png or svg
> (generated by TikZ) to html.

I don't know if I understand your problem here, but maybe it has
something to do with adding

   :results value latex

to the #+begin_src header

Check http://orgmode.org/manual/results.html#results

BR,
.j.

___
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] [bug] two bugs: one with comments and with exporting inline tasks

2010-11-02 Thread Eric S Fraga
Eric S Fraga  writes:

> Nicolas Goaziou  writes:
>
>> Hello,
>>
>>> Eric S Fraga writes:
>>
>>> I believe both of these problems are related to the new list
>>> handling as I used to be able to export inline tasks perfectly fine
>>> in September.
>>
>> Well, this is strange. I tried to get back to 7.01h, 7.01 and 6.36c
>> and I obtain this same behavior.
>>
>> What kind of export did you use to obtain?
>>
>> Regards,
>>
>> -- Nicolas
>
> Well, now that you ask, I'm not sure what I used to obtain!I
> don't have any PDFs from when I was preparing my big proposal in August
> and September other than the final version (which obviously didn't have
> any inline tasks in it...).  So maybe I've been very unfair to you and
> the problem has always existed.  Sorry!
>
> It's still the case that there are two problems.  For the first, there's
> obviously some leakage from the HTML export into the LaTeX export in
> that the list entry (which comes from the inline heading) is given an
> argument that seems to be HTML/CSS code...  For the second problem,
> maybe I've misunderstood the export of a sub-tree -- I've initiated the
> export outside the inline heading so the export should include
> everything below the heading above?
>
> I'll play around some more tonight if I get a chance to see if I can
> narrow down the reasons for the failure.

I have done so and there's some interesting behaviour.  Here is a
summary of 4 different results exporting essentially the same content
for the attached org file:

1. export the whole file (C-cC-ed) produces a document with all the
   content but with the inline task defining a latex =\item= with a
   strange label (as indicated in my earlier message).

2. go to the headline and select the sub-tree (C-c@) and then export
   (C-cC-ed) generates a PDF with only the text up to the start (but not
   including) of the inline task.

3. place the cursor on *point 1* and export the sub-tree (C-cC-e1d)
   generates the same output as the previous point.

4. finally, place the cursor on *point 2* and export the sub-tree
   (C-cC-e1d) exports only the text *after* the inline task.


Basically, for the last three cases, the exporter has a problem figuring
out what sub-tree actually is.  I don't think the problems have anything
to do with the new list handling (apologies again!).

I hope this helps somebody figure out what is going on.

Thanks,
eric
# -*- coding: utf-8; -*-
#+TITLE: examplebug.org
#+AUTHOR:Eric S Fraga
#+EMAIL: e.fr...@ucl.ac.uk
#+DESCRIPTION: 
#+KEYWORDS: 
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT: 

* problem exporting to latex with inline tasks

*point 1* 

I often use inline tasks to help me organise my thoughts as I am
writing long documents.  However, exporting these no longer seems to
work.

* TODO figure out why this doesn't work
* END

*point 2*

This is some text the follows the inline task.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.02trans (release_7.3.6.gf0d2)
___
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: conditional export based on target

2010-11-02 Thread Ezequiel Birman
> "JP" == Juan Pechiar  writes:

> On Thu, Oct 07, 2010 at 01:24:28AM -0300, Ezequiel Birman wrote:
>> Is there something like conditional export? I'd like to use tikz
>> when exporting to latex but my own hand-made ascii drawing when
>> exporting to ascii/latin1/utf8.

> Hi,

> I've been thinking on your request, and today this appeared on the
> list which is quite similar:

> http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg01106.html

> It seems as if block settings can be lisp function calls rather
> than a fixed string.

> So, for example:

> // **
> Test conditional export

> #+source: test_output #+begin_src octave :results value vector
> :exports (if (and (boundp 'htmlp) htmlp) "none" "results" )
> rand(2) #+end_src

> #+results: test_output | 0.3982018019389448 | 0.3879818701032038 |
> | 0.8053847746148466 | 0.630867175288
> | 

> Will export nothing to HTML, and the resulting output to other
> formats.

> Values for 'exports' can be 'both', 'none', 'code' or 'results';
> and there are export flags latexp, htmlp, asciip, docbookp.

> I tested the above example, and it "mostly" works. Sometimes not,
> and I don't yet know why.

Thank you Juan. This seems to work *always*. I had to remove the
'results: ...' portion but I don't understand why...

#+source: tree1_latex
#+BEGIN_SRC latex :exports (if (and (boundp 'latexp) latexp) "results" "none")
  \begin{tikzpicture}
[every node/.style={draw,fill=white,circle,inner sep=0pt,minimum size=1em},
 level distance=3em,
 level 1/.style={sibling distance=8em},
 level 2/.style={sibling distance=4em},
 level 3/.style={sibling distance=2em}]
\node [level distance=0pt,style={draw=none,minimum size=0pt}] {}
  child {node {} edge from parent [draw=none]
child {node {} 
  child {node {} }
  child {node [style={fill=black}] {}}}
child {node [style={fill=black}] {}
  child {node {} }
  child {node [style={fill=black}] {} }}}
  child {node [style={fill=black}] {} edge from parent [draw=none]
child {node {}
  child {node {} }
  child {node [style={fill=black}] {} }}
child {node [style={fill=black}] {}
  child {node {}}
  child {node [draw=none,style={shade}] {} edge from parent [dashed]}}};
\end{tikzpicture}
#+end_src

#+source: tree1_ascii
#+BEGIN_SRC emacs-lisp :exports (if (and (boundp 'asciip) asciip) "results" 
"none")
"B   N
  /   \\   /   \\
B   N   B   N
   / \\ / \\ / \\ / \\
  B   N   B   N   B   N   B  (N)"
#+END_SRC

I still don't know how to export the TikZ code to latex but a png or svg
(generated by TikZ) to html.

Also, if anyone can think of a better or different approach I'll be
thankful.

-- 
Ezequiel Birman


___
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] Problem with links to Wanderlust messages

2010-11-02 Thread Eric S Fraga
Ronan BARZIC  writes:

> Hi,
>
> I've difficulties to understand how to make links to WL messages from an Org
> file. According to the documentation, the syntax should be :
>
> [[wl:folder#id][Description]]
>
> - It is not clear for me if "id" is the number in front of the message in the
> "WL "Summary" view ? Can someone confirm that ? (I have also a field
> "Message-ID" in each message header)

The easiest way to find out what should be there is to:

1. go to the WL message, in the Summary window say.
2. type C-cl (org-store-link)
3. go to your org document where you want to link from
4. type C-cC-l (org-insert-link) and hit RET to accept the default which
   should be the link you /stored/ above.

>  I have the feeling that the dot at the beginning of the folder name
> confuses the org-mode when I try to follow the link. For example,
> following the link  [[wl:.INBOX#29333][TEST]] 

I didn't find that the . caused any problems (the majority of my
mailboxes are in maildir format).  However, I must say that following
links to WL messages is not the most robust system.  The problems are
not in org but in WL, as far as I can tell.  

A couple of suggestions: make sure you have started WL *before*
attempting to follow a link from org in any case and make sure you don't
store a link from WL from within a filtered view.

Due to the problems with linking to WL message, and a few other issues,
I have recently moved back to GNUS which is basically more robust in all
ways (although has a much steeper learning curve... but that's a story
for another mailing list ;-).

> Maybe I've misunderstood the documentation and I search the web without
> success. I will really appreciate if someone could give me a example of a
> working link using WL in a Maildir configuration

One example I have looks like this =wl:.wlinbox#4c63a6xxx0...@xxx.ac.uk=

(with some bits replaced by XXX to protect the innocent)

-- 
Eric S Fraga, GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
using Org-mode version 7.02trans (release_7.3.6.gf0d2) 
in Emacs version 23.2.1

___
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: New clocktable code

2010-11-02 Thread Carsten Dominik


On Nov 2, 2010, at 8:35 PM, Ilya Shlyakhter wrote:


Carsten Dominik  gmail.com> writes:

I have just pushed a rewrite of the clocktable code.


Thanks Carsten!
Maybe, the code could also be extended to display a summary of any  
variable,
rather than just clocksum?   E.g. the number of tasks done, or the  
amount of
money spent. The sum for a given period would include the sum of a  
specified

property in entries that were CLOSED within the specified period.


Hi Ilya,

I think thiswould now be easier to implement - even though this code
is geared towar the clocking functionality.

However, your proposal still sounds abstract - do you
have concrete examples in mind?

- 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] Unable to generate link in non-org file with org-id-store-link present

2010-11-02 Thread Carsten Dominik

Hi Liam,

On Nov 2, 2010, at 9:45 PM, Liam Healy wrote:

On Sun, Oct 31, 2010 at 5:28 PM, Liam Healy > wrote:

On Sun, Oct 31, 2010 at 4:02 PM, David Maus  wrote:

At Sun, 31 Oct 2010 15:09:48 -0400,
Liam Healy wrote:


With recent versions (since about version 7) of org-mode, I cannot
generate links in a non-org file when org-id-store-link is in
org-store-link-functions.  Either I get an error "before first
headline" (makes no sense to me, since I'm not in an org file), or
emacs spins forever, saturating the CPU and doing nothing.  If I  
leave

org-id-store-link out of org-store-link-functions, everything works
fine but of course I get no id link in org files.  Is there a fix  
for

this?


Which Org and Emacs version are you using?

M-x org-version RET


Org-mode version 7.02trans (release_7.02.22.gde21)


M-x emacs-version RET


GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2009-10-19 on debian-build.int-office-er.priv, modified by Debian



And can you provide a backtrace for this behavior?

 1. reload Org mode so it runs on uncompiled files

   M-x org-reload RET


Done



 2. Toggle debug-on-quit and debug-on-error

   M-x toggle-debug-on-quite RET
   M-x toggle-debug-on-error RET

 3. Try to reproduce the bug (if Emacs spins for ever, hit C-g)

If you encounter the error or can stop Emacs from hanging (C-g), you
get a buffer with the backtrace.


It did, I did, here it is:

Debugger entered--Lisp error: (quit)
 re-search-forward("^[ ]*" 4266 t)
 (while (re-search-forward re end t))
 (let ((indent ...) (beg ...) (re ...) end hiddenp)
(outline-next-heading) (setq end (point)) (goto-char beg) (while
(re-search-forward re end t)) (setq hiddenp (org-invisible-p))
(end-of-line 1) (and (equal ... 10) (forward-char 1)) (while
(looking-at "^[ ]*\\(:CLOCK:\\|:LOGBOOK:\\|CLOCK:\\|:END:\ 
\)") (if

... ... ... ...)) (org-skip-over-state-notes) (skip-chars-backward "
   \n
") (if (eq ... 42) (forward-char 1)) (let (...) (insert
"\n:PROPERTIES:\n:END:")) (beginning-of-line 0) (org-indent-to-column
indent) (beginning-of-line 2) (org-indent-to-column indent)
(beginning-of-line 0) (if hiddenp (save-excursion ... ...)
(org-flag-drawer t)))
 org-insert-property-drawer()
 (save-excursion (org-insert-property-drawer) (setq end  
(progn ... ...)))

 (if force (save-excursion (org-insert-property-drawer) (setq end
...)) (throw (quote exit) nil))
 (if (re-search-forward org-property-start-re end t) (setq beg (1+
...)) (if force (save-excursion ... ...) (throw ... nil)) (goto-char
beg) (if (re-search-forward org-property-start-re end t) (setq beg
...)))
 (let* ((beg ...) (end ...)) (goto-char beg) (if (re-search-forward
org-property-start-re end t) (setq beg ...) (if force ... ...)
(goto-char beg) (if ... ...)) (if (re-search-forward
org-property-end-re end t) (setq end ...) (or force ...) (goto-char
beg) (setq end beg) (org-indent-line-function) (insert ":END:\n"))
(cons beg end))
 (save-excursion (let* (... ...) (goto-char beg) (if ... ... ... ...
...) (if ... ... ... ... ... ... ...) (cons beg end)))
 (catch (quote exit) (save-excursion (let* ... ... ... ... ...)))
 org-get-property-block(4037 4266 force)
 (setq range (org-get-property-block beg end (quote force)))
 (let ((buffer-invisibility-spec ...)) (setq range
(org-get-property-block beg end ...)) (goto-char (car range)) (if
(re-search-forward ... ... t) (progn ... ...) (goto-char ...) (insert
"\n") (backward-char 1) (org-indent-line-function) (insert ":"
property ":")) (and value (insert " " value))
(org-indent-line-function))
 (cond ((equal property "TODO") (when ... ...) (if ... ...) (org-todo
value) (org-set-tags nil ...)) ((equal property "PRIORITY")
(org-priority ...) (org-set-tags nil ...)) ((equal property
"SCHEDULED") (if ... ... ...)) ((equal property "DEADLINE") (if ...
... ...)) ((member property org-special-properties) (error "The %s
property can not yet be set with `org-entry-put'" property)) (t (let
... ... ... ... ... ...)))
 (let ((beg ...) (end ...) range) (cond (... ... ... ... ...) (...
... ...) (... ...) (... ...) (... ...) (t ...)))
 (save-excursion (goto-char (or pom ...)) (org-back-to-heading t)
(let (... ... range) (cond ... ... ... ... ... ...))
(run-hook-with-args (quote org-property-changed-functions) property
value))
 (save-excursion (if (markerp pom) (set-buffer ...)) (save-excursion
(goto-char ...) (org-back-to-heading t) (let ... ...)
(run-hook-with-args ... property value)))
 (org-with-point-at pom (org-back-to-heading t) (let (... ... range)
(cond ... ... ... ... ... ...)) (run-hook-with-args (quote
org-property-changed-functions) property value))
 org-entry-put(4204 "ID" "b7f6dacd-3d83-492d-877e-075d3312d0a6")
 (cond ((and id ... ...) id) (create (setq id ...) (org-entry-put pom
"ID" id) (org-id-add-location id ...) id) (t nil))
 (let ((id ...)) (cond (... id) (create ... ... ... id) (t nil)))
 (save-excursion (goto-char (or pom ...)) (let (...)  
(cond ... ... ...)))

 (save-excursio

[Orgmode] Re: Problem with 7.02 - org-capture-templates not set from init file

2010-11-02 Thread Anupam Sengupta

> Jeffrey DeLeo  writes:

> OK, I found the problem. In my emacs init file, further down I
> had: (require 'gnus-load) ;; for dev gnus (require 'message)
> (require 'bbdb) (require 'org-install) (require 'org-icalendar)
> (require 'org-mobile) ...

> Removing these requires results in working org and not stomping on
> org-capture-templates.

I am somewhat confused here.  Why would removal of the `require'
statements fix the problem?  Should we not *have* (require 'org-install)
in order to have the latest org-mode be activated and loaded?

Actually, I am having the same problem here after upgrading to 7.02.  
Hitting C-cc does run `org-capture' correctly, but the value of
`org-capture-templates' (which was set using the customize interface,
and has been saved to a separate emacs-custom.el file) does not have the
set value.

Using C-h v on `org-capture-templates', I get:

,
| org-capture-templates is a variable defined in `org-capture.el'.
| Its value is nil
| 
| Documentation:
| Templates for the creation of new entries.
`



Specifically, the value of this variable remains as `nil', and
attempting to view the value via `customize-variable' returns a state of
"CHANGED outside Customize".  However, the actual value is empty.

,
| Org Capture Templates:
| INS
| State: CHANGED outside Customize; operating on it here may be unreliable.
| Templates for the creation of new entries.
`



I am running GNU Emacs 23.2.50 and org-version does confirm org-7.02.

BTW, whats with the org-7.3 on http://orgmode.org?



Regards,
-- 
Anupam Sengupta

___
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] [bug] two bugs: one with comments and with exporting inline tasks

2010-11-02 Thread Eric S Fraga
Nicolas Goaziou  writes:

> Hello,
>
>> Eric S Fraga writes:
>
>> I believe both of these problems are related to the new list
>> handling as I used to be able to export inline tasks perfectly fine
>> in September.
>
> Well, this is strange. I tried to get back to 7.01h, 7.01 and 6.36c
> and I obtain this same behavior.
>
> What kind of export did you use to obtain?
>
> Regards,
>
> -- Nicolas

Well, now that you ask, I'm not sure what I used to obtain!I
don't have any PDFs from when I was preparing my big proposal in August
and September other than the final version (which obviously didn't have
any inline tasks in it...).  So maybe I've been very unfair to you and
the problem has always existed.  Sorry!

It's still the case that there are two problems.  For the first, there's
obviously some leakage from the HTML export into the LaTeX export in
that the list entry (which comes from the inline heading) is given an
argument that seems to be HTML/CSS code...  For the second problem,
maybe I've misunderstood the export of a sub-tree -- I've initiated the
export outside the inline heading so the export should include
everything below the heading above?

I'll play around some more tonight if I get a chance to see if I can
narrow down the reasons for the failure.

Thanks and apologies again for blaming your code unfairly!

-- 
Eric S Fraga, GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
using Org-mode version 7.02trans (release_7.3.6.gf0d2) in Emacs version 23.2.1

___
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] Unable to generate link in non-org file with org-id-store-link present

2010-11-02 Thread Liam Healy
On Sun, Oct 31, 2010 at 5:28 PM, Liam Healy  wrote:
> On Sun, Oct 31, 2010 at 4:02 PM, David Maus  wrote:
>> At Sun, 31 Oct 2010 15:09:48 -0400,
>> Liam Healy wrote:
>>>
>>> With recent versions (since about version 7) of org-mode, I cannot
>>> generate links in a non-org file when org-id-store-link is in
>>> org-store-link-functions.  Either I get an error "before first
>>> headline" (makes no sense to me, since I'm not in an org file), or
>>> emacs spins forever, saturating the CPU and doing nothing.  If I leave
>>> org-id-store-link out of org-store-link-functions, everything works
>>> fine but of course I get no id link in org files.  Is there a fix for
>>> this?
>>
>> Which Org and Emacs version are you using?
>>
>> M-x org-version RET
>
> Org-mode version 7.02trans (release_7.02.22.gde21)
>
>> M-x emacs-version RET
>
> GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
> of 2009-10-19 on debian-build.int-office-er.priv, modified by Debian
>
>>
>> And can you provide a backtrace for this behavior?
>>
>>  1. reload Org mode so it runs on uncompiled files
>>
>>    M-x org-reload RET
>
> Done
>
>>
>>  2. Toggle debug-on-quit and debug-on-error
>>
>>    M-x toggle-debug-on-quite RET
>>    M-x toggle-debug-on-error RET
>>
>>  3. Try to reproduce the bug (if Emacs spins for ever, hit C-g)
>>
>> If you encounter the error or can stop Emacs from hanging (C-g), you
>> get a buffer with the backtrace.
>
> It did, I did, here it is:
>
> Debugger entered--Lisp error: (quit)
>  re-search-forward("^[         ]*" 4266 t)
>  (while (re-search-forward re end t))
>  (let ((indent ...) (beg ...) (re ...) end hiddenp)
> (outline-next-heading) (setq end (point)) (goto-char beg) (while
> (re-search-forward re end t)) (setq hiddenp (org-invisible-p))
> (end-of-line 1) (and (equal ... 10) (forward-char 1)) (while
> (looking-at "^[         ]*\\(:CLOCK:\\|:LOGBOOK:\\|CLOCK:\\|:END:\\)") (if
> ... ... ... ...)) (org-skip-over-state-notes) (skip-chars-backward "
>        \n
> ") (if (eq ... 42) (forward-char 1)) (let (...) (insert
> "\n:PROPERTIES:\n:END:")) (beginning-of-line 0) (org-indent-to-column
> indent) (beginning-of-line 2) (org-indent-to-column indent)
> (beginning-of-line 0) (if hiddenp (save-excursion ... ...)
> (org-flag-drawer t)))
>  org-insert-property-drawer()
>  (save-excursion (org-insert-property-drawer) (setq end (progn ... ...)))
>  (if force (save-excursion (org-insert-property-drawer) (setq end
> ...)) (throw (quote exit) nil))
>  (if (re-search-forward org-property-start-re end t) (setq beg (1+
> ...)) (if force (save-excursion ... ...) (throw ... nil)) (goto-char
> beg) (if (re-search-forward org-property-start-re end t) (setq beg
> ...)))
>  (let* ((beg ...) (end ...)) (goto-char beg) (if (re-search-forward
> org-property-start-re end t) (setq beg ...) (if force ... ...)
> (goto-char beg) (if ... ...)) (if (re-search-forward
> org-property-end-re end t) (setq end ...) (or force ...) (goto-char
> beg) (setq end beg) (org-indent-line-function) (insert ":END:\n"))
> (cons beg end))
>  (save-excursion (let* (... ...) (goto-char beg) (if ... ... ... ...
> ...) (if ... ... ... ... ... ... ...) (cons beg end)))
>  (catch (quote exit) (save-excursion (let* ... ... ... ... ...)))
>  org-get-property-block(4037 4266 force)
>  (setq range (org-get-property-block beg end (quote force)))
>  (let ((buffer-invisibility-spec ...)) (setq range
> (org-get-property-block beg end ...)) (goto-char (car range)) (if
> (re-search-forward ... ... t) (progn ... ...) (goto-char ...) (insert
> "\n") (backward-char 1) (org-indent-line-function) (insert ":"
> property ":")) (and value (insert " " value))
> (org-indent-line-function))
>  (cond ((equal property "TODO") (when ... ...) (if ... ...) (org-todo
> value) (org-set-tags nil ...)) ((equal property "PRIORITY")
> (org-priority ...) (org-set-tags nil ...)) ((equal property
> "SCHEDULED") (if ... ... ...)) ((equal property "DEADLINE") (if ...
> ... ...)) ((member property org-special-properties) (error "The %s
> property can not yet be set with `org-entry-put'" property)) (t (let
> ... ... ... ... ... ...)))
>  (let ((beg ...) (end ...) range) (cond (... ... ... ... ...) (...
> ... ...) (... ...) (... ...) (... ...) (t ...)))
>  (save-excursion (goto-char (or pom ...)) (org-back-to-heading t)
> (let (... ... range) (cond ... ... ... ... ... ...))
> (run-hook-with-args (quote org-property-changed-functions) property
> value))
>  (save-excursion (if (markerp pom) (set-buffer ...)) (save-excursion
> (goto-char ...) (org-back-to-heading t) (let ... ...)
> (run-hook-with-args ... property value)))
>  (org-with-point-at pom (org-back-to-heading t) (let (... ... range)
> (cond ... ... ... ... ... ...)) (run-hook-with-args (quote
> org-property-changed-functions) property value))
>  org-entry-put(4204 "ID" "b7f6dacd-3d83-492d-877e-075d3312d0a6")
>  (cond ((and id ... ...) id) (create (setq id ...) (org-entry-put pom
> "ID" id) (org-id-add-location id ...) id) (t nil))
>

[Orgmode] Re: How do I convert org to OpenOffice?

2010-11-02 Thread Lennart Borgman
On Tue, Nov 2, 2010 at 8:08 PM, Jambunathan K  wrote:
>
> Lennart

Hi Jambunathan,


> Interesting that two people are working on org->OpenOffice exporter. The
> other person is me.
>
> I made this announcement roughly one week in to the project.
> - http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg00372.html

Ah, very good. I missed that one. I started this thread a month ago
and hoped there where more people interested.


>> I have struggled a bit with various ways to export from org-mode to
>> odt. (Thanks for all the tips here.)
>>
>> And it was not that fun when things gots complicated so I wonder if it
>> is better with a direct export. I took the rudimentary exporter in
>> muse and started to work a bit on it. I have not done very much yet,
>> just the part that puts all things together once the pieces (for
>> example content.xml) are there. You can find what I have done so far
>> in util/org-odt.el in the nXhtml repository.
>
> I started with org-html.el.
>
> I am attaching a test.org and test.odt from my work area (*as it
> is*). You will see that following things are taking shape:
>
> 1. Table Of Contents (Still not a 'native' Table Of Contents)
> 2. Various Character Styles
> 3. Various Paragraph Styles
> 4. Lists - Numbered, Bulleted, Description
> 5. Links - Internet Links, Internal Links as Bookmark/Xref
> 6. An embedded image
> 7. A simple table with a caption and numbering (you can see that xref to
>   table has apparently broken)
> 8. Various kinds of Footnotes
>
> If you look inside the odt file you will see that meta.xml also taking
> shape.
>
> I have adopted an approach of scanning various features rather than
> solidifying the given feature. So the appearance could be flattering.
>
> Jambunathan K.
>
> Attachments: test.org (as plain), test.odt (as zip)

It seems like we started from opposite corners so we can perhaps just
combine what we have done. I have just done a small part, the zipping
part, a bit more carefully (though it still need more work to be
coordinated with what we already have in Emacs).

Can we coordinate what we do in some way? Maybe a temporary repository?

___
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: epresent and Org-mode: using Emacs to run presentations of Org-mode docs

2010-11-02 Thread Christian Moe

Hi,

Yes, I can confirm batik-rasterizer, despite the name, made nice 
vector-based PDF from SVG. Thanks, Nick.


So that's two options now, Inkscape and Batik.

Enough noise from me on this, I think.

Yours,
Christian

On 11/2/10 3:20 PM, Nick Dokos wrote:

Christian Moe  wrote:


Hi,

the librsvg man page says PNG and JPEG raster formats only.

CM

On 11/2/10 11:40 AM, Rainer M Krug wrote:



On Mon, Nov 1, 2010 at 11:47 PM, Christian Moemailto:m...@christianmoe.com>>  wrote:

 Re: converting SVG


Have you looked at rsvg  (http://librsvg.sourceforge.net/)?

I am not sure if it uses vector for pdf, but it might be worth a try?

Cheers,

Rainer


 1. Prince (http://www.princexml.com) does SVG to PDF as vector
 graphics from the command line, very nicely. Too bad it's proprietary.

 e.g.

 : prince drawing.svg drawing.pdf

 2. Ask Inkscape -- it's free software; unfortunately, the result
 is rasterized.

 e.g.

 : inkscape --without-gui --export-text-to-path
 --export-eps=drawing.eps drawing.svg

  > From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and
 Prince a 20 KB PDF.

 Cheers,
 Christian



 On 10/29/10 4:19 PM, Eric S Fraga wrote:

 Łukasz Stelmachmailto:lukasz.stelm...@iem.pw.edu.pl>>   writes:

 Eric S Fragamailto:ucec...@ucl.ac.uk>>
   writes:

 ImageMagick [1] will convert from/to SVG to/from many
 formats including
 EPS.  I've not tried any conversions with SVG, mind
 you, so this is
 based on the documentation.


 I'll check it, but I'm afraid it does render SVG as bitmap
 first,
 and then "converts", or rather encapsulates, it to
 EPS/PDF. ImageMagick
 is a bitmap manipulation tool after all.


 Very true.  For presentations, this may not be that much of an
 issue
 (given the resolution of many data projectors)... but it's a
 very valid
 point.

 Do let us know if you find a vector based converter.

 Thanks,
 eric





The batik svg rasteriser page

 http://xmlgraphics.apache.org/batik/tools/rasterizer.html

says:

 This page describes the features of the SVG Rasterizer utility
 that comes with the Batik distribution. The SVG Rasterizer is a
 utility that can convert SVG files to a raster format. The tool
 can convert individual files or sets of files, making it easy to
 convert entire directories of SVG files. The provided formats
 are JPEG, PNG and TIFF, however the design allows new formats to
 be added easily. In addition, the rasterizer can (despite its
 name) transcode to PDF.

I haven't used it at all, but that last sentence is suggestive. Maybe it
fits the bill?

HTH,
Nick






--

Christian Moe
E-mail:  m...@christianmoe.com
Website: http://christianmoe.com


___
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] Problem with links to Wanderlust messages

2010-11-02 Thread Ronan BARZIC
Hi,

I've difficulties to understand how to make links to WL messages from an Org
file. According to the documentation, the syntax should be :

[[wl:folder#id][Description]]

- It is not clear for me if "id" is the number in front of the message in
the "WL "Summary" view ? Can someone confirm that ? (I have also a field
"Message-ID" in each message header)
- I'm using Maildir format (I use offlineimap) , therefore my WL inbox
folder starts with a "." :
  - from my .wl
 wl-default-folder ".INBOX"   ;; my main inbox
 I have the feeling that the dot at the beginning of the folder name
confuses the org-mode when I try to follow the link. For example, following
the link
[[wl:.INBOX#29333][TEST]]

trigger the following question in the minibuffer :
Search message in nntp server "localhost" ?

which fails whatever answer I give

Maybe I've misunderstood the documentation and I search the web without
success. I will really appreciate if someone could give me a example of a
working link using WL in a Maildir configuration

BTW, I'm using WL 2.25.9 and org-mode 7.01g


Ronan
___
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] Variable 'org-ctrl-k-protect-subtree' defaults to nil

2010-11-02 Thread pjmtavares

Hi everyone,

It's the first time I'm giving any feedback on org-mode, so first of all I 
would like to congratulate the original creator and all contributors on a very 
interesting and useful work.

I've discovered org-mode only a couple of weeks ago and was intrigued enough to 
restart using emacs, after several years away from it! I've been studying Org's 
documentation and tutorials, and started using it to help me manage my 
relocation from Brazil to Italy.

What I am reporting, technically, is a feature: the fact that variable 
'org-ctrl-k-protect-subtree' defaults to nil. But considering how easy this 
makes to lose a whole subtree of data, especially for a newcomer to org-mode, I 
think it should be considered a serious bug. As a matter of fact, I am very 
surprised that C-k would be considered an admissible alternative to C-c C-x 
C-w/M-w, as a way to kill a subtree!

I propose that 'org-ctr-k-protect-subtree' is made to default to 't' ASAP 
(already costumized it in that way on my setup), and that the behavior of C-k 
on headings is made consistent: kill to the end of line, regardless of the 
visibility of the subtree.


   Best regards,

  Paulo Tavares.
  ___
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: epresent and Org-mode: using Emacs to run presentations of Org-mode docs

2010-11-02 Thread Christian Moe

Correction:

Inkscape /does/ convert SVG to EPS with vector format.
Of course.

It also does really nice vector export to PDF.

Apologies all round (and to the nice people at Inkscape in 
particular), and thanks to Tom Short for setting me straight.


I was fooled by a test drawing that was exported with "fallback" 
raster images as well as vector graphics. My viewer (Preview) 
apparently showed them and not the scalable vector version. The 
fallback images account for the file size I got (I had no text, hence 
no embedded fonts), and for the pixellated edges when I scaled up the 
image. (This turned out to be fixable by just opening the EPS in Emacs 
and cutting out all the fallback images. That also removed transparent 
parts and gradients.)


I think maybe the use of transparency, which EPS does not support (or 
am I wrong about that too?) was the reason I saw raster images in the 
first place. A simple SVG circle was exported to EPS with no fallback.


More on the options here:

http://inkscape.modevia.com/inkscape-man.html

Yours,
Christian


On 11/2/10 6:51 PM, Tom Short wrote:

On Mon, Nov 1, 2010 at 6:47 PM, Christian Moe  wrote:

Re: converting SVG

2. Ask Inkscape -- it's free software; unfortunately, the result is
rasterized.

e.g.

: inkscape --without-gui --export-text-to-path --export-eps=drawing.eps
drawing.svg

 From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and Prince a 20
KB PDF.


What features does Inkscape rasterize? I just tried a sample file, and
I don't see any rasterization. What takes up room in my test file is
embedded font information.

- Tom




--

Christian Moe
E-mail:  m...@christianmoe.com
Website: http://christianmoe.com


___
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: New clocktable code

2010-11-02 Thread Ilya Shlyakhter
Carsten Dominik  gmail.com> writes:
> I have just pushed a rewrite of the clocktable code.

Thanks Carsten!
Maybe, the code could also be extended to display a summary of any variable,
 rather than just clocksum?   E.g. the number of tasks done, or the amount of
 money spent. The sum for a given period would include the sum of a specified 
property in entries that were CLOSED within the specified period.

ilya



___
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: How do I convert org to OpenOffice?

2010-11-02 Thread Matt Price
On Tue, Nov 2, 2010 at 3:08 PM, Jambunathan K wrote:

>
> Lennart
>
> Interesting that two people are working on org->OpenOffice exporter. The
> other person is me.
>
> I'm glad of it though!  Jambunathan, would you be willing to put your code
up on github?  Then we can perhaps all help out in a co-ordinated manner.



> >  took the rudimentary exporter in
> > muse and started to work a bit on it. I have not done very much yet,
> > just the part that puts all things together once the pieces (for
> > example content.xml) are there. You can find what I have done so far
> > in util/org-odt.el in the nXhtml repository.
>

just adding a link:
http://bazaar.launchpad.net/~nxhtml/nxhtml/main/annotate/head%3A/util/org-odt.el


> I started with org-html.el.
>
> I am attaching a test.org and test.odt from my work area (*as it
> is*). You will see that following things are taking shape:
>
> 1. Table Of Contents (Still not a 'native' Table Of Contents)
> 2. Various Character Styles
> 3. Various Paragraph Styles
> 4. Lists - Numbered, Bulleted, Description
> 5. Links - Internet Links, Internal Links as Bookmark/Xref
> 6. An embedded image
> 7. A simple table with a caption and numbering (you can see that xref to
>   table has apparently broken)
> 8. Various kinds of Footnotes
>
> If you look inside the odt file you will see that meta.xml also taking
> shape.
>
> this is further along than I'd thought it would be!  thanks for this!

If you od put it on github, maybe you can suggest minor features for people
to work on -- i'm a lousy coder (& v. busy for about 3 more weeks) but maybe
I and others on the list could help with some of the more tedious elements.


Best,
Matt
___
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] [bug] two bugs: one with comments and with exporting inline tasks

2010-11-02 Thread Nicolas Goaziou
Hello,

> Eric S Fraga writes:

> I believe both of these problems are related to the new list
> handling as I used to be able to export inline tasks perfectly fine
> in September.

Well, this is strange. I tried to get back to 7.01h, 7.01 and 6.36c
and I obtain this same behavior.

What kind of export did you use to obtain?

Regards,

-- Nicolas

___
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] Override export filename

2010-11-02 Thread Nick Dokos
Aidan Gauland  wrote:

> On Tue, Nov 02, 2010 at 04:44:11PM +0100, Giovanni Ridolfi wrote:
> > Aidan Gauland  writes:
> 
> > > Is there an export option to specify the name of the file to which to
> > > export the org file?
> 
> > for documents:
> > #+TITLE:
> 
> This doesn't seem to allow me to specify the filename.  For example,
> the file...
> 
> #+TITLE: bar.goo
> 
> * A heading
> foo foo
> 
> ..is exported (as HTML) to foo.html, not bar.goo.
> 

If you just need a different extension, I think this works:

--8<---cut here---start->8---
#+BIND: org-export-html-extension "goo"

* foo
foo

* bar
bar
--8<---cut here---end--->8---

and there might be a higher-level way to do that too; e.g. if you are
publishing a project, you can set the :html-extension property, but that
is probably going to affect more than the one file. 

Also, I don't know of a way to change the base filename however, and
cursory examination of the code leads me to believe that it is not
possible currently.

HTH,
Nick


___
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] Override export filename

2010-11-02 Thread Aidan Gauland
On Tue, Nov 02, 2010 at 04:44:11PM +0100, Giovanni Ridolfi wrote:
> Aidan Gauland  writes:
> 
> > Is there an export option to specify the name of the file to which to
> > export the org file? 
> 
> for documents:
> #+TITLE:

This doesn't seem to allow me to specify the filename.  For example,
the file...

#+TITLE: bar.goo

* A heading
foo foo

...is exported (as HTML) to foo.html, not bar.goo.

--Aidan


signature.asc
Description: Digital 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] How do I convert org to OpenOffice?

2010-11-02 Thread Lennart Borgman
On Wed, Sep 29, 2010 at 11:33 PM, Matt Price  wrote:
>
>
> I've had mixed results depending on the complexity of the original org
> document.  one of us should really write a proper direct exporter, but I am
> such a slow (and rotten) coder, and so behind on so many projects, that it
> is not going to be me.   There is a rudimentary muse-mode exporter that
> might serve as a partial inspiration:
> http://osdir.com/ml/emacs.muse.general/2008-02/msg9.html
> also the new rewritten export engine (what is that called again) looks a
> little easier to work with than what's in current org...
>
> if someone does do this please let us all know, I think there are plenty of
> people who would really like to use it.
> Matt

I have struggled a bit with various ways to export from org-mode to
odt. (Thanks for all the tips here.)

And it was not that fun when things gots complicated so I wonder if it
is better with a direct export. I took the rudimentary exporter in
muse and started to work a bit on it. I have not done very much yet,
just the part that puts all things together once the pieces (for
example content.xml) are there. You can find what I have done so far
in util/org-odt.el in the nXhtml repository.

___
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: epresent and Org-mode: using Emacs to run presentations of Org-mode docs

2010-11-02 Thread Tom Short
On Mon, Nov 1, 2010 at 6:47 PM, Christian Moe  wrote:
> Re: converting SVG
>
> 2. Ask Inkscape -- it's free software; unfortunately, the result is
> rasterized.
>
> e.g.
>
> : inkscape --without-gui --export-text-to-path --export-eps=drawing.eps
> drawing.svg
>
> From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and Prince a 20
> KB PDF.

What features does Inkscape rasterize? I just tried a sample file, and
I don't see any rasterization. What takes up room in my test file is
embedded font information.

- Tom

___
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: Problem with 7.02 - org-capture-templates not set from init file

2010-11-02 Thread Jeffrey DeLeo
OK, I found the problem. In my emacs init file, further down I had:

(require 'gnus-load) ;; for dev gnus
(require 'message)
(require 'bbdb)
(require 'org-install)
(require 'org-icalendar)
(require 'org-mobile)
...

Removing these requires results in working org and not stomping on
org-capture-templates.

___
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] [Quey] Capture Templates

2010-11-02 Thread Carsten Dominik


On Nov 2, 2010, at 4:33 PM, Puneeth wrote:


Hi All,

I have the following Capture template defined.

-
("n" "note" entry
  (file+headline "refile.org" "Notes")
  "* %^{About} :note:%^G \n\n  %U\n\n  %?" :clock-in  
t :clock-resume t)

-

When this capture template is invoked the order of prompting obviously
goes from About, to tags, to the note that I want to make.  But when
writing long notes, I'm usually undecided upon the tags, until I have
written the note. Is there a way to change the order of prompting? Or
quickly change the tags after the note has been made?


Just leave out the %^G and set the tags while editing the note,
using the normal commands, for example `C-c C-q'.  You cannot
use C-c C-c in the headline

- 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] abstract in exported latex and html

2010-11-02 Thread Thomas S. Dye

Aloha Christian,

On Nov 2, 2010, at 1:22 AM, Christian Moe wrote:


Hi,

Written up, with an added note about org-exp-blocks, and pushed to:

http://orgmode.org/worg/org-faq.php#include-abstract-in-export-to-latex-and-html
http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-12

In the latter, BTW, I have also made a small change in the "semantic- 
markup" src block: the example now sets a class rather than style on  
HTML export, keeping it semantic. The debate on extensible markup  
solutions continues, I think, but I'm glad some people find the  
custom-link idea useful, in the interim at least.


Yours,
Christian



These are very helpful.  I'm learning a lot and have more to explore.   
Thanks!


All the best,
Tom



On 11/2/10 5:45 AM, Carsten Dominik wrote:

This is great and should be in the FAQ or another good place on Worg.

Thanks!

- Carsten

On Nov 1, 2010, at 10:47 PM, Christian Moe wrote:


Use org-special-blocks


On Oct 31, 2010, at 9:47 AM, Magnus Nilsson wrote:


Dear all,

Is there a way to include an abstract that suits both LaTeX  
export

and html export?

I am thinking in lines of
#+BEGIN_ABSTRACT:
My abstract goes here
#+END_ABSTRACT:
and have it interpreted differently depending on the export used.


If I'm not overlooking a hitch, you can do that now with the
contributed package org-special-blocks. Just put

(require 'org-special-blocks)

in your .emacs.

The HTML abstract won't look like anything special until you style
it, it will just be wrapped in a  element.
Here are some sample style lines for your org document header
(without line wraps):

#+STYLE: .abstract {margin: 1em; padding: 1em; border: 1px
solid black}
#+STYLE: .abstract:before {content: "ABSTRACT: ";}

Thomas S. Dye wrote:
Alternatively, you could use the existing link syntax for this  
kind of

markup. See
http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-12


I'm all for using custom links to extend inline markup, but this is
block-level, and thus handily extensible with org-special-blocks.

Cheers,
Christian






--

Christian Moe
E-mail:  m...@christianmoe.com
Website: http://christianmoe.com




___
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 when running org-babel-execute-buffer -- Wrong type argument: consp, nil

2010-11-02 Thread Ista Zahn
Hi,
I recently upgraded to version 7.3 (from 7.01), and discovered that
org-babel-execute-buffer no longer works, returning "Wrong type
argument: consp, nil". This behavior is exists even with the simplest
of examples, such as

#+begin_src R
2+2
#+end_src

and persists even when I reduce my .emacs file down to a bare minimum of

;;Set up org mode
(require 'org-install)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)
;; Enable R, latex, lisp support
(org-babel-do-load-languages
 'org-babel-load-languages
 '((R . t)
   (latex . t)))

org-babel-execute-src_block works. If all blocks have been evaluated,
then running org-babel-execute-buffer  works (even if  a block has
changed), although it returns a message saying "Invalid function:
org-babel-map-src-blocks" (I don't know if this is related or not). In
other words, org-babel-execute-buffer works to update blocks that have
previously been evaluated, but fails when the buffer contains
unevaluated blocks.

This is with org version 7.3, and I get the same behavior using emacs
version 23.2.1 and emacs version 24.0.50.1

Any help will be appreciated.

Best,
-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

___
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] Override export filename

2010-11-02 Thread Giovanni Ridolfi
Aidan Gauland  writes:

> Is there an export option to specify the name of the file to which to
> export the org file? 

for documents:
#+TITLE:

and, for subtrees

:PROPERTIES:
:EXPORT_TITLE:
:END:

cheers,

Giovanni

___
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] Bug: M-a bound to backward-sentence

2010-11-02 Thread Carsten Dominik


On Nov 2, 2010, at 10:12 AM, Andreas Röhler wrote:


Hi

inside a table

M-a is bound to backward-sentence


Hi Andreas,

I get

M-a runs the command org-backward-sentence, which is an interactive
compiled Lisp function in `org.el'.

It is bound to M-a.

(org-backward-sentence &optional ARG)

Go to beginning of sentence, or beginning of table field.
This will call `backward-sentence' or `org-table-beginning-of-field',
depending on context.


Cheers



which doesn't meet info.

See screenshot attached.

Checked from git-repo code

Thanks

Andreas
bug.png>___

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


[Orgmode] [Quey] Capture Templates

2010-11-02 Thread Puneeth
Hi All,

I have the following Capture template defined.

-
("n" "note" entry
   (file+headline "refile.org" "Notes")
   "* %^{About} :note:%^G \n\n  %U\n\n  %?" :clock-in t :clock-resume t)
-

When this capture template is invoked the order of prompting obviously
goes from About, to tags, to the note that I want to make.  But when
writing long notes, I'm usually undecided upon the tags, until I have
written the note. Is there a way to change the order of prompting? Or
quickly change the tags after the note has been made?

Thanks,
Puneeth

___
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: Problem with 7.02 - org-capture-templates not set from init file

2010-11-02 Thread Carsten Dominik


On Nov 2, 2010, at 3:29 PM, Jeffrey DeLeo wrote:

One thing I noticed that changed in org-install.el from 7.01h to  
7.02 -

in 7.02 is being explicitly defined in org-install.el as nil, that
wasn't happening before.


That is right.  However, when org-capture gets loaded, the value will  
change to the customize value - I hope.


Greetings

- Carsten



7.01h:
;;;### (autoloads (org-capture-import-remember-templates org-capture- 
insert-template-here

;;  org-capture) "org-capture" "lisp/org-capture.el" (19549 1164))
;;; Generated autoloads from lisp/org-capture.el

(autoload 'org-capture "org-capture" "\
Capture something.
\\
This will let you select a template from `org-capture-templates',  
and then

file the newly captured information.  The text is immediately inserted
at the target location, and an indirect buffer is shown where you can
edit it.  Pressing \\[org-capture-finalize] brings you back to the  
previous state

of Emacs, so that you can continue your work.

When called interactively with a \\[universal-argument] prefix  
argument GOTO, don't capture

anything, just go to the file/headline where the selected template
stores its notes.  With a double prefix argument \\[universal- 
argument] \\[universal-argument], go to the last note

stored.

When called with a `C-0' (zero) prefix, insert a template at point.

Lisp programs can set KEYS to a string associated with a template in
`org-capture-templates'.  In this case, interactive selection will be
bypassed.

\(fn &optional GOTO KEYS)" t nil)

7.02
;;;### (autoloads (org-capture-import-remember-templates org-capture- 
insert-template-here
;;  org-capture org-capture-templates) "org-capture" "lisp/org- 
capture.el"

;;  (19658 27920))
;;; Generated autoloads from lisp/org-capture.el

(defvar org-capture-templates nil "\
Templates for the creation of new entries.

Each entry is a list with the following items:

keys The keys that will select the template, as a string,  
characters
 only, for example \"a\" for a template to be selected  
with a
 single key, or \"bt\" for selection with two keys.   
When using
 several keys, keys using the same prefix key must be  
together
 in the list and preceded by a 2-element entry  
explaining the

 prefix key, for example

 (\"b\" \"Templates for marking stuff to buy\")

 The \"C\" key is used by default for quick access to the
 customization of the template variable.  But if you  
want to use

 that key for a template, you can.

description  A short string describing the template, will be shown  
during

 selection.

type The type of entry.  Valid types are:
   entry   an Org-mode node, with a headline. Will be
   filed as the child of the target entry or  
as

   a top-level entry.
   itema plain list item, will be placed in the
   first plain list at the target
   location.
   checkitem   a checkbox item.  This differs from the
   plain list item only is so far as it uses a
   different default template.
   table-line  a new line in the first table at target  
location.

   plain   text to be inserted as it is.

target   Specification of where the captured item should be  
placed.
 In Org-mode files, targets usually define a node.   
Entries will
 become children of this node, other types will be added  
to the

 table or list in the body of this node.

 Valid values are:

 (file \"path/to/file\")
 Text will be placed at the beginning or end of that  
file


 (id \"id of existing org entry\")
 File as child of this entry, or in the body of the  
entry


 (file+headline \"path/to/file\" \"node headline\")
 Fast configuration if the target heading is unique  
in the file


 (file+olp \"path/to/file\" \"Level 1 heading\" \"Level  
2\" ...)

 For non-unique headings, the full path is safer

 (file+regexp  \"path/to/file\" \"regexp to find location 
\")

 File to the entry matching regexp

 (file+datetree \"path/to/file\")
 Will create a heading in a date tree

 (file+function \"path/to/file\" function-finding- 
location)

 A function to find the right location in the file

 (clock)
File to the entry that is currently being clocked

 (function function-finding-location)
Most general way, write your own function to find both
file and location

template The template for creating the capture item.  If you  
leave this
  

[Orgmode] [BUG] Making *scratch* orgmode results in unfontified code blocks

2010-11-02 Thread Christopher Allan Webber
Not sure if I should mark this as a bug or not... could be PEBKAC, but I
can't figure out how to fix it.

I want to use org-mode as my *scratch* buffer, largely because I like
dumping fontified code snippets into it.  However, if I set *scratch* to
org-mode and also set org-src-fontify, etc, well beforehand, it still
doesn't fontify when I put src blocks in later.

To test, put this in your .emacs:

#+begin_src emacs-lisp
(setq org-src-fontify-natively t)
(setq org-src-tab-acts-natively t)

(setq initial-major-mode 'org-mode)
(with-current-buffer "*scratch*"
  (if (not (eq major-mode initial-major-mode))
  (funcall initial-major-mode)))
(setq initial-scratch-message
  (purecopy "\
# Scratch!
# 
# This buffer is for notes you don't want to save, etc.
"))
#+end_src

then open emacs, switch to *scratch*, try inserting code.

Over here at least, it doesn't seem to fontify.

Running latest master in git.

___
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: epresent and Org-mode: using Emacs to run presentations of Org-mode docs

2010-11-02 Thread Rainer M Krug
On Mon, Nov 1, 2010 at 11:47 PM, Christian Moe wrote:

> Re: converting SVG
>

Have you looked at rsvg  (http://librsvg.sourceforge.net/)?

I am not sure if it uses vector for pdf, but it might be worth a try?

Cheers,

Rainer


>
> 1. Prince (http://www.princexml.com) does SVG to PDF as vector graphics
> from the command line, very nicely. Too bad it's proprietary.
>
> e.g.
>
> : prince drawing.svg drawing.pdf
>
> 2. Ask Inkscape -- it's free software; unfortunately, the result is
> rasterized.
>
> e.g.
>
> : inkscape --without-gui --export-text-to-path --export-eps=drawing.eps
> drawing.svg
>
> From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and Prince a
> 20 KB PDF.
>
> Cheers,
> Christian
>
>
>
> On 10/29/10 4:19 PM, Eric S Fraga wrote:
>
>> Łukasz Stelmach  writes:
>>
>>  Eric S Fraga  writes:
>>>
>>>  ImageMagick [1] will convert from/to SVG to/from many formats including
 EPS.  I've not tried any conversions with SVG, mind you, so this is
 based on the documentation.


>>> I'll check it, but I'm afraid it does render SVG as bitmap first,
>>> and then "converts", or rather encapsulates, it to EPS/PDF. ImageMagick
>>> is a bitmap manipulation tool after all.
>>>
>>
>> Very true.  For presentations, this may not be that much of an issue
>> (given the resolution of many data projectors)... but it's a very valid
>> point.
>>
>> Do let us know if you find a vector based converter.
>>
>> Thanks,
>> eric
>>
>
>
> ___
> 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
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com
___
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: Problem with 7.02 - org-capture-templates not set from init file

2010-11-02 Thread Jeffrey DeLeo
One thing I noticed that changed in org-install.el from 7.01h to 7.02 -
in 7.02 is being explicitly defined in org-install.el as nil, that
wasn't happening before.

7.01h:
 ;;;### (autoloads (org-capture-import-remember-templates 
org-capture-insert-template-here
 ;;  org-capture) "org-capture" "lisp/org-capture.el" (19549 1164))
 ;;; Generated autoloads from lisp/org-capture.el

 (autoload 'org-capture "org-capture" "\
 Capture something.
 \\
 This will let you select a template from `org-capture-templates', and then
 file the newly captured information.  The text is immediately inserted
 at the target location, and an indirect buffer is shown where you can
 edit it.  Pressing \\[org-capture-finalize] brings you back to the previous 
state
 of Emacs, so that you can continue your work.

 When called interactively with a \\[universal-argument] prefix argument GOTO, 
don't capture
 anything, just go to the file/headline where the selected template
 stores its notes.  With a double prefix argument \\[universal-argument] 
\\[universal-argument], go to the last note
 stored.

 When called with a `C-0' (zero) prefix, insert a template at point.

 Lisp programs can set KEYS to a string associated with a template in
 `org-capture-templates'.  In this case, interactive selection will be
 bypassed.

 \(fn &optional GOTO KEYS)" t nil)

7.02
 ;;;### (autoloads (org-capture-import-remember-templates 
org-capture-insert-template-here
 ;;  org-capture org-capture-templates) "org-capture" "lisp/org-capture.el"
 ;;  (19658 27920))
 ;;; Generated autoloads from lisp/org-capture.el

 (defvar org-capture-templates nil "\
 Templates for the creation of new entries.

 Each entry is a list with the following items:

 keys The keys that will select the template, as a string, characters
  only, for example \"a\" for a template to be selected with a
  single key, or \"bt\" for selection with two keys.  When using
  several keys, keys using the same prefix key must be together
  in the list and preceded by a 2-element entry explaining the
  prefix key, for example

  (\"b\" \"Templates for marking stuff to buy\")

  The \"C\" key is used by default for quick access to the
  customization of the template variable.  But if you want to use
  that key for a template, you can.

 description  A short string describing the template, will be shown during
  selection.

 type The type of entry.  Valid types are:
entry   an Org-mode node, with a headline. Will be
filed as the child of the target entry or as
a top-level entry.
itema plain list item, will be placed in the
first plain list at the target
location.
checkitem   a checkbox item.  This differs from the
plain list item only is so far as it uses a
different default template.
table-line  a new line in the first table at target location.
plain   text to be inserted as it is.

 target   Specification of where the captured item should be placed.
  In Org-mode files, targets usually define a node.  Entries will
  become children of this node, other types will be added to the
  table or list in the body of this node.

  Valid values are:

  (file \"path/to/file\")
  Text will be placed at the beginning or end of that file

  (id \"id of existing org entry\")
  File as child of this entry, or in the body of the entry

  (file+headline \"path/to/file\" \"node headline\")
  Fast configuration if the target heading is unique in the file

  (file+olp \"path/to/file\" \"Level 1 heading\" \"Level 2\" ...)
  For non-unique headings, the full path is safer

  (file+regexp  \"path/to/file\" \"regexp to find location\")
  File to the entry matching regexp

  (file+datetree \"path/to/file\")
  Will create a heading in a date tree

  (file+function \"path/to/file\" function-finding-location)
  A function to find the right location in the file

  (clock)
 File to the entry that is currently being clocked

  (function function-finding-location)
 Most general way, write your own function to find both
 file and location

 template The template for creating the capture item.  If you leave this
  empty, an appropriate default template will be used.  See below
  for more details.  Instead of a string, this may also be one of

  (file \"/path/

[Orgmode] [BUG] org-indent breaks indentation of inline tasks (was: full production use of org-mode: time to say thanks again!)

2010-11-02 Thread Jeff Horn
Were these patches merged into the most recent update? Indentation
after inline tasks is broken for me.

1) use org-inlinetask-insert-task to start a new task
2) go to the "end" line, press return
3) observe indentation at column below "E" in "END" from line above
4) turn off org-indent mode and note indentation is correct

I was expecting indentation to be correct with indent-mode turned on.

Thanks,
Jeff

On Mon, Oct 11, 2010 at 4:04 AM, Carsten Dominik
 wrote:
> Hi,
>
> On Oct 11, 2010, at 8:34 AM, Nicolas Goaziou wrote:
>
>> Hello,
>>
>> Could you try the following patch and tell me if it fixes your issue?
>
> A quick test shows that things seem to work well in inlinetasks which are
> properly ended with an END line.
>
> There is also a dirty form of inline tasks which allows
> only a planning line (SCHEDULED etc) and one or several
> drawers directly after the task line, and then no
> END line is necessary.  But I guess it is fair
> to force the END line if you do want to have
> proper indentation.
>
> Eric Fraga, have you tested the patch yet?  Please do
> so when you wake up from your two-week sleep, so that
> we can check this in.
>
> Thanks Nicolas!
>
> I am seeing now two things that should be added:
>
>  - M-RET after inline tasks should ignore the inline task
>    and make a new entry with normal indentation
>  - Maybe I should treat inline tasks with proper END
>    statement as a drawer and fold it?  Comments?
>
>
>>
>> As a side note (to maintainers), the second patch isn't really needed,
>> but I thought, while I was at it, that it would make sense
>> (`org-inlinetask-min-level' doesn't need to be a boolean).
>
> Hmmm, what happens is a user has customized this variable and it has a value
> nil.  I guess then your patch will break things?
>
> So I think we need to keep testing the value in the code, but it is OK to
> change the customize type.
>
>>
>> Regards,
>>
>> -- Nicolas
>>
>>
>> <0001-Fix-indentation-of-text-after-an-inline-task.patch><0002-inlinetask-Make-org-inlinetask-min-level-an-integer-.patch>
>
> - 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
>



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

http://www.failuretorefrain.com/jeff/

___
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] Clock report (R from the agenda)

2010-11-02 Thread Carsten Dominik

Hi Sebastian,

you should now be able to use `C-u R' to achieve this.
The lighter in the mode line will then switch from "Clock" to "Clock{}",
and the current tags filtering should apply to the clock table in the
agenda.

Please test this and report back.

Thanks.

- Carsten

On Oct 27, 2010, at 9:40 AM, Sébastien Vauban wrote:


Hello,

Here is a minimal example for comments about the agenda filtering  
applied on

the clock report of logged activities.

*  
Work 
 :work 
:

 :PROPERTIES:
 :CATEGORY: Work
 :END:

** Client A

*** DONE Work on offer
   :LOGBOOK:
   CLOCK: [2010-09-30 Thu 09:12]--[2010-09-30 Thu 12:35] =>  3:23
   :END:

** Client B

*** DONE Developed SQL scripts
   :LOGBOOK:
   CLOCK: [2010-09-30 Thu 13:20]--[2010-09-30 Thu 18:06] =>  4:46
   :END:

*  
Personal 
 :home:

 :PROPERTIES:
 :CATEGORY: Personal
 :END:

** DONE Lunch with Mary
  :LOGBOOK:
  CLOCK: [2010-09-30 Thu 19:49]--[2010-09-30 Thu 21:55] =>  2:06
  :END:

* Clock report

** Without tag filtering

Commands:
- C-c a a :: Show the agenda.
- v d :: Switch to day view.
- b :: Go backward in time to display yesterday.
- l :: Toggle Logbook mode.
- R :: Toggle Clockreport mode.

Results:
:8:00-09:00 
:   Work:9:12-12:35 Clocked:   (3:23) DONE Work on  
offer   :work::

:   10:00-11:00 
:   12:00-13:00 
:   Work:   13:20-18:06 Clocked:   (4:46) DONE Developed SQL  
scripts   :work::

:   14:00-15:00 
:   16:00-17:00 
:   18:00-19:00 
:   Personal:   19:49-21:55 Clocked:   (2:06) DONE Lunch with  
Mary :home::

:   20:00-21:00 
:   22:00-23:00 
:
: | File | L | Headline | Time|  |
: |--+---+--+-+--|
: |  |   | *Total time* | *10:15* |  |
: |--+---+--+-+--|
: | Clock-Report.org |   | *File time*  | *10:15* |  |
: | Clock-Report.org | 1 | Work | 8:09|  |
: | Clock-Report.org | 2 | Client A | | 3:23 |
: | Clock-Report.org | 2 | Client B | | 4:46 |
: | Clock-Report.org | 1 | Personal | 2:06|  |
: | Clock-Report.org | 2 | DONE Lunch with Mary | | 2:06 |

** With tag filtering

Command:
- / w :: filter on tag "work (w)".

Results:
:8:00-09:00 
:   Work:9:12-12:35 Clocked:   (3:23) DONE Work on  
offer   :work::

:   10:00-11:00 
:   12:00-13:00 
:   Work:   13:20-18:06 Clocked:   (4:46) DONE Developed SQL  
scripts   :work::

:   14:00-15:00 
:   16:00-17:00 
:   18:00-19:00 
:   20:00-21:00 
:   22:00-23:00 
:
: | File | L | Headline | Time|  |
: |--+---+--+-+--|
: |  |   | *Total time* | *10:15* |  |
: |--+---+--+-+--|
: | Clock-Report.org |   | *File time*  | *10:15* |  |
: | Clock-Report.org | 1 | Work | 8:09|  |
: | Clock-Report.org | 2 | Client A | | 3:23 |
: | Clock-Report.org | 2 | Client B | | 4:46 |
: | Clock-Report.org | 1 | Personal | 2:06|  |
: | Clock-Report.org | 2 | DONE Lunch with Mary | | 2:06 |

I don't see anymore the lines that have nothing to do with my job.  
Though, I

still see the associated time in the clock report under...

Regenerating it (by disabling it and re-enabling it) does not change  
anything:

still there.

For sure, this can _not_ be considered as a bug. Nobody never said  
this should

work like I (now) expect.

Though, I guess such a feature would be benefitial for everybody --  
as I don't
see any reason for having the tag filtering only work with the diary  
view, and

not with the clock report under.

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


- 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


[Orgmode] Org-version: 7.02 trans or 7.3 ?

2010-11-02 Thread Giovanni Ridolfi
Dear all,

I just downloaded the .zip file 
of commit
1197b73769fb4855c2785cd2f2a3f1b36408a7e1

from http://repo.or.cz/w/org-mode.git
and in "master" the version number is still 7.02trans, 

whereas on Mon, 1 Nov 2010 12:58:38 + (13:58 +0100)
the Org-mode version 7.3 was released (in "maint").

Is everything correct ?
Will the number of next release from "master" jump 
from 7.02trans to 7.4 ?

Giovanni

-- 
Stat rosa pristina nomine. Nomina nuda tenemus.

___
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] Override export filename

2010-11-02 Thread Aidan Gauland
Hi,

Is there an export option to specify the name of the file to which to
export the org file?  I use org-mode for my website and I need one
page to have a different extension from .html.

Thanks,
Aidan Gauland



___
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: epresent and Org-mode: using Emacs to run presentations of Org-mode docs

2010-11-02 Thread Nick Dokos
Christian Moe  wrote:

> Hi,
> 
> the librsvg man page says PNG and JPEG raster formats only.
> 
> CM
> 
> On 11/2/10 11:40 AM, Rainer M Krug wrote:
> >
> >
> > On Mon, Nov 1, 2010 at 11:47 PM, Christian Moe  > > wrote:
> >
> > Re: converting SVG
> >
> >
> > Have you looked at rsvg  (http://librsvg.sourceforge.net/)?
> >
> > I am not sure if it uses vector for pdf, but it might be worth a try?
> >
> > Cheers,
> >
> > Rainer
> >
> >
> > 1. Prince (http://www.princexml.com) does SVG to PDF as vector
> > graphics from the command line, very nicely. Too bad it's proprietary.
> >
> > e.g.
> >
> > : prince drawing.svg drawing.pdf
> >
> > 2. Ask Inkscape -- it's free software; unfortunately, the result
> > is rasterized.
> >
> > e.g.
> >
> > : inkscape --without-gui --export-text-to-path
> > --export-eps=drawing.eps drawing.svg
> >
> >  >From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and
> > Prince a 20 KB PDF.
> >
> > Cheers,
> > Christian
> >
> >
> >
> > On 10/29/10 4:19 PM, Eric S Fraga wrote:
> >
> > Łukasz Stelmach > >  writes:
> >
> > Eric S Fragamailto:ucec...@ucl.ac.uk>>
> >   writes:
> >
> > ImageMagick [1] will convert from/to SVG to/from many
> > formats including
> > EPS.  I've not tried any conversions with SVG, mind
> > you, so this is
> > based on the documentation.
> >
> >
> > I'll check it, but I'm afraid it does render SVG as bitmap
> > first,
> > and then "converts", or rather encapsulates, it to
> > EPS/PDF. ImageMagick
> > is a bitmap manipulation tool after all.
> >
> >
> > Very true.  For presentations, this may not be that much of an
> > issue
> > (given the resolution of many data projectors)... but it's a
> > very valid
> > point.
> >
> > Do let us know if you find a vector based converter.
> >
> > Thanks,
> > eric
> >
> >
> >

The batik svg rasteriser page 

http://xmlgraphics.apache.org/batik/tools/rasterizer.html

says:

This page describes the features of the SVG Rasterizer utility
that comes with the Batik distribution. The SVG Rasterizer is a
utility that can convert SVG files to a raster format. The tool
can convert individual files or sets of files, making it easy to
convert entire directories of SVG files. The provided formats
are JPEG, PNG and TIFF, however the design allows new formats to
be added easily. In addition, the rasterizer can (despite its
name) transcode to PDF.

I haven't used it at all, but that last sentence is suggestive. Maybe it
fits the bill?

HTH,
Nick



___
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] New clocktable code

2010-11-02 Thread Carsten Dominik

Hi everyone,

I have just pushed a rewrite of the clocktable code.

It has more options now, and most importantly the code is
*much* cleaner.  In particular, data collection and formatting
are now clearly separated.  Anyone who would like to hack now
actually has a chance to do so in a correct way (well, Adam
Elliot succeeded anyway with the old code when he implemented
tags filtering, but that was a strike of genius)

Here are the new properties:

 :narrow  An integer to limit the width of the headline  
column in

  the org table.  Does not work together with `:link'.
  If you write it like `50!', then the headline will be
  be shortened literally, so that this will also work
  in export and with `:link'.
 :indent  Indent each headline field according to its level.
  This is done by a funny string like \, but it
  looks OK and works in export.
 :tcolumnsNumber of columns to be used for times.  If this is  
smaller
  than `:maxlevel', lower levels will be lumped into  
one column.

  For best result, combine this with :intent t
 :level   Should a level number column be included?
 :compact Abbreviation for `:level nil :indent t :narrow  
40! :tcolumns 1'
  All are overwritten except if there is an explicit  
`:narrow'
 :formatter   A function to format clock data and insert it into  
the buffer.

  Use this to make your own formatting all together.

There is a new variable `org-clock-table-defaults' where you can
specify defaults for all clocktable properties.

Since this is a rewrite, it would be very useful if a few people who
have been using clock tables in the past try this code and check if
they get the same results.

Thanks to Rainer Stengele for pushing me far enough to
finally tackle this mess and rewrite it.

- 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] abstract in exported latex and html

2010-11-02 Thread Carsten Dominik

Hi Christian,

thank you very much!

- Carsten

On Nov 2, 2010, at 12:22 PM, Christian Moe wrote:


Hi,

Written up, with an added note about org-exp-blocks, and pushed to:

http://orgmode.org/worg/org-faq.php#include-abstract-in-export-to-latex-and-html
http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-12

In the latter, BTW, I have also made a small change in the "semantic- 
markup" src block: the example now sets a class rather than style on  
HTML export, keeping it semantic. The debate on extensible markup  
solutions continues, I think, but I'm glad some people find the  
custom-link idea useful, in the interim at least.


Yours,
Christian


On 11/2/10 5:45 AM, Carsten Dominik wrote:

This is great and should be in the FAQ or another good place on Worg.

Thanks!

- Carsten

On Nov 1, 2010, at 10:47 PM, Christian Moe wrote:


Use org-special-blocks


On Oct 31, 2010, at 9:47 AM, Magnus Nilsson wrote:


Dear all,

Is there a way to include an abstract that suits both LaTeX  
export

and html export?

I am thinking in lines of
#+BEGIN_ABSTRACT:
My abstract goes here
#+END_ABSTRACT:
and have it interpreted differently depending on the export used.


If I'm not overlooking a hitch, you can do that now with the
contributed package org-special-blocks. Just put

(require 'org-special-blocks)

in your .emacs.

The HTML abstract won't look like anything special until you style
it, it will just be wrapped in a  element.
Here are some sample style lines for your org document header
(without line wraps):

#+STYLE: .abstract {margin: 1em; padding: 1em; border: 1px
solid black}
#+STYLE: .abstract:before {content: "ABSTRACT: ";}

Thomas S. Dye wrote:
Alternatively, you could use the existing link syntax for this  
kind of

markup. See
http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-12


I'm all for using custom links to extend inline markup, but this is
block-level, and thus handily extensible with org-special-blocks.

Cheers,
Christian






--

Christian Moe
E-mail:  m...@christianmoe.com
Website: http://christianmoe.com



- 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] Re: epresent and Org-mode: using Emacs to run presentations of Org-mode docs

2010-11-02 Thread Christian Moe

Hi,

the librsvg man page says PNG and JPEG raster formats only.

CM

On 11/2/10 11:40 AM, Rainer M Krug wrote:



On Mon, Nov 1, 2010 at 11:47 PM, Christian Moe mailto:m...@christianmoe.com>> wrote:

Re: converting SVG


Have you looked at rsvg  (http://librsvg.sourceforge.net/)?

I am not sure if it uses vector for pdf, but it might be worth a try?

Cheers,

Rainer


1. Prince (http://www.princexml.com) does SVG to PDF as vector
graphics from the command line, very nicely. Too bad it's proprietary.

e.g.

: prince drawing.svg drawing.pdf

2. Ask Inkscape -- it's free software; unfortunately, the result
is rasterized.

e.g.

: inkscape --without-gui --export-text-to-path
--export-eps=drawing.eps drawing.svg

 >From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and
Prince a 20 KB PDF.

Cheers,
Christian



On 10/29/10 4:19 PM, Eric S Fraga wrote:

Łukasz Stelmachmailto:lukasz.stelm...@iem.pw.edu.pl>>  writes:

Eric S Fragamailto:ucec...@ucl.ac.uk>>
  writes:

ImageMagick [1] will convert from/to SVG to/from many
formats including
EPS.  I've not tried any conversions with SVG, mind
you, so this is
based on the documentation.


I'll check it, but I'm afraid it does render SVG as bitmap
first,
and then "converts", or rather encapsulates, it to
EPS/PDF. ImageMagick
is a bitmap manipulation tool after all.


Very true.  For presentations, this may not be that much of an
issue
(given the resolution of many data projectors)... but it's a
very valid
point.

Do let us know if you find a vector based converter.

Thanks,
eric



___
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




--
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email: rai...@krugs.de 

Skype:  RMkrug
Google: r.m.k...@gmail.com 




--

Christian Moe
E-mail:  m...@christianmoe.com
Website: http://christianmoe.com


___
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] abstract in exported latex and html

2010-11-02 Thread Christian Moe

Hi,

Written up, with an added note about org-exp-blocks, and pushed to:

http://orgmode.org/worg/org-faq.php#include-abstract-in-export-to-latex-and-html
http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-12

In the latter, BTW, I have also made a small change in the 
"semantic-markup" src block: the example now sets a class rather than 
style on HTML export, keeping it semantic. The debate on extensible 
markup solutions continues, I think, but I'm glad some people find the 
custom-link idea useful, in the interim at least.


Yours,
Christian


On 11/2/10 5:45 AM, Carsten Dominik wrote:

This is great and should be in the FAQ or another good place on Worg.

Thanks!

- Carsten

On Nov 1, 2010, at 10:47 PM, Christian Moe wrote:


Use org-special-blocks


On Oct 31, 2010, at 9:47 AM, Magnus Nilsson wrote:


Dear all,

Is there a way to include an abstract that suits both LaTeX export
and html export?

I am thinking in lines of
#+BEGIN_ABSTRACT:
My abstract goes here
#+END_ABSTRACT:
and have it interpreted differently depending on the export used.


If I'm not overlooking a hitch, you can do that now with the
contributed package org-special-blocks. Just put

(require 'org-special-blocks)

in your .emacs.

The HTML abstract won't look like anything special until you style
it, it will just be wrapped in a  element.
Here are some sample style lines for your org document header
(without line wraps):

#+STYLE: .abstract {margin: 1em; padding: 1em; border: 1px
solid black}
#+STYLE: .abstract:before {content: "ABSTRACT: ";}

Thomas S. Dye wrote:

Alternatively, you could use the existing link syntax for this kind of
markup. See
http://orgmode.org/worg/org-tutorials/org-latex-export.php#sec-12


I'm all for using custom links to extend inline markup, but this is
block-level, and thus handily extensible with org-special-blocks.

Cheers,
Christian






--

Christian Moe
E-mail:  m...@christianmoe.com
Website: http://christianmoe.com


___
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: epresent and Org-mode: using Emacs to run presentations of Org-mode docs

2010-11-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/02/2010 12:25 PM, Christian Moe wrote:
> Hi,
> 
> the librsvg man page says PNG and JPEG raster formats only.

Unless I have completely misunderstood these two formats, they are
raster formats - consequently, svg (vector) has to be converted to raster.

Cheers,

Rainer

> 
> CM
> 
> On 11/2/10 11:40 AM, Rainer M Krug wrote:
>>
>>
>> On Mon, Nov 1, 2010 at 11:47 PM, Christian Moe > > wrote:
>>
>> Re: converting SVG
>>
>>
>> Have you looked at rsvg  (http://librsvg.sourceforge.net/)?
>>
>> I am not sure if it uses vector for pdf, but it might be worth a try?
>>
>> Cheers,
>>
>> Rainer
>>
>>
>> 1. Prince (http://www.princexml.com) does SVG to PDF as vector
>> graphics from the command line, very nicely. Too bad it's
>> proprietary.
>>
>> e.g.
>>
>> : prince drawing.svg drawing.pdf
>>
>> 2. Ask Inkscape -- it's free software; unfortunately, the result
>> is rasterized.
>>
>> e.g.
>>
>> : inkscape --without-gui --export-text-to-path
>> --export-eps=drawing.eps drawing.svg
>>
>>  >From a sample 52 KB SVG file, Inkscape gives me a 420 KB EPS and
>> Prince a 20 KB PDF.
>>
>> Cheers,
>> Christian
>>
>>
>>
>> On 10/29/10 4:19 PM, Eric S Fraga wrote:
>>
>> Łukasz Stelmach> >  writes:
>>
>> Eric S Fragamailto:ucec...@ucl.ac.uk>>
>>   writes:
>>
>> ImageMagick [1] will convert from/to SVG to/from many
>> formats including
>> EPS.  I've not tried any conversions with SVG, mind
>> you, so this is
>> based on the documentation.
>>
>>
>> I'll check it, but I'm afraid it does render SVG as bitmap
>> first,
>> and then "converts", or rather encapsulates, it to
>> EPS/PDF. ImageMagick
>> is a bitmap manipulation tool after all.
>>
>>
>> Very true.  For presentations, this may not be that much of an
>> issue
>> (given the resolution of many data projectors)... but it's a
>> very valid
>> point.
>>
>> Do let us know if you find a vector based converter.
>>
>> Thanks,
>> eric
>>
>>
>>
>> ___
>> 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
>>
>>
>>
>>
>> -- 
>> NEW GERMAN FAX NUMBER!!!
>>
>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
>> Biology, UCT), Dipl. Phys. (Germany)
>>
>> Centre of Excellence for Invasion Biology
>> Natural Sciences Building
>> Office Suite 2039
>> Stellenbosch University
>> Main Campus, Merriman Avenue
>> Stellenbosch
>> South Africa
>>
>> Cell:   +27 - (0)83 9479 042
>> Fax:+27 - (0)86 516 2782
>> Fax:+49 - (0)321 2125 2244
>> email: rai...@krugs.de 
>>
>> Skype:  RMkrug
>> Google: r.m.k...@gmail.com 
>>
> 
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzQD/YACgkQoYgNqgF2egrXBwCePSE1PWJokXadeR0Pd4h6u11q
LxoAoItPkz/Azs/fXTpypCRByZSVMXmZ
=u073
-END 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] Extended-period events in agenda views

2010-11-02 Thread Konrad Hinsen

Hi Carsten,

On 1 Nov 2010, at 20:55, Carsten Dominik wrote:

I don't think so.  But what I am also missing is a clear idea on  
*how* this event should be generated and *how* it should be  
displayed.  Apparently you do not want the event listed in the  
agenda, but you say "maybe a special font".  If the event is not  
listed, what else should be in a general font?


I can think of several ways to do this:

1) a small marker (such as a star) in front of every day in the  
specific period, with a link to the event that caused it. I'd see at a  
glance that the days is special and if I need to know the details,  
they are just a click away. Problem:  if several periods cover the  
same day, what does the link point to? There could be one star per  
special event, as long as their number remains reasonable.


2) Another visual marker for the days concerned, such as a special  
typeface (difficult, since bold and italic are already taken), or a  
different color. Problem: how to get at more detailed information? It  
could be shown in the minibuffer when the cursor is at that day, for  
example.


As for generating the event, a list of day ranges would be just fine.  
They could have some property attached to them to distinguish them  
from ordinary events.


Konrad.


___
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: Internal links in LaTeX export

2010-11-02 Thread Jambunathan K
suvayu ali  writes:

> Hi Jambunathan
>
> On 29 October 2010 03:17, Jambunathan K  wrote:
>> wish there was a way to say this:
>>
>> - "do bisection on the revisions where org-latex.el changed (as opposed
>>   to revisions where HEAD moved)"
>>
>> The candidate commits then would have reduced to 30 odd commits rather
>> than 851 that one had to contend with.
>>
>
> I see in `man git-bisect' a form like this is shown as valid,
>
> git bisect start [ [...]] [--] [...]
>
> Wouldn't that do the job?
>

Indeed. One more tools in the armour.

, [Example from Git Bisect Manual]
| Cutting down bisection by giving more parameters to bisect start
| 
| You can further cut down the number of trials, if you know what
| part of the tree is involved in the problem you are tracking
| down, by specifying path parameters when issuing the bisect start
| command:
| 
| $ git bisect start -- arch/i386 include/asm-i386
`

Jambunathan K.

___
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