Re: [O] Symbol's value as variable is void: org-planning-line-re

2014-09-08 Thread Jeff Kowalczyk
Nick Dokos ndokos at gmail.com writes:

 Check your load-path.

Thanks. My load-path seems to put Org from git first. Moving that 
checkout back to 288ffa fixes, newer versions have the problem
behaviors. Am I overlooking something that could still lead to a
mixed Org version?:

(/home/myuser/.emacs.d/el-get/package/elpa/ido-ubiquitous-2.9
 ...
 /home/myuser/.emacs.d/el-get/org-mode/lisp
 /home/myuser/.emacs.d/el-get/org-mode/contrib/lisp
 /home/myuser/.emacs.d/el-get/org-mode
 ...
 ~/.emacs.d/el-get/
 /home/myuser/.emacs.d/el-get/el-get/methods
 ~/.emacs.d/el-get/el-get
 /etc/emacs
 /usr/share/emacs/site-lisp
 /usr/share/emacs/site-lisp/site-gentoo.d
 /usr/share/emacs/24.4.50/lisp
 ...
 /usr/share/emacs/24.4.50/lisp/org
 ...)

Jeff




Re: [O] Symbol's value as variable is void: org-planning-line-re

2014-09-02 Thread Jeff Kowalczyk
Nicolas Goaziou mail at nicolasgoaziou.fr writes:

 Jeff Kowalczyk jeff.kowalczyk at gmail.com writes:
 
  Using org-mode a4a1d85 or 2df0785, I see multiple errors, including:
 
  Using M-q to fill a paragraph, error on the line at point:
 
user-error: An element cannot be parsed line 7149
 
user-error: An element cannot be parsed line 7141
 
  When using M-RET to insert a heading:
 
byte-code: Symbol's value as variable is void: org-planning-line-re
 
  When using C-c to update the duration of a clocked time line:
 
byte-code: Symbol's value as variable is void: org-planning-line-re
 
 `org-planning-line-re' is a defconst defined in org.el. It looks like
 a mixed installation.

It's possible, how do I confirm? I build org daily with
'make clean  make'. git status shows clean tree (d4e4b1e today).

$ find . -iname 'org.el*'
./lisp/org.el

$ find . -iname '.el[c~]'
(no output)

Jeff





Re: [O] Symbol's value as variable is void: org-planning-line-re

2014-09-02 Thread Jeff Kowalczyk
Nicolas Goaziou mail at nicolasgoaziou.fr writes:

  `org-planning-line-re' is a defconst defined in org.el. It looks like
  a mixed installation.
 
  It's possible, how do I confirm?
 
 M-x org-version might tell you.  You can also try to make autoloads.

You are correct, there is a discrepancy in versions:

M-x org-version:

Org-mode version 8.2.6 (release_8.2.6-1 @ ~/.emacs.d/el-get/org-mode/lisp/)

Make output @401bf2:

org-version: 8.3beta (release_8.3beta-310-g38d0eb)

I tried the following, restart-testing each step with no change
in M-x org-version reported version:

- org-mode git pull, make clean  make  make autoloads

- remove el-get .loaddefs.el, restart emacs (which rebuilds .loaddefs)

- el-get update org-mode

For comparison to bundled org version, I am using Emacs bzr upstream:

GNU Emacs 24.4.50.1 (x86_64-pc-linux-gnu, X toolkit) of 2014-09-01

Thanks,
Jeff




[O] Symbol's value as variable is void: org-planning-line-re

2014-09-01 Thread Jeff Kowalczyk
Using org-mode a4a1d85 or 2df0785, I see multiple errors, including:

Using M-q to fill a paragraph, error on the line at point:

  user-error: An element cannot be parsed line 7149

  user-error: An element cannot be parsed line 7141

When using M-RET to insert a heading:

  byte-code: Symbol's value as variable is void: org-planning-line-re

When using C-c to update the duration of a clocked time line:

  byte-code: Symbol's value as variable is void: org-planning-line-re

I reverted to 288ffa, ran make clean  make, and the problems are
no longer present.

Thanks,
Jeff




[O] Checkboxes with org-list-allow-alphabetical

2014-06-16 Thread jeff Kowalczyk
Using Org-mode version 8.2.6 (release_8.2.6-1) git master 25fc4d:

Alphabetic ordered lists do not seem to work with checkboxes:

: (setq org-list-allow-alphabetical t)

Type a checkbox, but org doesn't seem to parse it:

: * heading
: 
: 1. [ ] numeric heading
:a. [ ] alphabetic subheading (typed but not checkbox faced or C-c usable)

Use keychord to create next item with checkbox, but also not parsed:

: * heading
: 
: 1. [ ] numeric heading
:a. alphabetic subheading(point here, press M-S-RET)
:b. [ ] (creates this, not checkbox faced or C-c usable)

Is this expected behavior? Do I need to enable additional options?

Thanks,
Jeff





Re: [O] #+TAGS has some groups with many entries, suppress hotkey assignment

2013-09-17 Thread Jeff Kowalczyk
Carsten Dominik writes:
 Please take a look at the variable org-use-fast-tag-selection
 and see if there is a setting that you find useful.

Thanks Carsten, 'auto is the behaviour I am seeking.

Is org-use-fast-tag-selection 'auto working as intended? It seems to
be acting like value t as described in the function doc string.

My Emacs 24 with org-mode git master has the default value:

: org-use-fast-tag-selection
: auto

I can reproduce a minimal test file:


#+TAGS: { admin(a) reporting(r) util(u) foo }
#+TAGS: { projecta projectb projectc(c) }
#+TAGS: { billable(b) nonbillable(e) unknown(k) }

* headline


Where C-c C-c on headline gives the selector:


Inherited:
Current:

{ [a] admin [r] reporting [u] util  [f] foo}
{ [p] projecta  [d] projectb  [c] projectc  }
{ [b] billable  [e] nonbillable   [k] unknown   }


I would have anticipated only explicit single key selectors, e.g.:


Inherited:
Current:

{ [a] admin [r] reporting [u] util  foo}
{ projecta  projectb  [c] projectc  }
{ [b] billable  [e] nonbillable   [k] unknown   }


Thanks,
Jeff





[O] clocktable column order e.g. :properties at rightmost position?

2013-08-31 Thread Jeff Kowalczyk
Is there a way to configure column order in clocktable output? I have a
workable way to display TAGS now for clocked task now, but the width of
multiply-tagged items will make the clocktable output less usable. I'd
prefer to move it over to the right-most position:

: #+BEGIN: clocktable :maxlevel 2 :scope file :emphasize nil :block today 
: :link nil :indent nil :properties (TAGS)
: #+CAPTION: Clock summary at [2013-08-31 Sat 09:25], 
:for Saturday, August 31, 2013.
: | TAGS  | Headline   | Time   |  |
: |---+++--|
: |   | *Total time*   | *1:05* |  |
: |---+++--|
: |   | 2013-08-31 Sat   | 1:05   |  |
: |   | TODO db query test || 0:18 |
: |   | TODO time-tracking-tools   || 0:26 |
: | :foo:bar: | DONE jsmith re: new idea   || 0:15 |
: | :bar: | DONE article attack driven defense...  || 0:06 |
: #+END:

The option:

: :formatter A function to format clock data and insert into the buffer.

sounds promising if it could advise the existing function without
reimplementing large parts of it. I'm searching for :formatter
documentation and examples, haven't found any direct references yet.

Secondary question: with the today and yesterday tracking clocktables
I'm using, can I configure formatting of the string:
for Saturday, August 31, 2013. as a normal org timestamp:
for [2013-08-31 Sat].?

Thanks,
Jeff





Re: [O] [PATCH] New clocktable-feature: Structure clocktable bytags rather than by hierarchy

2013-08-25 Thread Jeff Kowalczyk
Carsten Dominik carsten.dominik at gmail.com writes:

 
 Hi Bernd,
 
 wow, if this works as advertised, this is great.
 
 Does your mechanism see inherited tags?
 
 You need to sign the papers with the FSF for this patch.  Are
 you willing to do this?
 
 - Carsten

Did any variation of this functionality eventually land in Org? I don't see 

I am looking for something similar to group time tracking by tag, and/or 
display task tags as a column in the clocktable.

Thanks,
Jeff





[O] org-clock-save.el state unwanted Resume clock prompt

2013-08-16 Thread Jeff Kowalczyk
When opening any org mode files or using M-x org-mode on a
buffer, I get the following prompt:

: Resume clock (bsmith re: status update) (y or n)  n

Which refers to a specific heading in one specific org file, used
all day most days.

: ** DONE bsmith re: status update
:CLOSED: [2013-08-06 Tue 13:12]
::LOGBOOK:
:CLOCK: [2013-08-06 Tue 12:53]--[2013-08-06 Tue 13:12] =  0:19
::END:

The cause of the prompt is easily found (org-clock-save.el,
source wrapped):

: ;; org-persist.el - myhost at 2013-08-06 Tue 13:42
: (setq resume-clock '(/home/jtk/org/upwind.org . 2049565))
: 
: (setq stored-clock-history 
: '((/home/myuser/org/acme.org . 2044203)
:   (/home/myuser/org/acme.org . 2044243)
:   (/home/myuser/org/acme.org . 2046954)
:   (/home/myuser/org/acme.org . 2049576)
:   (/home/myuser/org/acme.org . 2049494)))

The above headline corresponds to the last position character
mark, 2049494.

My questions are:

- What's different about that heading that it isn't closed?

- Is there another lisp source of clock insinuate data besides
  org-persist.el?

- What lisp data edit operation would safely clear the
  open clock status?

On a few occasions I've deleted org-clock-save.el to clear
the problem, and had a recurrence on a different heading some
weeks later. There could be some behavior related to running
clocks when emacs daemon stops abruptly on system or X
shutdown.

Thanks,
Jeff





Re: [O] Bug: Append new heading when :END: exists

2013-04-22 Thread Jeff Kowalczyk
Sometime after 37f94d2 , a bug appeared which seems close to the thread 
subject:

When in the body of a heading, and pressing meta-enter, message prints: 'not 
in item'.

Reverting to 37f94d2 fixes.

Thanks,
Jeff




[O] Agenda to view chronology of time spent on tasks

2013-04-19 Thread Jeff Kowalczyk
Is there a way of using agenda to view time spent on tasks in chronological 
order, where multiple non-contiguous 

I track tasks and time spent on a per-day basis with the following two-level 
org usage:

* 2013-04-19 Fri

#+BEGIN: clocktable :maxlevel 2 :scope subtree
#+CAPTION: Clock summary at [2013-04-19 Fri 11:18]
| Headline   | Time   |  |
|++--|
| *Total time*   | *0:10* |  |
|++--|
| 2013-04-19 Fri   | 0:10   |  |
| \__ DONE email re: project foo || 0:10 |
#+END:

** DONE jdoe re: status of project foo
   CLOSED: [2013-04-19 Fri 11:14]
   :LOGBOOK:
   CLOCK: [2013-04-19 Fri 10:20]--[2013-04-19 Fri 10:45] =  0:25
   CLOCK: [2013-04-19 Fri 11:04]--[2013-04-19 Fri 11:17] =  0:13
   :END:

** TODO org mode ask agenda question
   :LOGBOOK:
   CLOCK: [2013-04-19 Fri 11:17]
   :END:

When things are busy with context switching, I need to go back and fix 
clock-in clock-out times and other details. A day calendar view would be 
very helpful in this chore.

Any tools to do this?

Thanks,
Jeff





[O] org-mode git, el-get, recently many functions' defintion void

2013-02-19 Thread Jeff Kowalczyk
I use emacs-24, org-mode from git, el-get from git. Each morning I update
org-mode, make clean  make.

About 2-3 days ago, I noticed the org-export dispatcher wasn't working. Then I
saw increasing functional areas of org returning errors re: function definition
void:

: org-ctrl-c-ctrl-c: Symbol's function definition is void: org-element-context
: Updating dynamic block `clocktable' at line 100276...
: org-clocktable-write-default: Symbol's function definition is void:
org-table-align

To eliminate possible interactions of recent changes. I've checked out org-mode
from a week ago, and same with el-get. There is no change in the problem. I've
removed el-get .loaddefs.el[c], and allowed them to regenerate.

Any suggestions on how to debug? It certainly could be el-get and nothing to do
with org-mode.

Thanks,
Jeff





Re: [O] BUG: Clocking is broken in master

2012-07-13 Thread Jeff Kowalczyk
Bernt Hansen bernt at norang.ca writes:
 I upgraded to release_7.8.11-174-g3ecd7a9
 this morning and after setting my clock I can't clock in on another task
 anymore (the clock doesn't move)
 
 I reverted back to release_7.8.11-88-g802fc65 which works for me.
 
 I don't have time to pursue the cause of this now but will look at it
 this weekend if nobody beats me to it.
 
 Regards,
 Bernt

I was just going to post the same report. When I try to clock in,
no clock action happens, message:

org-clock-in-last: Wrong type argument: markerp, nil

I am also on 3ecd7a9, reverting.

Thanks,
Jeff





[O] lisp/ob-shen.el:37:1:Error: Cannot open load file: inf-shen

2011-10-07 Thread Jeff Kowalczyk
Just FYI, on git master @ 13b4f I'm seeing a Make error during byte compilation
of lisp/ob-shen.el:

emacs -batch -q -no-site-file -eval (setq load-path (cons (expand-file-name
\./lisp/\) (cons \/usr/local/share/emacs/site-lisp\ load-path))) -f
batch-byte-compile lisp/ob-shen.el

In toplevel form:
lisp/ob-shen.el:37:1:Error: Cannot open load file: inf-shen
make: *** [lisp/ob-shen.elc] Error 1

Perhaps a support-data file that was missed during a git add?

$ git log -- lisp/ob-shen.el
commit 53573d6e2809cba6c36040bb009d99b97c4808f3
Author: Eric Schulte schulte.e...@gmail.com
Date:   Thu Oct 6 19:54:22 2011 -0600

adding initial support for evaluation of shen code blocks


Thanks,
Jeff




[O] Line with single character : as valid literal area

2011-05-14 Thread Jeff Kowalczyk
Feature request to add ^:$ as valid literal area. I would prefer to call
delete-trailing-whitespace on org buffers before save and git check-in:

:  2+2
: 4
:(EOL)

I don't yet use all of org syntax, but this is the only part of my own outlines
that I've made invalid by deleting trailing whitespace.

To those with knowledge of the org parser grammar, is this possible?

Thanks,
Jeff




Re: [O] file-error

2011-05-11 Thread Jeff Kowalczyk

Nick Dokos nicholas.do...@hp.com wrote:
 Try
 
 (add-to-list 'load-path ~/.emacs.d/el-get/org-mode)
 
 It is failing on lisp/org so that might fix it: it would
 be nice to know *who* is looking for lisp/org however - 
 is it org-reload?
 
 Nick

Thanks Nick, your suggestion worked. It makes a lot more sense now. I think this
is a recent change, I didn't have that org-mode root directory in load-path
previously, and org git worked fine.

Thanks again,
Jeff




[O] file-error

2011-05-10 Thread Jeff Kowalczyk
I use el-get org-mode recipe, but I see the same behavior with a typical
org-mode config from init.el.

On org-mode git master start with emacs bzr trunk (emacs 24), org errors on 
load:

File mode specification error: (file-error Cannot open load file lisp/org)
progn: Cannot open load file: lisp/org

Any idea what file mode specification in this context would be? The unix file
mode is normal:

[master]~/.emacs.d/el-get $ ls -al org-mode/lisp/org.el*
-rw-r--r-- 1 myuser users 774897 May 10 16:45 org-mode/lisp/org.el
-rw-r--r-- 1 myuser users 688684 May 10 16:45 org-mode/lisp/org.elc

Thanks for any suggestions,

Jeff







[Orgmode] Re: org-export: Cannot open load file: org-mode/lisp/org-latex

2011-01-05 Thread Jeff Kowalczyk
Jeff Kowalczyk jtk at yahoo.com writes:
 
 I run Emacs bzr trunk (24) and Org git @de39bf. I tried pdflatex an outline
 today (only ten minutes before the meeting, per coalmine-canary best practices
 ;) ) and got the error:
 
 org-export: Cannot open load file: org-mode/lisp/org-latex

This is working now, the problem appears to be unrelated to Org itself. Sorry
for the noise.

Jeff


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


[Orgmode] org-export: Cannot open load file: org-mode/lisp/org-latex

2011-01-04 Thread Jeff Kowalczyk
I run Emacs bzr trunk (24) and Org git @de39bf. I tried pdflatex an outline
today (only ten minutes before the meeting, per coalmine-canary best practices
;) ) and got the error:

org-export: Cannot open load file: org-mode/lisp/org-latex

This occurs on all org files tested. I have tried: reverting to a few days prior
Org then make clean; make, checking Emacs commits last few days, nothing obvious
jumped out from the logs.

The file org-latex.elc file seems to be available (implying successful .el byte
compilation?), readable and not stale:

[master]~/.emacs.d/el-get/org-mode $ find . -name *latex*
./lisp/org-latex.elc
./lisp/ob-latex.elc
./lisp/ob-latex.el
./lisp/org-latex.el
[master]~/.emacs.d/el-get/org-mode $ ls -l lisp/*latex*
-rw-r--r-- 1 myuser users  6886 Dec 21 08:43 lisp/ob-latex.el
-rw-r--r-- 1 myuser users  5202 Jan  4 17:27 lisp/ob-latex.elc
-rw-r--r-- 1 myuser users 95570 Dec 20 03:28 lisp/org-latex.el
-rw-r--r-- 1 myuser users 76882 Jan  4 17:27 lisp/org-latex.elc

Any ideas?

Thanks,
Jeff



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


[Orgmode] Turn off all folding (drawers, headlines) during structure moves?

2010-12-13 Thread Jeff Kowalczyk
I prefer to work with all the Org elements visible, and get good results with
#+STARTUP: showeverything .

Even with this setting, during structure editing, drawers (e.g. :CLOCK:) fold
when a headline is moved up or down in the structure, and a headline killed
and yanked to a new location will yank as folded by default (** headline...).

I'm not sure of the mechanism used to implement hiding/folding, are they
overlays?

Are there additional options to suppress all code-paths where Org folds
items?

If not, this is a feature request from an interested user.

Thanks,
Jeff



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


[Orgmode] clocktable empty on latex export selected subtree

2010-12-11 Thread Jeff Kowalczyk
When I export a selected subtree via pdflatex (C-c @, C-c C-e, p). the rows of
the rendered clocktable are empty:

---
Clock summary at 2010-12-11 Sat 21:00
Headline Time
*Total time

---

Exporting the whole buffer renders the rows correctly.

Exporting the subtree (C-c @, C-c C-e, A) to ASCII works correctly

The following Org file can be used to reproduce, I'm using Emacs 24 bzr trunk,
Org git master g561c0.

I suppose it could be my clocktable options, any ideas?

Thanks,
Jeff

---
* TODO Worklog ACME Invoice :worklog:

#+BEGIN: clocktable :maxlevel 2 :scope subtree :indent nil :narrow nil
Clock summary at [2010-12-11 Sat 21:00]

| Headline  | Time   |  |
|---++--|
| *Total time*  | *0:03* |  |
|---++--|
| TODO Worklog ACME Invoice | 0:03   |  |
| DONE server updates   || 0:03 |
#+END:

** DONE server updates
   CLOSED: [2010-10-29 Fri 17:45]
   :LOGBOOK:
   CLOCK: [2010-10-29 Fri 17:44]--[2010-10-29 Fri 17:45] =  0:01
   CLOCK: [2010-10-29 Fri 17:40]--[2010-10-29 Fri 17:42] =  0:02
   :END:

Updates on server.
---


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


[Orgmode] [bug] Update clocktable (C-cxr with point within clocktable) doesn't detect, inserts new clocktable at point

2010-11-19 Thread Jeff Kowalczyk
With Org Mode git, when I use C-c C-x C-r inside an existing clocktable, Org
inserts a new clocktable at point. The previous behavior was to detect and
update the existing clocktable, which I presume is still the intended behavior.

Jeff


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


[Orgmode] Re: Wanted: org-publish-org-to-ascii

2010-10-14 Thread Jeff Kowalczyk
Matthias Danzl mdanzl1 at aol.com writes:
 That did the job! Thanks Juan. I can now publish to html and txt. Very 
 nice.

How are you calling the function? I'm not familiar with what the plist parameter
must be set to, at a minimum, for the call to work:

(require 'org-publish)

;; (defun org-publish-org-to-utf8 (plist filename pub-dir)
(org-publish-org-to-utf8 nil /home/myuser/org/myfile.org /tmp)

Thanks,
Jeff



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


[Orgmode] Re: Tracking time with MobileOrg

2010-10-07 Thread Jeff Kowalczyk
Richard Moreland rlm at ncogni.to writes:
 - If you click on the clocking icon at the bottom, a list of recently
 clocked tasks will be shown, with the active one being highlighted.
 You can stop the running clock, or start the clock on any of your recent
 items.

The UI ideas sound great.

I would think that a one-touch action for clock in/out of the active task would
be helpful. I'm not completely familiar with the iOS UI conventions, but would a
'long-touch' of the button you mention be a good mechanism to clock in/out of
the active task? A tap would bring up the list of tasks, as you describe.

Also, I think allowing editing of the clock-in/out times (using the iOS
date-time widgets, presumably) would be necessary, if only for accuracy. Many
tasks might start or stop when the device can't be used at that particular
moment. If you can't adjust the clock in/out until you get back to Org Mode,
you'll have to leave yourself a note to do so later.

Thanks, these are exciting developments, I'm glad I asked.

Jeff


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


[Orgmode] Tracking time with MobileOrg

2010-10-06 Thread Jeff Kowalczyk
Can the current version of MobileOrg be used for a simple time tracking
workflow? (i.e. does it have an easy clock in and clock out?)

My wife has a need for a simple time tracking application on the iPhone. The
only number needed is total hours spent per period (e.g. month) on one task, the
full-time job.

I use Org Mode for my own worklogs, and would do any necessary pre-templating
and post-processing on the resultant Org file, if a rapid-capture strategy can
be worked out for MobileOrg.

Given how much I use and like Org Mode myself, I'd be really pleased if we can
work with Org as a file format for this application, rather than some
closed-source app.

Thanks,
Jeff



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


[Orgmode] Re: Org-mode screencasts

2010-09-26 Thread Jeff Kowalczyk
Eric Abrahamsen eric at ericabrahamsen.net writes:

 One thing that would be really excellent is to show keystrokes as you do
 the tutorial. I don't know what system you're using, but this link:
 
 http://screencasters.heathenx.org/blog/2009/04/06/smaller-key-status-monitor/


 Rustom Mody wrote:
 
 mwe-log-commands may be particularly useful for an emacs related 
 screencast http://www.foldr.org/~michaelw/emacs/mwe-log-commands.el

It would be extremely nice for screencasting Emacs to have a configurable input
and prompt display similar to the calc trail.

Wish list:

- stack view of the keystream from view-lossage
- annotations (i.e. an overlay) when a binding dispatches a command
  using the mechanism from mwe-log-commands. 
- annotations of minibuffer prompts
- annotations of keybinding hints

The view-lossage stream doesn't use the format one would want for user
documentation:

C-x b f o o return return menu v i e w - l o s s a g e return

Something like the following would be more like documentation:

C-x b [switch-to-buffer]
f o o RET [minibuffer input]
RET [minibuffer prompt confirm]
[visiting buffer] foo
M-x [menu]
v i e w - l o s s a g e RET [minibuffer input]
[visiting buffer] *Help*

The parts in [brackets] are intended to indicate some kind of face overlay. As
uncolored plaintext the information is just distracting.

Another tool, http://www.emacswiki.org/emacs/ScreencastMode has good ideas for
keybinding hints and one-key stepthrough. I don't think the typed-text narration
style is a good fit for these particular screencasts and their target audience,
however.

Jeff


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


[Orgmode] Prevent Org timestamps breaking with paragraph fill?

2010-05-05 Thread Jeff Kowalczyk
I sometimes use Org timestamps in the body text of a headline. The timestamps
break when filling with M-q. 

Is there a way to prevent this, i.e. Org timestamps as non-breaking words?

Thanks.



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


[Orgmode] Org Mode spreadsheet SUMIF

2010-03-08 Thread Jeff Kowalczyk
(Apologies if this is a FAQ, a gmane.org search of this list did not return any
matches)

What is the Org Mode spreadsheet formula idiom for a SUMIF function?

The objective is to add up the numeric values for rows matching a tag column:

| 2010-03-01 | 12.2 | foo |
| 2010-03-02 | 11.5 | foo |
| 2010-03-02 | 12.6 | bar |
| 2010-03-03 | 10.2 | foo |

Need a total for foo: 33.9, and bar: 12.6, etc.

I'll probably use a remote table reference for the summary formulas.

Thanks,
Jeff



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


[Orgmode] PDF export with texlive-2009: AUTO.def not found.

2010-02-01 Thread Jeff Kowalczyk
I'm using texlive-2009 on Gentoo Linux with org-mode git at 04c86c5.

Upon updating to texlive-2009, PDF export via pdflatex started producing the
following error:

---
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
entering extended mode
(/home/myuser/org/acme.tex
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, bulgarian, russian, ukrainian, loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size11.clo))
(/usr/share/texmf-dist/tex/latex/base/inputenc.sty

! LaTeX Error: File `AUTO.def' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: def)

Enter file name: 
! Emergency stop.
read * 
 
l.131 \endinput
   ^^M
!  == Fatal error occurred, no output PDF file produced!
Transcript written on central.log.
---

The system packaged texlive-2009 does have 32 .defs in
/usr/share/texmf-dist/tex/latex/base, but not AUTO.def.

Not sure if this is a change in texlive-2009, or an issue with system-packaging,
or application issue yet, just reporting the symptom.

Thanks,
Jeff



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


[Orgmode] How to disable folding entirely

2009-11-03 Thread Jeff Kowalczyk
In certain editing scenarios, I would like to temporarily disable all folding
including subtrees, property drawers, logbook entries, etc. i.e. the same
initial unfolded state achieved with #+STARTUP showeverything (M-x showall), but
unfolded state continues as new items are created, clocking in and out, etc.

Is there a general mechanism to toggle folding in Org, or in Emacs proper?

I searched many variations of 'fold'-related strings in the Org source, and
didn't see anything directly applicable [1]. 

Thanks,
Jeff


[1] ~/.emacs.d/vendor/org-mode/lisp $ ack defcustom.*fold 
org.el
291:(defcustom org-startup-folded t
851:(defcustom org-yank-folded-subtrees t

org-mhe.el
39:(defcustom org-mhe-search-all-folders nil
[master]~/.emacs.d/vendor/org-mode/lisp $ 




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


[Orgmode] Re: Separate function for config listing from org-submit-bug-report

2009-10-28 Thread Jeff Kowalczyk
Carsten Dominik carsten.dominik at gmail.com writes:

 Hi Jeff,
 
 I don't know why you are being prompted for you IMAP password,
 but regardless of this the email should not be send automatically.
 So I think you can go through the process and then copy the text and  
 just not send the message!

The email client is is wanderlust, and it must be trying to initialize a draft
message on Google Mail when creating a send message buffer. You are correct, it
did give the opportunity to cancel the message before sending. Thanks,

 I cannot easily isolate this, because my code only produces the list
 of interesting variables.  Some code in reporter.el does the quoting
 and insertion.

Do you have any ideas how to get the following function to work? It is intended
to insert the configuration at point:

(defun org-dump-configuration ()
  Call reporter-dump-state (pkgname varlist pre-hooks post-hooks)
  (interactive)
  (require 'reporter)
  (reporter-dump-state
   (org-version)
   (let (mylist)
 (mapatoms
  (lambda (v)
(and (boundp v)
  (string-match \\`\\(org-\\|outline-\\) (symbol-name v))
  (or (and (symbol-value v)
   (string-match \\(-hook\\|-function\\)\\'
(symbol-name v)))
  (and
   (get v 'custom-type) (get v 'standard-value)
   (not (equal (symbol-value v) (eval (car 
(get v 'standard-value)))
  (push v mylist
 mylist)
   (insert )
   (insert )
   )
  )

The error message seems to indicate that parameter 'varlist' is not populated
correctly.

Emacs  : GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0)
 of 2009-09-28 on thinkpad
Package: Org-mode version 6.32trans (release_6.32b.8.g089b)

current state:
==
State could not be dumped due to the following error:

(wrong-type-argument integer-or-marker-p nil)

You should still send this bug report.



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


[Orgmode] Separate function for config listing from org-submit-bug-report

2009-10-26 Thread Jeff Kowalczyk
The code to list a user's Org configuration which differs from the defaults is
very useful. However, I've never run the M-x org-submit-bug-report command to
completion, since I'm prompted for my GMail IMAP password before the config
output is shown. I wouldn't want to spam the list with test data.

I'd like to make a feature request that the configuration-dump code be
refactored to a separate command which can be inserted at point or to a new
buffer. org-submit-bug-report would call this function to build it's message.

I couldn't get the form inside of (org.el):

 (when (yes-or-no-p Include your Org-mode configuration )
  )

to execute in the scratch buffer.

Thanks,
Jeff



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


[Orgmode] Re: No definition for class `article'in `org-export-latex-classes'

2009-10-21 Thread Jeff Kowalczyk
Carsten Dominik carsten.dominik at gmail.com writes:
 I cannot reproduce this.
 
 Anyone?

Yes, it's not producing the error at today's git HEAD. Sorry for the false 
alarm.

I'm not sure what was causing it, I had reset the HEAD twice around f376fe to
confirm when posting. That changeset didn't look like it could cause the error.
Perhaps I missed a step in the make clean, make, restart emacs daemon procedure.

Thanks,
Jeff



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


[Orgmode] No definition for class `article' in `org-export-latex-classes'

2009-10-20 Thread Jeff Kowalczyk
Using Org at e8e296 with emacs 23.1.1 and texlive-2008, when exporting to PDF,
the following error occurs:

Exporting to PDF...
Exporting to LaTeX...
org-export-latex-set-initial-vars: No definition for class `article' in
`org-export-latex-classes'

It still works as of 79031ab. The next changeset f376fe does modify
lisp/org-latex.el.

Thanks.



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


[Orgmode] Re: Patch for resolving away time when clocked in

2009-10-16 Thread Jeff Kowalczyk
John Wiegley jwiegley at gmail.com writes:
 Looking for anyone who uses Org's time clocking facilities and is  
 willing to test this with me.  I've been using it for a couple of days  
 now.  The functionality is based on the way the commercial app  
 OfficeTime handles idleness.

Hi John, 

This is interesting and useful, and the manual section describing how it works
is clear.

I applied the patch against 93f396, and on Emacs 23.1 I get an error when
clocking in. The error happens the first clock-in for each Emacs session, but
the 'invalid timer' message shows for subsequent clock-in/out.

Thanks,
Jeff


Debugger entered--Lisp error: (error Invalid timer)
  signal(error (Invalid timer))
  error(Invalid timer)
  cancel-timer(1)
  byte-code((snip)
  [org-clock-resolving-clocks-due-to-idleness org-clock-marker
  org-clock-resolving-clocks org-clock-left-over-time left-over msg-extra
  marker-buffer nil  t org-resolve-clocks throw abort (4)
  org-clock-select-task Clock-in on task:  copy-marker error Abort
  marker-position org-clock-out (16) org-clock-mark-default-task
  org-on-heading-p point-at-bol 0 run-hooks org-clock-in-prepare-hook
  org-base-buffer org-back-to-heading org-clock-history-push functionp
  looking-at match-string 2 org-todo [ ]* \\ 4 org-trim 1 ???
  org-propertize face org-clock-find-position ^[ ]*  
  \\[\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}  +\\sw+.?
  +[012][0-9]:[0-5][0-9]\\)\\][ ]*$ message Matched %s ...] 7)
  org-clock-in(nil)
  call-interactively(org-clock-in nil nil)


The org-related parts of my config:

(add-to-list 'load-path ~/.emacs.d/vendor/org-mode/lisp)
(add-to-list 'load-path ~/.emacs.d/vendor/org-mode/contrib/lisp)
(add-to-list 'auto-mode-alist '(\\.org\\' . org-mode))
(require 'org-install)
(setq org-clock-persist t)
(org-clock-persistence-insinuate)
(global-set-key \C-cl 'org-store-link)
(global-set-key \C-ca 'org-agenda)
(setq org-log-done 'time)
(setq org-special-ctrl-k t)
(org-remember-insinuate)
(setq org-directory ~/org/)
(setq org-default-notes-file (concat org-directory /notes.org))
(define-key global-map \C-cr 'org-remember)
(setq org-clock-into-drawer t)
(setq org-clock-clocktable-default-properties '(:maxlevel 2 :scope subtree))
(defun yas/org-very-safe-expand ()



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


[Orgmode] Re: Patch for resolving away time when clocked in

2009-10-16 Thread Jeff Kowalczyk
John Wiegley jwiegley at gmail.com writes:
 
 On Oct 16, 2009, at 10:25 AM, Jeff Kowalczyk wrote:
 
  I applied the patch against 93f396, and on Emacs 23.1 I get an error  
  when clocking in. The error happens the first clock-in for
  each Emacs session, but the 'invalid timer' message shows for
  subsequent clock-in/out.
 
 In org-clock.el, on line 236, please change that line to:
 
 (defvar org-clock-left-over-time nil
 
 And see if this resolves your problem. 

Thank you. With that change there are no more visible errors or backtraces.

 I am unable to reproduce the  
 cancel-timer failure here.  Please load org-clock.el into Emacs and  
 type M-x eval-buffer and then trigger it again, that I may see the  
 complete stack trace.

No error anymore as mentioned above.

I'm not sure I'm triggering the new functionality correctly. In the scratch
buffer, I eval'd:

(setq org-clock-idle-time 1)

Next, I created an Org buffer with one TODO file, and clocked in, and took my
hands off the computer. I waited three minutes, then clocked out.

* Worklog
** TODO Task 1
   :LOGBOOK:
   CLOCK: [2009-10-16 Fri 09:42]--[2009-10-16 Fri 09:46] =  0:04
   :END:

Was I supposed to be prompted to resolve some minutes when clocking out after
the org-clock-idle-time had elapsed?

Thanks,
Jeff



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


[Orgmode] Re: Patch for resolving

2009-10-16 Thread Jeff Kowalczyk
John Wiegley jwiegley at gmail.com writes:
 On Oct 16, 2009, at 1:41 PM, John Wiegley wrote:
 
  At the moment, the auto-resolver only checks files which are  
  referred to by org-agenda-files.  It does not scan the entire buffer  
  list looking for any org-mode buffer.  Do you think it should do the  
  latter instead?
 
 I have a better answer for this:
 
   1. For the checking idle time, I just check the currently active  
 clock's file, wherever that happens to be.
 
   2. For resolving clocks on clock-in, I'll scan all agenda-files and  
 open org-mode buffers.
 
 John

Thanks, that plan sounds ideal for the way I use Org, i.e. without the agenda,
and one or more open buffers in org-mode for clocking time.

I actually haven't gotten around to using the agenda yet, because (and this is
purely laziness on this user's part), I never got it to display gridded time for
my completed worklogs in the form below (i.e. few things are SCHEDULED ahead
of time):


* Worklog for ACME

** DONE Task 1   :tagA:
   CLOSED: [2009-10-16 Fri 11:06]
   :LOGBOOK:
   CLOCK: [2009-10-16 Fri 09:42]--[2009-10-16 Fri 09:46] =  0:04
   :END:

Describe.

** DONE Task 2  :tagA:tagB:
   CLOSED: [2009-10-16 Fri 11:06]
   :LOGBOOK:
   CLOCK: [2009-10-16 Fri 10:00]--[2009-10-16 Fri 10:43] =  0:43
   CLOCK: [2009-10-16 Fri 09:54]--[2009-10-16 Fri 09:56] =  0:02
   :END:

Notes taken.

** TODO Task 3   :tagA:
   :LOGBOOK:
   CLOCK: [2009-10-16 Fri 11:07]
   CLOCK: [2009-10-16 Fri 10:43]--[2009-10-16 Fri 10:44] =  0:01
   :END:

In progress...




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


Re: [Orgmode] Export bug: _ { chars in enough headlines, pdflatex export fails

2009-09-25 Thread Jeff Kowalczyk
Carsten Dominik carsten.dominik at gmail.com writes:
 
 Hi Jeff,
 
 may I ask what the practical use case of _{ is?
 
 - Carsten

Hi Carsten,

There's no practical use case ;) 

I reported with a test case because it could be that _ and { are not escaped in 
clocktable summary in the same way that they are in headlines and body text. I 
updated the test case to fail with __foo, which could occur in a large python 
documentation project, for example.

These were accidental occurrences, which I can fix in my document. I truncated 
first lines of a git repository commit messages. The original text read:

   ... import acme.foo_{inv,det,pay} from CSV ...

The truncate point happened to fall between the brackets in about 250 
headlines. Given a sufficiently large file, export triggered enough errors that 
LaTeX gave up.

I simplified the test case file below. Export fails with the that's 100 
errors message. The behavior manifests for two adjacent characters _{, __, or 
{{. Export succeeds if the clocktable summary is removed.

Thanks,
Jeff

---

#+OPTIONS: toc:nil ^:nil
* Headline
#+BEGIN: clocktable :maxlevel 2 :scope subtree
Clock summary at [2009-09-25 Fri 05:04]

| L | Headline   | Time   |  |
|---+++--|
|   | *Total time*   | *2:01* |  |
|---+++--|
| 1 | Headline   | 2:01   |  |
| 2 | Headline __foo 0   || 0:01 |
| 2 | Headline __foo 1   || 0:01 |
| 2 | Headline __foo 2   || 0:01 |
| 2 | Headline __foo 3   || 0:01 |
| 2 | Headline __foo 4   || 0:01 |
| 2 | Headline __foo 5   || 0:01 |
| 2 | Headline __foo 6   || 0:01 |
| 2 | Headline __foo 7   || 0:01 |
| 2 | Headline __foo 8   || 0:01 |
| 2 | Headline __foo 9   || 0:01 |
| 2 | Headline __foo 10  || 0:01 |
| 2 | Headline __foo 11  || 0:01 |
| 2 | Headline __foo 12  || 0:01 |
| 2 | Headline __foo 13  || 0:01 |
| 2 | Headline __foo 14  || 0:01 |
| 2 | Headline __foo 15  || 0:01 |
| 2 | Headline __foo 16  || 0:01 |
| 2 | Headline __foo 17  || 0:01 |
| 2 | Headline __foo 18  || 0:01 |
| 2 | Headline __foo 19  || 0:01 |
| 2 | Headline __foo 20  || 0:01 |
| 2 | Headline __foo 21  || 0:01 |
| 2 | Headline __foo 22  || 0:01 |
| 2 | Headline __foo 23  || 0:01 |
| 2 | Headline __foo 24  || 0:01 |
| 2 | Headline __foo 25  || 0:01 |
| 2 | Headline __foo 26  || 0:01 |
| 2 | Headline __foo 27  || 0:01 |
| 2 | Headline __foo 28  || 0:01 |
| 2 | Headline __foo 29  || 0:01 |
| 2 | Headline __foo 30  || 0:01 |
| 2 | Headline __foo 31  || 0:01 |
| 2 | Headline __foo 32  || 0:01 |
| 2 | Headline __foo 33  || 0:01 |
| 2 | Headline __foo 34  || 0:01 |
| 2 | Headline __foo 35  || 0:01 |
| 2 | Headline __foo 36  || 0:01 |
| 2 | Headline __foo 37  || 0:01 |
| 2 | Headline __foo 38  || 0:01 |
| 2 | Headline __foo 39  || 0:01 |
| 2 | Headline __foo 40  || 0:01 |
| 2 | Headline __foo 41  || 0:01 |
| 2 | Headline __foo 42  || 0:01 |
| 2 | Headline __foo 43  || 0:01 |
| 2 | Headline __foo 44  || 0:01 |
| 2 | Headline __foo 45  || 0:01 |
| 2 | Headline __foo 46  || 0:01 |
| 2 | Headline __foo 47  || 0:01 |
| 2 | Headline __foo 48  || 0:01 |
| 2 | Headline __foo 49  || 0:01 |
| 2 | Headline __foo 50  || 0:01 |
| 2 | Headline __foo 51  || 0:01 |
| 2 | Headline __foo 52  || 0:01 |
| 2 | Headline __foo 53  || 0:01 |
| 2 | Headline __foo 54  || 0:01 |
| 2 | Headline __foo 55  || 0:01 |
| 2 | Headline __foo 56  || 0:01 |
| 2 | Headline __foo 57  || 0:01 |
| 2 | Headline __foo 58  || 0:01 |
| 2 | Headline __foo 59  || 0:01 |
| 2 | Headline __foo 60  || 0:01 |
| 2 | Headline __foo 61  || 0:01 |
| 2 | Headline __foo 62  || 0:01 |
| 2 | Headline __foo 63  || 0:01 |
| 2 | Headline __foo 64  || 0:01 |
| 2 | Headline __foo 65  || 0:01 |
| 2 | Headline __foo 66  || 0:01 |
| 2 | Headline __foo 67  || 0:01 |
| 2 | Headline __foo 68  || 0:01 |
| 2 | Headline __foo 69  || 0:01 |
| 2 | Headline __foo 70  || 0:01 |
| 2 | Headline __foo 71  || 0:01 |
| 2 | Headline __foo 72  || 0:01 |
| 2 | Headline __foo 73  || 0:01 |
| 2 | Headline __foo 74  || 0:01 |
| 2 | Headline __foo 75  || 0:01 |
| 2 | Headline __foo 76  || 0:01 |
| 2 | Headline __foo 77  || 0:01 |
| 2 | Headline __foo 78  || 0:01 |
| 2 | Headline __foo 79  || 0:01 |
| 2 | Headline __foo 80  || 0:01 |
| 2 | Headline __foo 81  || 0:01 |
| 2 | Headline __foo 82  || 0:01 |
| 2 | Headline __foo 83  |   

[Orgmode] Re: Export bug: _{ chars in enough headlines, pdflatex export fails

2009-09-25 Thread Jeff Kowalczyk
Nick Dokos nicholas.dokos at hp.com writes:
 I don't understand why you need open braces in your headlines
 at all - can't you just get rid of them?

Hi Nick. I'm all set, I did remove brackets and underscores from headlines in
this one large document. Now that I know about it, I won't use the characters in
future things that might become headlines, like git commit messages.

FWIW, A double-underscore could reasonably be encountered by users writing
headlines about programs. This thread is helpful documentation for that 
scenario.

Thanks,
Jeff



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


[Orgmode] Table formula referencing cells with HH:MM time strings, incorrect result

2009-09-25 Thread Jeff Kowalczyk
I am trying to use HH:MM time strings from clocktables in a table formula. First
time I've used table formulas, BTW.

When fetching the cells as remote(), I got strange results. The behavior is the
same for regular references, so here's a regular-reference test case:

| 17:36 | 17:36 |
| 19:45 | 19:45 |
| 24:53 | 24:53 |
| 40:57 | 40:57 |
| 43:02 |  43:2 |
| 45:14 | 45:14 |
| 46:09 |  46:9 |
| 48:56 |   6:7 |
| 49:28 |   7:4 |
| 55:18 | 55:18 |
| 80:10 | 8 |
| 88:14 |  44:7 |
#+TBLFM: $2=$1

The objective is to multiply time (decimal) by a constant, so if anyone has a
tip for parsing HH:MM using a function instead of reinventing, thanks in 
advance.

Thanks,
Jeff



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


[Orgmode] clocktable :timestamp t, show CLOSED times

2009-09-24 Thread Jeff Kowalczyk
I have a need to timestamp clocked-time items in the clocktable summary. All 
headings are status DONE, logged with timestamp CLOSED.

Can CLOSED be added as a timestamp which will be included in the clocktable 
column?


Per the Org Manual: 

 :timestamp A timestamp for the entry, when available.
 Look for SCHEDULED, DEADLINE, TIMESTAMP and TIMESTAMP_IA, in this order.

SCHEDULED and DEADLINE seem mutually exclusive to CLOSED, I haven't used them 
to be certain of that.

I don't know what TIMESTAMP(_IA) means, it seems to be active or inactive 
timestamps found in the description text. When found, those do get included in 
the timestamp column.

Thanks,
Jeff


  



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


[Orgmode] Export bug: LaTeX TOC headline numbers above 100 overlap headline

2009-09-24 Thread Jeff Kowalczyk
When the headline count for a pdftolatex export gets to be more than 100 lines, 
the TOC renders with the headline number directly touching the headline text. 
More than 1,000, and it starts to overlap.

It would seem that LaTeX calculates the space to allocate for the headline 
number based on too few initial entries.

I have included a simple test case below.

Thanks,
Jeff

* Headline 0
* Headline 1
* Headline 2
* Headline 3
* Headline 4
* Headline 5
* Headline 6
* Headline 7
* Headline 8
* Headline 9
* Headline 10
* Headline 11
* Headline 12
* Headline 13
* Headline 14
* Headline 15
* Headline 16
* Headline 17
* Headline 18
* Headline 19
* Headline 20
* Headline 21
* Headline 22
* Headline 23
* Headline 24
* Headline 25
* Headline 26
* Headline 27
* Headline 28
* Headline 29
* Headline 30
* Headline 31
* Headline 32
* Headline 33
* Headline 34
* Headline 35
* Headline 36
* Headline 37
* Headline 38
* Headline 39
* Headline 40
* Headline 41
* Headline 42
* Headline 43
* Headline 44
* Headline 45
* Headline 46
* Headline 47
* Headline 48
* Headline 49
* Headline 50
* Headline 51
* Headline 52
* Headline 53
* Headline 54
* Headline 55
* Headline 56
* Headline 57
* Headline 58
* Headline 59
* Headline 60
* Headline 61
* Headline 62
* Headline 63
* Headline 64
* Headline 65
* Headline 66
* Headline 67
* Headline 68
* Headline 69
* Headline 70
* Headline 71
* Headline 72
* Headline 73
* Headline 74
* Headline 75
* Headline 76
* Headline 77
* Headline 78
* Headline 79
* Headline 80
* Headline 81
* Headline 82
* Headline 83
* Headline 84
* Headline 85
* Headline 86
* Headline 87
* Headline 88
* Headline 89
* Headline 90
* Headline 91
* Headline 92
* Headline 93
* Headline 94
* Headline 95
* Headline 96
* Headline 97
* Headline 98
* Headline 99
* Headline 100
* Headline 101
* Headline 102
* Headline 103
* Headline 104
* Headline 105
* Headline 106
* Headline 107
* Headline 108
* Headline 109
* Headline 110
* Headline 111
* Headline 112
* Headline 113
* Headline 114
* Headline 115
* Headline 116
* Headline 117
* Headline 118
* Headline 119
* Headline 120




  



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


[Orgmode] Export bug: _ { chars in enough headlines, pdflatex export fails

2009-09-24 Thread Jeff Kowalczyk
Export to pdflatex fails if underscore or unclosed bracket characters are in 
enough headlines.

Thanks,
Jeff

Testcase file demonstrating pdflatex export fail:

---

#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t :t
#+OPTIONS:   TeX:t LaTeX:nil skip:nil d:t todo:nil pri:nil tags:nil
* Headline
#+CAPTION: Clocktable Summary
#+LABEL: tbl:clock
#+ATTR_LaTeX: longtable
#+BEGIN: clocktable :maxlevel 2 :scope subtree
Clock summary at [2009-09-24 Thu 21:37]

| L | Headline   | Time   |  |
|---+++--|
|   | *Total time*   | *2:01* |  |
|---+++--|
| 1 | Headline   | 2:01   |  |
| 2 | Headline 0_{   || 0:01 |
| 2 | Headline 1_{   || 0:01 |
| 2 | Headline 2_{   || 0:01 |
| 2 | Headline 3_{   || 0:01 |
| 2 | Headline 4_{   || 0:01 |
| 2 | Headline 5_{   || 0:01 |
| 2 | Headline 6_{   || 0:01 |
| 2 | Headline 7_{   || 0:01 |
| 2 | Headline 8_{   || 0:01 |
| 2 | Headline 9_{   || 0:01 |
| 2 | Headline 10_{  || 0:01 |
| 2 | Headline 11_{  || 0:01 |
| 2 | Headline 12_{  || 0:01 |
| 2 | Headline 13_{  || 0:01 |
| 2 | Headline 14_{  || 0:01 |
| 2 | Headline 15_{  || 0:01 |
| 2 | Headline 16_{  || 0:01 |
| 2 | Headline 17_{  || 0:01 |
| 2 | Headline 18_{  || 0:01 |
| 2 | Headline 19_{  || 0:01 |
| 2 | Headline 20_{  || 0:01 |
| 2 | Headline 21_{  || 0:01 |
| 2 | Headline 22_{  || 0:01 |
| 2 | Headline 23_{  || 0:01 |
| 2 | Headline 24_{  || 0:01 |
| 2 | Headline 25_{  || 0:01 |
| 2 | Headline 26_{  || 0:01 |
| 2 | Headline 27_{  || 0:01 |
| 2 | Headline 28_{  || 0:01 |
| 2 | Headline 29_{  || 0:01 |
| 2 | Headline 30_{  || 0:01 |
| 2 | Headline 31_{  || 0:01 |
| 2 | Headline 32_{  || 0:01 |
| 2 | Headline 33_{  || 0:01 |
| 2 | Headline 34_{  || 0:01 |
| 2 | Headline 35_{  || 0:01 |
| 2 | Headline 36_{  || 0:01 |
| 2 | Headline 37_{  || 0:01 |
| 2 | Headline 38_{  || 0:01 |
| 2 | Headline 39_{  || 0:01 |
| 2 | Headline 40_{  || 0:01 |
| 2 | Headline 41_{  || 0:01 |
| 2 | Headline 42_{  || 0:01 |
| 2 | Headline 43_{  || 0:01 |
| 2 | Headline 44_{  || 0:01 |
| 2 | Headline 45_{  || 0:01 |
| 2 | Headline 46_{  || 0:01 |
| 2 | Headline 47_{  || 0:01 |
| 2 | Headline 48_{  || 0:01 |
| 2 | Headline 49_{  || 0:01 |
| 2 | Headline 50_{  || 0:01 |
| 2 | Headline 51_{  || 0:01 |
| 2 | Headline 52_{  || 0:01 |
| 2 | Headline 53_{  || 0:01 |
| 2 | Headline 54_{  || 0:01 |
| 2 | Headline 55_{  || 0:01 |
| 2 | Headline 56_{  || 0:01 |
| 2 | Headline 57_{  || 0:01 |
| 2 | Headline 58_{  || 0:01 |
| 2 | Headline 59_{  || 0:01 |
| 2 | Headline 60_{  || 0:01 |
| 2 | Headline 61_{  || 0:01 |
| 2 | Headline 62_{  || 0:01 |
| 2 | Headline 63_{  || 0:01 |
| 2 | Headline 64_{  || 0:01 |
| 2 | Headline 65_{  || 0:01 |
| 2 | Headline 66_{  || 0:01 |
| 2 | Headline 67_{  || 0:01 |
| 2 | Headline 68_{  || 0:01 |
| 2 | Headline 69_{  || 0:01 |
| 2 | Headline 70_{  || 0:01 |
| 2 | Headline 71_{  || 0:01 |
| 2 | Headline 72_{  || 0:01 |
| 2 | Headline 73_{  || 0:01 |
| 2 | Headline 74_{  || 0:01 |
| 2 | Headline 75_{  || 0:01 |
| 2 | Headline 76_{  || 0:01 |
| 2 | Headline 77_{  || 0:01 |
| 2 | Headline 78_{  || 0:01 |
| 2 | Headline 79_{  || 0:01 |
| 2 | Headline 80_{  || 0:01 |
| 2 | Headline 81_{  || 0:01 |
| 2 | Headline 82_{  || 0:01 |
| 2 | Headline 83_{  || 0:01 |
| 2 | Headline 84_{  || 0:01 |
| 2 | Headline 85_{  || 0:01 |
| 2 | Headline 86_{  || 0:01 |
| 2 | Headline 87_{  || 0:01 |
| 2 | Headline 88_{  || 0:01 |
| 2 | Headline 89_{  || 0:01 |
| 2 | Headline 90_{  || 0:01 |
| 2 | Headline 91_{  || 0:01 |
| 2 | Headline 92_{  || 0:01 |
| 2 | Headline 93_{  || 0:01 |
| 2 | Headline 94_{  || 0:01 |
| 2 | Headline 95_{  || 0:01 |
| 2 | Headline 96_{  || 0:01 |
| 2 | Headline 97_{  || 0:01 |
| 2 | Headline 98_{  || 0:01 |
| 2 | Headline 99_{  || 0:01 |
| 2 | Headline 100_{ || 0:01 |
| 2 | Headline 101_{ || 0:01 |
| 2 | Headline 102_{ || 0:01 |
| 2 | Headline 103_{ || 0:01 |
| 2 | Headline 104_{ || 0:01 |
| 2 | Headline 105_{ || 0:01 |
| 2 | Headline 106_{ || 0:01 |
| 2 | Headline 107_{ || 0:01 |
| 2 | Headline 108_{ || 0:01 |
| 2 | Headline 109_{ || 0:01 |
| 2 | Headline 110_{ || 0:01 

[Orgmode] =code= and ~verbatim~ with bashslash (\), LaTeX export

2009-09-23 Thread Jeff Kowalczyk
Is there a way to escape backslashes (\) in code and verbatim that will export 
to LaTeX correctly?

When writing =\\host\share= or =C:\path\to=, pdftolatex output is incorrect.

The various methods described in [1] don't work for me in Org.

Thanks,
Jeff

[1] 
http://stackoverflow.com/questions/256457/how-does-one-insert-a-backslash-or-a-tilde-into-latex


  



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


[Orgmode] Re: =code= and ~verbatim~ with bashslash (\), LaTeX export

2009-09-23 Thread Jeff Kowalczyk
Bernt Hansen bernt at norang.ca writes:
 
 Jeff Kowalczyk jtk at yahoo.com writes:
 
  Is there a way to escape backslashes (\) in code and verbatim that will
export to LaTeX correctly?
 
  When writing =\\host\share= or =C:\path\to=, pdftolatex output is incorrect.
 
  The various methods described in [1] don't work for me in Org.
 
 #+begin_example 
  ~ and \ in latex
  \host
 
  \\host\share and c:\path\to\something
 
 #+end_example
 
 -Bernt

Thanks, Bernt. The begin_example method and :  have been working well with
backslashes for me.

The =code= and ~verbatim~ markup would allow the author to spell paths and other
backslash items in the normal flow of text.

A feature request then: =code= and ~verbatim~ would escape characters with the
same environment/rules as the other literal example methods (presuming this is
possible for LaTex, of course)

Thanks,
Jeff



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


[Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-18 Thread Jeff Kowalczyk
With Emacs 23.1, org git master, and yasnippet svn trunk, I have the problem
that the TAB key does not expand snippets, but C-i does. I'm using the Org
Manual's recommended configuration to address the conflict, see init.el lines
matching org|yas below:


(load-file ~/.emacs.d/vendor/yasnippet/yasnippet.el)
(yas/initialize)
(yas/load-directory ~/.emacs.d/vendor/yasnippet/snippets)
(global-set-key \C-cl 'org-store-link)
(global-set-key \C-ca 'org-agenda)
(setq org-log-done 'time)
(setq org-special-ctrl-k t)
(org-remember-insinuate)
(setq org-directory ~/org/)
(setq org-default-notes-file (concat org-directory /notes.org))
(define-key global-map \C-cr 'org-remember)
(setq org-clock-into-drawer t)
(setq org-clock-clocktable-default-properties '(:maxlevel 2 :scope subtree))
(add-hook 'org-mode-hook
  (lambda ()
  (org-set-local 'yas/trigger-key [tab])
  (define-key yas/keymap [tab] 'yas/next-field-group)))


I normally have ido enabled, but I disabled it with no change in the behavior.
Thanks for any suggestions.

Jeff



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


[Orgmode] lisp/org-agenda.el:33:1:Error: Key sequence C-c C-x m g starts with non-prefix key C-c C-x m

2009-09-17 Thread Jeff Kowalczyk
At 3651c206ee118d67ce1ee4b4dad0278b08356c37, my system sees a compilation error 
in org-agenda.el:

 Compiling source in /var/tmp/portage/app-emacs/org-mode-/work/org-mode 
 ...
make -j2 
emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) 
\/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) 
(expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org.el
emacs -batch -q -no-site-file -eval (progn (add-to-list (quote load-path) 
\/usr/local/share/emacs/site-lisp\) (add-to-list (quote load-path) 
(expand-file-name \./lisp/\))) -f batch-byte-compile lisp/org-agenda.el

In toplevel form:
lisp/org-agenda.el:33:1:Error: Key sequence C-c C-x m g starts with non-prefix 
key C-c C-x m
make: *** [lisp/org-agenda.elc] Error 1
make: *** Waiting for unfinished jobs


  



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


[Orgmode] Startup option for Show all, including drawers

2009-09-17 Thread Jeff Kowalczyk
When doing extensive search-replace in org files I find it is easier with 
visibility M-x show-all (C-u C-u C-u TAB). The files often remain in a 
bulk-editing phase for more than one session.

Could we have a startup option for show all, including drawers?

Thanks,
Jeff

P.S. Thanks for org-clock-clocktable-default-properties, it's a real timesaver.



  



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


[Orgmode] Option for new clocktables to default to scope: subtree?

2009-09-16 Thread Jeff Kowalczyk
I frequently use clocktables, and always use scope: subtree. The default scope 
is file.

If it doesn't exist already (I didn't find it with grep), an org customization 
variable for this preference would be very helpful.

Thanks,
Jeff


  



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


[Orgmode] Resolving overlapping clocked time between tasks?

2009-09-11 Thread Jeff Kowalczyk
I have related tasks from two org files/subtrees where a small percentage of 
the clocked time overlaps. These are a manual worklog and a generated git 
commit log, see below.

Does anyone have a suggestion about marking and/or resolving overlapping 
clocked time?

I plan to merge the subtrees and org-sort by closed time. Once sorted, manual 
inspection is possible, but error-prone and slow going.

My initial thought was to add the commits as negative time (i.e. 
clockout--clockin) to the manually clocked tasks. However, that doesn't 
subtract in clocktable summaries, see below.

Thanks for any ideas. Given some pointers to Org and Emacs functions and a 
suggested algorithm, I can code up some Emacs Lisp to get this done.

Thanks,
Jeff


---


file acme.org:

* Worklog ACME
#+BEGIN: clocktable :maxlevel 2 :scope subtree
Clock summary at [2009-09-11 Fri 20:38]

| L | Headline| Time   |  |
|---+-++--|
|   | *Total time*| *8:00* |  |
|---+-++--|
| 1 | Worklog ACME| 8:00   |  |
| 2 | DONE Onsite at ACME || 8:00 |
#+END:

** DONE Onsite at ACME:onsite:deployment:acme:
   CLOSED: [2008-09-09 Tue 15:00]
   :LOGBOOK:
   CLOCK: [2008-09-09 Tue 10:18]--[2008-09-09 Tue 10:12] = -0:06
   CLOCK: [2008-09-09 Tue 07:00]--[2008-09-09 Tue 15:00] =  8:00
   :END:

Onsite notes for the day, including commits to git repository.


---


file acme-git.org:

* Worklog Git Repository ACME
** DONE Commit 1:git:acme:
   CLOSED: [2008-09-09 Tue 10:18]
   :LOGBOOK:
   CLOCK: [2008-09-09 Tue 10:12]--[2008-09-09 Tue 10:18] =  0:06
   :END:
   :PROPERTIES:
   :commit: 3e9095ce125804ac3f741687855e50cebcd83fb1
   :END:
: Commit 1 body
: 
** DONE Commit 2:git:acme:
   CLOSED: [2008-09-09 Tue 10:20]
   :LOGBOOK:
   CLOCK: [2008-09-09 Tue 10:18]--[2008-09-09 Tue 10:20] =  0:02
   :END:
   :PROPERTIES:
   :commit: cd5827ba3d13b8215a3db61dc78cce019283a6a3
   :END:
: Commit 2 body
: 
** DONE Commit 3:git:acme:
   CLOSED: [2008-09-10 Wed 09:53]
   :LOGBOOK:
   CLOCK: [2008-09-10 Wed 09:49]--[2008-09-10 Wed 09:53] =  0:04
   :END:
   :PROPERTIES:
   :commit: ab2363840a9bb652468bbc4334f4fcaf8ca49f16
   :END:
: Commit 3 body
: 



  



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


Re: [Orgmode] Clocktable not appearing in exports @84c24359689

2009-09-09 Thread Jeff Kowalczyk
Thank you for the fix. Other pdflatex rendering issues are still present at at 
91197ce2, but only with subtree export.

Exporting a subtree with pdflatex (C-@ C-ce p) results in:

- Empty table of contents

- Heading(s) with the text stars, not numbered headings

- CLOSED block on the same line as the star-prefixed heading

Export works fine with a full-buffer export. Exporting a subtree to ASCII (C-@ 
C-ce A) seems be fine too.

Thanks,
Jeff

--- On Tue, 9/8/09, Carsten Dominik carsten.domi...@gmail.com wrote:

 From: Carsten Dominik carsten.domi...@gmail.com
 Subject: Re: [Orgmode] Clocktable not appearing in exports @84c24359689
 To: Jeff Kowalczyk j...@yahoo.com
 Cc: emacs-orgmode@gnu.org
 Date: Tuesday, September 8, 2009, 9:50 AM
 Fixed, thanks.
 
 - Carsten
 
 On Sep 8, 2009, at 2:52 PM, Jeff Kowalczyk wrote:
 
  I updated to org-mode @
 84c24359689004cc646221ad5c4399bb0acffdd8 on emacs 23.1
  
  I don't get any clocktable clock summary output when
 exporting. I've tested this for pdflatex and ASCII to temp
 buffer.
  
  The pdflatex output has some other issues I haven't
 fully identified by visual inspection alone.
  
  I did revert to
 25226d7d65e4620cbe1b814b85226547cd2642eb, and the output is
 fine with that tree.
  
  Thanks,
  Jeff Kowalczyk
  
  
  
  
  
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the
 list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 
 


  



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


[Orgmode] Clocktable not appearing in exports @84c24359689

2009-09-08 Thread Jeff Kowalczyk
I updated to org-mode @ 84c24359689004cc646221ad5c4399bb0acffdd8 on emacs 23.1

I don't get any clocktable clock summary output when exporting. I've tested 
this for pdflatex and ASCII to temp buffer.

The pdflatex output has some other issues I haven't fully identified by visual 
inspection alone.

I did revert to 25226d7d65e4620cbe1b814b85226547cd2642eb, and the output is 
fine with that tree.

Thanks,
Jeff Kowalczyk


  


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


[Orgmode] Clocking time from git log

2009-06-19 Thread Jeff Kowalczyk
I would like to clock time in org mode from git commit logs. The simple
case I'd like to handle is continuous commit activity on a single
branch without merges, formatted as org-mode headings at a fixed level.

The following git log format provides a useful starting point for manual
editing:

  $ git log --reverse --format=** %s%n   CLOSED: [%ai]%n   :LOGBOOK:\
%n   :CLOCK: [%P]--[%ai]%n   :END:%n   :PROPERTIES:\
%n   :commit: %H%n   :END:%n%b

  ** Commit log subject line.
 CLOSED: [2009-05-14 17:34:18 -0400]
 :LOGBOOK:
 :CLOCK: [parentsha1]--[2009-05-14 17:34:18 -0400]
 :END:
 :PROPERTIES:
 :commit: commitsha1
 :END:
  Commit body here.

Given the intersection of git and org-mode users here, can anyone
recommend methods in either git-log or org that would help with any of:

* Getting the author-time of parentsha1, which should also be the
  CLOSED time of the previous sibling, and/or the CLOSED time of a heading
  with a known value for property :commit:.

* Getting org to parse one of git's available timestamp formats (ISO
  8601, RFC 2822) and convert the text to org's default timestamp format.

* Prefixing all heading body text with :  for preformatted text.

Thanks for any suggestions,
Jeff



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


[Orgmode] Long clocktable runs off page (PDF export). Page-break and flow to next page?

2009-05-09 Thread Jeff Kowalczyk
When my worklog clocktable gets longer than the PDF export page, it simply
runs off the bottom of the page.

Is there a LaTeX-customization (and/or consider this a feature request)
such that the table could page-break and flow to the next page at any row?

 #+BEGIN: clocktable :maxlevel 2 :scope subtree
 
The worklogs are simple: one L1 heading, and many clocked L2 tasks.
There are often several day's gaps between L2 tasks, so I don't use the
step and tstart tend clocktable options

Thanks,
Jeff



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


[Orgmode] Use tagging in table rows? (was: Personal Finance in org-mode)

2009-04-14 Thread Jeff Kowalczyk
Is there a way to use the org-mode tagging interface in table rows
to categorize row data?

  * Headline :tag1:tag2:

  | col1 | col2 | col3   |
  |--+--+|
  | data | data | :tag1: |
  | data | data | :tag1:tag2 |

In the above example, tags in the table are not recognized, and the C-c
C-c UI isn't available. Not surprising, as the table rows are not
headlines.

I find org tables very useful for preparing data for database import,
and some form of tagging would make it that much better.

Thanks,
Jeff



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


[Orgmode] Clocking time from existing git repository logs

2009-03-13 Thread Jeff Kowalczyk
Has anyone devised a format to bring git commit logs into org-mode for the
purposes of clocking time?

I have a few repositories that I need to retroactively log hours worked
from commit messages. I expect that appropriate git log formatting might
make it much easier.

Thanks,
Jeff



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