Re: [Orgmode] Bug: double or single quote inside code or verbatim markup [6.35g]

2010-04-12 Thread Günter Kolousek


Yes, this works well. Thanx!

Günter

Quoting Thomas S. Dye t...@tsdye.com:



On Apr 11, 2010, at 11:23 AM, Günter Kolousek wrote:




I am unable to include neither double nor single quote characters
inside a verbatim markup as described in the manual. Also, I didn't
find anything in the mailing list archive:

=a=

doesn't work, but

=x a x=

does. Same for ~.

I didn't find any workaround. There is no escape character, isn't it?

It seems, that the string will be captured first, but only if it is
on the left or right side of the code or verbatim markup.

I can't find it in the source because I don't know anything about elisp.
Sorry.

Cheers,
Günter





Aloha Günter,

This message to the mailing list last month might help.


Hello.

Sometimes org-mode isn't smart enough, but I don't require it to be
because I understand my demands might be high. For example marking code
with =...= can't manege apostrophes right next to equality signs

=a = 'B'=

doesn't work actually as expected (particularly latex export). But fear
not and use unicode. There is

U200B /xe2/x80/x8b ZERO WIDTH SPACE

When you put (C-x 8 RET 200b RET) it next to equality signs

=a = 'B'=
^^ ^^

Everything works like charm *and* there is completely no additional
space in the output.

--
Miłego dnia,
Łukasz Stelmach


All the best,
Tom




-
This message was sent using the HTL Wr. Neustadt/EDVO webmail service.



___
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: Tangling

2010-04-12 Thread Andrea Crotti
Dan Davison davi...@stats.ox.ac.uk writes:

 Andrea Crotti andrea.crott...@gmail.com writes:

 Hi Andrea,

 I think that should be

 (add-to-list 'load-path (concat conf org-mode/lisp))
 (add-to-list 'load-path (concat conf org-mode/contrib/lisp))

 (require 'org-install)
 (require 'org-babel-init)

 (org-babel-tangle-file (concat base miniconf.org))

 Dan


Great Dan thanks a lot, now it works perfectly!
So in case someone is interested can get the configuration I'm preparing here
http://github.com/AndreaCrotti/Org-mode-notes

Feel free to take what you need and modify as you wish, at the moment
it's working and should work everywhere (only my personal snippets are a
symlink so I guess it's not working outside my machine).



___
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] xemacs21 support broke from 35f to 35g

2010-04-12 Thread Sebastien Delafond
Hi,

I noticed that installing for xemacs21 worked with 6.35f, but does not
anymore with 6.35g or 6.35h. The errors are as as follows:

Compiling /usr/share/xemacs21/site-lisp/org-mode/org.el...
  While compiling toplevel forms in file 
/usr/share/xemacs21/site-lisp/org-mode/org.el:
** attempt to open-code anonymous lambda with too many arguments
** attempt to open-code anonymous lambda with too many arguments
  While compiling org-ctrl-c-ctrl-c:
!! Wrong type argument ((stringp org-property-start-re))
  Error occurred processing org.el: 
  Wrong type argument: stringp, org-property-start-re

and then later:

  Compiling /usr/share/xemacs21/site-lisp/org-mode/org-freemind.el...
  While compiling toplevel forms in file 
/usr/share/xemacs21/site-lisp/org-mode/org-freemind.el:
** evaluating (1+ *): (wrong-type-argument number-char-or-marker-p *)

Dropping xemacs21 support altogether certainly would not bother me, but
http://org-mode still mentions it is supported :)

Cheers,

--Seb



___
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] Freemind exportation

2010-04-12 Thread Andrea Crotti

I don't know if I'm doing something wrong, but I tried many times during
the last months and I've never seen the freemind exporter works, is it
just to me or a general problem?

It would be a great thing, what is/was the problem and is possible to
fix it?



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


Re: [Orgmode] My reference data management approach with org and emacs

2010-04-12 Thread Claus Klingberg
[sorry for the dupe, forgot to cc the list on first shot]

Jan,

thanks for sharing your setup, which got me intrigued. Is there a
place where a interested person can take a look at your (org-)
configuration-files, esp. the two template-sources you mentioned?

Thanks,
Claus


On Sat, Apr 10, 2010 at 1:31 AM, Jan Böcker jan.boec...@jboecker.de wrote:
 [The following text has gotten quite long. Sit comfortably and get a cup
 of your preferred drink if you want to proceed.]

 That is an interesting setup you describe there. I had considered
 something similar myself, but found it a hassle to come up with a file
 name for every new piece of information (although unix does allow
 everything except / in a file name, I want my file names to be lower
 case, short and without spaces where feasible).

 To paraphrase what you said, putting things into files just makes you
 loose time thinking about file names (which I also consider structure).

 In the end, I settled upon one big org file (reference.org). Each
 piece of reference information is in its own top-level node. When I want
 to find something there, I use isearch and/or search for a specific tag
 (in virtually every case, a simple isearch for one or two words is
 sufficient).

 This is way faster than navigating the file system! I also share your
 dislike of categories (which a strictly hierarchical file system would
 force me to use).

 I have two remember templates to add an entry to reference.org.

 The first template asks me for tags (%^g) and a title for the
 headline. After filing it (at the top of reference.org) with C-c C-c,
 Org jumps to the location it was just filed (% in the template), in
 case I want to use C-c C-c again to readjust the tags.

 I use this first template to keep data that can be expressed in plain
 text (including all the powerful tools Org gives me to work with plain
 text, such as outlines, links and tables).

 The second template is a little more complex; it calls a custom elisp
 function to do all the work.

 When I call this second template, I am asked for the following:
 - a title for the headline
 - a date (I mostly use this template to file scanned letters, invoices
 and the like, so it helps to be able to change the date from the default
 of today.)
 - a folder name (defaulting to -MM-DD.S, i.e. the previously
 specified date followed by a sequence number to make the folder name
 unique). Normally, I do not customize the folder name, because I only
 need to find the reference data via Org and do not need to navigate to
 it using e.g. the open dialog of any other program (and I do not want
 to change it in the future, which might make a folder name containing a
 date obsolete).
 - where the original went (defaults to Trash). This is stored as an
 attribute in the outline node.

 A new subfolder with the specified folder name is created in ~/org/data/
 and set up as this node's attachment directory. The ID of the node is
 set to data-folder name, so I can link conveniently to this entry from
 project notes.

 The custom elisp function also installs a hook that automatically calls
 org-attach-attach-mv if I try to file the template without having added
 any attachment, so I do not forget this.

 I use this second template when I have to attach a file to the entry,
 because it cannot be represented in Org. This mostly applies to scanned
 paper of any sort (letters, invoices, etc).

 I have a shell script which I use to scan directly to PDF files (I do
 not use OCR, the PDF just serves as a container for possibly multiple
 scanned pages, so that browsing and printing the whole document is
 convenient).

 If it was an important document where I might need the original in the
 future, I specify Filed when asked where the original went, write the
 folder name/ID number in the top right corner of the document with a
 pencil (in case of very important documents or certificates I use a
 post-it note), and file it on top of a normal paper file folder.
 When keeping the original, I do not change the folder name from its
 default. Should I have to dig out the original for any reason, I can
 manually execute a binary search on my  chronologically sorted file
 folder(s).

 I have been using this system for a few weeks now, and it has worked
 great so far. Its main design goal was not simplicity of implementation,
 but simplicity of use: it has to be so simple (and require as few
 decisions as possible) to file something that I actually do it instead
 of postponing it.

 The system actually evolved along with the aforementioned shell script
 for scanning while I was scanning and filing about 20 exercise sheets
 (about four to twelve pages each) from the last semester to access them
 conveniently when preparing for the exams.

 I also noticed a while ago that very long org files become less
 intimidating once you learn to love C-x n s (org-narrow-to-subtree),
 which helped with my decision for one big file over many small ones. One
 

[Orgmode] Horizontal rule after list

2010-04-12 Thread Vincent Belaïche
Hello Dominik and al,

I am new on this list, and also I am a new Org mode user.

Here is an example of Org document:

###

* Example

1. item 1

2. item 2

-

* Next

#

When I export this to HTML the horizontal rule is included in the second
list element, although its identation is not the same as the 2nd list
element.

I have found a work-around by inserting a page break character (`C-Q
C-L') immediately before the horizontal rule, but I think that there is
some issue.

BR,
   Vincent.

PS: Congratulations for Org, it's great!

 





___
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] HTML export of properties

2010-04-12 Thread Vincent Belaïche
Dear all,

Just a question from an ignorant:

I found that there is some way to export drawers with the `d:t' option,
however, I could not find any such thing for properties export. Did I
miss it ?

  Vincent.

PS: It seems that I am not yet on the list, please include me in answer
until my admission if any.




___
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-clock-goto plus org-narrow-to-subtree?

2010-04-12 Thread Karsten Heymann
Hi,

does anyone have a solution to combine org-clock-goto with
org-narrow-to-subtree, so that upon keypress I get a buffer with only
the currently clocked task in it? Maybe this could even become a
optional parameter for org-clock-goto? 

Yours
Karsten


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


Re: [Orgmode] HTML export of properties

2010-04-12 Thread Giovanni Ridolfi
Vincent Belaïche vincent@hotmail.fr writes:


 I found that there is some way to export drawers with the `d:t' option,
 however, I could not find any such thing for properties export. 
 Did I  miss it ?
joke
Since you *are* asking for it, I think you *are* still missing it, arent'you? 
/joke

If you want to export a file, please insert the export option 
template, hitting: C-c C-e t

add d:t to  the line 

#+OPTIONS: 


 PS: It seems that I am not yet on the list, please include me in answer
 until my admission if any.
we:
[Please] use `Reply All' to send replies to the list.

;-)
cheers,

Giovanni


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


Re: [Orgmode] org-clock-goto plus org-narrow-to-subtree?

2010-04-12 Thread Carsten Dominik


On Apr 12, 2010, at 3:05 PM, Karsten Heymann wrote:


Hi,

does anyone have a solution to combine org-clock-goto with
org-narrow-to-subtree, so that upon keypress I get a buffer with only
the currently clocked task in it? Maybe this could even become a
optional parameter for org-clock-goto?


(defun my-clock-goto-narrow ()
   (interactive)
   (when (org-clock-is-active)
  (org-clock-goto)
  (org-narrow-to-subtree)))

(define-key global-map \C-cc my-clock-goto-narrow)

HTH

- Carsten


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


Re: [Orgmode] [ANN] org-mime -- using orgmode to send html mail?

2010-04-12 Thread Andrew Hyatt
This looks great.  However, I get an error on my test mail:

This is should be HTML mode.

~foo~
=bar=
_baz_

| Table | A |
| 1 | 2 |

On calling org-mime-htmlize

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match(nil #(This is should be HTML mode. 0 28 (fontified t)))
  byte-code(\304\211\305\n\\203A
  org-html-handle-time-stamps(#(This is should be HTML mode. 0 28
(fontified t)))
  byte-code(\203
  org-export-as-html(nil nil nil string t)
  (let nil (org-export-as-html nil nil nil (quote string) t))
  eval((let nil (org-export-as-html nil nil nil (quote string) t)))
  (progn (insert org-mime-default-header) (insert body) (write-file
tmp-file) (eval (list ... org-local-vars ...)))
  (unwind-protect (progn (insert org-mime-default-header) (insert body)
(write-file tmp-file) (eval ...)) (and (buffer-name temp-buffer)
(kill-buffer temp-buffer)))
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ...
... ... ...) (and ... ...)))
  (with-current-buffer temp-buffer (unwind-protect (progn ... ... ... ...)
(and ... ...)))
  (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect
... ...)))
  (with-temp-buffer (insert org-mime-default-header) (insert body)
(write-file tmp-file) (eval (list ... org-local-vars ...)))
  (save-excursion (with-temp-buffer (insert org-mime-default-header) (insert
body) (write-file tmp-file) (eval ...)))
  org-mime-org-export(html #(\nThis is should be HTML
mode.\n\n~foo~\n=bar=\n_baz_\n\n| Table | A |\n| 1 | 2 | \n\n-- \n 0 1
(fontified t) 1 42 (fontified t) 42 43 (fontified t) 43 44 (article-type
emphasis fontified t) 44 47 (fontified t) 47 48 (article-type emphasis
fontified t) 48 50 (fontified t) 50 63 (fontified t face (gnus-cite-1
message-cited-text)) 63 64 (fontified t) 64 78 (fontified t face
(gnus-cite-1 message-cited-text)) 78 79 (fontified t rear-nonsticky t) 79 80
(fontified t) 80 84 (fontified t)) /tmp/mail2522NRw)
  (org-mime-replace-images (org-mime-org-export html raw-body tmp-file)
tmp-file)
  (let* ((region-p ...) (html-start ...) (html-end ...) (raw-body ...)
(tmp-file ...) (body ...) (org-export-skip-text-before-1st-heading nil)
(org-export-htmlize-output-type ...) (org-export-preserve-breaks
org-mime-preserve-breaks) (html-and-images ...) (html-images ...) (html
...)) (delete-region html-start html-end) (save-excursion (goto-char
html-start) (insert ... ...)))
  org-mime-htmlize(nil)


On Fri, Apr 9, 2010 at 12:41 PM, Eric Schulte schulte.e...@gmail.comwrote:

 Announcing the addition of org-mime to the contrib directory of Org-mode

 this allows sending HTML email using org-mode including...


- *tables*   colname onecolname two  11 24 39
- *inline images* including latex equations [image: $f(n) = n +
\frac{1}{n} \int_{0}^{n}{d_x f(x) + f(n - x)}$] and the results of
ditaa blocks, etc…

 [image: blue.png]

- *blockquotes*

HTML e-mail is the use of a subset of HTML (often ill-defined) to
provide formatting and semantic markup capabilities in e-mail that are not
available with plain text. – wikipedia

 - fontified *code blocks* (shown below)
- and *HTML character* conversion, like ∀ character c s.t. ∃ h ∈ *HTML
characters* and c ≡ h, org-html-export of c results in h



 The original org-mode formatted plain text is included as a text/plain
 mime alternative to the generated html.

 Below find the org-mime export of the org-mime worg page which will be
 available at http://orgmode.org/worg/org-contrib/org-mime.php.

 Best -- Eric

 General

 org-mime can be used to send HTML email using Org-mode HTML export.

 This approximates a WYSiWYG HTML mail editor from within Emacs, and can be
 useful for sending tables, notified source code, and inline images in email.

   How to use it
  Setup

 org-mime exposes two functions
  `org-mime-htmlize' can be called from within a mail composition buffer to
 export either the entire buffer or just the active region to html, and embed
 the results into the buffer as a text/html mime section.

 org-mime-htmlize is an interactive Lisp function in `org-mime.el'.

 (org-mime-htmlize ARG)

 Export a portion of an email body composed using `mml-mode' to
 html using `org-mode'.  If called with an active region only
 export that region, otherwise export the entire body.

  `org-mime-org-buffer-htmlize' can be called from within an Org-mode
 buffer to export either the whole buffer or the narrowed subtree or active
 region to HTML, and open a new email buffer including the resulting HTML
 content as an embedded mime section.

 org-mime-org-buffer-htmlize is an interactive Lisp function in
 `org-mime.el'.

 (org-mime-org-buffer-htmlize)

 Export the current org-mode buffer to HTML using
 `org-export-as-html' and package the results into an email
 handling with appropriate MIME encoding.

  The following key bindings are suggested, which bind the C-c M-o key
 sequence to the appropriate org-mime function in both email 

[Orgmode] Re: Freemind exportation

2010-04-12 Thread Andrea Crotti
Friedrich Delgado Friedrichs frie...@nomaden.org writes:

 Hi!

 The freemind exporter works nicely now.

 If you use org-freemind.el from a recent git, it should just work.

 Otherwise you'd need to give us a bit more information.


Ok good to know, now I tried and the exportation goes fine, but if I
open it with Freemind 8.1 it's like an empty file.

With Freemind 9 instead it complains that the format it's old, so I
confirm the translation to the new format and everything works fine.

So there is something wrong I don't know where...
And by the way the header of the file is
--8---cut here---start-8---
?xml version=1.0 encoding=utf-8?
map version=0.9.0
--8---cut here---end---8---

So why should freemind 0.9 complain?
I'm using a very recent org-freemind on OSX 10.6 and emacs 23..



___
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] orgcard.txt in Makefile

2010-04-12 Thread Nathan Neff
Hello,

I'd like to use the orgcard.txt file that's included in the org-mode source.
I like being able to search through a text file for relevant keyboard
shortcuts.

It doesn't seem like it's been updated since org version 6.10.

I tried running make doc, but I don't think that orgcard.txt is generated in
the make doc task.

Is orgcard.txt generated from orgcard.tex?  If so, can anyone tell me how
to do it?

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


Re: [Orgmode] [ANN] org-mime -- using orgmode to send html mail?

2010-04-12 Thread Eric Schulte
Hi Andrew,

Thanks for the report.  My guess is that somehow the call to
org-export-as-html is erroring out because some org-mode variables
aren't being set, maybe you don't have orgstruct-mode as a minor-mode in
your email composition -- not that it's required, but that could be the
difference between our setups which is causing you to see the bug and
not me.

I've changed the `org-mime-org-export' so it more closely mimics the
`org-run-like-in-org-mode' wrapping function, which should hopefully fix
this problem.  Please let me know either way, and if the problem
persists we can try to figure out exactly which variable isn't being
initialized.

Thanks for the report! -- Eric

Andrew Hyatt ahy...@gmail.com writes:

 This looks great.  However, I get an error on my test mail:

 This is should be HTML mode.

 ~foo~
 =bar=
 _baz_

 | Table | A |
 | 1 | 2 |

 On calling org-mime-htmlize

 Debugger entered--Lisp error: (wrong-type-argument stringp nil)
   string-match(nil #(This is should be HTML mode. 0 28 (fontified t)))
   byte-code(\304\211.\305\n\\203A
   org-html-handle-time-stamps(#(This is should be HTML mode. 0 28
 (fontified t)))
   byte-code(\203.
   org-export-as-html(nil nil nil string t)
   (let nil (org-export-as-html nil nil nil (quote string) t))
   eval((let nil (org-export-as-html nil nil nil (quote string) t)))
   (progn (insert org-mime-default-header) (insert body) (write-file
 tmp-file) (eval (list ... org-local-vars ...)))
   (unwind-protect (progn (insert org-mime-default-header) (insert body)
 (write-file tmp-file) (eval ...)) (and (buffer-name temp-buffer)
 (kill-buffer temp-buffer)))
   (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ...
 ... ... ...) (and ... ...)))
   (with-current-buffer temp-buffer (unwind-protect (progn ... ... ... ...)
 (and ... ...)))
   (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect
 ... ...)))
   (with-temp-buffer (insert org-mime-default-header) (insert body)
 (write-file tmp-file) (eval (list ... org-local-vars ...)))
   (save-excursion (with-temp-buffer (insert org-mime-default-header) (insert
 body) (write-file tmp-file) (eval ...)))
   org-mime-org-export(html #(\nThis is should be HTML
 mode.\n\n~foo~\n=bar=\n_baz_\n\n| Table | A |\n| 1 | 2 | \n\n-- \n 0 1
 (fontified t) 1 42 (fontified t) 42 43 (fontified t) 43 44 (article-type
 emphasis fontified t) 44 47 (fontified t) 47 48 (article-type emphasis
 fontified t) 48 50 (fontified t) 50 63 (fontified t face (gnus-cite-1
 message-cited-text)) 63 64 (fontified t) 64 78 (fontified t face
 (gnus-cite-1 message-cited-text)) 78 79 (fontified t rear-nonsticky t) 79 80
 (fontified t) 80 84 (fontified t)) /tmp/mail2522NRw)
   (org-mime-replace-images (org-mime-org-export html raw-body tmp-file)
 tmp-file)
   (let* ((region-p ...) (html-start ...) (html-end ...) (raw-body ...)
 (tmp-file ...) (body ...) (org-export-skip-text-before-1st-heading nil)
 (org-export-htmlize-output-type ...) (org-export-preserve-breaks
 org-mime-preserve-breaks) (html-and-images ...) (html-images ...) (html
 ...)) (delete-region html-start html-end) (save-excursion (goto-char
 html-start) (insert ... ...)))
   org-mime-htmlize(nil)


 On Fri, Apr 9, 2010 at 12:41 PM, Eric Schulte schulte.e...@gmail.comwrote:

 Announcing the addition of org-mime to the contrib directory of Org-mode

 this allows sending HTML email using org-mode including...


- *tables*   colname onecolname two  11 24 39
- *inline images* including latex equations [image: $f(n) = n +
\frac{1}{n} \int_{0}^{n}{d_x f(x) + f(n - x)}$] and the results of
ditaa blocks, etc…

 [image: blue.png]

- *blockquotes*

HTML e-mail is the use of a subset of HTML (often ill-defined) to
provide formatting and semantic markup capabilities in e-mail that are not
available with plain text. – wikipedia

 - fontified *code blocks* (shown below)
- and *HTML character* conversion, like ∀ character c s.t. ∃ h ∈ *HTML
characters* and c ≡ h, org-html-export of c results in h



 The original org-mode formatted plain text is included as a text/plain
 mime alternative to the generated html.

 Below find the org-mime export of the org-mime worg page which will be
 available at http://orgmode.org/worg/org-contrib/org-mime.php.

 Best -- Eric

 General

 org-mime can be used to send HTML email using Org-mode HTML export.

 This approximates a WYSiWYG HTML mail editor from within Emacs, and can be
 useful for sending tables, notified source code, and inline images in email.

   How to use it
  Setup

 org-mime exposes two functions
  `org-mime-htmlize' can be called from within a mail composition buffer to
 export either the entire buffer or just the active region to html, and embed
 the results into the buffer as a text/html mime section.

 org-mime-htmlize is an interactive Lisp function in `org-mime.el'.

 (org-mime-htmlize ARG)

 Export a portion of an email body composed using `mml-mode' to
 

[Orgmode] Re: floating, non scheduled agenda items

2010-04-12 Thread Łukasz Stelmach
Richard Riley rileyrg...@gmail.com writes:

 Richard Riley rileyrg...@gmail.com writes:

 What would be the best way to include in my daily agenda a section of
 non schedule items which are there every day until I decide to
 remove them.
[...]
 I needed to email Jan a little more for him to explain the procedure
[...]
 ,
 | You can replace the default agenda with a custom agenda if you specify
 | a as the accesskey for the custom agenda.
[...]
 | - Jan
 `

Personaly I'd recomend you leaving the default agenda intact and adding
*your* own under 'A'. It's nice to have the *real* defaults at hand from
time to time.

-- 
Miłego dnia,
Łukasz Stelmach



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


Re: [Orgmode] [ANN] Exporter for taskjuggler

2010-04-12 Thread Eric S Fraga
On Tue, 06 Apr 2010 13:15:46 +0200, Christian Egli christian.e...@sbszh.ch 
wrote:
 
 Hi Carsten
 
 Thanks for your reply. I've been a bit stumped by the zero feedback on
 the mailing list. Maybe I should have added a few screenshots of fancy
 gant and resource usage charts :-).

Christian,

I am very interested in what you have done; it's just that I have had
no time yet to play with your code and doing so properly requires a
bit of time!  I have used TJ in the past and have liked it so the
integration with org is very appealing indeed.

thanks,
eric


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


[Orgmode] [BUG] revering agenda files

2010-04-12 Thread Łukasz Stelmach
Hello.

I'm not quite sure it is bug indeed but org-mode stops working as usual
when you change the agenda files behind the scenes. I sometimes do it
because I use org-mode on several machines and I keep my files
synchronised with git. Since git-vc.el doesn't provide interface for
git's push pull commands I have to invoke them from outside of Emacs.
When it happens that pull operation alters one of agenda files then:

1. When I ask to rebuild agenda I receive a question

   todo.org changed on disk; really edit the buffer? (y, n, r or C-h) 

   one file each time. The question is quite reasonable but it should
   pop up for every altered file upon the first attempt to rebuild
   agenda.

2. Every time I move cursor up or down I get

   if: Wrong type argument: stringp, nil

   when I click a heading, nothing happens and when i press RET on it

   let*: Wrong type argument: integer-or-marker-p, nil

   It stops after few rebuilds. Few means the number of updated files.


-- 
Miłego dnia,
Łukasz Stelmach



___
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] Suggestions needed for handling ideas

2010-04-12 Thread Ali Tofigh
Hello everyone,

I'm a new user of org-mode, and seeing the great potential, I am
trying to switch to org-mode for handling my day-to-day tasks. I'm
going to start off by using org-mode to handle my projects and I need
some advice.

I like to keep my projects self-contained. Therefore I use one
org-file for each project. Each org-file contains two main headlines:
journal and tasks. Under journal I collect all kinds of information:
meeting notes, relevant stuff I've read, urls, etc. I also write down
what I have done every few days. The journal entries are sorted
chornologically. Under tasks I keep all todo items.

Frequently my notes on meetings contain ideas for stuff to try. Does
anyone have any advice on how to handle these?

I don't want to keep them as todo items in the journal since I like to
keep changing the todos (e.g., dividing them into subtasks) and I
don't want those changes to appear in the journal. My initial thought
was to create one headline for each idea and tag it with :idea:. I
could then easily go through all ideas in a project and choose the
ones I want to work on by creating todo items. Those ideas would then
be further tagged with :handled: or something similar. This way I
could search for unhandled ideas in my projects. As an alternative I
could use separate todo keywords for todos and ideas.

Any specific advice or just general thoughts are most appreciated.

Cheers,
/Ali


___
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-clock-goto plus org-narrow-to-subtree?

2010-04-12 Thread Bernt Hansen
Richard Riley rileyrg...@gmail.com writes:

 Karsten Heymann karsten.heym...@blue-cable.net writes:

 Hi Carsten,

 Carsten Dominik carsten.domi...@gmail.com writes:
 On Apr 12, 2010, at 3:05 PM, Karsten Heymann wrote:
 does anyone have a solution to combine org-clock-goto with
 org-narrow-to-subtree, so that upon keypress I get a buffer with only
 the currently clocked task in it? Maybe this could even become a
 optional parameter for org-clock-goto?

 (defun my-clock-goto-narrow ()
(interactive)
(when (org-clock-is-active)
   (org-clock-goto)
   (org-narrow-to-subtree)))

 (define-key global-map \C-cc my-clock-goto-narrow)

 Thanks, applied. :-)

 here is a slight variation I use which lists older clocked tasks if
 there is not one already clocked in. It also restores the window layout.

 ,
 | (defun rgr/org-add-note-to-current-task ()
 |   (interactive)
 | (save-window-excursion
 | (if(org-clock-is-active)
 | (org-clock-goto)
 |   (org-clock-goto t))
 | (org-narrow-to-subtree)
 | (org-add-note)))
 | 
 | (define-key global-map \C-cn 'rgr/org-add-note-to-current-task)
 `


And another variation...

F11 - calls org-clock-goto (from any buffer, any mode), and goes to the
last clocked task if the clock is not active.

F5 - narrows to subtree and calls org-show-todo-tree to show what there
is to do on that subtree.

I don't combine them into a single key - since I'm used to using F5 and
S-F5 to narrow and widen respectively.

,
| (global-set-key (kbd f5) 'bh/org-todo)
| (global-set-key (kbd S-f5) 'bh/widen)
| (global-set-key (kbd f11) 'org-clock-goto)
| 
| (defun bh/org-todo ()
|   (interactive)
|   (org-narrow-to-subtree)
|   (org-show-todo-tree nil))
| 
| (defun bh/widen ()
|   (interactive)
|   (widen)
|   (org-reveal))
| 
`

-Bernt


___
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: [BUG] revering agenda files

2010-04-12 Thread Richard Riley
Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl writes:

 Hello.

 I'm not quite sure it is bug indeed but org-mode stops working as usual
 when you change the agenda files behind the scenes. I sometimes do it
 because I use org-mode on several machines and I keep my files
 synchronised with git. Since git-vc.el doesn't provide interface for
 git's push pull commands I have to invoke them from outside of Emacs.

Use magit perhaps? or egg.





___
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: [BUG] revering agenda files

2010-04-12 Thread Bernt Hansen
Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl writes:

 Hello.

 I'm not quite sure it is bug indeed but org-mode stops working as usual
 when you change the agenda files behind the scenes. I sometimes do it
 because I use org-mode on several machines and I keep my files
 synchronised with git. Since git-vc.el doesn't provide interface for
 git's push pull commands I have to invoke them from outside of Emacs.
 When it happens that pull operation alters one of agenda files then:

 1. When I ask to rebuild agenda I receive a question

todo.org changed on disk; really edit the buffer? (y, n, r or C-h) 

one file each time. The question is quite reasonable but it should
pop up for every altered file upon the first attempt to rebuild
agenda.

 2. Every time I move cursor up or down I get

if: Wrong type argument: stringp, nil

when I click a heading, nothing happens and when i press RET on it

let*: Wrong type argument: integer-or-marker-p, nil

It stops after few rebuilds. Few means the number of updated files.

My solution to this is

(global-auto-revert-mode t)

So if there are no modified buffers and the agenda file changes
externally it just automatically updates to what is on disk.  That got
rid of the annoying message for me.

-Bernt


___
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: floating, non scheduled agenda items

2010-04-12 Thread Richard Riley
Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl writes:

 Richard Riley rileyrg...@gmail.com writes:

 Richard Riley rileyrg...@gmail.com writes:

 What would be the best way to include in my daily agenda a section of
 non schedule items which are there every day until I decide to
 remove them.
 [...]
 I needed to email Jan a little more for him to explain the procedure
 [...]
 ,
 | You can replace the default agenda with a custom agenda if you specify
 | a as the accesskey for the custom agenda.
 [...]
 | - Jan
 `

 Personaly I'd recomend you leaving the default agenda intact and adding
 *your* own under 'A'. It's nice to have the *real* defaults at hand from
 time to time.

I think this does use the real agenda doesn't it?

The first thing inserted into the custom view is Agenda.



___
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: [BUG] revering agenda files

2010-04-12 Thread Łukasz Stelmach
Bernt Hansen be...@norang.ca writes:

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

 I'm not quite sure it is bug indeed but org-mode stops working as usual
 when you change the agenda files behind the scenes.
[...]
 My solution to this is

 (global-auto-revert-mode t)

 So if there are no modified buffers and the agenda file changes
 externally it just automatically updates to what is on disk.  That got
 rid of the annoying message for me.

I don't want to get rid of those messages completely. Couple of times
they saved my work (at least) and I don't need to revert org-mode
buffers that often to feel anoyed by two or three questions. However,
I'd like them to be asked in one row.

-- 
Miłego dnia,
Łukasz Stelmach



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


[Orgmode] Problem entering an every-weekday meeting with start time

2010-04-12 Thread Patrick Aikens
I've seen the FAQ entry about setting up a recurring daily weekday
meeting, but I have a couple of issues with it.  I'm something of an
emacs newbie, so please bear with me if this is obvious - google has
provided nothing useful thus far.  I'm using the current release of
Emacs/W32 on XP with version 6.34c of org-mode.

I have a meeting I wish to have on my agenda every weekday at the
appropriate start time.  I have tried the following, which doesn't
show up in my agenda at all:
** Daily Meeting
   %%(memq (calendar-day-of-week date) '(1 2 3 4 5)) 10:30

The following, however, DOES show up in the agenda with the correct time:
** Daily Meeting
   SCHEDULED: %%(memq (calendar-day-of-week date) '(1 2 3 4 5)) 10:30

I really don't want to have to use the SCHEDULED: keyword since this
isn't something I'm scheduling to start work on, it's just a daily
recurring appointment.  Is there something I'm missing in getting the
first form to work?

--
SELECT * FROM users WHERE clue  0


___
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: [BUG] revering agenda files

2010-04-12 Thread Łukasz Stelmach
Richard Riley rileyrg...@gmail.com writes:

 Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl writes:
 I'm not quite sure it is bug indeed but org-mode stops working as usual
 when you change the agenda files behind the scenes. I sometimes do it
 because I use org-mode on several machines and I keep my files
 synchronised with git. Since git-vc.el doesn't provide interface for
 git's push pull commands I have to invoke them from outside of Emacs.

 Use magit perhaps? or egg.

I'll give them a try. Thanks.

-- 
Miłego dnia,
Łukasz Stelmach



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


Re: [Orgmode] Suggestions needed for handling ideas

2010-04-12 Thread John Hendy
On Mon, Apr 12, 2010 at 2:46 PM, Ali Tofigh alix.tof...@gmail.com wrote:

 Hello everyone,

 I'm a new user of org-mode, and seeing the great potential, I am
 trying to switch to org-mode for handling my day-to-day tasks. I'm
 going to start off by using org-mode to handle my projects and I need
 some advice.


I'm new to this as well and started in a very similar way:
- begin with just notes
- ramp up to todo tracking
- continue to ramp up to scheduling/full-fledged work data capture system


 I like to keep my projects self-contained. Therefore I use one
 org-file for each project. Each org-file contains two main headlines:
 journal and tasks. Under journal I collect all kinds of information:
 meeting notes, relevant stuff I've read, urls, etc. I also write down
 what I have done every few days. The journal entries are sorted
 chornologically. Under tasks I keep all todo items.


I started with separate, then went to all-in-one file, and think I'm going
back to one-per, mainly because of issues with being too deep in an outline
already by having one file; in other words, I blow a headline with project
name, then another with either 'journals' or 'todos', etc., and only then am
I in day-to-day notes...

Anyway, your setup sounds similar to what I'm leaning toward as well.


 Frequently my notes on meetings contain ideas for stuff to try. Does
 anyone have any advice on how to handle these?


I'm very 'idea' centered as well. See some 'ideas' below :)


 I don't want to keep them as todo items in the journal since I like to
 keep changing the todos (e.g., dividing them into subtasks) and I
 don't want those changes to appear in the journal.


I agree with this -- my idea for a 'journal' is a record of my work, meeting
notes, etc. Ideas are usually equivalent to 'off-topic concept to try later
that came up in the context of this meeting but that will develop
separately.'


 My initial thought
 was to create one headline for each idea and tag it with :idea:. I
 could then easily go through all ideas in a project and choose the
 ones I want to work on by creating todo items. Those ideas would then
 be further tagged with :handled: or something similar. This way I
 could search for unhandled ideas in my projects. As an alternative I
 could use separate todo keywords for todos and ideas.


What about:

### IDEA 1 ###
--- file: project_name.org ---
* Journals
** Title date
Notes about stuff

* Ideas
** TODO idea 1 date
** WORKING idea 2
** DONE idea 3 date

Something like this? This could track ideas in each project and if you do
use them as TODOs you can pull them up with agenda to check ideas across all
projects.

### IDEA 2 ###
- a remember template for ideas?
- file keystrokes set to set the file to a particular project's file with a
simple key entry?
- or... one file called 'ideas.org' divided by projects (or just tag idea
headlines with the project name)
--- then use remember-mode to add ideas to that file when you're in
meetings/taking notes in a different, dedicated project file?


 Any specific advice or just general thoughts are most appreciated.


I'm so new I can hardly believe I'm proposing these ideas as I don't even
know that I know everything necessary to implement them! But... these are
things i ponder so I thought I'd share...


 Cheers,
 /Ali


John



 ___
 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

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


Re: [Orgmode] Re: [BUG] revering agenda files

2010-04-12 Thread Dale P. Smith
Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl writes:

 Richard Riley rileyrg...@gmail.com writes:

 Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl writes:
 I'm not quite sure it is bug indeed but org-mode stops working as usual
 when you change the agenda files behind the scenes. I sometimes do it
 because I use org-mode on several machines and I keep my files
 synchronised with git. Since git-vc.el doesn't provide interface for
 git's push pull commands I have to invoke them from outside of Emacs.

 Use magit perhaps? or egg.

 I'll give them a try. Thanks.

Magit is awesome.  I'd choose git for just so I can use magit.

-Dale

-- 
Dale P. Smith
da...@vtiinstruments.com
216-447-4059 x2018
216-447-8951 FAX


___
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: [BUG] revering agenda files

2010-04-12 Thread Bernt Hansen
Łukasz Stelmach lukasz.stelm...@iem.pw.edu.pl writes:

 Bernt Hansen be...@norang.ca writes:

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

 I'm not quite sure it is bug indeed but org-mode stops working as usual
 when you change the agenda files behind the scenes.
 [...]
 My solution to this is

 (global-auto-revert-mode t)

 So if there are no modified buffers and the agenda file changes
 externally it just automatically updates to what is on disk.  That got
 rid of the annoying message for me.

 I don't want to get rid of those messages completely. Couple of times
 they saved my work (at least) and I don't need to revert org-mode
 buffers that often to feel anoyed by two or three questions. However,
 I'd like them to be asked in one row.

It only gets rid of the questions for buffers that are not modified.
It won't revert buffers if it destroys unsaved changes.
ie. if you modify an agenda file without changing it, then modify the
one on disk then you still get the question as you do now.

It only eliminates the questions for all of your agenda files that are
already saved to disk -- if the disk file changes we just update the
buffer in emacs too.

-Bernt


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


[Orgmode] Re: Problem entering an every-weekday meeting with start time

2010-04-12 Thread Łukasz Stelmach
Patrick Aikens paik...@gmail.com writes:

I have a meeting I wish to have on my agenda every weekday at the
 appropriate start time.  I have tried the following, which doesn't
 show up in my agenda at all:
 ** Daily Meeting
    %%(memq (calendar-day-of-week date) '(1 2 3 4 5)) 10:30


How about

** Daily Meeting 10:30
   %%(memq (calendar-day-of-week date) '(1 2 3 4 5))


or

** Daily Meeting
%%(memq (calendar-day-of-week date) '(1 2 3 4 5)) Daily meeting 10:30


-- 
Miłego dnia,
Łukasz Stelmach



___
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] confused about logging

2010-04-12 Thread Dan Griswold
Hi all,

I have a repeating task, like so:

*** TODO Print copies:@PRINT:
SCHEDULED: 2010-03-09 Tue ++1w

I would like to have things set so that when I change the todo state,
and the schedule advances, then there will not be any logging done.

However, with org-log-repeat, org-log-done, and org-log-done-with-time
all set to nil (indeed, it appears all org-log-X vars are set to nil),
I get a timestamp in a property drawer when I advance the schedule, like
so:

*** TODO Print copies:@PRINT:
SCHEDULED: 2010-04-13 Tue ++1w
:PROPERTIES:
:LAST_REPEAT: [2010-04-12 Mon 20:06]
:END:

This happens with an emacs environment started with emacs -q, and a file
that contains only the above entry.

I don't need or want such information recorded. But I don't know how to
stop it, and I don't know where else to look for the responsible
variable.

Any hints?

Thanks,

Dan


-- 
Dan Griswold
Rochester, NY



___
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: confused about logging

2010-04-12 Thread Bernt Hansen
Dan Griswold dgris...@rochester.rr.com writes:

 Hi all,

 I have a repeating task, like so:

 *** TODO Print copies  :@PRINT:
 SCHEDULED: 2010-03-09 Tue ++1w

 I would like to have things set so that when I change the todo state,
 and the schedule advances, then there will not be any logging done.

 However, with org-log-repeat, org-log-done, and org-log-done-with-time
 all set to nil (indeed, it appears all org-log-X vars are set to nil),
 I get a timestamp in a property drawer when I advance the schedule, like
 so:

 *** TODO Print copies  :@PRINT:
 SCHEDULED: 2010-04-13 Tue ++1w
 :PROPERTIES:
 :LAST_REPEAT: [2010-04-12 Mon 20:06]
 :END:

 This happens with an emacs environment started with emacs -q, and a file
 that contains only the above entry.

 I don't need or want such information recorded. But I don't know how to
 stop it, and I don't know where else to look for the responsible
 variable.

 Any hints?

Set the property

  :LOGGING:  nil

-Bernt


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


Re: [Orgmode] [ANN] org-mime -- using orgmode to send html mail?

2010-04-12 Thread Andrew Hyatt
Thanks for the response.  I upgraded, now I get a

Debugger entered--Lisp error: (wrong-type-argument arrayp t)
 substring(t 33)
 (progn (insert org-mime-default-header) (insert body) (write-file tmp-file)
(org-load-modules-maybe) (unless org-local-vars (setq org-local-vars ...))
(substring (eval ...) (if ... ... 0)))
 (unwind-protect (progn (insert org-mime-default-header) (insert body)
(write-file tmp-file) (org-load-modules-maybe) (unless org-local-vars ...)
(substring ... ...)) (and (buffer-name temp-buffer) (kill-buffer
temp-buffer)))
 (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ...
... ... ... ... ...) (and ... ...)))
 (with-current-buffer temp-buffer (unwind-protect (progn ... ... ... ... ...
...) (and ... ...)))
 (let ((temp-buffer ...)) (with-current-buffer temp-buffer (unwind-protect
... ...)))
 (with-temp-buffer (insert org-mime-default-header) (insert body)
(write-file tmp-file) (org-load-modules-maybe) (unless org-local-vars (setq
org-local-vars ...)) (substring (eval ...) (if ... ... 0)))
 (save-excursion (with-temp-buffer (insert org-mime-default-header) (insert
body) (write-file tmp-file) (org-load-modules-maybe) (unless org-local-vars
...) (substring ... ...)))
 org-mime-org-export(org #(\nHTML test\n\n~foo~\n=bar=\n_baz_\n\n| 1 | 2
|\n| a | b |\n 0 1 (fontified t) 1 11 (fontified t) 11 12 (fontified t) 12
18 (fontified t) 18 24 (fontified t) 24 30 (fontified t) 30 31 (fontified t)
31 40 (fontified t face (gnus-cite-1 message-cited-text)) 40 41 (fontified
t) 41 50 (fontified t face (gnus-cite-1 message-cited-text)) 50 51
(fontified t)) /tmp/mail2522ZvL)
 (let* ((region-p ...) (html-start ...) (html-end ...) (raw-body ...)
(tmp-file ...) (body ...) (org-export-skip-text-before-1st-heading nil)
(org-export-htmlize-output-type ...) (org-export-preserve-breaks
org-mime-preserve-breaks) (html-and-images ...) (html-images ...) (html
...)) (delete-region html-start html-end) (save-excursion (goto-char
html-start) (insert ... ...)))
 org-mime-htmlize(nil)
 call-interactively(org-mime-htmlize record nil)

I tried this with orgstruct-mode off and on, but it was the same error
either way.  Earlier, before I got the latest version, I tried with
orgstruct-mode on, and it successfull htmlized my mail. But, when I received
it, the mail only contained the word nil.

On Mon, Apr 12, 2010 at 1:22 PM, Eric Schulte schulte.e...@gmail.comwrote:

 Hi Andrew,

 Thanks for the report.  My guess is that somehow the call to
 org-export-as-html is erroring out because some org-mode variables
 aren't being set, maybe you don't have orgstruct-mode as a minor-mode in
 your email composition -- not that it's required, but that could be the
 difference between our setups which is causing you to see the bug and
 not me.

 I've changed the `org-mime-org-export' so it more closely mimics the
 `org-run-like-in-org-mode' wrapping function, which should hopefully fix
 this problem.  Please let me know either way, and if the problem
 persists we can try to figure out exactly which variable isn't being
 initialized.

 Thanks for the report! -- Eric

 Andrew Hyatt ahy...@gmail.com writes:

  This looks great.  However, I get an error on my test mail:
 
  This is should be HTML mode.
 
  ~foo~
  =bar=
  _baz_
 
  | Table | A |
  | 1 | 2 |
 
  On calling org-mime-htmlize
 
  Debugger entered--Lisp error: (wrong-type-argument stringp nil)
string-match(nil #(This is should be HTML mode. 0 28 (fontified t)))
byte-code(\304\211. \305\n \\203A
org-html-handle-time-stamps(#(This is should be HTML mode. 0 28
  (fontified t)))
byte-code( \203.
org-export-as-html(nil nil nil string t)
(let nil (org-export-as-html nil nil nil (quote string) t))
eval((let nil (org-export-as-html nil nil nil (quote string) t)))
(progn (insert org-mime-default-header) (insert body) (write-file
  tmp-file) (eval (list ... org-local-vars ...)))
(unwind-protect (progn (insert org-mime-default-header) (insert body)
  (write-file tmp-file) (eval ...)) (and (buffer-name temp-buffer)
  (kill-buffer temp-buffer)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
 ...
  ... ... ...) (and ... ...)))
(with-current-buffer temp-buffer (unwind-protect (progn ... ... ...
 ...)
  (and ... ...)))
(let ((temp-buffer ...)) (with-current-buffer temp-buffer
 (unwind-protect
  ... ...)))
(with-temp-buffer (insert org-mime-default-header) (insert body)
  (write-file tmp-file) (eval (list ... org-local-vars ...)))
(save-excursion (with-temp-buffer (insert org-mime-default-header)
 (insert
  body) (write-file tmp-file) (eval ...)))
org-mime-org-export(html #(\nThis is should be HTML
  mode.\n\n~foo~\n=bar=\n_baz_\n\n| Table | A |\n| 1 | 2 | \n\n-- \n 0
 1
  (fontified t) 1 42 (fontified t) 42 43 (fontified t) 43 44 (article-type
  emphasis fontified t) 44 47 (fontified t) 47 48 (article-type emphasis
  fontified t) 48 50 (fontified t) 50 63 (fontified t face (gnus-cite-1
  

Re: [Orgmode] xemacs21 support broke from 35f to 35g

2010-04-12 Thread Carsten Dominik

Hi Sebastian,


On Apr 12, 2010, at 10:40 AM, Sebastien Delafond wrote:


Hi,

I noticed that installing for xemacs21 worked with 6.35f, but does not
anymore with 6.35g or 6.35h. The errors are as as follows:

   Compiling /usr/share/xemacs21/site-lisp/org-mode/org.el...
 While compiling toplevel forms in file /usr/share/xemacs21/site- 
lisp/org-mode/org.el:

   ** attempt to open-code anonymous lambda with too many arguments
   ** attempt to open-code anonymous lambda with too many arguments
 While compiling org-ctrl-c-ctrl-c:
   !! Wrong type argument ((stringp org-property-start-re))

Error occurred processing org.el:

 Wrong type argument: stringp, org-property-start-re


I fixed that.



and then later:

 Compiling /usr/share/xemacs21/site-lisp/org-mode/org-freemind.el...
 While compiling toplevel forms in file /usr/share/xemacs21/site- 
lisp/org-mode/org-freemind.el:
   ** evaluating (1+ *): (wrong-type-argument number-char-or-marker- 
p *)


org-freemind needs the rx library.  I am now explicitly requireing rx,
so people will know what is missing.



Dropping xemacs21 support altogether certainly would not bother me,  
but

http://org-mode still mentions it is supported :)

Cheers,

--Seb



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


- Carsten





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


Re: [Orgmode] Re: emacs/org-mode on Droid?

2010-04-12 Thread Daniel Martins
Please, share your first impressions!!! I just bought an Android phone
and would like to take similar routes.

Daniel

2010/2/16 David Rogoff da...@therogoffs.com:
 On 2010-02-16 13:47:59 -0800, Tom Tobin said:

 On Tue, Feb 16, 2010 at 12:18 PM, David Rogoff da...@therogoffs.com
 wrote:

 Hi all.

 New org-mode convert also looking at new phones.  It looks like theMoto
 Droid would be great for running org-mode.  Has anyone ported emacs to this
 platform and gotten org-mode running?

 I just switched from my iPhone back to an Android phone; I came across
 this project:

 http://github.com/matburt/mobileorg-android

 I haven't tried it yet, though.

 Thanks - I'll take a look.




 ___
 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



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


Re: [Orgmode] Re: confused about logging

2010-04-12 Thread Bernt Hansen
Nick Dokos nicholas.do...@hp.com writes:

 Bernt Hansen be...@norang.ca wrote:

 Dan Griswold dgris...@rochester.rr.com writes:
 
  Hi all,
 
  I have a repeating task, like so:
 
  *** TODO Print copies   
  :@PRINT:
  SCHEDULED: 2010-03-09 Tue ++1w
 
  I would like to have things set so that when I change the todo state,
  and the schedule advances, then there will not be any logging done.
 
  However, with org-log-repeat, org-log-done, and org-log-done-with-time
  all set to nil (indeed, it appears all org-log-X vars are set to nil),
  I get a timestamp in a property drawer when I advance the schedule, like
  so:
 
  *** TODO Print copies   
  :@PRINT:
  SCHEDULED: 2010-04-13 Tue ++1w
  :PROPERTIES:
  :LAST_REPEAT: [2010-04-12 Mon 20:06]
  :END:
 
  This happens with an emacs environment started with emacs -q, and a file
  that contains only the above entry.
 
  I don't need or want such information recorded. But I don't know how to
  stop it, and I don't know where else to look for the responsible
  variable.
 
  Any hints?
 
 Set the property
 
   :LOGGING:  nil
 

 I don't think that works - and I also don't think that there is a way to
 do what Dan wants, currently.  The code in org.el:org-auto-repeat-maybe
 looks like this:

 
 (when repeat
   (if (eq org-log-repeat t) (setq org-log-repeat 'state))
   (setq to-state (or (org-entry-get nil REPEAT_TO_STATE)
org-todo-repeat-to-state))
   (unless (and to-state (member to-state org-todo-keywords-1))
   (setq to-state (if (eq interpret 'type) last-state head)))
   (org-todo to-state)
   (org-entry-put nil LAST_REPEAT (format-time-string
   (org-time-stamp-format t t)))

 

 and the LAST_REPEAT property is set unconnditionally. At least, that's
 how I read it.

Gah.  I didn't read the posting carefully enough - sorry.  There's no
way to turn off LAST_REPEAT logging currently as Nick points out.

-Bernt


___
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