Re: [O] Filter depending on item level

2012-04-30 Thread Toby Cubitt
On Sun, Apr 29, 2012 at 09:27:50PM -0500, Marcelo de Moraes Serpa wrote:
 Is there a way to filter the agenda based on the level of the item.

Try the special LEVEL search property, documented in the Matching tags
and properties section of the manual.

Toby
-- 
Dr T. S. Cubitt
Mathematics and Quantum Information group
Department of Mathematics
Complutense University
Madrid, Spain

email: ts...@cantab.net
web:   www.dr-qubit.org



Re: [O] Filter depending on item level

2012-04-30 Thread Sebastien Vauban
Hi Marcelo,

Marcelo de Moraes Serpa wrote:
 Is there a way to filter the agenda based on the level of the item. For
 example, let's say I have several items tagged as projects, but I would
 like to get a list of projects that are 1st or 2nd-level items in my org
 files, like:

 * This would appear :project:
   * This would also :project:
 * This would not appear :project:

 Is there an easy way to do this currently?

I'm not yet expert in search-fu, but IIRC (from reading the excellent page of
Matt on advanced search, see Worg) you can construct a quite easy regexp with
the `*' symbol to represent your levels.

You'd have a search regexp in the following spirit:

^*{1,2} .* :project:

You need to escape some of the above symbols, though...

Please post, afterward, the regexp that worked for you.

Best regards,
  Seb

-- 
Sebastien Vauban




[O] Help! org-insert-heading doesn't work anymore and I'm losing my mind!

2012-04-30 Thread Trey Darley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi, everyone -

First post to the list. Guess I should start out by saying, Carsten et al, you
guys rock! Thanks for org-mode!

* Problem: I can no longer insert new outline headings via the usual M-RET
  binding.

Here's an overview of my setup:

** os: debian (wheezy/sid amd64)
** emacs: gnu emacs (23.4.1 - plain-vanilla distro)
** window manager: xmonad 0.10
** terminal: xfce4-terminal + tmux 1.6
** org-mode: development (via git) 

* What have I tested?

** running emacs under a different terminal (urxvt and xterm)
** running outside tmux in a normal session
** disabling all my ~/.emacs.d/ modifications apart from setting my load-path
   and the bare minimal [0] to instantiate org-mode
** running org-7.8.09 (stable) and org-7.8.06 (distro)

None of that fixed it.

* C-h C-b indicates the binding is in place.

,
| M-RET   org-insert-heading
`

* output of xev / xmodmap looks normal

M-x org-insert-heading works just fine. At this point I think I've tried
looking at all the complicated things. Past experience leads me to believe
there's something completely stupid and obvious that I'm not thinking of,
which is why I'm turning to you lot. Please, someone make me feel stupid and
save my sanity!!! ;-)


[0]: http://orgmode.org/guide/Activation.html#Activation

Cheers,
Trey
++++
Trey Darley - Brussels
twitter: @treyka
gpg fingerprint: C2AD E2A8 440C 8785 1958 B6DA 4176 9233 8F6D 8AF0
++++
Quis custodiet ipsos custodes?
++++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+eTfgACgkQQXaSM49tivAwBQCeI8lnlRBqy2rJjQGfAkvzt/Kf
TJAAn06u1TNjp5Xsyzqo94O5kVFA50cn
=9qaA
-END PGP SIGNATURE-



Re: [O] Help! org-insert-heading doesn't work anymore and I'm losing my mind!

2012-04-30 Thread Bastien
Hi Trey,

Trey Darley t...@treyka.net writes:

 * Problem: I can no longer insert new outline headings via the usual M-RET
   binding.

What does it return instead?

 M-x org-insert-heading works just fine. 

What does `C-h v org-insert-heading-hook RET' returns?

-- 
 Bastien



Re: [O] Help! org-insert-heading doesn't work anymore and I'm losing my mind!

2012-04-30 Thread Trey Darley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At Mon, 30 Apr 2012 10:36:45 +0200,
Bastien wrote:
 
 Trey Darley t...@treyka.net writes:
 
  * Problem: I can no longer insert new outline headings via the usual M-RET
binding.
 
 What does it return instead?

Just a newline.

 
  M-x org-insert-heading works just fine. 
 
 What does `C-h v org-insert-heading-hook RET' returns?
 

It returns nil, Bastien.

Cheers,
Trey
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+eUKMACgkQQXaSM49tivB4uACdG5nElhbCWnMq5qJaHqwd0Nxm
KhwAn2yGgS4i47FMEbuRZT2jG2RNxBCa
=mcaJ
-END PGP SIGNATURE-



Re: [O] mail integration, advice?

2012-04-30 Thread Richard Riley
Neil Smithline emacs-orgm...@neilsmithline.com writes:

 On 4/27 08:09 , Stephen Eglen wrote:
 A relatively new emacs mailer, mu4e, is worth mentioning:

 http://www.djcbsoftware.nl/code/mu/mu4e.html

 I really like it so far + it has support for org mode links.

 Stephen,

 I didn't know about mu4e. I've played around with mu in the past and thought 
 it
 was very cool but couldn't really work it into my daily workflow. mu4e seems 
 to
 handle that.

 Are the directions at
 http://www.djcbsoftware.nl/code/mu/mu4e/Gmail-configuration.html really all it
 takes to get this running? If so, I'm definitely going to give it a
 whirl.

That looks incredibly complicated compared to gnus which supports really
fast and good direct imap connections. Offlineimap and then serving up
as maildir can get really messy if you have more than one gmail
account. Obviously if you want a local email cache offline imap is great
combined with something like a local dovecot - I had this setup for a
while until I started to consider the possible ramifications of losing
my laptop and my entire lifes emails being present on that hard drive ;)
The other issue being the plainttext storage of your gmail password
although I believe there must be some way of obfuscating that. Gnus and
its use of .gpg auth files is pretty reassuring.


 Neil Smithline
 http://www.neilsmithline.com
 Proud GNU Emacs user since 1986, v. 18.24.





-- 
Sent using Emacs/Gnus from home ...




[O] Habit tracking and table data

2012-04-30 Thread Steinar Bang
I'm logging my bicycling to work using org habit tracking.  I'm using a
comment to track the time and distance (and average speed).  It would
have been nice if the habit tracking could have used a table for this.

I have googled for something similar to this but not found it.  Has
anyone else done something similar?  Does any of the org gurus have any
idea of a different way I could accomplish this?

Thanks!


- Steinar




Re: [O] Help! org-insert-heading doesn't work anymore and I'm losing my mind!

2012-04-30 Thread Bastien
Trey Darley t...@treyka.net writes:

 * What have I tested?

 ** running emacs under a different terminal (urxvt and xterm)
 ** running outside tmux in a normal session
 ** disabling all my ~/.emacs.d/ modifications apart from setting my load-path
and the bare minimal [0] to instantiate org-mode
 ** running org-7.8.09 (stable) and org-7.8.06 (distro)

Please also try with a bare emacs

~$ emacs -Q

As you have FLIM/SEMI/APEL loaded, perhaps there is some obscure
interaction that breaks stuff.  But it works okay here.

HTH,

-- 
 Bastien



Re: [O] Help! org-insert-heading doesn't work anymore and I'm losing my mind!

2012-04-30 Thread suvayu ali
Hi Trey,

On Mon, Apr 30, 2012 at 14:34, Bastien b...@gnu.org wrote:
 Trey Darley t...@treyka.net writes:

 * What have I tested?

 ** running emacs under a different terminal (urxvt and xterm)
 ** running outside tmux in a normal session
 ** disabling all my ~/.emacs.d/ modifications apart from setting my load-path
    and the bare minimal [0] to instantiate org-mode
 ** running org-7.8.09 (stable) and org-7.8.06 (distro)

 Please also try with a bare emacs

 ~$ emacs -Q

 As you have FLIM/SEMI/APEL loaded, perhaps there is some obscure
 interaction that breaks stuff.  But it works okay here.

If you are having trouble starting a minimal setup, you can follow the
instructions in the manual.

http://orgmode.org/manual/Feedback.html#Feedback

GL

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Bad interaction between flyspell and org-mode with latest Emacs

2012-04-30 Thread Bastien
Vladimir Lomov lomov...@gmail.com writes:

 Well, may be I said it too obscure, it is ok for revno = 108011, but =
 10812 have problem.

Okay...  revno 10812 is a merge from an Emacs branch and contains many
changes.  The odds are good that your bug is related to a change outside
of Org.  If not, please report it here.  Thanks!

-- 
 Bastien



Re: [O] Org Clock Timer in Frame Title bug

2012-04-30 Thread George Kettleborough
On Sun, Apr 29 2012, Bastien wrote:
 `global-mode-string' and ̀frame-title-format' are list by default
 and they cannot be customized.  They can be manually set to a string,
 but that's a mistake (okay, `global-mode-string' is a misleading name.)

On my Fedora box, frame-title-format is by default:

(multiple-frames %b
 ( invocation-name @ system-name))

This is the value even if --no-init-file is used so I don't think this
is distro-specific.

Since the first element in the list is a symbol, the behaviour is to
treat it as a boolean which decides whether the second or third element
is used.  Anything appended to this list is just ignored.

Is this what you mean by frame-title-format being a list by default?  If
so, it's the wrong type of list and we do need to ensure that it's of
the correct form before we can append stuff to the end for display.

global-mode-string, on the other hand, does seem to be of the right type
by default:

()

Thanks,

George.



[O] export image generated by python code.

2012-04-30 Thread Khoroshyy Petro
Hi all.
After some struggle, I can see inline pictures  in my org file.
The problem was python execution. If I execure the code in python-mode
shell, it generates a picture.
I the code executed via C-c C-c, the output picture file is empty.
I still do not know how to solve it.

And I have encountered another problem. The 'result' image is not
exported, even if I add play with :export option.

Any recommendations how to solve those?
Thanks
Petro
#+BEGIN_SRC python :file estimated_spectra_cl.png
  import pylab
  from scipy import optimize
  import numpy as np
  import pylab as plt
.
  plt.figure()
  plt.plot(spectra[:,0],spectra[:,1:])
  plt.grid(1)
  # plt.show()
  plt.savefig(estimated_spectra_cl.png,dpi=100)
#+END_SRC

#+RESULTS:
[[file:estimated_spectra_cl.png]]



[O] [bug] Negating time changes its value

2012-04-30 Thread Sebastien Vauban
Hello,

Taking the opposite of a time (that is, putting a minus sign in front of it)
changes its value...

Here, a quick ECM to demonstrate the above:

* Grand total

#+TBLNAME: GrandTot
| Total | 232:11 |

* Other total

#+TBLNAME: OtherTot
| Total | 158:07 |

* Computation

** OK

The other total time is to be divided by 2, and substracted from the grand
total time.

|  |   Time |
|--+|
| Grand total  | 232:11 |
| - Other total / 2|  79:03 |
|--+|
| = Total to be considered | 153:08 |
#+TBLFM: 
@2$2=remote(GrandTot,@1$2);T::@3$2=remote(OtherTot,@1$2)/2;T::@4$2=@2-@3;T

That's correct.

** Not OK

However, I would like to clearly state that the amounts do no add, by having a
minus sign in the time column:

|  |   Time |
|--+|
| Grand total  | 232:11 |
| - Other total / 2| -80:56 |
|--+|
| = Total to be considered | 151:15 |
#+TBLFM: 
@2$2=remote(GrandTot,@1$2);T::@3$2=-remote(OtherTot,@1$2)/2;T::@4$2=@2+@3;T

Whoops! Not the same results...

Other variations also fail:

|  |   Time |
|--+|
| Grand total  | 232:11 |
| - Other total / 2| -80:56 |
|--+|
| = Total to be considered | 151:15 |
#+TBLFM: 
@2$2=remote(GrandTot,@1$2);T::@3$2=remote(OtherTot,@1$2)/-2;T::@4$2=@2+@3;T

or

|  |   Time |
|--+|
| Grand total  | 232:11 |
| - Other total / 2| -80:56 |
|--+|
| = Total to be considered | 151:15 |
#+TBLFM: 
@2$2=remote(GrandTot,@1$2);T::@3$2=remote(OtherTot,@1$2)/2*-1;T::@4$2=@2+@3;T

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Help! org-insert-heading doesn't work anymore and I'm losing my mind!

2012-04-30 Thread Nick Dokos
Bastien b...@gnu.org wrote:

 Trey Darley t...@treyka.net writes:
 
  * What have I tested?
 
  ** running emacs under a different terminal (urxvt and xterm)
  ** running outside tmux in a normal session
  ** disabling all my ~/.emacs.d/ modifications apart from setting my 
  load-path
 and the bare minimal [0] to instantiate org-mode
  ** running org-7.8.09 (stable) and org-7.8.06 (distro)
 
 Please also try with a bare emacs
 
 ~$ emacs -Q
 
 As you have FLIM/SEMI/APEL loaded, perhaps there is some obscure
 interaction that breaks stuff.  But it works okay here.
 

Try C-h c M-RET in an org buffer. If something is capturing the key
before emacs gets its hands on it, this will confirm it: emacs won't
see it and you'll still be at the Describe key prompt.

Also, you might want to use a dribble file to see what Emacs sees as
the input: (info (emacs) Checklist) describes how to turn it on.

Nick






Re: [O] Help! org-insert-heading doesn't work anymore and I'm losing my mind!

2012-04-30 Thread Nick Dokos
Trey Darley t...@treyka.net wrote:

 At Mon, 30 Apr 2012 10:36:45 +0200,
 Bastien wrote:
 
  Trey Darley t...@treyka.net writes:
 
   * Problem: I can no longer insert new outline headings via the usual M-RET
 binding.
 
  What does it return instead?
 
 Just a newline.
 

So it sound as if the meta key is not working. Does ESC RET work?

Nick

 
   M-x org-insert-heading works just fine.
 
  What does `C-h v org-insert-heading-hook RET' returns?
 
 
 It returns nil, Bastien.
 
 Cheers,
 Trey



Re: [O] export image generated by python code.

2012-04-30 Thread Darlan Cavalcante Moreira

Remember that when you execute the code via C-c C-c it is run in a
temporary file which is not in the same folder as the org file from where
it was generated from. Maybe you are reading some data from a file and
Python is not able to locate the file when run with C-c C-c.

Put :results output in the header and then print the current working
directory to see what I mean. If this is the problem, use the full path to
load any data you need in the python code. Remember you can use variables
in org-babel to pass this path to python, such as :var
datapath=some_path_or_lisp_function_to_get_the_path in the babel header..

--
Darlan

At Mon, 30 Apr 2012 15:54:34 +0200,
Khoroshyy Petro khoros...@gmail.com wrote:
 
 Hi all.
 After some struggle, I can see inline pictures  in my org file.
 The problem was python execution. If I execure the code in python-mode
 shell, it generates a picture.
 I the code executed via C-c C-c, the output picture file is empty.
 I still do not know how to solve it.
 
 And I have encountered another problem. The 'result' image is not
 exported, even if I add play with :export option.
 
 Any recommendations how to solve those?
 Thanks
 Petro
 #+BEGIN_SRC python :file estimated_spectra_cl.png
   import pylab
   from scipy import optimize
   import numpy as np
   import pylab as plt
 .
   plt.figure()
   plt.plot(spectra[:,0],spectra[:,1:])
   plt.grid(1)
   # plt.show()
   plt.savefig(estimated_spectra_cl.png,dpi=100)
 #+END_SRC
 
 #+RESULTS:
 [[file:estimated_spectra_cl.png]]
 



Re: [O] [bug] Assigning 0:00 to cell gives an error

2012-04-30 Thread Sebastien Vauban
Hi,

Carsten Dominik wrote:
 On 20.3.2012, at 14:59, Sebastien Vauban wrote:
 
 As shown by this example, we can't assign the value 0:00 to a cell:
 
 | Task|  HH:MM |
 |-+|
 | This|   1:23 |
 | Nothing | #ERROR |
 | That|   1:23 |
 #+TBLFM: @2$2=1:23::@3$2=0:00::@4$2=4:56

 you can use @3$2=string(0:00)

 - Carsten

We can assign the value 0:00 to a cell via the string function:

| Task| HH:MM |
|-+---|
| This|  1:23 |
| Nothing |  0:00 |
| That|  4:56 |
#+TBLFM: @2$2=1:23::@3$2=string(0:00)::@4$2=string(4:56)

but, *when giving the value via the table formula*

- we can't convert any time (0:00 or H:MM) to a fractional time:

  | Task| HH:MM |
  |-+---|
  | This| 0.00  |
  | Nothing | na|
  | That| na|
  #+TBLFM: @2$2=1:23;t::@3$2=string(0:00);t::@4$2=string(4:56);t

- we can't confirm that its format must be H:MM

  | Task| HH:MM |
  |-+---|
  | This| 0:00  |
  | Nothing | na|
  | That| na|
  #+TBLFM: @2$2=1:23;T::@3$2=string(0:00);T::@4$2=string(4:56);T

Those problems do arise in both ways of assigning a time to a cell:

- via the common way:  @2$2=1:23

  Results: 0.00

- via the string function:  @4$2=string(4:56)

  Results: org-table-time-seconds-to-string:
  Wrong type argument: stringp, (0 Number expected)

  (I've explicitly written na strings which never got replaced, because of
  this error)

Best regards,
  Seb

-- 
Sebastien Vauban



[O] External link abbreviations don't work when contained in #+INCLUDE file

2012-04-30 Thread D. C. Toedt
External link abbreviations don't seem to work if they're in an #+INCLUDE
file -- they end up pointing to a (non-existent) anchor within the main
document.

The same external link abbreviations seem to work fine if they're in the
main file.

I'm using the latest build of GNU Emacs (24.1.50.1, April 23) and the
latest version of Org-mode 7.8.09 (built-in).

I've done a fair amount of Google searching for possible answers.

Any thoughts?  Here are excerpts from the relevant files.  The same
(presumably-)erroneous behavior exists even with stripped-down files
containing only the text below.

---

[In Chapter.org:]

 #+INCLUDE: Links.org


For an example of a confidentiality provision protecting each party's
information, see [[Disney-Pixar][Disney Pixar]] § 19(c)(1).



---

[In Links.org:]

 #+LINK: Disney-Pixar http://goo.gl/P3ak2


---

[In Chapter.html:]

 For an example of a confidentiality provision protecting each party's
information, see a href=#Disney-PixarDisney Pixar/a § 19(c)(1).





Thanks in advance,

D. C.

-- 
*D. C. Toedt III * |  Lawyer for tech companies  |  Houston, Texas (Central
time zone)
d...@toedt.com  |  O: +1 (713) 364-6545  C: +1 (713) 516-8968  |  Last name
pronounced: Tate
*LinkedIn:* dctoedt http://www.linkedin.com/in/dctoedt  |  *Blog: *
www.TechLawNotes.com http://www.techlawnotes.com  |  Twitter:
dctoedthttp://twitter.com/#!/dctoedt






On Mon, Apr 30, 2012 at 10:48, Bastien b...@gnu.org wrote:

 Greetings,

 thank you very much for the generous donation, it is really appreciated.

 Just out of curiosity, may I ask you how you use Org-mode?  More
 precisely, do you use it as a publishing tool or in your publishing
 toolchain?

 Thanks a lot in advance for your answers!

 Best regards,

 --
  Bastien



Re: [O] Small grammar tweaks in export sections of org.texi

2012-04-30 Thread Brian van den Broek
On 26 April 2012 15:54, Bastien b...@gnu.org wrote:
 Hi Brian,

 Brian van den Broek brian.van.den.br...@gmail.com writes:

snip

 I don't think my employer (I teach Philosophy at the College-level)
 has a basis to claim ownership of copyright on my work product, but I
 also seem to have misplaced my law degree :-) I thus cannot
 confidently say that it is false that I have an employer who *might*
 have a basis to claim ownership of my changes.

 I've written the relevant gnu.org address seeking clarification as to
 whether my good faith belief suffices in my circumstances.

 Okay let us know.  You might get a faster reply by Cc'ing me as the
 maintainer.  Also, perhaps your College administration will be faster
 that GNU ones -- but chances are that both will be slow anyway.

 In the meantime, don't hesitate to report problems informally on the
 list!


Hi Bastien,

Thanks for the response and sorry for my delay; I was traveling.

To my considerable surprise and pleasure, my email to the relevant
gnu.org address got a reply in under 48h. The synopsis is that gnu and
the FSF are only concerned about employer claims for those employed to
program or those studying comp sci at uni. Hence, I shall send my
papers in shortly. It may, however, take some considerable time
nonetheless; I am given to understand that mail from Egypt to the US
is both unreliable and extremely slow. Once all is settled, expect
patches :-)

Thanks and best,

Brian vdB



[O] Table alignment

2012-04-30 Thread Thomas S. Dye
Aloha all,

Aligning this table with C-c C-c when the cursor is in one of the cells
of the first column results in an error: if: Wrong type argument:
char-or-string-p, nil.

It works in other cells or on one of the hlines.
 
|+--+|
| Command| A Number | Comments   |
|+--+|
| =\alignauthor= |  100 | Author alignment   |
|+--+|
| =\numberofauthors= |  200 | Author enumeration |
|+--+|
| =\table=   |  300 | For tables |
|+--+|
| =\table*=  |  400 | For wider tables   |
|+--+|

Perhaps this is known behavior?  If so, sorry for the noise.  Org-mode
tables typically just work for me, so I was surprised to find a
situation where one did not.

All the best,
Tom

-- 
T.S. Dye  Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



Re: [O] defining a clocktable in a capture template with absolute timespan computed relative to today

2012-04-30 Thread Brian van den Broek
On 27 April 2012 05:52, Ippei FURUHASHI top.tuna+orgm...@gmail.com wrote:
 Hi Brian,

 Brian van den Broek brian.van.den.br...@gmail.com writes:
 how to add 1 day to the return value of (current-time).

 This hard coding is out of org-mode range,

 #+BEGIN_SRC elisp
 (format-time-string %Y-%m-%d (time-add (current-time) (seconds-to-time (* 
 24 60 60
 #+END_SRC

 #+RESULTS:
 : 2012-04-28

snip

Hi IP,

Thanks for the reply and apologies for the delay in my response; I was
traveling.

Thanks too for the code sample. It does exactly what was desired. (I
expect I ought to have been able to dig that up for myself, so a
double thanks :-)

 I've been experimenting with a new means of using org to plan my day at
 the outset and, at the end of it, to easily review how close I have come
 to accomplishing what I planned.
 I'm very interested. How do you compare your plan with results?


I was experimenting with planning tasks at the beginning of the day by
assigning a number of .5 hour blocks to them at the outset of the day
and then simply visually inspecting a clock table for the day at day's
end to see how well I managed to adhere to the intent. I have
something like this in my org-capture-templates definition:

#+BEGIN_SRC elisp
(p Plan the Day entry (file+datetree log.org)   * Plan and Work
Log for %(format-time-string \%Y-%m-%d\ (current-time)) :plan:
  :PROPERTIES:
  :entered: %U
  :END:

  |---+-|
  | Task* | Pomos * |
  |---+-|
  | [[id:de721347-0896-41d3-84d0-da824332c71c][Plan the day]]
| ( ) %i|
  | [[id:898a9827-2d51-4fd7-8e07-4ff678a83e19][Some Task]]
  | [ ][ ] |
  | [[id:f30fc641-5e22-4329-8b9b-58dd26c28f54][Work on Textbook]]
 | [ ][ ] [ ][ ]   |
  |---+-|

#+BEGIN: clocktable :maxlevel 4 :scope agenda :tstart
\%(format-time-string \%Y-%m-%d %a\ (current-time)) 08:00\ :tend
\%(format-time-string \%Y-%m-%d %a\ (time-add (current-time)
(seconds-to-time (* 24 60 60 08:00\ :link t :narrow 60! :indent
t :tcolumns 3 :fileskip0

#+END:

* Day's End :journal:

   :empty-lines 1  :clock-in t :clock-resume t)

)))
#+END_SRC

(I am an extreme night owl, so 08:00 is a good place to mark the day
change for me. I have '(setq org-extend-today-until 8)' in my .emacs.)

Several constant tasks are built into the capture template, and each
day I would add to and subtract from the daily plan as appropriate. I
use '( )' to mark a .5 hour block that I estimated would be sufficient
for the task at issue and a '[ ]' for a .5 hour block devoted to an
ongoing substantial task. As I consume the blocks, I change them to
'(X)' and '[X]'. For tasks where I underestimated the time needed, I
use ' + ' to separate the second estimate. Tasks where I overestimated
have the unconsumed '( )' left as is. At the end of the day, I update
the clock table, and judge how well my plans were followed by a simple
visual scan. I also fill out a diary type entry under the headline
at the end of the capture template.

After doing this for a while, I abandoned it as having too much
overhead for how I am presently working. I am on leave from a college
teaching job for this academic year, and most of the projects that I
am working on are large ongoing ones that I want to work on each day,
but don't have broken down into estimate-able subtasks. (For instance,
I am writing a textbook; I want to spend at least 2 hours a day on
that, and will keep doing so until it is done, but there are no
detailed subtasks suitable for estimation.) There is little flux and
it is easy enough to tell by use of the clock table alone how well I
am living up to my intentions.

I will try this method again next semester when I am back to teaching
and have more smaller tasks that are suitable for estimation (e.g.,
Prepare Tuesday's lecture notes). In any case, I don't aspire to do
anything more robust than a quick visual inspection at the end of the
day to see how my day matched my plans.

Best,

Brian vdB



[O] Org-mode as a Quantified Self platform

2012-04-30 Thread John Hendy
I've really been getting into the Quantified Self movement recently,
and by getting into, I mean reading and watching videos and
/thinking/ about things I'd like to track about myself. [1] I've been
pondering what kind of platform to use for my data collection...
Excel? Some time tracking application? Those were after-thoughts. I
thought of Org-mode right away and it seemed like an obvious choice.
Why?

1) I have access to it at home and work pretty easily

2) The ability to quickly insert time stamps/clock data

3) The habit family of features -- set up some initial goals
(recurring todo headlines) and then just got to the headline and mark
done (possibly with a note) to record the event.

4) Exportability (though I have some questions on this one)

5) I recently got an Android tablet and have mobile-org on it now,
which I'm hoping will allow me to have even better access to data
entering.

6) Should some application go under, I'll still always have my data
in plain text.

On to my questions:
-- Has anyone done something like this? I see it as very similar to
habit tracking. To give an example, I've had a bit of a persistent
cough. I developed it when I was sick at one point, went on
antibiotics, and got better... but the cough kind of stuck around but
is on and off. Now I'm wondering if it's coffee/dehydration related so
I'd like to create headlines for Coffee, glass of water, and cough.
Then I can just mark them done whenever I finish a cup of coffee,
drink a glass of water, or cough. At some point I'd like to plot them
to visualize any potential relationships.

-- On that note, what's the best way to get data out of
org-habit/headlines and into something a bit more usable like csv? I'm
looking for something more than just looking through headlines for
missed days. I'm going to need full access to the time stamps in a
usable format (say, R) and everything agglomerated into one single
data file.

-- I see I can insert [inactive] timestamps in mobile-org. Making
something a TODO seems to require manual input? I find the
documentation fairly lacking with respect to simple basic terminology
(Outline view vs. Document view?) and have not used it much. Any
suggestions on using this in conjunction with the above would be
great.

I think org-mode could make a very spectacular data tracker due to its
time stamp and clocking abilities along with what feels natural with
respect to adding in narrative text/notes and being able to structure
things how I'd like. In addition, I'll have git ability to sync with
my home computer.

Thoughts? Thanks for any input!

[1] For those unfamiliar: http://quantifiedself.com/


John



Re: [O] Help! org-insert-heading doesn't work anymore and I'm losing my mind!

2012-04-30 Thread Achim Gratz
Trey Darley writes:
 ** terminal: xfce4-terminal + tmux 1.6
 ** org-mode: development (via git) 

Here is most likely your problem: terminal (emulators) usually don't
handle modifier keys well (some or all of them).  You'll have to use ESC
as a prefix instead or dig into the documentation if you can set it up
to translate keys in different ways.  If a GUI Emacs has the same
problem, then most of the time the window manager consumes the meta key
events before Emacs gets to see them.  This is another common problem,
you can usually designate applications that should receive all key
events (but then the window manager doesn't get to see them) or move the
WM hotkeys to some other combination that isn't used (good luck finding
one that Emacs hasn't already used :-).


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

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




Re: [O] Org-mode as a Quantified Self platform

2012-04-30 Thread Zack Mayson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/04/2012 19:03, John Hendy wrote:


You might like to checkout worg; it has a few examples of GTD setups (is
Quantified Self like GTD? I assume it is).

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPntoLAAoJEAQWago++pDWGf4IAJ2WqXII51HwRJpa26dmPxMA
6ag/yV1w4QsoZJW0NIB6C5tTnkfIRi8p5lnj0hyhLb8BwBehzRBzzI4MKbOHhPVr
/lH/HA+eNHyxX1+8XBiUVGJ1FK+ZMhCccM22SkcZ54t5qOTZAnM7VfZE2rvwl92T
aOcOY4C+G/fmslq/AQtwvQL+TYFYUVUv2agTQpbiLuI1vFI2TnFApe8YqjUwHy6W
DDe3MA1Cg76wbzYy/5LwjlivkrQGQvPwUb1AUJe8DhIf2ckZQVZcoNL4OuGmfRe6
wl2003bA0l2xghpW5daKwmxL4C/8ovD91nuM6Wq75nmTtFIHARG0QyhvUu8b6Ac=
=fLJX
-END PGP SIGNATURE-



Re: [O] Org-mode as a Quantified Self platform

2012-04-30 Thread Zack Mayson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/04/2012 19:03, John Hendy wrote:
 On to my questions:
 -- Has anyone done something like this? I see it as very similar to
 habit tracking. To give an example, I've had a bit of a persistent
 cough. I developed it when I was sick at one point, went on
 antibiotics, and got better... but the cough kind of stuck around but
 is on and off. Now I'm wondering if it's coffee/dehydration related so
 I'd like to create headlines for Coffee, glass of water, and cough.
 Then I can just mark them done whenever I finish a cup of coffee,
 drink a glass of water, or cough. At some point I'd like to plot them
 to visualize any potential relationships.

You might like to checkout worg; it has a few examples of GTD setups (is
Quantified Self like GTD? I assume it is).

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPntobAAoJEAQWago++pDWRDgH/0nGGyeDCETncn+KTav5fx8Q
Mf31NjyXqmfVV1O4ZwKBJQPEtAL7FdfKJOOQDSAWyV/98wdGXNTLmimPouI9+XOH
PJqIvTi0RcARn3T+3zyGhQzdlo3/srzabG1BWie5cyYM1hWgBxqSnQXgkL/aFG90
vf+kufSfQIHB+BGTkJ0bx7wPabncfJT96vPAZJeMz2SEdfPnfDlIOKmFpcG3KOl6
8lV7dI3+snwI//aRpFKdfSt3wU99rUN5pCSaFkEiVjXPA2JVY9CmMIs0ggPX853b
fmeSk0NoCm36K3dak/teog2kXy1+7gqmWfaiMxrNecEQu45OssE9u2/XGm6z69w=
=2tMf
-END PGP SIGNATURE-



Re: [O] Org-mode as a Quantified Self platform

2012-04-30 Thread Eric Schulte
John Hendy jw.he...@gmail.com writes:

 I've really been getting into the Quantified Self movement recently,
 and by getting into, I mean reading and watching videos and
 /thinking/ about things I'd like to track about myself. [1] I've been
 pondering what kind of platform to use for my data collection...
 Excel? Some time tracking application? Those were after-thoughts. I
 thought of Org-mode right away and it seemed like an obvious choice.
 Why?

 1) I have access to it at home and work pretty easily

 2) The ability to quickly insert time stamps/clock data

 3) The habit family of features -- set up some initial goals
 (recurring todo headlines) and then just got to the headline and mark
 done (possibly with a note) to record the event.

 4) Exportability (though I have some questions on this one)

 5) I recently got an Android tablet and have mobile-org on it now,
 which I'm hoping will allow me to have even better access to data
 entering.

 6) Should some application go under, I'll still always have my data
 in plain text.

 On to my questions:
 -- Has anyone done something like this? I see it as very similar to
 habit tracking. To give an example, I've had a bit of a persistent
 cough. I developed it when I was sick at one point, went on
 antibiotics, and got better... but the cough kind of stuck around but
 is on and off. Now I'm wondering if it's coffee/dehydration related so
 I'd like to create headlines for Coffee, glass of water, and cough.
 Then I can just mark them done whenever I finish a cup of coffee,
 drink a glass of water, or cough. At some point I'd like to plot them
 to visualize any potential relationships.

 -- On that note, what's the best way to get data out of
 org-habit/headlines and into something a bit more usable like csv? I'm
 looking for something more than just looking through headlines for
 missed days. I'm going to need full access to the time stamps in a
 usable format (say, R) and everything agglomerated into one single
 data file.

 -- I see I can insert [inactive] timestamps in mobile-org. Making
 something a TODO seems to require manual input? I find the
 documentation fairly lacking with respect to simple basic terminology
 (Outline view vs. Document view?) and have not used it much. Any
 suggestions on using this in conjunction with the above would be
 great.

 I think org-mode could make a very spectacular data tracker due to its
 time stamp and clocking abilities along with what feels natural with
 respect to adding in narrative text/notes and being able to structure
 things how I'd like. In addition, I'll have git ability to sync with
 my home computer.

 Thoughts? Thanks for any input!

 [1] For those unfamiliar: http://quantifiedself.com/


 John


Hi John,

If you end up storing measurements in properties you could use
org-collector [1] to collect these values into tables.  From tables they
can easily be analyzed with spreadsheet formulas [2] or passed to code
blocks [3] for more sophisticated analysis and plotting.

Best,

Footnotes: 
[1]  http://orgmode.org/worg/org-contrib/org-collector.html

[2]  http://orgmode.org/manual/The-spreadsheet.html

[3]  http://orgmode.org/manual/Working-With-Source-Code.html

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



Re: [O] Org-mode as a Quantified Self platform

2012-04-30 Thread John Hendy
On Mon, Apr 30, 2012 at 1:29 PM, Zack Mayson zmayso...@googlemail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 30/04/2012 19:03, John Hendy wrote:


 You might like to checkout worg; it has a few examples of GTD setups (is
 Quantified Self like GTD? I assume it is).

Not really. Quantified Self (check the link in my original email) is
the practice of... well... quantifying yourself. What do you want to
know about yourself?
-- Hrs sleep/night?
-- How much time you waste?
-- What you eat?
-- Your mood or ailments (then perhaps correlated to diet records)?

Stuff like that. I'm interested in using org-mode to record things I
do and time I spend on things for later analysis.

It's quite well set up to do that already with respect to recurring
todos/habit features. My primary missing piece is getting the data
into csv easily somehow.


Best regards,
John


 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
 Comment: GPGTools - http://gpgtools.org
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQEcBAEBAgAGBQJPntoLAAoJEAQWago++pDWGf4IAJ2WqXII51HwRJpa26dmPxMA
 6ag/yV1w4QsoZJW0NIB6C5tTnkfIRi8p5lnj0hyhLb8BwBehzRBzzI4MKbOHhPVr
 /lH/HA+eNHyxX1+8XBiUVGJ1FK+ZMhCccM22SkcZ54t5qOTZAnM7VfZE2rvwl92T
 aOcOY4C+G/fmslq/AQtwvQL+TYFYUVUv2agTQpbiLuI1vFI2TnFApe8YqjUwHy6W
 DDe3MA1Cg76wbzYy/5LwjlivkrQGQvPwUb1AUJe8DhIf2ckZQVZcoNL4OuGmfRe6
 wl2003bA0l2xghpW5daKwmxL4C/8ovD91nuM6Wq75nmTtFIHARG0QyhvUu8b6Ac=
 =fLJX
 -END PGP SIGNATURE-



Re: [O] Org-mode as a Quantified Self platform

2012-04-30 Thread Achim Gratz
Zack Mayson writes:
 (is Quantified Self like GTD? I assume it is).

No, Quantified Self is more like how much you weighed before and after
GTD.  :-)


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

DIY Stuff:
http://Synth.Stromeko.net/DIY.html




[O] Error in org2blog/wp-login: Must provide a callback function to url-retrieve

2012-04-30 Thread Steinar Bang
Platform: Intel P4,
  debian testing,
  GNU Emacs 23.4.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10) of 
2012-04-07 on biber, modified by Debian,
  org-mode from git,
  org2blog from git,
  xml-rpc 1.6.7 from ELPA,

I am trying to use org2blog from github, but I am unable to log into the
server.

I have cloned the repo, and set up org2blog according to the README
 https://github.com/punchagan/org2blog/blob/master/README.org

I'm using .netrc for the username and password (as outlined in the emacs
configuration section).

I have installed xml-rpc, using ELPA: http://tromey.com/elpa/

When I try to log in, using `M-x org2blog/wp-login RET', I get the
following error message in the minibuffer:
 Must provide a callback function to url-retrieve

Anyone got an idea?  Puneeth...?


The full stack trace, is:

Debugger entered--Lisp error: (error Must provide a callback function to 
url-retrieve)
  signal(error (Must provide a callback function to url-retrieve))
  error(Must provide a callback function to url-retrieve)
  url-retrieve-internal(http://myuser.mydomain.com/xmlrpc.php; t (nil))
  url-retrieve(http://myuser.mydomain.com/xmlrpc.php; t)
  xml-rpc-request(http://myuser.mydomain.com/xmlrpc.php; ((methodCall nil 
(methodName nil metaWeblog.getCategories) (params nil ... ... ...))) nil)
  xml-rpc-method-call-async(nil http://myuser.mydomain.com/xmlrpc.php; 
metaWeblog.getCategories (1 myuseradmin supersikkertpassord))
  xml-rpc-method-call(http://myuser.mydomain.com/xmlrpc.php; 
metaWeblog.getCategories 1 myuseradmin supersikkertpassord)
  metaweblog-get-categories(http://myuser.mydomain.com/xmlrpc.php; 
myuseradmin supersikkertpassord 1)
  org2blog/wp-login()
  call-interactively(org2blog/wp-login t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)




Re: [O] Org-mode as a Quantified Self platform

2012-04-30 Thread Kyle Machulis
My Quantified Coder talk at Google IO last year was going to focus
toward emacs and org-mode, actually:

http://www.youtube.com/watch?v=52Ml_zax4A0#t=12m47s

Unfortunately I haven't gotten time to actually start on it yet, but I
know there's community interest in org-mode and tracking as much as
possible.

On Mon, Apr 30, 2012 at 12:21 PM, Achim Gratz strom...@nexgo.de wrote:
 Zack Mayson writes:
 (is Quantified Self like GTD? I assume it is).

 No, Quantified Self is more like how much you weighed before and after
 GTD.  :-)


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

 DIY Stuff:
 http://Synth.Stromeko.net/DIY.html





[O] Symbol's value as variable is void: org-table-modes

2012-04-30 Thread Mikkel Kristiansen
Org-mode version 7.8.09 (release_7.8.09-454-g537ab2) 
GNU Emacs 23.4.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-04-12 on 
shirley.hoetzel.info
Arch Linux.  

|---++---+-+|
| A | AA | 2 |  60 |  73.80 |
| B | BB | 5 | 150 | 185.00 |
|---++---+-+|
| Total | -  |   | | 260.00 |
|---++---+-+|
#+TBLFM: @1$5=vsum($4*1.225);%.2f p20 f20::@2$5=vsum($4*1.225);%.2f p20 
f20::@3$5=vsum(@1..@2);%.2f p20 f20

I am trying make the spreadsheet above with org-tbl. When running C-u C-c C-c I 
get this error-message:
org-table-recalculate: Symbol's value as variable is void: org-table-modes

When not using p20 f20 the spreadsheet works fine, but I need the precision.

I'm lost on how to fix this issue or how to work around it. Hopefully someone 
can explain what can be done to make this work. 

/Mikkel Kristiansen




Re: [O] Org tiny changes?

2012-04-30 Thread François Pinard
Bastien b...@gnu.org writes:

 Hi François,

 It now seems that UNDER\_LINE, while producing HTML, is now rendering
 the backslash instead of removing it.  [...] I would not be tempted
 to think the upgrading of Ubuntu has a consequence on the Org changes
 I'm seeing.

 Can you give us a hint on what versions you're comparing here?  [...]
 Please give us raw version numbers.

Nicely, org-mode/.git/logs/HEAD also contains a trace of all pull
operations and reached commits.  Well, the dates are not in the clear,
which is a minor inconvenience.  My real problem is that I do not having
good memory of times, so even seeing the dates, it is uneasy for me to
be really assertive about when, and so for which commit, everything
worked as I expect.  I could bisect if the matter becomes important.

I came to suspect a mix of Org Emacs Lisp files from the Ubuntu bundled
Emacs, prefix=/usr, and those coming from Git, prefix=/usr/local/.
Right or wrong, I came to suspect this because the installation of Org
from Git goes to a different place (at least for me) now that the
Makefile has been reshuffled.

Indeed, LTTng 2.0 quickly reveals that there is a problem somewhere,
which i still have to identify.  The existence of this tool is worth
sharing: now provided within Ubuntu 12.04 through package lttng-tools,
and is immensely more powerful than strace, and has much less overhead
too.  You might have to add tracing to yourself in /etc/group first.
If curious, visit https://bugs.lttng.org/projects/lttng-tools/wiki .

In a word, I'm more likely to think that the problem really happened
after I upgraded Ubuntu, because its Emacs contains Org already, and
because I install Org from Git within /usr/local instead.

Let me to understand more closely how the mix is happening here.  If I
find nothing, I'll likely be back, and you'll read me moaning again :-).

 * Whenever a date is generated (through C-c ! say) or adjusted, the
   day of the week has a period appended.  That is, where I was
   previously getting [2012-04-28 sam], I now get [2012-04-28 sam.].

 IIRC, this is a change in calendar.  But you don't need to update your
 old timestamps, Org understands them.

Even if it does, the HTML rendering has a non-uniform presentation.  I
would rather adjust all timestamps.  A bit of work, but not that much!
I'll wait a bit more before doing it, just to get a better feeling that
the change is going to stay (and not a consequence of the confusion
explained above).

Thanks for your patience with me!

François



Re: [O] Symbol's value as variable is void: org-table-modes

2012-04-30 Thread Nick Dokos
Mikkel Kristiansen mester.kristian...@gmail.com wrote:

 Org-mode version 7.8.09 (release_7.8.09-454-g537ab2) 
 GNU Emacs 23.4.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-04-12 on 
 shirley.hoetzel.info
 Arch Linux.  
 
 |---++---+-+|
 | A | AA | 2 |  60 |  73.80 |
 | B | BB | 5 | 150 | 185.00 |
 |---++---+-+|
 | Total | -  |   | | 260.00 |
 |---++---+-+|
 #+TBLFM: @1$5=vsum($4*1.225);%.2f p20 f20::@2$5=vsum($4*1.225);%.2f p20 
 f20::@3$5=vsum(@1..@2);%.2f p20 f20
 
 I am trying make the spreadsheet above with org-tbl. When running C-u C-c C-c 
 I get this error-message:
 org-table-recalculate: Symbol's value as variable is void: org-table-modes
 
 When not using p20 f20 the spreadsheet works fine, but I need the precision.
 
 I'm lost on how to fix this issue or how to work around it. Hopefully someone 
 can explain what can be done to make this work. 
 

This is another victim of the global dynamic var renaming patches:

,
| commit b689cbfb6c4d287d839ac3b0727497e5114995d8
| Author: Bastien Guerry b...@altern.org
| Date:   Fri Mar 30 22:47:18 2012 +0200
| 
| Fix global dynamic variables in org-table.el.
| 
| Thanks to Martyn Jago for this patch.
| 
| diff --git a/lisp/org-table.el b/lisp/org-table.el
| index a523eac..9018bb4 100644
| --- a/lisp/org-table.el
| +++ b/lisp/org-table.el
| @@ -2364,7 +2364,7 @@ (defun org-table-maybe-recalculate-line ()
|  (looking-at org-table-auto-recalculate-regexp))
| (org-table-recalculate) t))
|  
| -(defvar modes)
| +(defvar org-table-modes)
|  (defsubst org-set-calc-mode (var optional value)
|(if (stringp var)
|(setq var (assoc var '((D calc-angle-mode deg)
| @@ -2372,10 +2372,10 @@ (defsubst org-set-calc-mode (var optional value)
|(F calc-prefer-frac t)
|(S calc-symbolic-mode t)))
|   value (nth 2 var) var (nth 1 var)))
| -  (if (memq var modes)
| -  (setcar (cdr (memq var modes)) value)
| -(cons var (cons value modes)))
| -  modes)
| +  (if (memq var org-table-modes)
| +  (setcar (cdr (memq var org-table-modes)) value)
| +(cons var (cons value org-table-modes)))
| +  org-table-modes)
|  
|  (defun org-table-eval-formula (optional arg equation
|suppress-align suppress-const
`

The variable should be called modes as far as calc is concerned.

Nick



Re: [O] Symbol's value as variable is void: org-table-modes

2012-04-30 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote:

 Mikkel Kristiansen mester.kristian...@gmail.com wrote:
 
  Org-mode version 7.8.09 (release_7.8.09-454-g537ab2) 
  GNU Emacs 23.4.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-04-12 on 
  shirley.hoetzel.info
  Arch Linux.  
  
  |---++---+-+|
  | A | AA | 2 |  60 |  73.80 |
  | B | BB | 5 | 150 | 185.00 |
  |---++---+-+|
  | Total | -  |   | | 260.00 |
  |---++---+-+|
  #+TBLFM: @1$5=vsum($4*1.225);%.2f p20 f20::@2$5=vsum($4*1.225);%.2f p20 
  f20::@3$5=vsum(@1..@2);%.2f p20 f20
  
  I am trying make the spreadsheet above with org-tbl. When running C-u C-c 
  C-c I get this error-message:
  org-table-recalculate: Symbol's value as variable is void: org-table-modes
  
  When not using p20 f20 the spreadsheet works fine, but I need the 
  precision.
  
  I'm lost on how to fix this issue or how to work around it. Hopefully 
  someone can explain what can be done to make this work. 
  
 
 This is another victim of the global dynamic var renaming patches:
 
 ,
 | commit b689cbfb6c4d287d839ac3b0727497e5114995d8
 | Author: Bastien Guerry b...@altern.org
 | Date:   Fri Mar 30 22:47:18 2012 +0200
 | 
 | Fix global dynamic variables in org-table.el.
 | 
 | Thanks to Martyn Jago for this patch.
 | 
 | diff --git a/lisp/org-table.el b/lisp/org-table.el
 | index a523eac..9018bb4 100644
 | --- a/lisp/org-table.el
 | +++ b/lisp/org-table.el
 | @@ -2364,7 +2364,7 @@ (defun org-table-maybe-recalculate-line ()
 |(looking-at org-table-auto-recalculate-regexp))
 | (org-table-recalculate) t))
 |  
 | -(defvar modes)
 | +(defvar org-table-modes)
 |  (defsubst org-set-calc-mode (var optional value)
 |(if (stringp var)
 |(setq var (assoc var '((D calc-angle-mode deg)
 | @@ -2372,10 +2372,10 @@ (defsubst org-set-calc-mode (var optional value)
 |  (F calc-prefer-frac t)
 |  (S calc-symbolic-mode t)))
 | value (nth 2 var) var (nth 1 var)))
 | -  (if (memq var modes)
 | -  (setcar (cdr (memq var modes)) value)
 | -(cons var (cons value modes)))
 | -  modes)
 | +  (if (memq var org-table-modes)
 | +  (setcar (cdr (memq var org-table-modes)) value)
 | +(cons var (cons value org-table-modes)))
 | +  org-table-modes)
 |  
 |  (defun org-table-eval-formula (optional arg equation
 |  suppress-align suppress-const
 `
 
 The variable should be called modes as far as calc is concerned.

Not quite - calc has nothing to do with this. org-table-eval-formula uses
modes and has to be fixed: all instances of the modes variable
must be renamed to org-table-modes.

Nick






[O] Sparse tree date question

2012-04-30 Thread John Hendy
It occurred to me that since I need to export to LaTeX for printing
and then paste my work notes into a technical notebook for IP purposes
(at least until the US completes its transition to first to file
patent law), I could sparse tree search for entries since I last
printed (I aim for 1x per week) and easily call those out of my
structure for export.

My issue is that I typically use inactive timestamps to record logs.
Furthermore, I only use scheduled or deadline timestamps for todos,
not journal logs of work I'm doing.

It seems that =C-c / [a/b/D]= only works for deadline or scheduled
active timestamps, not active or inactive time stamps alone.

Is this correct or am I doing something wrong?

If it is correct... could a feature be added in which inactive or
active timestamps simply recording dates could be added to the search
options? Perhaps this can be done via the regexp option and I'm just
unaware that this is how individuals accomplish the above.


Thanks for any suggestions!
John



[O] Typo in worg page about org-checkbox

2012-04-30 Thread Moritz Ulrich
Last line in section Quick Example in [1] misses a _ in the
property. It reads RESET_CHECKBOXES but org-checklist.el checks for
RESET_CHECK_BOXES.

Just spent a few minutes tracking down why org-checklist wasn't working for me.


[1]: http://orgmode.org/worg/org-contrib/org-checklist.html

-- 
Moritz Ulrich



Re: [O] Symbol's value as variable is void: org-table-modes

2012-04-30 Thread Bastien
Nick Dokos nicholas.do...@hp.com writes:

 Not quite - calc has nothing to do with this. org-table-eval-formula uses
 modes and has to be fixed: all instances of the modes variable
 must be renamed to org-table-modes.

Fixed.

Thanks to Mikkel for reporting this and to you for the fix!

-- 
 Bastien



Re: [O] Typo in worg page about org-checkbox

2012-04-30 Thread Bastien
Moritz Ulrich ulrich.mor...@googlemail.com writes:

 Last line in section Quick Example in [1] misses a _ in the
 property. It reads RESET_CHECKBOXES but org-checklist.el checks for
 RESET_CHECK_BOXES.

Fixed, thanks for reporting this.

 Just spent a few minutes tracking down why org-checklist wasn't
 working for me.

Sorry for this! 

-- 
 Bastien



Re: [O] Small grammar tweaks in export sections of org.texi

2012-04-30 Thread Bastien
Brian van den Broek brian.van.den.br...@gmail.com writes:

 Hence, I shall send my
 papers in shortly. It may, however, take some considerable time
 nonetheless; I am given to understand that mail from Egypt to the US
 is both unreliable and extremely slow. Once all is settled, expect
 patches :-)

Great news!  Thanks for the future patches :)

-- 
 Bastien



Re: [O] Table alignment

2012-04-30 Thread Bastien
Hi Thomas,

t...@tsdye.com (Thomas S. Dye) writes:

 Aligning this table with C-c C-c when the cursor is in one of the cells
 of the first column results in an error: if: Wrong type argument:
 char-or-string-p, nil.

It is confused by the = character, and thinks it is a formula that
needs evaluation.  I just pushed a fix for this, thanks for reporting
this! 

-- 
 Bastien



Re: [O] Habit tracking and table data

2012-04-30 Thread Bastien
Steinar Bang s...@dod.no writes:

 I'm logging my bicycling to work using org habit tracking.  I'm using a
 comment to track the time and distance (and average speed).  It would
 have been nice if the habit tracking could have used a table for this.

This is a little bit abstract to me.

Can you give an example of what you are using and what you would like to
use instead?

Thanks!

-- 
 Bastien



[O] [PATCH] fix hook calling in org-export-remove-or-extract-drawers

2012-04-30 Thread Bill Wishon
* lisp/org-exp.el (org-export-remove-or-extract-drawers): Changed funcall
to run-hook-with-args-until-success to properly run the
org-export-format-drawer-function hook.

The problem was that funcall was being executed on the hook (list of
functions) instead of running the hook with
run-hook-with-args-until-success, which tries to run potentially a list of
hooks until one returns non-nil.

~Bill


0001-Capture-Fix-call-to-org-export-format-drawer-functio.patch
Description: Binary data


Re: [O] Capturing to current file

2012-04-30 Thread Mike McLean

On Apr 29, 2012, at 4:59 AM, Bastien wrote:

 Hi Charles,
 
 Charles mill...@verizon.net writes:
 
 If I may I'll throw in my 2 cents, since I made the error in the first place
 
 Why not in Section 9.2.1 immediately before or after the special way for
 using capture from the agenda?
 
 The documentation reads as follows in org-capture.el at
 
 (defun org-capture (optional goto keys)
  Capture something.
 \\org-capture-mode-map
 
 .  .  .
 
 When called with a `C-0' (zero) prefix, insert a template at point.
 .  .  .
 
 I added this in 9.1.2:
 
 To insert the capture at point in an Org buffer, call @code{org-capture} with
 a @code{C-0} prefix argument.

Well thank you all for the discussion at least. I've been using Org Mode for 2+ 
years, didn't know this, and it is now my favorite “feature” :)