Re: [O] Time tracking with MobileOrg

2011-12-13 Thread Bill Day
Hey, don't forget us iPhone users!  We'd love to see time tracking, too!  :)

(While we are talking feature requests, it would also be nice to have
clickable http:// links).

On Mon, Dec 12, 2011 at 7:38 PM, Matthew Jones bsdmatb...@gmail.com wrote:

 Hey Tobias, I think this would be a great feature for the Android version.
  It would be helpful if you could add this as a feature request in the
 issue tracker:

 https://github.com/matburt/mobileorg-android/issues

 As well as any ideas you have on how it should work... that will help us
 prioritize it as a feature.

 On Thu, Dec 8, 2011 at 2:40 PM, Tobias Kniep opa.kistb...@web.de wrote:

 A year ago, there has been a discussion on this list about tracking time
 with MobileOrg (http://article.gmane.org/gmane.emacs.orgmode/31486) but
 I couldn't find any more recent information. I'm using the Android
 version of MobileOrg and would really like to do time tracking for my
 orgmode tasks from my mobile. Is there any working solution out there?

 Best regards,
 Tobias









-- 
Bill Day
williamson@gmail.com


[O] Documentation suggestion re: buffers containing crypted entries

2011-04-30 Thread Bill Day
I appreciate the warning about encrypted entries, and, I would like to add,
all the hard work and careful thought that has gone into making org-mode
such an incredible piece of software.

I checked the documentation regarding turning off auto-save on pages
containing encrypted entries and saw that the warning was repeated but there
was no advice on how to implement it.  See
http://orgmode.org/worg/org-tutorials/encrypting-files.html

My eventual solution (there may be better ones) was to add a line at the top
of my encrypted page as follows:

# -*- buffer-auto-save-file-name: nil; -*-

This itself generates a warning every time I go to that page, but it seems
to inhibit auto-save. I would like to suggest that a little bit of
explanation of how to turn auto-save on and off be added to the
documentation on encryption with org-mode.

Thank you.

Sincerely,

Bill Day

-- 
Bill Day
williamson@gmail.com


[O] Is Mobile Org for iPhone dead?

2013-04-10 Thread Bill Day
Just wondering.

-- 
Bill Day
williamson@gmail.com


Re: [O] #+INCLUDE broken (or changed) in org-mode 7.9? Help!

2012-08-27 Thread Bill Day
My bad. Thanks, guys!

On Mon, Aug 27, 2012 at 3:12 AM, Nicolas Goaziou n.goaz...@gmail.comwrote:

 Hello,

 Nick Dokos nicholas.do...@hp.com writes:

  And there seems to be a bug in the easy template code in org.el:
  line 11390 says
 
  (I #+INCLUDE %file ?
 
  and it seems to be missing the colon.

 Fixed. Thank you.


 Regards,

 --
 Nicolas Goaziou




-- 
Bill Day
williamson@gmail.com


[O] freemind.el does not convert org links to links in Freemind

2012-09-11 Thread Bill Day
I am using org-mode 7.9.1 and Freemind 0.9.0.  Freemind.el seems to convert
nodes from org to Freemind with no problem, but it simply copies the code
for links from org to Freemind without converting it.

Has anyone else had this problem?

Any workarounds?

-- 
Bill Day
williamson@gmail.com


Re: [O] freemind.el does not convert org links to links in Freemind

2012-09-18 Thread Bill Day
Sorry, yes, I mistyped -- it is org-freemind.el.

When I type:

* Mind Map
** test [[http://orgmode.org][Org Mode]]

I get this:

map version=0.9.0
!-- To view this file, download free mind mapping software FreeMind from
http://freemind.sourceforge.net --
node text=Mind Map
node text=test [[http://orgmode.org][Org Mode]]
/node
/node
/map

Is this the expected behavior?


On Tue, Sep 18, 2012 at 3:30 AM, Bastien b...@altern.org wrote:

 Hi Bill,

 Bill Day williamson@gmail.com writes:

  I am using org-mode 7.9.1 and Freemind 0.9.0.  Freemind.el seems to
  convert nodes from org to Freemind with no problem, but it simply
  copies the code for links from org to Freemind without converting
  it.

 I'm not sure i understand -- are you talking about org-freemind.el?


 http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=lisp/org-freemind.el;hb=HEAD

  Has anyone else had this problem?

 AFAIU I don't.

 This link in .org:

   A [[http://orgmode.org][link]].

 gets exported as

   A a href=http://orgmode.org;link/a.

 in .mm

 HTH,

 --
  Bastien




-- 
Bill Day
williamson@gmail.com


Re: [O] freemind.el does not convert org links to links in Freemind

2012-09-19 Thread Bill Day
This is how Freedmind natively outputs the same link:

map version=0.9.0
!-- To view this file, download free mind mapping software FreeMind from
http://freemind.sourceforge.net --
node CREATED=1348041631372 ID=ID_319286743 MODIFIED=1348042704516
TEXT=Mind Map
node CREATED=1348041642465 ID=ID_207824320 LINK=http://orgmode.org;
MODIFIED=1348041668536 POSITION=right TEXT=test/
/node
/map

I am not much at reading elisp, but it seems that the following code in
org-freemind.el might be intended to achieve the above result.

(defun org-freemind-convert-links-helper (matched)
  Helper for `org-freemind-convert-links-from-org'.
MATCHED is the link just matched.
  (let* ((link (match-string 1 matched))
 (text (match-string 2 matched))
 (ext (file-name-extension link))
 (col-pos (org-string-match-p : link))
 (is-img (and (image-type-from-file-name link)
  (let ((url-type (substring link 0 col-pos)))
(member url-type '(file http https)
 )
(if is-img
;; Fix-me: I can't find a way to get the border to shrink
;; wrap around the image using div.
;;
;; (concat div style=\border: solid 1px #ddd; width:auto;\
;; img src=\ link \ alt=\ text \ /
;; br /
;; i text /i
;; /div)
(concat table border=\0\ style=\border: solid 1px
#ddd;\trtd
img src=\ link \ alt=\ text \ /
br /
i text /i
/td/tr/table)
  (concat a href=\ link \ text /a

(defun org-freemind-convert-links-from-org (org-str)
  Convert org links in ORG-STR to freemind links and return the result.
  (let ((fm-str (replace-regexp-in-string
 ;;(rx (not (any [\))
 ;;(submatch
 ;; http
 ;; (opt ?\s)
 ;; ://
 ;; (1+
 ;;  (any -%.?@a-zA-Z0-9()_/:~=#
 [^\[]\\(http ?://[--:#%()=?-Z_a-z~]+\\)
 [[\\1][\\1]]
 org-str
 nil ;; fixedcase
 nil ;; literal
 1   ;; subexp
 )))
(replace-regexp-in-string
 ;;(rx [[
 ;; (submatch (*? nonl))
 ;; ][
 ;; (submatch (*? nonl))
 ;; ]])
 \\[\\[\\(.*?\\)]\\[\\(.*?\\)]]
 ;;a href=\\\1\\\2/a
 'org-freemind-convert-links-helper
 fm-str t t)))


I am not trying to muddy the waters here, it is just that when I type a
link into org-mode, I do not seem to get a usable freemind link as a result.


On Tue, Sep 18, 2012 at 10:12 PM, Bill Day williamson@gmail.com wrote:

 Sorry, yes, I mistyped -- it is org-freemind.el.

 When I type:

 * Mind Map
 ** test [[http://orgmode.org][Org Mode]]

 I get this:

 map version=0.9.0
 !-- To view this file, download free mind mapping software FreeMind from
 http://freemind.sourceforge.net --
 node text=Mind Map
 node text=test [[http://orgmode.org][Org Mode]]
 /node
 /node
 /map

 Is this the expected behavior?



 On Tue, Sep 18, 2012 at 3:30 AM, Bastien b...@altern.org wrote:

 Hi Bill,

 Bill Day williamson@gmail.com writes:

  I am using org-mode 7.9.1 and Freemind 0.9.0.  Freemind.el seems to
  convert nodes from org to Freemind with no problem, but it simply
  copies the code for links from org to Freemind without converting
  it.

 I'm not sure i understand -- are you talking about org-freemind.el?


 http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=lisp/org-freemind.el;hb=HEAD

  Has anyone else had this problem?

 AFAIU I don't.

 This link in .org:

   A [[http://orgmode.org][link]].

 gets exported as

   A a href=http://orgmode.org;link/a.

 in .mm

 HTH,

 --
  Bastien




 --
 Bill Day
 williamson@gmail.com




-- 
Bill Day
williamson@gmail.com


[O] Help! problem with org-capture-templates

2012-09-25 Thread Bill Day
release_7.9.1-348-gea7baa emacs 24.2.1

When trying to apply a capture template, org-mode gives the error
void-function org-at-encypted-entry-p

Org templates:


(setq org-capture-templates
  (quote ((t todo entry (file ~/git/org-mode/org/refile.org)
   * TODO %^{Task} %^G %? Added: %U\n%a\n  %i :clock-in t
:clock-resume t)
  (n note entry (file+headline ~/git/org-mode/org/
refile.org )
   * %? :NOTE:\n%U\n%a\n  %i :clock-in t :clock-resume t)
  (j Journal entry (file+datetree ~/git/org-mode/org/
diary.org)
   * %?\n%U\n  %i :clock-in t :clock-resume t)
  (w org-protocol entry (file ~/git/org-mode/org/refile.org
)
   * TODO Review %c\n%U\n  %i :immediate-finish t)
  (p Phone call entry (file ~/git/org-mode/org/refile.org)
   * PHONE %? :PHONE:\n%U :clock-in t :clock-resume t)
  (h Habit entry (file ~/git/org-mode/org/refile.org)
* NEXT %?\n%U\n%a\nSCHEDULED: %t
.+1d/3d\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n
%i

Error:


Debugger entered--Lisp error: (void-function org-at-encrypted-entry-p)
  org-at-encrypted-entry-p()
  org-capture-set-target-location()
  org-capture(nil)
  call-interactively(org-capture nil nil)

Messages:

Debug on Error enabled globally
Template key:
OVERVIEW
Restoring clock data
Loading /home/billday/.emacs.d/org-clock-save.el (source)...done
OVERVIEW
Loading vc-git...done
OVERVIEW
Entering debugger...




-- 
Bill Day
williamson@gmail.com


Re: [O] Help! problem with org-capture-templates

2012-09-25 Thread Bill Day
Thanks for your reply.  I tried that and I got this:

When done with this frame, type C-x 5 0
Template key:
OVERVIEW
Restoring clock data
Loading /home/billday/.emacs.d/org-clock-save.el (source)...done
OVERVIEW
Loading vc-git...done
OVERVIEW [3 times]
byte-code: Before first headline at position 1 in buffer refile.org

On Tue, Sep 25, 2012 at 10:13 PM, Nick Dokos nicholas.do...@hp.com wrote:

 Bill Day williamson@gmail.com wrote:

  release_7.9.1-348-gea7baa emacs 24.2.1
  ...
  Error:
 
  Debugger entered--Lisp error: (void-function org-at-encrypted-entry-p)
org-at-encrypted-entry-p()
org-capture-set-target-location()
org-capture(nil)
call-interactively(org-capture nil nil)
 

 Probably a missing autoload - as a temporary workaround, add

 (require 'org-crypt)

 to your .emacs, after the point where you load org.

 Nick




-- 
Bill Day
williamson@gmail.com


[O] Small suggestion for org-taskjuggler.el

2012-08-26 Thread Bill Day
In working with org-mode's taskjuggler exporter, I have noticed that it
does not support the attributes chargeset and charge in taskjuggler 3.
These attributes are necessary to use taskjuggler's cost estimating
functions.  I am not much of a coder, but I have tried my hand at a patch.

commit 15b522901ff0dcd8a581ad55cd4bf4c3688908ad
Author: Bill Day williamson@gmail.com
Date:   Sun Aug 26 16:58:32 2012 -0400

Modified taskjuggler to add chargeset and charge

diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el
index aa645d2..2418654 100644
--- a/lisp/org-taskjuggler.el
+++ b/lisp/org-taskjuggler.el
@@ -659,7 +659,7 @@ org-mode priority string.
   '(account start note duration endbuffer endcredit end
 flags journalentry length maxend maxstart minend
 minstart period reference responsible scheduling
-startbuffer startcredit statusnote)))
+startbuffer startcredit statusnote chargeset charge)))
 (insert
  (concat
   task  unique-id  \ headline \ {\n



-- 
Bill Day
williamson@gmail.com
commit 15b522901ff0dcd8a581ad55cd4bf4c3688908ad
Author: Bill Day williamson@gmail.com
Date:   Sun Aug 26 16:58:32 2012 -0400

Modified taskjuggler to add chargeset and charge

diff --git a/lisp/org-taskjuggler.el b/lisp/org-taskjuggler.el
index aa645d2..2418654 100644
--- a/lisp/org-taskjuggler.el
+++ b/lisp/org-taskjuggler.el
@@ -659,7 +659,7 @@ org-mode priority string.
  '(account start note duration endbuffer endcredit end
flags journalentry length maxend maxstart minend
minstart period reference responsible scheduling
-   startbuffer startcredit statusnote)))
+   startbuffer startcredit statusnote chargeset charge)))
 (insert
  (concat
   task  unique-id  \ headline \ {\n


[O] #+INCLUDE broken (or changed) in org-mode 7.9? Help!

2012-08-26 Thread Bill Day
The following code used to include the sitemap and a search box in my
published index.html page:

index.org

#+SETUPFILE: ~/elisp/org-templates/level-0.org
#+TITLE: Wiki
#+HTML: div class=containerdiv class=span-4
#+INCLUDE sitemap-generated.org
#+HTML: /divdiv class=span-16
#+INCLUDE search.org
. . .

default.el

(require 'org-publish)
(setq org-publish-project-alist
  '(

 (wiki-notes
  :base-directory ~/git/org-mode/wiki
  :base-extension: org
  :publishing-directory /ssh:[my site]:/usr/local/share/wiki/
  :recursive t
  :publishing-function org-publish-org-to-html
  :headline-levels 4
  :auto-preamble t
  :table-of-contents nil
  :auto-sitemap t
  :sitemap-filename sitemap-generated.org
  :section-numbers nil
  )

(wiki-static
 :base-directory ~/git/org-mode/wiki/
 :base-extension css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf
 :publishing-directory /ssh:[my site]/usr/local/share/wiki/
 :recursive t
 :publishing-function org-publish-attachment
 )

(wiki :components (wiki-notes wiki-static))


))


Now they do not appear anymore.  Any suggestions, please?

Thanks,

Bill Day

-- 
Bill Day
williamson@gmail.com