Re: [O] Sort TODOs in agenda day

2012-01-31 Thread Jacek Generowicz
At Mon, 30 Jan 2012 19:32:01 -0500,
Bernt Hansen wrote:
 
 Jacek Generowicz jacek.generow...@cern.ch writes:
 
  Hello,
 
  In the standard agenda view for any single day, apponintments appear
  in chronolological order before any TODOs which seem to be ordered
  accoriding to the order in which they appear in their org files.
 
  How could I get the TODOs to be sorted by something like effort-up
  without breaking the chronological sort of the appointments?
 
 Look at the variable org-agenda-sorting-strategy.

Yes, but how do I instruct it to apply one strategy (time-up) to those
items which appear in the time-grid portion of the day's display (the
appointments), and a different one to the other entries (scheduled
TODOs, deadlines)? Specifically, by adding a command to

org-agenda-custom-commands

which contains something like

((agenda 
  ((org-agenda-sorting-strategy '(effort-up)

messes up the time ordering of appointments for that command.



Re: [O] [bug] Problem when tangling into LaTeX

2012-01-31 Thread Sebastien Vauban
Hi Eric,

Eric Schulte wrote:
 Sebastien Vauban wxhgmqzgw...@spammotel.com writes:

 I use 3 chunks of LaTeX code which I wanna insert in a LaTeX document.
 While 1 of them is correctly tangled into the LaTeX document, the 2 others
 generate errors when C-c C-v C-t'ing:

 if: reference 'who' not found in this buffer

 and, if I temporarily replace `who()' by `who', I get the next error:

 if: reference 'solde' not found in this buffer

 What I don't understand is that there is no -- sorry, I mean: I don't see --
 the difference between the 3 noweb references. They all seem correctly
 written...

 * Example

 ** Part 1
 #+name: who
 #+begin_src org :results latex
 ToMe
 #+end_src

 ** Part 2
 #+name: before
 #+begin_src org :results latex
 BeforeDate
 #+end_src

 ** Part 3
 #+name: solde
 #+begin_src org :results latex
 Rest
 #+end_src

 ** Composed letter
 #+begin_src latex :noweb yes :tangle yes
 \documentclass{article}
 \usepackage[utf8x]{inputenc}
 \usepackage[T1]{fontenc}

 \begin{document}

 \begin{textblock}{85}(98,35)
 \titlebox{9.4cm}{Foo}{% HERE  
 who()
 }
 \end{textblock}

 \begin{textblock}{110}(25,195)
 Some sentence
 before() \hfill{}% HERE  
 solde() EUR% HERE  
 \end{textblock}

 \end{document}
 #+end_src

 Currently newlines are allowed in noweb reference names causing the problems
 you noticed above.

If it does not take you too much time, can you enlighten me on the diffs
between the chunks?  Why was it well working for the second one?

 I've just pushed up a change which disallows newline characters in noweb
 references and fixes the odd behavior you describe.

References are working well. Thanks a lot!

Though, there is an annoying diff in the tangled LaTeX: the first block gets
an extra blank line (I don't understand why it differs from the others) which
will cause layout problem when compiling the document -- not this one, it's
just an not-so-valid ECM, but real ones...

#+begin_src latex
  \documentclass{article}
  \usepackage[utf8x]{inputenc}
  \usepackage[T1]{fontenc}

  \begin{document}

  \begin{textblock}{85}(98,35)
  \titlebox{9.4cm}{Foo}{% HERE  
  ToMe

  }
  \end{textblock}

  \begin{textblock}{110}(25,195)
  Some sentence
  BeforeDate
   \hfill{}% HERE  
  Rest
   EUR% HERE  
  \end{textblock}

  \end{document}
#+end_src

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] org-version reported as 6.33x after upgrading to the latest and greatest with Emacs' Package Manager

2012-01-31 Thread Angel de Vicente
Hi,

Jambunathan K kjambunat...@gmail.com writes:

 Angel de Vicente ang...@iac.es writes:
 which looks good, but if I do M-x org-version I get:
 Org-mode version 6.33x

[...]


 1. Did you restart Emacs?

yes

 2. If you remove (require 'org-install) does it help?

no

 3. Emacs-24.1 (currently in pre-test) has the latest and greatest Org.

but for the moment I would prefer not to upgrade Emacs.

Any idea on how to test if org is getting confused with 6.33 beyond
reporting that as its version?

Thanks,
-- 
Ángel de Vicente
http://www.iac.es/galeria/angelv/  
-
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protecci�n de 
Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning 
the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en




Re: [O] org-version reported as 6.33x after upgrading to the latest and greatest with Emacs' Package Manager

2012-01-31 Thread Angel de Vicente
Hi,

Jambunathan K kjambunat...@gmail.com writes:

 Any idea on how to test if org is getting confused with 6.33 beyond
 reporting that as its version?

 In your .emacs file, *just before* package-initialize add this and
 restart Emacs.

 (when (featurep 'org)
   (error Some mysterious force has already loaded org. Investigate why
   this is so.))

Yes, there were mysterious forces... :-)

As I recall it I had two problems in my .emacs file:

1) a line:

(find-file ~/org/MAIN.org)

2) and 
;; Remember-Mode
(org-remember-insinuate)
(setq org-directory /home/angelv/org/)
(setq org-default-notes-file (concat org-directory /notes.org))
(define-key global-map \C-cr 'org-remember)

Those were forcing the bundled org version to load.

Issue solved by:

* Moving line in 1) right after the (package-initialize) right at the
bottom of my .emacs

* Getting rid of lines in 2) and substituting them by:
(setq org-directory /home/angelv/org/)
(setq org-default-notes-file (concat org-directory notes.org))
(define-key global-map \C-cc 'org-capture)

* Putting out of the way the directory where the bundled ORG was
  (probably not needed, but for extra peace of mind)


BUT, I still could not capture anything with C-cc, and I got an error
about org-called-interactively-p not being valid/defined.. (don't
remember now). It looks like the new org was byte-compiled when the old
org was active and there were some issues in there. Deleting all the
.elc files, making sure that only the new org was active and then
byte-compiling the .el files again did the trick.

Cheers,
-- 
Ángel de Vicente
http://www.iac.es/galeria/angelv/  
-
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protecci�n de 
Datos, acceda a http://www.iac.es/disclaimer.php
WARNING: For more information on privacy and fulfilment of the Law concerning 
the Protection of Data, consult http://www.iac.es/disclaimer.php?lang=en




[O] tags in clock table

2012-01-31 Thread Anton Travleev
Hi, 

is there possibility to see tags in the clock table?

Anton Travleev



Re: [O] Anyone going to FOSDEM?

2012-01-31 Thread kinouchou
Hello,

I'm interested for a meetup.

kinou

2012/1/31 Christian Egli christian.e...@sbs.ch

 Hi all

 I'm trying to figure out what talks and DevRooms I should go to at
 FOSDEM and I was wondering if some fellow orgers are going to be there.
 Maybe we could meet for a chat, for dinner or even some hacking.
 Unfortunately there doesn't seem to be a GNU devroom this year. Is there
 any interest for a meetup?

 Thanks
 Christian

 --
 Christian Egli
 Swiss Library for the Blind, Visually Impaired and Print Disabled
 Grubenstrasse 12, CH-8045 Zürich, Switzerland





[O] Bug: Scheduled item appears in diary [7.8.03]

2012-01-31 Thread Paul Stansell
Hello,

I think I've found a bug in org-mode 7.8.03.  To reproduce do the following.

Start emacs with the attached files bug.el and schedule_in_agenda.org using

  emacs --no-init-file --load bug.el schedule_in_agenda.org

View the agenda by typing

  C-c a a

As far as I understand the documentation, item 1b should not appear
in the diary part of the agenda.  All other items seem to be behaving correctly.

Kind regards,

Paul Stansell



Output from M-x emacs-version RET


Emacs  : GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.18.9)
 of 2010-06-03 on xb-01.phx2.fedoraproject.org
Package: Org-mode version 7.8.03

current state:
==
(setq
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-speed-command-hook '(org-speed-command-default-hook
  org-babel-speed-command-hook)
 org-agenda-files '(schedule_in_agenda.org)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-tab-first-hook '(org-hide-block-toggle-maybe
  org-src-native-tab-command-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-blank-before-new-entry nil
 org-babel-pre-tangle-hook '(save-buffer)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook org-show-block-all
append local]
   5]
 org-babel-hide-all-hashes)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
  org-babel-execute-safely-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-export-interblocks '((lob org-babel-exp-lob-one-liners)
  (src org-babel-exp-inline-src-blocks))
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-occur-hook '(org-first-headline-recenter)
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
   org-beamer-auto-fragile-frames
   org-beamer-place-default-actions-for-lists)
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-export-blocks '((src org-babel-exp-src-block nil)
 (comment org-export-blocks-format-comment t)
 (ditaa org-export-blocks-format-ditaa nil)
 (dot org-export-blocks-format-dot nil))
 )

(add-to-list 'load-path ~/local/share/emacs/site-lisp/org)
(require 'org-install)

(global-set-key \C-ca 'org-agenda)

(setq org-agenda-files (quote
(
 schedule_in_agenda.org
 )
)
  )


schedule_in_agenda.org
Description: Lotus Organizer


Re: [O] Organizing by time or by subject and an idea

2012-01-31 Thread Eric S Fraga
John Hendy jw.he...@gmail.com writes:

 On Mon, Jan 23, 2012 at 3:00 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:

[...]

 In terms of the original questions, I use a combination of hierarchical
 structure that is filled in as a project develops, with
 revision control to allow me to see progress, together with a log based
 recording of activities (e.g. meetings, deliverables delivered, issues
 raised).  That is, I mix both of the approaches mentioned by John in his
 initial email.


 This is intriguing. I don't suppose you have a sample file of sorts?
 Specifically, I'm interested in how you mix 'n match
 hierarchical/topical vs. time-based organization. I really struggle

I may have mislead you; I do not mix 'n match in a single org file.  A
project file will have various entries as required (meeting notes,
todos, actual code, whatever) but the time logging is completely
separate.  I log all my activities and each entry simply indicates the
particular project I am working on (or whatever, like reading emails
;-).  The logging is in a standalone file, imaginatively called log.org.

Likewise, general GTD stuff also goes into separate files: tasks.org,
diary.org.

So maybe not what you want after all...

[...]

 Also, I'm a super git newb. The furthest I've gotten to is setting up

I can't help you here.  I'm also a n00b when it comes to git.  I use it
pretty much like you for org related stuff: to keep various systems in
sync.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.283.g171ea)




Re: [O] Google Tasks Integration

2012-01-31 Thread Eric S Fraga
Patrick Brennan pbren...@gmail.com writes:

 This weekend, while trying to avoid doing any real work, I started noodling
 around with the Google Tasks API and I got a respectable distance toward a
 script which will read your Google Tasks and export them to Org-mode.
 Currently it will capture the task title, the notes, the todo status (TODO
 or DONE) and the hierarchy, i.e. child tasks will be correctly placed under
 their parents. There's still a lot of polish to apply, and of course, there
 is no bidirectional capability as yet. Still, I wanted to send out this
 notice in case anyone wanted to compare notes or thought it might be an
 interesting application to share. The mobile apps for Google Tasks are
 quite good, and if I can get a really good export going, I think this will
 actually provide a plausible alternative workflow to the existing MobileOrg
 flow.

 Patrick

I would be very interested in this.  I have links to and from google
calendar for appointments but could not figure out how to do either
direction for TODO items.

Thanks,
eric

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.283.g171ea)




Re: [O] [bug] Problem when tangling into LaTeX

2012-01-31 Thread Eric S Fraga
Sebastien Vauban wxhgmqzgw...@spammotel.com writes:


[...]

 If it does not take you too much time, can you enlighten me on the diffs
 between the chunks?  Why was it well working for the second one?

I think you'll find that the asymmetry is due to the placement of your
comment strings which have the  characters, misinterpreted in this
case to indicate the start of a noweb reference...


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.283.g171ea)




[O] Org without X on Debian

2012-01-31 Thread Karl
Dear Org-mode users,

I want to use a small netbook exclusively for Org-mode. 
That's why I think I do not need X.  I set up 
a minimal Debian GNU/Linux Squeeze with Emacs 23.2.1 
and the latest Org-mode version (7.8.03).  
But then I recognized that some key combinations don't work.  
For example:

- Meta-arrow keys to not demote and promote headings
- Shift-arrow keys cannot select a date in the calendar when 
  I want to add a date, e.g. with C-c C-s.
- Shift-TAB don't work
- Shift-arrow keys do not change TODO state
- (certainly more key combinations)

Does anybody use Org in a non-graphical environment? 
Is it possible to make the (all) keys work?

Thanks!
Karl




Re: [O] Org without X on Debian

2012-01-31 Thread Richard Riley
Karl ignora...@gmx.de writes:

 Dear Org-mode users,

 I want to use a small netbook exclusively for Org-mode. 
 That's why I think I do not need X.  I set up 
 a minimal Debian GNU/Linux Squeeze with Emacs 23.2.1 
 and the latest Org-mode version (7.8.03).  
 But then I recognized that some key combinations don't work.  
 For example:

 - Meta-arrow keys to not demote and promote headings
 - Shift-arrow keys cannot select a date in the calendar when 
   I want to add a date, e.g. with C-c C-s.
 - Shift-TAB don't work
 - Shift-arrow keys do not change TODO state
 - (certainly more key combinations)

 Does anybody use Org in a non-graphical environment? 
 Is it possible to make the (all) keys work?

 Thanks!
 Karl


It depends fully on the terminal you are using and the corresponding
terminfo or whatever its called - a nightmare of complexity and hacks ;)
I tried this a good while back and, to my shame, simply gave up in
frustration. Hopefully you have better luck!





Re: [O] Org without X on Debian

2012-01-31 Thread Karl
Hi Richard,

Richard Riley rileyrg at gmail.com writes:
 It depends fully on the terminal you are using and the corresponding
 terminfo or whatever its called - a nightmare of complexity and hacks ;)
 I tried this a good while back and, to my shame, simply gave up in
 frustration. Hopefully you have better luck!

Maybe I'm wrong but isn't there a difference between a terminal 
(such as gnome-terminal) and a console? I do not have any graphical 
environment on the maschine I'm working on. I use a virtual console 
of the linux kernel.

Karl





Re: [O] Org without X on Debian

2012-01-31 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 31/01/12 14:42, Karl wrote:
 Dear Org-mode users,
 
 I want to use a small netbook exclusively for Org-mode. That's why
 I think I do not need X.  I set up a minimal Debian GNU/Linux
 Squeeze with Emacs 23.2.1 and the latest Org-mode version (7.8.03).
  But then I recognized that some key combinations don't work. For
 example:
 
 - Meta-arrow keys to not demote and promote headings - Shift-arrow
 keys cannot select a date in the calendar when I want to add a
 date, e.g. with C-c C-s. - Shift-TAB don't work - Shift-arrow keys
 do not change TODO state - (certainly more key combinations)
 
 Does anybody use Org in a non-graphical environment? Is it possible
 to make the (all) keys work?

Don't know - but I confirm this behavior, even when starting emacs in
a virtual console under Ubuntu (complete X installation)

Cheers,

Rainer

 
 Thanks! Karl
 
 


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

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

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

iEYEARECAAYFAk8n+JMACgkQoYgNqgF2egoGpwCbBMaVGOpA1EGObUUXPVwLv2X7
r1AAn2Ykaxo8FUdAGTxgCRdU5lHCzqVC
=yugP
-END PGP SIGNATURE-



Re: [O] Org without X on Debian

2012-01-31 Thread Richard Riley
Karl ignora...@gmx.de writes:

 Hi Richard,

 Richard Riley rileyrg at gmail.com writes:
 It depends fully on the terminal you are using and the corresponding
 terminfo or whatever its called - a nightmare of complexity and hacks ;)
 I tried this a good while back and, to my shame, simply gave up in
 frustration. Hopefully you have better luck!

 Maybe I'm wrong but isn't there a difference between a terminal 
 (such as gnome-terminal) and a console? I do not have any graphical 
 environment on the maschine I'm working on. I use a virtual console 
 of the linux kernel.

Yes, but certain keys are simply not catered for in that console. Its
complex and I dont claim to fully understand it. But at the end of the
day this console still needs to read the keyboard and translate it
into emacs friendly chords.




[O] Various org-mode patches

2012-01-31 Thread Toby Cubitt
I finally found time to gather various local patches to org-mode together
in a public clone of the org-mode git repo, at:

  http://www.dr-qubit.org/git/org-mode.git

Each unrelated set of changes is in a separate branch, rebased onto a
recent checkout of org master. (All of the branches also merge cleanly
with each other.)

Let me know if you'd prefer me to generate patches for patchwork, and
send them to the list for consideration that way.

Here's a brief description of the changes in each branch (fuller details
are in the Changelog-style commit messages):


agenda-diary-sexp-prefix: 
Add org-agenda-diary-sexp-prefix customization option, used to match
deadline/scheduling information within a diary sexp entry for display in
an agenda view.

agenda-prefix-format:
Optionally allow org-agenda-prefix-format to be a raw lisp sexp, to be
used directly in org-prefix-format-compiled.

agenda-skip-if:
Fix bug in '(nottodo todo) skip condition combination, and add new
todo-unblocked and nottodo-unblocked skip conditions which match like
todo and nottodo, but only on unblocked todo entries (2 separate
commits).

agenda-skip-timestamp-if-deadline:
Add org-agenda-skip-timestamp-if-deadline-is-shown customization option,
analogous to org-agenda-skip-scheduled-if-deadline-is-shown.

capture-empty-lines:
Fix bug in placement of captured subtree entries, and add
:empty-lines-before and :empty-lines-after capture template properties,
and (2 separate commits).

capture-escapes:
Add %num escapes to org capture templates, which expand to the text
entered for the num'th %^{PROMPT} escape.

daily-todo:
Implement daily todo list functionality.


toby
-- 
Dr T. S. Cubitt
email: ts...@cantab.net
web:   www.dr-qubit.org



Re: [O] Google Tasks Integration

2012-01-31 Thread Mehul Sanghvi
On Mon, Jan 30, 2012 at 23:33, Patrick Brennan pbren...@gmail.com wrote:
 This weekend, while trying to avoid doing any real work, I started noodling
 around with the Google Tasks API and I got a respectable distance toward a
 script which will read your Google Tasks and export them to Org-mode.
 Currently it will capture the task title, the notes, the todo status (TODO
 or DONE) and the hierarchy, i.e. child tasks will be correctly placed under
 their parents. There's still a lot of polish to apply, and of course, there
 is no bidirectional capability as yet. Still, I wanted to send out this
 notice in case anyone wanted to compare notes or thought it might be an
 interesting application to share. The mobile apps for Google Tasks are quite
 good, and if I can get a really good export going, I think this will
 actually provide a plausible alternative workflow to the existing MobileOrg
 flow.

 Patrick


This is good.  Let me know if I can help with testing or such things.  Since
I've got an Android phone and starting a new job next week, I've been trying
to get organized, using my phone as the center of it.  Was trying to use
MobileOrg but the workflow doesn't work well for me.  Maybe I'm
using it properly.  Either way, this is a nice option to have.


cheers,

   mehul


-- 
Mehul N. Sanghvi
email: mehul.sang...@gmail.com



Re: [O] Org without X on Debian

2012-01-31 Thread Angel de Vicente
Hi,

Karl ignora...@gmx.de writes:
 Does anybody use Org in a non-graphical environment? 
 Is it possible to make the (all) keys work?

I use it inside GNUscreen running in a gnome-terminal. I have also tried
(for a limited time) to make all the keys work but to no avail. If you
find more information on a possible solution for this, I think many
would be interested.

Cheers,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




[O] Bug: can't use square brackets in link descriptions;

2012-01-31 Thread Christoph LANGE

Dear org-mode developers,

I am desperately trying to get a square bracket into the description of 
a link.


That is, in an org file that I want to export to HTML, I would like to 
have the source


a href=http://example.org;foo [bar]/a

and of course I would like to avoid using XML character entities such as 
#5b; for [, for two reasons:


1. It is painful.
2. I might eventually want to export my org file to some other format 
than HTML.


I noticed this post on escaping in org links 
(http://article.gmane.org/gmane.emacs.orgmode/37888), but apparently I 
didn't understand it.


I thought that escaping as %5B might work – not only in the link 
component of a link, where it works due to the specification of URIs, 
but also in the description component, but in the description it 
doesn't work.


Quite generally, I wonder whether there is (or, why there is not) a 
generic escape character (e.g. the backslash), which would also allow 
for escaping other characters of the org markup syntax, such as * or /.


So far this was something like a feature request, but there is also one 
actual bug:


When I insert or edit a link with org-insert-link (C-c C-l) and insert 
square brackets into the link description, they are rewritten to {...}, 
which I do not consider acceptable.  If there is any escape syntax, they 
should rather be rewritten using that escape syntax.


Thanks in advance for any pointers,

Christoph

--
Christoph Lange, http://www.facebook.com/ch.lange, Skype duke4701



[O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Bastien
Hi all,

I wrote a new tutorial on using Emacs lisp for Org spreadsheet formulas:
http://orgmode.org/worg/org-tutorials/org-spreadsheet-lisp-formulas.html

Enjoy,

-- 
 Bastien



Re: [O] tags in clock table

2012-01-31 Thread Bernt Hansen
Anton Travleev trato...@yandex.ru writes:

 Hi, 

 is there possibility to see tags in the clock table?

What exactly are you trying to do?

There is supposed to be a way to limit the clock report to specific tags
using the :tags heading but I haven't played with this at all.

The agenda clock report used to limit to the filtered tags with C-u R
but that no longer seems to work either :/  I haven't looked into which
commit broke that functionality yet.

If you use 'v c' in the agenda to look at clocking lines the tags
associated with the headline are included -- but this isn't a clock
report which totals the values, it just shows the raw data.

Regards,
Bernt



[O] Bug: can't use square brackets in link descriptions;

2012-01-31 Thread Christoph LANGE

Dear org-mode developers,

I am desperately trying to get a square bracket into the description of 
a link.


That is, in an org file that I want to export to HTML, I would like to 
have the source


a href=http://example.org;foo [bar]/a

and of course I would like to avoid using XML character entities such as 
#5b; for [, for two reasons:


1. It is painful.
2. I might eventually want to export my org file to some other format 
than HTML.


I noticed this post on escaping in org links 
(http://article.gmane.org/gmane.emacs.orgmode/37888), but apparently I 
didn't understand it.


I thought that escaping as %5B might work – not only in the link 
component of a link, where it works due to the specification of URIs, 
but also in the description component, but in the description it 
doesn't work.


Quite generally, I wonder whether there is (or, why there is not) a 
generic escape character (e.g. the backslash), which would also allow 
for escaping other characters of the org markup syntax, such as * or /.


So far this was something like a feature request, but there is also one 
actual bug:


When I insert or edit a link with org-insert-link (C-c C-l) and insert 
square brackets into the link description, they are rewritten to {...}, 
which I do not consider acceptable.  If there is any escape syntax, they 
should rather be rewritten using that escape syntax.


Thanks in advance for any pointers,

Christoph

--
Christoph Lange, http://www.facebook.com/ch.lange, Skype duke4701



Re: [O] Feature request for noweb mode that strips references on export

2012-01-31 Thread Avdi Grimm
On Tue, Jan 31, 2012 at 2:56 AM, Sebastien Vauban
wxhgmqzgw...@spammotel.com wrote:
 Just for the sake of completeness, there is already a fourth option:

Ah! Looks like I had an older version. Thanks for prompting me to update!

I guess what I'm looking for would be called :noweb export-strip or
something like that.

-- 
Avdi Grimm
http://avdi.org



Re: [O] Sort TODOs in agenda day

2012-01-31 Thread Bernt Hansen
Jacek Generowicz jacek.generow...@cern.ch writes:

 At Mon, 30 Jan 2012 19:32:01 -0500,
 Bernt Hansen wrote:
 
 Jacek Generowicz jacek.generow...@cern.ch writes:
 
  Hello,
 
  In the standard agenda view for any single day, apponintments appear
  in chronolological order before any TODOs which seem to be ordered
  accoriding to the order in which they appear in their org files.
 
  How could I get the TODOs to be sorted by something like effort-up
  without breaking the chronological sort of the appointments?
 
 Look at the variable org-agenda-sorting-strategy.

 Yes, but how do I instruct it to apply one strategy (time-up) to those
 items which appear in the time-grid portion of the day's display (the
 appointments), and a different one to the other entries (scheduled
 TODOs, deadlines)? Specifically, by adding a command to

 org-agenda-custom-commands

 which contains something like

 ((agenda 
   ((org-agenda-sorting-strategy '(effort-up)

 messes up the time ordering of appointments for that command.

I have a fairly complicated sorting function which gets the order of
items exactly how I want to see them on the agenda.

The gory details are here:

http://doc.norang.ca/org-mode.html#AgendaViewTweaks

HTH,
Bernt



Re: [O] tags in clock table

2012-01-31 Thread Sebastien Vauban
Hi,

Bernt Hansen wrote:
 is there possibility to see tags in the clock table?

 What exactly are you trying to do?

 There is supposed to be a way to limit the clock report to specific tags
 using the :tags heading but I haven't played with this at all.

 The agenda clock report used to limit to the filtered tags with C-u R
 but that no longer seems to work either :/  I haven't looked into which
 commit broke that functionality yet.

This does limit clock lines to tasks having a particular tag that you filter
in or out. As Bernt tells, you must ask for the clock report thru C-u R (and
not just R) if you want the table to be filtered accordingly.

Bernt, this still works for me. Used it yesterday for my January sheet...

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Org without X on Debian

2012-01-31 Thread Achim Gratz
Karl ignora...@gmx.de writes:
 I want to use a small netbook exclusively for Org-mode. 
 That's why I think I do not need X.

You may not need it, but a lightweight window manager like WindowMaker
fvwm or maybe a tiling WM like awesome may be worth a second look.  Have
a look here:

http://www.junauza.com/2008/08/20-most-nimble-and-simple-x-window.html

 But then I recognized that some key combinations don't work.  

That can be made to work (I've blissfully forgotten how to since it's
been ages that I had to use a serial terminal line), but there is a bit
of cooperation required between the terminal emulation and Emacs (it
likely is the terminal that currently does not send those Meta/Shift
combination events to Emacs).  More importantly, using just the terminal
you will soon want to use something like screen, which again likes to
claim its own keyboard handling and adds more interference.  Which gets
us back to that point that maybe you really just want a different WM
instead of using the virtual terminal emulations.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] Google Tasks Integration

2012-01-31 Thread Simon Thum

On 01/31/2012 02:12 PM, Eric S Fraga wrote:

I would be very interested in this.  I have links to and from google
calendar for appointments but could not figure out how to do either
direction for TODO items.

You might want to give my script a try:

https://github.com/simonthum/ical2org

I'm using it against SoGo but I reckon any iCalendar thing would work, 
which TTBOMK includes google calendar.


Cheers,

Simon



Re: [O] Google Tasks Integration

2012-01-31 Thread Simon Thum

On 01/30/2012 08:33 PM, Patrick Brennan wrote:

This weekend, while trying to avoid doing any real work, I started noodling
around with the Google Tasks API and I got a respectable distance toward a
script which will read your Google Tasks and export them to Org-mode.
Currently it will capture the task title, the notes, the todo status (TODO
or DONE) and the hierarchy, i.e. child tasks will be correctly placed under
their parents. There's still a lot of polish to apply, and of course, there
is no bidirectional capability as yet. Still, I wanted to send out this
notice in case anyone wanted to compare notes or thought it might be an
interesting application to share. The mobile apps for Google Tasks are
quite good, and if I can get a really good export going, I think this will
actually provide a plausible alternative workflow to the existing MobileOrg
flow.

Patrick



I'm interested. I've written a CalDAV importer (and recently published 
part of it) and I'm interested in finding ways to get at least some 
amount of bi-directionality, for example, avoiding to re-import org 
entries (I can do that but it will work only for me then). Perhaps we 
can find some guidelines for sync.


Cheers,

Simon



[O] patch (was: Solved)

2012-01-31 Thread Uwe Brauer
 On Sat, 28 Jan 2012 23:33:24 +0100, Bastien b...@altern.org wrote:
Hi Bastien,

Here comes the patch (I tested it with Xemacs 21.5 and GNU
emacs 23.1); I used the 
diff -u option and hope this is ok.

Uwe 

--- org-old.el	2012-01-31 18:37:53.0 +0100
+++ org.el	2012-01-31 19:01:19.667099891 +0100
@@ -1,4 +1,4 @@
-;;; org-old.el --- Outline-based notes management and organizer
+;;; org.el --- Outline-based notes management and organizer
 ;; Carstens outline-mode for keeping track of everything.
 ;; Copyright (C) 2004-2011 Free Software Foundation, Inc.
 ;;
@@ -16966,7 +16966,7 @@
 	 (dvifile (concat texfilebase .dvi))
 	 (pngfile (concat texfilebase .png))
 	 (fnh (if (featurep 'xemacs)
-  (font-height (get-face-font 'default))
+  (font-height (face-font 'default))
 (face-attribute 'default :height nil)))
 	 (scale (or (plist-get options (if buffer :scale :html-scale)) 1.0))
 	 (dpi (number-to-string (* scale (floor (* 0.9 (if buffer fnh 140.))
@@ -16995,24 +16995,32 @@
 (if (not (file-exists-p dvifile))
 	(progn (message Failed to create dvi file from %s texfile) nil)
   (condition-case nil
-	  (call-process dvipng nil nil nil
-			-fg fg -bg bg
-			-D dpi
-			;;-x scale -y scale
-			-T tight
-			-o pngfile
-			dvifile)
-	(error nil))
-  (if (not (file-exists-p pngfile))
-	  (if org-format-latex-signal-error
-	  (error Failed to create png file from %s texfile)
-	(message Failed to create png file from %s texfile)
-	nil)
-	;; Use the requested file name and clean up
-	(copy-file pngfile tofile 'replace)
-	(loop for e in '(.dvi .tex .aux .log .png) do
-	  (delete-file (concat texfilebase e)))
-	pngfile
+		  (if (featurep 'xemacs)
+			  (call-process dvipng nil nil nil
+			-fg fg -bg bg
+;;			-D dpi
+;;			-x scale -y scale
+			-T tight
+			-o pngfile
+			dvifile)
+			(call-process dvipng nil nil nil
+		  -fg fg -bg bg
+		  -D dpi
+		  ;;-x scale -y scale
+		  -T tight
+		  -o pngfile
+		  dvifile))
+			(error nil))
+		(if (not (file-exists-p pngfile))
+			(if org-format-latex-signal-error
+(error Failed to create png file from %s texfile)
+			  (message Failed to create png file from %s texfile)
+			  nil)
+		  ;; Use the requested file name and clean up
+		  (copy-file pngfile tofile 'replace)
+		  (loop for e in '(.dvi .tex .aux .log .png) do
+			(delete-file (concat texfilebase e)))
+		  pngfile
 
 (defun org-splice-latex-header (tpl def-pkg pkg snippets-p optional extra)
   Fill a LaTeX header template TPL.
@@ -17077,7 +17085,12 @@
   Return an rgb color specification for dvipng.
   (apply 'format rgb %s %s %s
 	 (mapcar 'org-normalize-color
-		 (color-values (face-attribute 'default attr nil)
+ (if (featurep 'xemacs)
+	 (color-rgb-components
+	  (face-property 'default (cond 
+			   ((eq attr :foreground) 'foreground)
+			   ((eq attr :background) 'background
+		 (color-values (face-attribute 'default attr nil))
 
 (defun org-normalize-color (value)
   Return string to be used as color value for an RGB component.


Re: [O] Google Tasks Integration

2012-01-31 Thread Patrick Brennan
Hi Eric,

Here is the script. It's pretty simple. There is no facility for
synchronizing an org-mode file as yet. I think the best way to do the sync
would be to do it when pushing an org-mode file to Google Tasks.

Tell me how you like this and if it works well for you.

Patrick

PS:

** Requirements:
  - Python 2.6. This is the version I am using, and I am not sure if an
earlier
version will work.
  - setuptools. This is necessary in order to install the Google API for
Python.
Get setuptools from here:
http://pypi.python.org/pypi/setuptools#downloads
I downloaded the egg package
(
http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg#md5=bfa92100bd772d5a213eedd356d64086
),
set it to +x and run it
sudo ./setuptools-0.6c11-py2.6.egg
  - Google Tasks API for Python.
Use easy_install per this page:
http://code.google.com/p/google-api-python-client/wiki/Installation
sudo easy_install --upgrade google-api-python-client

Thanks,
Patrick

On Tue, Jan 31, 2012 at 5:12 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Patrick Brennan pbren...@gmail.com writes:

  This weekend, while trying to avoid doing any real work, I started
 noodling
  around with the Google Tasks API and I got a respectable distance toward
 a
  script which will read your Google Tasks and export them to Org-mode.
  Currently it will capture the task title, the notes, the todo status
 (TODO
  or DONE) and the hierarchy, i.e. child tasks will be correctly placed
 under
  their parents. There's still a lot of polish to apply, and of course,
 there
  is no bidirectional capability as yet. Still, I wanted to send out this
  notice in case anyone wanted to compare notes or thought it might be an
  interesting application to share. The mobile apps for Google Tasks are
  quite good, and if I can get a really good export going, I think this
 will
  actually provide a plausible alternative workflow to the existing
 MobileOrg
  flow.
 
  Patrick

 I would be very interested in this.  I have links to and from google
 calendar for appointments but could not figure out how to do either
 direction for TODO items.

 Thanks,
 eric

 --
 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
 : using Org-mode version 7.8.03 (release_7.8.03.283.g171ea)


#! /usr/bin/python
import gflags
import httplib2
import math
import re

from apiclient.discovery import build
from oauth2client.file import Storage
from oauth2client.client import OAuth2WebServerFlow
from oauth2client.tools import run


# Algorithm from pg 7 of Peter Duffet-Smith, 
# Practical Astronomy With Your Calculator, 3d ed.
# Check against http://www.onlineconversion.com/julian_date.htm
# and Orbiter distribution/Utils/Date.exe
# This version does not check for Gregorian calendar or BC!!!
# This version does not handle fractional days!!!
def JulianDate (Year,Month,Day,modified=False):
if (Month == 1)or(Month == 2):
Yprime = Year - 1
Mprime = Month + 12
else:
Yprime = Year
Mprime = Month

A = math.floor(Yprime / 100.0)
B = 2.0 - A + math.floor(A / 4.0)

C = math.floor(365.25 * Yprime)

D = math.floor(30.6001 * (Mprime + 1.0))

# Julian Day
JD = B + C + D + Day + 1720994.5

# Modified Julian Day
MJD = B + C + D + Day - 679006.0

if modified:
return MJD
else:
return JD


# Given a year, month, and day, compute the day of the week
def DayOfWeek(Year,Month,Day):
dayNames = [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ]
mjd = JulianDate(Year,Month,Day,True)
diff = mjd - 15019.0
# dayIndex = math.floor(diff) % 7
dayIndex = int(diff) % 7
return dayNames[dayIndex]


# Given a string which represents a date and time, e.g.
# '2012-01-30T23:59:00Z' RFC 3339 timestamp
# Format it into a Org-Mode date.
def formatDateTimeStringToOrgMode(DateTimeString,angleBrackets=True):
prog = re.compile('([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(.{1})')
match = prog.match(DateTimeString)

Year = int(match.group(1))
Month = int(match.group(2))
Day = int(match.group(3))
ShortDayName = DayOfWeek(Year,Month,Day)
Hour = int(match.group(4))
Minute = int(match.group(5))
Second = int(match.group(6))
TimeZone = match.group(7) # TODO: Use the timezone somehow

if angleBrackets:
openBracket = ''
closeBracket = ''
else:
openBracket = '['
closeBracket = ']'

retString = '%s%04d-%02d-%02d %s %02d:%02d:%02d%s' % \
(openBracket, \
 Year, Month, Day, ShortDayName, Hour, Minute, Second, \
 closeBracket)

return retString


# A 

Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Achim Gratz
Bastien b...@altern.org writes:

 http://orgmode.org/worg/org-tutorials/org-spreadsheet-lisp-formulas.html

Great.

Now, I've long wished that instead of cramming these increasingly long
formulas into that single #+TBLFM line one could have a :TBLFM: drawer
and put it there on multiple lines and perhaps even with comments.  How
awesome would that be?  :-)


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] [babel] #+call-line removes hlines and headings ?

2012-01-31 Thread Marc-Oliver Ihm

Hi Eric,

thanx ! That explains very clearly what I have seen, when trying to debug this 
phaenomenon.
So this behaviour is by design and I can work around :-)

kind regards, Marc



Am 30.01.2012 17:10, schrieb Eric Schulte:

Marc-Oliver Ihmmarc-oliver@online.de  writes:


Am 29.01.2012 11:42, schrieb Andreas Leha:

:colnames yes

Hi Andreas,

Thanx, that is definitely a solution !

And I agree with you, that its a bit puzzling, that both cases behave 
differently;
the #+call-line should just have the same result as the #+begin_src-line, to 
which after all
it just refers. Beeing able to change the behaviour of the #+call-line
with header arguments is
of course a good thing, but it should not be necessary here in the first place.

However, this would require a patch to the babel-code, which I am
currently not able to produce, because I already
got lost in debugging this problem :-) And of course I am not sure
what would be the side effects of changing this
behaviour ...

So, thanx again for pointing out this very easy workaround !


with kind regards, Marc-Oliver Ihm



To explain the cause (if not rationale) for the current behavior; when
executing a call line, an ephemeral code block is created at the point
of the call line.  The result of the called function is passed into this
ephemeral block, and the output of the block is inserted into the
buffer.

This is why call lines have *two* possible sets of header arguments, one
to pass to the original called code block, and one for local effect in
the ephemeral block.

The reason the colnames header argument is required for the call line
and not the code block, is because hlines are only stripped when data
passes *into* a code block as a variable.  In this case the 'hlines are
stripped when the table passes into the ephemeral code blocks.

Hope the above is more illuminating that confusing,






Re: [O] Possible bug in org-cycle with property drawer

2012-01-31 Thread Achim Gratz
Bastien b...@altern.org writes:
 I suggest this:

 (defconst org-persistent-drawers '(...))
 (defcustom org-custom-drawers '(...))

Persistent doesn't sound right to me, but system is also ringing a
bit hollow.  Maybe one of the native english speakers has a better idea
of what name would be a more appropriate antonym to custom?

 Then local value of org-drawers would be computed by combining the two
 (with duplicates deletion.)

 Would that be consistent to you?

I'd say we might even have three groups of drawers already: first, the
ones used for core org functionality; they shouldn't be customizable at
all.  Next, drawers that are used for optional functionality in org —
these should be customized together with configuring the functionality
they're used with.  Last, entirely user-defined drawers that have no
special meaning within org.  It's probably too late to have a separate
name space for the org-defined drawers so that they won't clash with
names that a user comes up...

As an example of the second type, if a user globally configures to log
into TIMESHEET, then it would be prudent to configure TIMESHEET as a
drawer instead of LOGBOOK.  Likewise for local (re-)configuration of
log-/clock-into-drawer.  There may be more places where behaviour like
that would need to be implemented.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] Feature request for noweb mode that strips references on export

2012-01-31 Thread Avdi Grimm
P.S. It's been a while since I've been on this ML, so if there's a
right way to do a feature request please let me know and I'll do it
:-)

On Tue, Jan 31, 2012 at 12:38 PM, Avdi Grimm gro...@inbox.avdi.org wrote:
 On Tue, Jan 31, 2012 at 2:56 AM, Sebastien Vauban
 wxhgmqzgw...@spammotel.com wrote:
 Just for the sake of completeness, there is already a fourth option:

 Ah! Looks like I had an older version. Thanks for prompting me to update!

 I guess what I'm looking for would be called :noweb export-strip or
 something like that.

 --
 Avdi Grimm
 http://avdi.org



-- 
Avdi Grimm
http://avdi.org



[O] refile and link

2012-01-31 Thread Skip Collins
I would like to have a quick way to refile subtrees in another file
while creating a link to the new location. In my use case, I keep a
comprehensive list of projects in Projects.org. Each top level
headline is the title of a project. Some projects details (TODOs,
notes, etc.) may be included under the headline. A project may grow to
the point that I want to manage it within a separate org file. In this
case it would be fantastic to have a quick refile command that leaves
behind the original headline and a link to the new location. Does this
make sense? Maybe I should be using agendas to accomplish what I want.
But keeping a canonical list of projects in a single file seems like
the right thing to do.

--
skip collins



Re: [O] how do scientists use org mode?

2012-01-31 Thread Simon Thum

Hi Christopher,

to add my 2c: I'm using org-mode to track our participation in a 
mid-sized project (9 Partners, ~30 People, 3 Years). I'm not 
coordinating, in which case I'd probably look for more project 
management centric tools, and thus found org-mode to be very useful.


I use it to track the project state, not hard data (which is typically 
massive), our commitments and other's compliance with their commitments, 
and all the rest that comes up and needs project context: Ideas, tasks, 
deadlines, project reports  what not. The outline of this file reflects 
the project structure. I have tags for partners and people in that file, 
so e.g. when I speak someone I can easily check for further things to 
discuss.


Big projects get their own file, for smaller projects and commitments I 
have a few more files. I'm not using the attachments as it's 
unfortunately a very microsoft-wordey project where git won't help much, 
but plan to use them privately. Ah yes, I use org-mode for private stuff 
too. It's the first tool that I use for more than a month.


I use export (tags) to inform my supervisor and other people on the 
project about certain aspects, which usually works OK. I also found the 
custom links to be helpful, as we have multiple web frontends for 
project-specific matters whose contents I can link in easily this way.


The whole thing synced to a server using git, which saved my shiny a few 
times. This is something I wouldn't recommend anyone to put off, even if 
your backup schedule is in minutes.


HTH,

Simon


On 01/30/2012 06:37 PM, Christopher W. Ryan wrote:

I'm fairly experienced with emacs, ESS, Sweave, and R, but I've only
started to dabble in Org mode in the past couple of weeks. Just as
Christoph is, I'm trying to decide whether/how Org-mode might be useful
in organizing and carrying out research projects, presentations, etc. So
this thread has been very useful and timely.

I'm trying to envision what a small research project, managed via a
single Org file, might look like. There would be notes from meetings,
thoughts from brainstorming sessions, scheduled appointments, data, R
code, R output, and manuscript/presentation prose. Some of this might be
destined for a manuscript, some for a beamer presentation, and some only
for internal consumption. How are all these pieces differentiated in
the Org file, so that Org knows what to put in the
presentation/manuscript, and what not to? Could anyone share or point to
a short, perhaps fictional, example?

Thanks very much.

--Chris
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
425 Robinson Street, Binghamton, NY  13904
cryanatbinghamtondotedu

Observation is a more powerful force than you could possibly reckon.
The invisible, the overlooked, and the unobserved are the most in danger
of reaching the end of the spectrum. They lose the last of their light.

From there, anything can happen . . .  [God, in Joan of Arcadia,

episode entitled, The Uncertainty Principle.]

Tomas Grigera wrote:

Hi Cristoph

On Fri, Jan 27, 2012 at 15:27, John Hendyjw.he...@gmail.com  wrote:

On Thu, Jan 26, 2012 at 3:21 PM, GMX Christoph 13christoph...@gmx.net  wrote:

Hi
this is my first post here and although I am evaluating org mode with great 
interest, I am also asking myself in which way other scientists are making use 
of org mode. It will take a while to get my head around how to accomplish 
certain things in org mode but for the moment I am intrigued by *why* one would 
want to approach the problem of organizing one's research with org mode and in 
which way.


[...]


Thomas, Eric and John gave very useful answers, I just want to add my
$0.02 as a physicist who recently (about a year ago) started using Org
mode.  I started mainly looking for a workflow organization system,
but slowly discovered it has many other possibilities. For research, I
find org-babel is a great tool. It allows you to have a document
collecting together thoughts and discussion along with data, data
analysis, scripts for data manipulations and plots (Org tables are
actually more like a spreadsheet since Org supports quite complex
formulas and even plotting directly from the table).  The many export
possibilities mean that you can share your notes with colleagues not
using Org (or even Emacs).

I have also discovered it is a great tool for drafting presentations
and then actually producing your slides via Latex- Beamer export.

HTH,

Tomas









Re: [O] how do scientists use org mode?

2012-01-31 Thread Christopher W Ryan
Ah, now I'm beginning to understand: I can export a *part* of an
org-mode file; I'm not limited to exporting the whole thing. Cool!

I also use bibtex/biblatex a lot. I've started to read that these
tools work with Org-mode also. Can anyone speak to that from
experience?

Thanks.

--Chris

On Mon, Jan 30, 2012 at 2:51 PM,  cbe...@tajo.ucsd.edu wrote:
 Christopher W. Ryan cr...@binghamton.edu writes:

 I'm fairly experienced with emacs, ESS, Sweave, and R, but I've only
 started to dabble in Org mode in the past couple of weeks. Just as
 Christoph is, I'm trying to decide whether/how Org-mode might be useful
 in organizing and carrying out research projects, presentations, etc. So
 this thread has been very useful and timely.

 I'm trying to envision what a small research project, managed via a
 single Org file, might look like. There would be notes from meetings,
 thoughts from brainstorming sessions, scheduled appointments, data, R
 code, R output, and manuscript/presentation prose. Some of this might be
 destined for a manuscript, some for a beamer presentation, and some only
 for internal consumption. How are all these pieces differentiated in
 the Org file, so that Org knows what to put in the
 presentation/manuscript, and what not to? Could anyone share or point to
 a short, perhaps fictional, example?

 Have you looked at

     http://orgmode.org/worg/org-contrib/babel/uses.html
 ??

 There are almost too many possibilities --- it is a bit overwhelming.

 Here are three things I find useful:

 1) The ability to export a subtree allows you to have many documents
 within the *.org file. Setting EXPORT_* properties for the subtree gives
 you a lot of flexibility. And it is easy to do with TAB completion to
 prompt you to fill in the needed pieces.

 2) Internal hyperlinks are really useful in staying on course in a big,
 complicated document.

 3) Noweb syntax allows you to mix and match different parts of the
 document. Below is a minimal example. The latex chunks can be used
 anywhere I need them. Navigating to '* mini report' and typing

         'C-c @ C-c C-e l'

 produces mini.tex.


 ,
 | * COMMENT latex chunks
 |
 | #+name: chunk1
 | #+begin_src latex
 |   \begin{displaymath}
 |     y = r\sin\theta
 |   \end{displaymath}
 | #+end_src
 |
 | #+name: chunk2
 | #+begin_src latex
 |   \begin{displaymath}
 |     x = s\cos\theta
 |   \end{displaymath}
 | #+end_src
 |
 |
 | * mini report
 |   :PROPERTIES:
 |   :EXPORT_FILE_NAME: mini.tex
 |   :EXPORT_TITLE: Minimal Report
 |   :EXPORT_AUTHOR: Mister CCB
 |   :END:
 |
 | #+begin_src latex :noweb yes
 | chunk1
 | chunk2
 | #+end_src
 `

 HTH,

 Chuck


 Thanks very much.

 --Chris

 [snip]

 --
 Charles C. Berry                            Dept of Family/Preventive Medicine
 cberry at ucsd edu                          UC San Diego
 http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901





Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Nicolas Goaziou
Hello,

Achim Gratz strom...@nexgo.de writes:

 Now, I've long wished that instead of cramming these increasingly long
 formulas into that single #+TBLFM line one could have a :TBLFM: drawer
 and put it there on multiple lines and perhaps even with comments.  How
 awesome would that be?  :-)

Multiple #+tblfm: lines would certainly be useful, as there already is
multiple #+header: lines.

Though, a table and a drawer are different elements. Affiliated keywords
shouldn't be separated from the element they belong.


Regards,

-- 
Nicolas Goaziou



Re: [O] Google Tasks Integration

2012-01-31 Thread Eric S Fraga
Simon Thum simon.t...@gmx.de writes:

 On 01/31/2012 02:12 PM, Eric S Fraga wrote:
 I would be very interested in this.  I have links to and from google
 calendar for appointments but could not figure out how to do either
 direction for TODO items.
 You might want to give my script a try:

 https://github.com/simonthum/ical2org

 I'm using it against SoGo but I reckon any iCalendar thing would work,
 which TTBOMK includes google calendar.

 Cheers,

 Simon

Thanks.  I already have an equivalent (described here a long time ago
and also on Worg, albeit out of date -- sorry).  The problem is that
Google doesn't export the TODO list when you ask for an ics file for a
particular calendar.  At least, I've not figured out how to get the list
exported.


-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.283.g171ea)




Re: [O] Variable settings in .emacs VS cross device portability.

2012-01-31 Thread Eric S Fraga
Eric Schulte eric.schu...@gmx.com writes:

[...]

 File Local Variables [1] make it possible to explicitly specify the
 values of variables from within the text of a .org file.  This can be
 placed in a single line at the top of a file for small changes or in a
 larger section at the end of the file.

Eric,

this doesn't always seem to work, at least not for me.  BIND always
works but certain org variables seem to be ignored when set using local
file variables.

The variables I refer to are often, maybe always (?), related to export
functions.  My gut feeling is that this has something to do with a copy
of the file being made for the export and maybe emacs not getting a
chance to set local variables for that copy?  Grasping at straws here,
mind you ;-)

I have no idea how to debug such behaviour but I have experienced this
for a long time now.  Any hints would be welcome, of course!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.283.g171ea)




Re: [O] Org without X on Debian

2012-01-31 Thread Eric S Fraga
Achim Gratz strom...@nexgo.de writes:

 Karl ignora...@gmx.de writes:
 I want to use a small netbook exclusively for Org-mode. 
 That's why I think I do not need X.

 You may not need it, but a lightweight window manager like WindowMaker
 fvwm or maybe a tiling WM like awesome may be worth a second look.  Have
 a look here:

I will second this.  I use ratpoison and have it configured so it
actually looks like a console (no borders, no labels, ...).  Maximises
the screen real estate and yet provides a full Emacs experience
including full colours (not just 16 or whatever you get with the
console) and all the various keystrokes (M-right etc.).

I used to use console+screen but found the limitations of the console
frustrating.  I still do use this combination when connecting via ssh from
my phone but that's for quick 'n dirty access only and I put up with the
reduced interface capabilities.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1
: using Org-mode version 7.8.03 (release_7.8.03.283.g171ea)




Re: [O] how do scientists use org mode?

2012-01-31 Thread Thomas S. Dye
Aloha Chris,

There is a tutorial of sorts on LaTeX export.  It includes information
on how to use bibtex with Org mode.

http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-17

Eric Schulte has written some elisp helpers for managing bibliographies
in Org mode.  I believe this is in the contrib directory of the Org mode
distribution. 

All the best,
Tom

Christopher W Ryan cr...@binghamton.edu writes:

 Ah, now I'm beginning to understand: I can export a *part* of an
 org-mode file; I'm not limited to exporting the whole thing. Cool!

 I also use bibtex/biblatex a lot. I've started to read that these
 tools work with Org-mode also. Can anyone speak to that from
 experience?

 Thanks.

 --Chris

 On Mon, Jan 30, 2012 at 2:51 PM,  cbe...@tajo.ucsd.edu wrote:
 Christopher W. Ryan cr...@binghamton.edu writes:

 I'm fairly experienced with emacs, ESS, Sweave, and R, but I've only
 started to dabble in Org mode in the past couple of weeks. Just as
 Christoph is, I'm trying to decide whether/how Org-mode might be useful
 in organizing and carrying out research projects, presentations, etc. So
 this thread has been very useful and timely.

 I'm trying to envision what a small research project, managed via a
 single Org file, might look like. There would be notes from meetings,
 thoughts from brainstorming sessions, scheduled appointments, data, R
 code, R output, and manuscript/presentation prose. Some of this might be
 destined for a manuscript, some for a beamer presentation, and some only
 for internal consumption. How are all these pieces differentiated in
 the Org file, so that Org knows what to put in the
 presentation/manuscript, and what not to? Could anyone share or point to
 a short, perhaps fictional, example?

 Have you looked at

     http://orgmode.org/worg/org-contrib/babel/uses.html
 ??

 There are almost too many possibilities --- it is a bit overwhelming.

 Here are three things I find useful:

 1) The ability to export a subtree allows you to have many documents
 within the *.org file. Setting EXPORT_* properties for the subtree gives
 you a lot of flexibility. And it is easy to do with TAB completion to
 prompt you to fill in the needed pieces.

 2) Internal hyperlinks are really useful in staying on course in a big,
 complicated document.

 3) Noweb syntax allows you to mix and match different parts of the
 document. Below is a minimal example. The latex chunks can be used
 anywhere I need them. Navigating to '* mini report' and typing

         'C-c @ C-c C-e l'

 produces mini.tex.


 ,
 | * COMMENT latex chunks
 |
 | #+name: chunk1
 | #+begin_src latex
 |   \begin{displaymath}
 |     y = r\sin\theta
 |   \end{displaymath}
 | #+end_src
 |
 | #+name: chunk2
 | #+begin_src latex
 |   \begin{displaymath}
 |     x = s\cos\theta
 |   \end{displaymath}
 | #+end_src
 |
 |
 | * mini report
 |   :PROPERTIES:
 |   :EXPORT_FILE_NAME: mini.tex
 |   :EXPORT_TITLE: Minimal Report
 |   :EXPORT_AUTHOR: Mister CCB
 |   :END:
 |
 | #+begin_src latex :noweb yes
 | chunk1
 | chunk2
 | #+end_src
 `

 HTH,

 Chuck


 Thanks very much.

 --Chris

 [snip]

 --
 Charles C. Berry                            Dept of Family/Preventive 
 Medicine
 cberry at ucsd edu                          UC San Diego
 http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901





-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Possible bug in org-cycle with property drawer

2012-01-31 Thread Nicolas Goaziou
Hello,

Bastien b...@altern.org writes:

 I suggest this:

 (defconst org-persistent-drawers '(...))
 (defcustom org-custom-drawers '(...))

 Then local value of org-drawers would be computed by combining the two
 (with duplicates deletion.)

In another thread (http://article.gmane.org/gmane.emacs.orgmode/51651),
I wrote a draft about a possible classification of drawers (and their
relative export defaults).

I think we may apply this classification here, with and hard-coded
properties drawer, special drawers (like logbook) and regular drawers.

Variables would become (defconst org-special-drawers '(...)) (defcustom
org-custom-drawers '(...)). Then, `org-drawers' would combine
PROPERTIES and the previous values.

What do you think about it (and on the mentioned draft)?


Regards,

-- 
Nicolas Goaziou



Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Nicolas Goaziou
Achim Gratz strom...@nexgo.de writes:

I don't see what is clumsy with affiliated keywords.

 #+BEGIN_SRC emacs_lisp
 :+HEADERS:
   :var data1=1
   :var data2=2
 :END:
   (message data1:%S, data2:%S data1 data2)
 #END_SRC

Src-blocks are elements. As such, they can't contain drawers. Though,
drawers can contain src-blocks.


Regards,

-- 
Nicolas Goaziou



[O] Possible bug in mobile export

2012-01-31 Thread Simon Thum

Dear all,

I've set up my mobile sync, which worked fine in versions  6.3 - 7.7. 
Now I upgraded to 7.8 and when I fire up org-mobile-push I get:


Debugger entered--Lisp error: (void-variable org-agenda-filter)
  org-mobile-push()
  call-interactively(org-mobile-push nil nil)

The variable is not described, and I'm not very emacs-savy. However I 
managed to get to the lisp in question:


; org-mobile.el
;;;###autoload
(defun org-mobile-push ()
  Push the current state of Org affairs to the WebDAV directory.
This will create the index file, copy all agenda files there, and also
create all custom agenda views, for upload to the mobile phone.
  (interactive)
  (let ((a-buffer (get-buffer org-agenda-buffer-name)))
(let ((org-agenda-buffer-name *SUMO*)
  (org-agenda-filter org-agenda-filter)
  (org-agenda-redo-command org-agenda-redo-command))


Should I configure org-agenda-filter, or is there something else I can do?

Cheers,

Simon



Re: [O] Org without X on Debian

2012-01-31 Thread Jay Belanger

 I want to use a small netbook exclusively for Org-mode. 
 That's why I think I do not need X.

 You may not need it, but a lightweight window manager like WindowMaker
 fvwm or maybe a tiling WM like awesome may be worth a second look.  Have
 a look here:

If the netbook will only be used for org-mode, and so perhaps only
running Emacs, a WM might not even be necessary.  If only one Emacs
frame is used, it could probably be run on bare X.




Re: [O] Org without X on Debian / screen, but in X

2012-01-31 Thread Detlef Steuer
On Tue, 31 Jan 2012 15:43:58 +
Angel de Vicente ang...@iac.es wrote:

 Hi,
 
 Karl ignora...@gmx.de writes:
  Does anybody use Org in a non-graphical environment? 
  Is it possible to make the (all) keys work?
 
 I use it inside GNUscreen running in a gnome-terminal. I have also tried
 (for a limited time) to make all the keys work but to no avail. If you
 find more information on a possible solution for this, I think many
 would be interested.

I've just set up my Android tablet to play nicely with screen and emacs-nox.
All that under openSuse, but that shouldn't matter too much. 

My notes taken yesterday:
* Working remotely with emacs and org-mode
  My calendar exists as a screen session running  emacs-nox running
  org-mode running in a virtual machine in our data center.

  First I need a tunnel into the university's network. This can
  very nicely be solved with sshtunnel from the market.
  Second I need a terminal connection. Connectbot is _the_ tool.

  Third I need to input a lot of Ctrl, ESC, Alt keys. Hacker's
  Keyboard to the rescue!

  On the unix machine I have to set TERM=xterm explicitly to let
  the arrow keys come through screen. Key was to start emacs as
  TERM=xterm emacs-nox todo.org inside my screen session.
   
  The last thing giving some problems were the S-arrow combinations 
  so useful for editing dates in orgmode when accessing remotely.

  Some keybindings for emacs will help.
  (global-set-key (kbd f2) 'org-shiftup)
  (global-set-key (kbd f10) 'org-shiftdown)
  (global-set-key (kbd f5) 'org-shiftleft)
  (global-set-key (kbd f7) 'org-shiftright)
  (global-set-key (kbd f1) 'org-agenda-do-earlier)
  (global-set-key (kbd f3) 'org-agenda-do-later)

  (Hacker's Keyboard has an 4x4 Fn-Key layout. Just take a look, then 
you'll 
  understand why this scheme was chosen. )

  Btw. in portait mode Hacker's Keyboard on 35% gives 41 lines for
  the terminal. (note to self)


This setup at least works good enough for me. Org-mode, the real thing, 
everywhere at my fingertipps. 

Detlef


 
 Cheers,
 -- 
 Ángel de Vicente
 http://angel-de-vicente.blogspot.com/
 
 
 





Re: [O] Excluding folders in org-publish with :exclude regexp. Not working. Fix?

2012-01-31 Thread Sankalp
Hi,
This is in continuation with the message

http://lists.gnu.org/archive/html/emacs-orgmode/2012-01/msg00053.html

I'm facing the same issue. I want to exclude a particular file, and be able
to specify it by its path.

Say, for example, in the scenario presented below,

.
├── notes
│   └── file.tex
├── project1
│   └── file.tex
└── project2
└── file.tex

I want to exclude notes/file.tex but publish the others. Using :exclude
notes/file.tex doesn't
work, whereas :exclude file.tex excludes all the files with that name.

Is this a feature that needs to be added, or is it a bug which I can fix
somehow? Any help would be
appreciated.

Sincerely,
---
Sankalp


Re: [O] Bug: can't use square brackets in link descriptions;

2012-01-31 Thread Christian Moe

Hi,

One way to solve it would be with org entities. I don't think they 
exist for square brackets, but you could make a user-defined one.


You could put something like this in your .emacs (I think plain 
bracket characters should work in every export format, so I haven't 
bothered to look up HTML entities or LaTeX commands):


(setq org-entities-user
  '((lbr [ nil [ [ [ [) ; left square bracket
(rbr ] nil ] ] ] ]))) ; right square bracket

Then try the following -- ugly as sin, and as painful as XML entities, 
but it gives the output you want in whatever format:


  Here is a [[http://foobar.org][foo \lbr{}bar\rbr{}]]

The curly bracket replacement (which I think is very reasonable, 
really) is currently hardcoded in org-make-link-string. If it were 
made customizable, that would take the pain (but not the ugliness) out 
of making links like the above.


A backslash escape would have been nice to have, but \[...\] is 
already interpreted as a math environment.


Yours,
Christian


On 1/31/12 5:19 PM, Christoph LANGE wrote:

Dear org-mode developers,

I am desperately trying to get a square bracket into the description
of a link.

That is, in an org file that I want to export to HTML, I would like to
have the source

a href=http://example.org;foo [bar]/a

and of course I would like to avoid using XML character entities such
as #5b; for [, for two reasons:

1. It is painful.
2. I might eventually want to export my org file to some other format
than HTML.

I noticed this post on escaping in org links
(http://article.gmane.org/gmane.emacs.orgmode/37888), but apparently I
didn't understand it.

I thought that escaping as %5B might work – not only in the link
component of a link, where it works due to the specification of URIs,
but also in the description component, but in the description it
doesn't work.

Quite generally, I wonder whether there is (or, why there is not) a
generic escape character (e.g. the backslash), which would also allow
for escaping other characters of the org markup syntax, such as * or /.

So far this was something like a feature request, but there is also
one actual bug:

When I insert or edit a link with org-insert-link (C-c C-l) and insert
square brackets into the link description, they are rewritten to
{...}, which I do not consider acceptable. If there is any escape
syntax, they should rather be rewritten using that escape syntax.

Thanks in advance for any pointers,

Christoph






Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Carsten Dominik

On 31.1.2012, at 19:33, Achim Gratz wrote:

 Bastien b...@altern.org writes:
 
 http://orgmode.org/worg/org-tutorials/org-spreadsheet-lisp-formulas.html
 
 Great.
 
 Now, I've long wished that instead of cramming these increasingly long
 formulas into that single #+TBLFM line one could have a :TBLFM: drawer
 and put it there on multiple lines and perhaps even with comments.  How
 awesome would that be?  :-)

Bastien already mentions that you can use C-c '  to edit the formulas.
What is less well known is that if you press TAB in one of those formulas
in the formula editor, the list form is pretty-printed - this goes a long
way for readability and editability.

- Carsten

 
 
 Regards,
 Achim.
 -- 
 +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+
 
 Factory and User Sound Singles for Waldorf Blofeld:
 http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
 
 




Re: [O] Org without X on Debian / screen, but in X

2012-01-31 Thread Sebastien Vauban
Hi Detlef,

Detlef Steuer wrote:
   The last thing giving some problems were the S-arrow combinations
   so useful for editing dates in orgmode when accessing remotely.

   Some keybindings for emacs will help.
   (global-set-key (kbd f2) 'org-shiftup)
   (global-set-key (kbd f10) 'org-shiftdown)
   (global-set-key (kbd f5) 'org-shiftleft)
   (global-set-key (kbd f7) 'org-shiftright)
   (global-set-key (kbd f1) 'org-agenda-do-earlier)
   (global-set-key (kbd f3) 'org-agenda-do-later)

FMI, what's the definition of your `org-agenda-do-earlier/later' functions?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Org without X on Debian / screen, but in X

2012-01-31 Thread Detlef Steuer
On Tue, 31 Jan 2012 23:34:42 +0100
Sebastien Vauban
wxhgmqzgw...@spammotel.com wrote:

 Hi Detlef,
 
 Detlef Steuer wrote:
The last thing giving some problems were the S-arrow combinations
so useful for editing dates in orgmode when accessing remotely.
 
Some keybindings for emacs will help.
(global-set-key (kbd f2) 'org-shiftup)
(global-set-key (kbd f10) 'org-shiftdown)
(global-set-key (kbd f5) 'org-shiftleft)
(global-set-key (kbd f7) 'org-shiftright)
(global-set-key (kbd f1) 'org-agenda-do-earlier)
(global-set-key (kbd f3) 'org-agenda-do-later)
 
 FMI, what's the definition of your `org-agenda-do-earlier/later' functions?

Sorry, must read: 
(global-set-key (kbd f1) 'org-agenda-do-date-earlier)
(global-set-key (kbd f3) 'org-agenda-do-date-later)

Thx for spotting!

Regards
Detlef

 
 Best regards,
   Seb
 
 -- 
 Sebastien Vauban
 
 
 





Re: [O] Possible bug in mobile export

2012-01-31 Thread Greg Troxel

The following fix is in org master, but not in 7.8.  I am able to use
org-mobile-push.


commit 71089b7e3b00736f854d6e95a52229853262e12a
Author: Bastien Guerry b...@altern.org
Date:   Wed Jan 4 16:37:59 2012 +0100

org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'.

* org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
instead of the obsolete `org-agenda-filter'.

Thanks to Charles Sebold for reporting this.

diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index b049f4e..bcc1c90 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -303,7 +303,7 @@ create all custom agenda views, for upload to the mobile 
phone.
   (interactive)
   (let ((a-buffer (get-buffer org-agenda-buffer-name)))
 (let ((org-agenda-buffer-name *SUMO*)
- (org-agenda-filter org-agenda-filter)
+ (org-agenda-tag-filter org-agenda-tag-filter)
  (org-agenda-redo-command org-agenda-redo-command))
   (save-excursion
(save-window-excursion



pgpK5KHy4iGJl.pgp
Description: PGP signature


[O] taskjuggler (tj3) export issues and proposals

2012-01-31 Thread John Hendy
Leading my first project and decided to dig into taskjuggler again. It
just seems so natural to have everything in org if possible, so I took
another look at the exporter, manual, and worg tutorial. [1][2]

As is, as far as I can tell, the exporter does not work out of the box
with tj3. I /think/ I could get it to work if I added in a massive
report definition (which now seems mandatory for tj3) under
=org-export-taskjuggler-default-reports=, but that just feels clumsy.
For one, not every project will have the same report. Secondly, it
seems odd to tweak report definitions through my .emacs file? I didn't
see a way to specify it in the orgmode file itself. Any non-headline
text appears to be stripped during export.

Based on my fiddling tonight, here are some suggestions/inquiries:

1) Could there be something equivalent to #+latex/#+begin_latex that
would let me export some literal taskjuggler syntax into a file?
Perhaps throw everything between a #+begin/end_taskjuggler just before
the closing } for the task?

2) Could a different naming convention be used? It seems the currently
it's either what is defined by the property :task_id: or defaults to
the first word of the headline. If the default were more likely to be
unique, it would spare having to define a ton of =task_id= properties;
instead one could define dependencies based on headline names because
the syntax for naming was known and not likely to clash with another
headline's ID.
--- First word of the parent headline + _ + first word of actual headline?
--- Bump it to the first two words of each headline?

3) As a piggyback on #1, I am successful with the following process:
-- create reports.tji with my report definitions
-- org-export-taskjuggler-default-reports set to nothing
-- export from orgmode
-- edit exported-file.tjp and add: include reports.tji to the end
-- run =tj3 filename.tjp=

Simply allowing the addition of =include reports.tji= or even
mandating that it exists would allow the use of tj3 with the current
exporter.

I don't know lisp and feel a bit guilty making potentially code-heavy
suggestions about this... That said, I'm happy to pitch in with the
manual/worg since they're a but outdated anyway. I don't see an
obvious place where one can even download tj 2.x.x anymore. The tj
team seems to have left that version behind; perhaps the org exporter
should to? Definitely chime in if you're still using it, though. I'd
be curious to know!

Thanks for any feedback.

[1] http://orgmode.org/manual/TaskJuggler-export.html
[2] http://orgmode.org/worg/org-tutorials/org-taskjuggler.html


Best regards,
John

@EricFraga: if implementing the LaTeX gantt package has moved into
either of the two actionable categories you mentioned in our last
discussion 
(http://lists.gnu.org/archive/html/emacs-orgmode/2011-08/msg01259.html),
I'd be happy to hear about it :)



Re: [O] italicizing urls

2012-01-31 Thread prad
t...@tsdye.com (Thomas S. Dye) writes:

 prad p...@towardsfreedom.com writes:

 since a url uses the forward slash as do italicized items, i'm having
 difficulty italicizing urls on the html export.

 /just [[http://gohere.com][go here]] will you?/

 shows up as 
 /just go here will you?/
 on the html export (though the go here link is valid) with nothing
 italicized and the forward slashes visible.

 i can get around it this way to some extent:
 /just/ [[http://gohere.com][go here]] /will you?/

 but was wondering if there is a better way since the go here is still
 not italicized.

 Aloha prad,

 Would this work for you?

 /just/ [[http://gohere.com][/go here/]] /will you?/

 All the best,
 Tom

hi tom! thx for this, but it seems to be the same thing that i have in
my initial post.

i was hoping not to have to break up the line into pieces.

i even tried putting escapes in:
http:\/\/gohere...
but that didn't work.

i guess orgmode doesn't leave the / inside [[][]] alone.

-- 
in friendship,
prad




Re: [O] Org without X on Debian

2012-01-31 Thread Jude DaShiell
I use org in a non-graphical environment but so far haven't tried any of 
those key combinations mentioned.  It's possible those need their own 
keystrokes to be configured for non-graphical use.  I prefer using 
non-graphical environments since me being totally blind those environments 
offer no benefits and with the use of orca, can be very unstable from time 
to time.On Tue, 31 Jan 2012, Rainer M Krug wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 31/01/12 14:42, Karl wrote:
  Dear Org-mode users,
  
  I want to use a small netbook exclusively for Org-mode. That's why
  I think I do not need X.  I set up a minimal Debian GNU/Linux
  Squeeze with Emacs 23.2.1 and the latest Org-mode version (7.8.03).
   But then I recognized that some key combinations don't work. For
  example:
  
  - Meta-arrow keys to not demote and promote headings - Shift-arrow
  keys cannot select a date in the calendar when I want to add a
  date, e.g. with C-c C-s. - Shift-TAB don't work - Shift-arrow keys
  do not change TODO state - (certainly more key combinations)
  
  Does anybody use Org in a non-graphical environment? Is it possible
  to make the (all) keys work?
 
 Don't know - but I confirm this behavior, even when starting emacs in
 a virtual console under Ubuntu (complete X installation)
 
 Cheers,
 
 Rainer
 
  
  Thanks! Karl
  
  
 
 
 - -- 
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
 Biology, UCT), Dipl. Phys. (Germany)
 
 Centre of Excellence for Invasion Biology
 Stellenbosch University
 South Africa
 
 Tel :   +33 - (0)9 53 10 27 44
 Cell:   +33 - (0)6 85 62 59 98
 Fax :   +33 - (0)9 58 10 27 44
 
 Fax (D):+49 - (0)3 21 21 25 22 44
 
 email:  rai...@krugs.de
 
 Skype:  RMkrug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAk8n+JMACgkQoYgNqgF2egoGpwCbBMaVGOpA1EGObUUXPVwLv2X7
 r1AAn2Ykaxo8FUdAGTxgCRdU5lHCzqVC
 =yugP
 -END PGP SIGNATURE-
 
 


Jude jdashiel-at-shellworld-dot-net
http://www.shellworld.net/~jdashiel/nj.html




Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Jude DaShiell
If multiple #+TBLFM: lines do ever get into legal org-mode syntax I 
think it will be a good idea to put an integer number inside the 
#+TBLFM: label so that org-mode can know in what order to use each of 
those lines.

On Tue, 31 Jan 2012, Nicolas Goaziou wrote:

 Hello,
 
 Achim Gratz strom...@nexgo.de writes:
 
  Now, I've long wished that instead of cramming these increasingly long
  formulas into that single #+TBLFM line one could have a :TBLFM: drawer
  and put it there on multiple lines and perhaps even with comments.  How
  awesome would that be?  :-)
 
 Multiple #+tblfm: lines would certainly be useful, as there already is
 multiple #+header: lines.
 
 Though, a table and a drawer are different elements. Affiliated keywords
 shouldn't be separated from the element they belong.
 
 
 Regards,
 
 


Jude jdashiel-at-shellworld-dot-net
http://www.shellworld.net/~jdashiel/nj.html




Re: [O] Org without X on Debian

2012-01-31 Thread Jude DaShiell
keymap I suspect is the controling factor here.  Maybe org-mode in the 
future could either load its own keys from the .emacs file or hae loadkeys 
run and run its own keymap file.On Tue, 31 Jan 2012, Karl wrote:

 Hi Richard,
 
 Richard Riley rileyrg at gmail.com writes:
  It depends fully on the terminal you are using and the corresponding
  terminfo or whatever its called - a nightmare of complexity and hacks ;)
  I tried this a good while back and, to my shame, simply gave up in
  frustration. Hopefully you have better luck!
 
 Maybe I'm wrong but isn't there a difference between a terminal 
 (such as gnome-terminal) and a console? I do not have any graphical 
 environment on the maschine I'm working on. I use a virtual console 
 of the linux kernel.
 
 Karl
 
 
 
 


Jude jdashiel-at-shellworld-dot-net
http://www.shellworld.net/~jdashiel/nj.html




Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Achim Gratz
Nicolas Goaziou n.goaz...@gmail.com writes:
 I don't see what is clumsy with affiliated keywords.

Well, you write the arguments before starting the source block, getting
everything wardbacks (and I don't think that's easier to parse, but you
would know better(*)).  Then there is the verbosity of the headers
themselves, but that's an argument based on aesthetics.  Last but not
least I can never remember if any of the #+ stuff is supposed to end
with a : and whether it wants another : in front of the arguments or
not.

(*) Reminds me I'll have to try what happens if I write header arguments
that are detached from the source block.  Devious, I know, but the
manual does not really specify anything.

 #+BEGIN_SRC emacs_lisp
 :+HEADERS:
   :var data1=1
   :var data2=2
 :END:
   (message data1:%S, data2:%S data1 data2)
 #END_SRC

 Src-blocks are elements. As such, they can't contain drawers.

If you look carefully, that source block above does not contain a
drawer.  It has a (hypothetical) associated multiline header argument
that happens to look and feel like a drawer.

 Though, drawers can contain src-blocks.

Is there any specification that they must fully contain them?

Anyway, that was just an idea and if nobody likes it, that's fine with
me, too.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




[O] [Accepted] Minor fix in info documentation

2012-01-31 Thread Bastien Guerry
Patch 1145 (http://patchwork.newartisans.com/patch/1145/) is now Accepted.

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3CCAMXnza2Wte75-tEoJHBOE%2B54W6gGXe0%2BGFdwJ_DQqLm8-Ddm0g%40mail.gmail.com%3E

Here is the original message containing the patch:

 Content-Type: text/plain; charset=utf-8
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Subject: [O] Minor fix in info documentation
 Date: Mon, 30 Jan 2012 16:09:04 -
 From: suvayu ali fatkasuvayu+li...@gmail.com
 X-Patchwork-Id: 1145
 Message-Id: 
 camxnza2wte75-teojhboe+54w6ggxe0+gfdwj_dqqlm8-dd...@mail.gmail.com
 To: org-mode mailing list emacs-orgmode@gnu.org
 
 
 
 
 From d84c66830856c4ff75a3a7b19bbf99219b5e6b99 Mon Sep 17 00:00:00 2001
 From: Suvayu Ali fatkasuvayu+li...@gmail.com
 Date: Mon, 9 Jan 2012 01:32:08 +0530
 Subject: [PATCH] Minor fix in info documentation.
 
 TINY CHANGE
 ---
  doc/org.texi |4 +---
  1 files changed, 1 insertions(+), 3 deletions(-)
 
 diff --git a/doc/org.texi b/doc/org.texi
 index 0de59b3..952f740 100644
 --- a/doc/org.texi
 +++ b/doc/org.texi
 @@ -10460,9 +10460,7 @@ @subsection Images in @LaTeX{} export
  this option can be used with tables as well@footnote{One can also take
  advantage of this option to pass other, unrelated options into the figure or
  table environment.  For an example see the section ``Exporting org files'' in
 -@url{http://orgmode.org/worg/org-hacks.html}}.  For example the
 -@code{#+ATTR_LaTeX:} line below is exported as the @code{figure} environment
 -below it.
 +@url{http://orgmode.org/worg/org-hacks.html}}.
  
  If you would like to let text flow around the image, add the word @samp{wrap}
  to the @code{#+ATTR_LaTeX:} line, which will make the figure occupy the left
 -- 
 1.7.7.6
 



Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Achim Gratz
Carsten Dominik carsten.domi...@gmail.com writes:
 Bastien already mentions that you can use C-c '  to edit the formulas.
 What is less well known is that if you press TAB in one of those formulas
 in the formula editor, the list form is pretty-printed - this goes a long
 way for readability and editability.

Indeed I did not know that, thanks for mentioning.  But I'm just as
concerned about the look of that line when browsing the document and the
pretty-printing for edit doesn't help with that.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

SD adaptation for Waldorf Blofeld V1.15B11:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] [ANN] ASCII back-end for new export engine

2012-01-31 Thread Achim Gratz
Nicolas Goaziou n.goaz...@gmail.com writes:
 I may be bold, but I still don't get it. num:something is a global
 option. We're talking about specifying _individually_ which headline
 wouldn't be numbered. How would a global option solve a local problem?

Had another thought about it: if the exporter took note of properties,
one could attach a property drawer to that headline.  That has the
advantage that any subheadings would correctly not be numbered as well,
through property inheritance.  Would that work?


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Carsten Dominik

On 1.2.2012, at 07:37, Achim Gratz wrote:

 Carsten Dominik carsten.domi...@gmail.com writes:
 Bastien already mentions that you can use C-c '  to edit the formulas.
 What is less well known is that if you press TAB in one of those formulas
 in the formula editor, the list form is pretty-printed - this goes a long
 way for readability and editability.
 
 Indeed I did not know that, thanks for mentioning.  But I'm just as
 concerned about the look of that line when browsing the document and the
 pretty-printing for edit doesn't help with that.

The line is really not meant for looking nice in the buffer.  maybe we should 
have an option for making (much of it) invisible.
I don't really mind, because I always work with truncate-line set to t, so the 
line never bothers me.

- Carsten

 
 
 Regards,
 Achim.
 -- 
 +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+
 
 SD adaptation for Waldorf Blofeld V1.15B11:
 http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
 
 




Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Bastien
Achim Gratz strom...@nexgo.de writes:

 But I'm just as
 concerned about the look of that line when browsing the document and the
 pretty-printing for edit doesn't help with that.

What about

#+begin_tblfm
...
...
#+end_tblfm

?

-- 
 Bastien



Re: [O] New tutorial on using Emacs lisp for Org spreadsheet formulas

2012-01-31 Thread Bastien
Hi Carsten,

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

 Bastien already mentions that you can use C-c '  to edit the formulas.
 What is less well known is that if you press TAB in one of those formulas
 in the formula editor, the list form is pretty-printed - this goes a long
 way for readability and editability.

I forgot to mention this because... I just discovered it :)

I added a note in this turorial about TAB in the formulas editor.

That's what I like about writing tutorials: that's the best way 
to teach yourself something new!

Thanks,

-- 
 Bastien



[O] Frontmatter / Text before first headline

2012-01-31 Thread Jambunathan K

 that is every element between the beginning of the parsed area and its
 first headline.

I have trouble understanding what the real purpose of the text before
the first headline is. It looks to me more like a placeholder for
capturing the Frontmatter [1]. 

I have also trouble understanding what the rightful position for it is:

Should it be like:
(a) Title, Initial Text, TOC, Chapters
Or like
(b) Title, TOC, Initial Text, Chapters

Currently org-latex does a (b). 

But if I look at an organization of a typical document, I am inclined to
think that it should be (a). It is also my contention that Table Of
Contents is relocatable only as a means to achieve (b).

I am wondering if you would be interested in formalizing frontmatter in
Org documents. Backends will then be obligated to render the front
matter headings as centered text.

--8---cut here---start-8---
document meta data contributes to Titlepage
* FRONTMATTER Abstract
  This is the document abstract

* FRONTMATTER Contents
toc

* Chapter1
* Chapter2
--8---cut here---end---8---

Footnotes: 

[1] I see that documents - books as wells as theses - are roughly
ordered as follows:
Title Page, Frontmatter, Chapters

TOC and other listings are considered as part of Frontmatter but act as
fences between the Chapter and preceding text.

- Title Page
, Frontmatter
| - Copyright notice
| - Abstract
| - Preface
| - Acknowledgements
| - Dedication
| - Table Of Contents
| - List of Tables, Figures and Illustrations etc
`
- Chapter Texts
- References

--