[Orgmode] Re: Recurring TODOs and alreade done TODOs

2010-03-26 Thread Friedericksen Hope

Thank you very much, Matt!

Everything works fine now... :-)

On 03/26/2010 10:35 PM, Matt Lundin wrote:

Friedericksen Hope  writes:


First the problem:
I would like to create some recurring TODO items. But for example, when I use
'C-c C-s 10-05-01 +1w' it just create the timestamp: 'SCHEDULED:<2010-05-01 
Sat>'
I don't know why, because it is exactly like in the manual described.
Do I have to enable recurring TODOs in the config?


I believe you have to set recurring todos by hand---i.e., dive into the
org file and edit the SCHEDULED timestamp.


Is there a way/function/option to automatically clear or archive old
TODO-Items which are marked as DONE?


Here's one way to do it:

--8<---cut here---start->8---
(defun my-org-archive-done-items ()
   "Archive all items marked done in the current file"
   (interactive)
   (org-map-entries
'(org-archive-subtree-default)
"/!+DONE" 'file))
--8<---cut here---end--->8---

Best,
Matt


___
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


[Orgmode] Re: Org productivity tip to prevent accumulation of unscheduled undone tasks

2010-03-26 Thread Tom
Ryan Thompson  thompsonclan.org> writes:
> 
> Previously, I had the
> problem that I would use remember to add TODO items, but then they
> would languish in my TODO list because they would never appear in my
> agenda. 

I use a block agenda for this purpose which shows scheduled items and
regular TODO items together:

http://www.gnu.org/software/emacs/manual/html_node/org/Block-agenda.html





___
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 productivity tip to prevent accumulation of unscheduled undone tasks

2010-03-26 Thread Ryan Thompson
Hi all,

I recently found a small trick that makes Org nag me about undone TODO
items that I have added via org-remember. Previously, I had the
problem that I would use remember to add TODO items, but then they
would languish in my TODO list because they would never appear in my
agenda. To fix this, I set my normal TODO template to have a scheduled
date. This way, the default is to schedule a task for today, instead
of leave it unscheduled. Now, in my agenda, Org will nag me about
anything I have added unless I explicitly went to the trouble of
deleting the scheduled line or changing the default. I find that I
tend to get more done now that Org-mode reminds me by default.

Here are my two TODO templates. They are bound to "t" and uppercase
"T". The upper-case is my old TODO template, now called "TODO
unscheduled".

 ("TODO" 116 "* TODO %^{Description}\n  %U\n  SCHEDULED: %^{Scheduled
time}T\n  %?\n" "tasks.org" "Unsorted Tasks" nil)
 ("TODO unscheduled" 84 "* TODO %^{Description}\n  %U\n  %?"
"tasks.org" "Unsorted Tasks" nil)


-Ryan Thompson


___
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] LaTeX package dependencies

2010-03-26 Thread John Hendy
Just used a SlackBuild to compile TexLive20091107 to replace TeTeX 3.0_6 and
now have MnSymbol (in other words, Zenwalk and all Slack based distros
should be fine with all packages listed)

On Fri, Mar 26, 2010 at 12:42 PM, Manish wrote:

> On Fri, Mar 26, 2010 at 10:22 AM, Carsten Dominik wrote:
> > Hi everyone,
> >
> > I am working on better entity (special symbol) support for
> > export, based on a list Ulf Stegemann has compiled. The list
> > Ulf has sent me requires the following LaTeX packages to be
> > available:
> >
> > * t1enc * textcomp * marvosym * wasysym * MnSymbol
> >
> > Before I introduce new dependencies on these packages, I would
> > like to ask that many of you check if these packages are
> > available in the LaTeX distribution you are using. Please
> > check, and let me know which package you do not have.
> >
>
> I ran Alexander find command and and Robert's test latex document on
> Cygwin with Texlive 2008. Find does report MnSybol but the latex
> document compilation does not find it. All other packages are ok.
>
> Regards
> --
> Manish
>
>
> ___
> 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] [babel] passing tables to python source blocks

2010-03-26 Thread Dan Davison
Maurizio Vitale
 writes:

> Hi,
> I get the following error when passing a table containing a line
> separator (like mounts below). It looks like the table is first exported
> to ASCII (and the horizontal line mapped to hline), but hline is not
> known in python-land. Would it be possible to discard it instead?

Hi Maurizio,

Yes. I've put a patch below which is a quick hack discarding the 'hline
for python. But I don't propose we apply it to the public version.

The question is whether we merely discard the hline or in fact discard
the entire header line as well. I think the correct solution is to make
python (and other languages) interpret the :colnames argument
appropriately (currently only R pays attention to this).

I would welcome any views on how this should be done consistently across
languages, given that some languages (e.g. R) have a concept of column
and row names for tabular data structures while other languages do
not. We need to specify the behaviour for tables being sent to
languages, and for tables being received from languages.

Julien Barnier has been working on adding :rownames for R recently. I
posted a reply to Julien yesterday 

http://permalink.gmane.org/gmane.emacs.orgmode/23324

containing an org file for testing :colnames and :rownames.

Dan


--8<---cut here---start->8---
diff --git a/contrib/babel/lisp/langs/org-babel-python.el 
b/contrib/babel/lisp/langs/org-babel-python.el
index 7e938bb..eb37732 100644
--- a/contrib/babel/lisp/langs/org-babel-python.el
+++ b/contrib/babel/lisp/langs/org-babel-python.el
@@ -87,7 +87,7 @@ called by `org-babel-execute-src-block'."
   "Convert an elisp var into a string of python source code
 specifying a var of the same value."
   (if (listp var)
-  (concat "[" (mapconcat #'org-babel-python-var-to-python var ", ") "]")
+  (concat "[" (mapconcat #'org-babel-python-var-to-python (delq 'hline 
var) ", ") "]")
 (format "%S" var)))
 
 (defun org-babel-python-table-or-string (results)
--8<---cut here---end--->8---


> Thanks,
>
> Maurizio
>
> #+results: partition-ids-sacred
> | sda1 | 44d8b686-253d-4d84-bc1d-6241256e7a48 |
> | sda5 | 4d061415-21e4-4419-b8a5-3fff37090e5f |
> | sdd3 | 6404fb2a-c30f-475c-b386-89c98d5cb3c6 |
> | sdd5 | 9b072633-a66d-4870-8617-d955c535782f |
> | md0  | a24470a7-1d7e-4938-9f09-ab11cdb78bc3 |
> | sdd1 | dfcb40e1-9e2f-485e-8897-94ee0458c5e7 |
>
> #+tblname: mounts
> | Device | Mount   | type | options  | dump | pass |
> |+-+--+--+--+--|
> | sdd1   | /library| ext3 | defaults |0 |0 |
> | sdd3   | /backup | ext2 | defaults |0 |0 |
> | md0| /home/mav/workspace | ext3 | defaults |0 |0 |
>
> #+source mtab
> #+begin_src python :var mounts=mounts :var ids=partition-ids-sacred :results 
> output
> print mounts
> #+end_src
>
> #+results:
> : Traceback (most recent call last):
> :   File "", line 1, in 
> : NameError: name 'hline' is not defined
>
>
>
>
>
> ___
> 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


[Orgmode] [ANN] org-mac-protocol, fully updated for 10.6 and with added applications

2010-03-26 Thread Christopher Suckling
A suite of scripts that allow the user to annotate their org-mode
buffers without switching focus from other OS X applications.

The following applications are currently supported:

  + Safari, including linking to multiple tabs
  + Mail
  + Address Book
  + Skim
  + BibDesk
  + Pages
  + Numbers
  + Keynote
  + iTunes
  + Finder
  + Terminal

It's available, along with full documentation here:

http://github.com/claviclaws/org-mac-protocol

The AppleScripts interface with org-protocol.el to extract content from,
and link to, documents and applications.

Four modes of interaction are provided:

=org-link= creates an org-mode link and adds it to =*Org Links*= and the
kill-ring.

=org-link-tabs= creates org-mode links to all tabs in the front Safari
window and adds them to =*Org Links*= and the kill-ring.

=org-remember= pops up a small =*Remember*= frame with links and, where
possible, extracted content embedded.

=org-note= pops up a small =*Remember*= frame for note taking
independent of the document being worked on.



Carsten - I think this org-mac-protocol is now mature enough to be
considered for the contrib directory. If you agree, how would you like
it packaged for inclusion?



Best, Christopher


___
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-mode] Stop exporting u...@hostname to html

2010-03-26 Thread Nick Dokos
John Hendy  wrote:

> So, to get your change... do I need the current git version? Or a fresh 
> org-export.el?
> 

If you are talking about org-export-email-info, you need to pull the
current git version: there were changes in multiple files to do this.
If you are talking about org-export-author-info, that has been there
all the time (except for the documentation bug fix that David sent in).

HTH,
Nick


___
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] clocktable display format

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 5:31 PM, Olivier Schwander wrote:


Hello,

I am using clocktable to display a summary of the effort in a subtree.
As I am not particularly interested in precise hourly details, I would
like to display the total time in days instead of hours.

Now I have:
| L | Headline  | Time ||
|---+---+--+|
|   | *Total time*  | *528:00* ||

and I would like:
| L | Headline  | Time ||
|---+---+--+|
|   | *Total time*  | *22* ||

I tried to add a formula in the table, but it doesn't work since the
fields are in the format hour:minute. I suppose I could use org- 
babel to

parse the content of the field and convert it into days but it seems
rather complicated and I would be happy with a simple solution. Any
ideas ?


That is not straight forward - and I also do not think it would be so  
useful.  Do you want 8 hour days or 24 hour days, for example?


- 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] [Org-mode] Stop exporting u...@hostname to html

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 11:04 PM, John Hendy wrote:

So, to get your change... do I need the current git version? Or a  
fresh org-export.el?


"Applied, thanks" means, you will have this change with the next "git  
pull"


- Carsten



On Fri, Mar 26, 2010 at 2:34 PM, Carsten Dominik > wrote:

Applied, thanks.

- Carsten


On Mar 26, 2010, at 4:59 PM, David Maus wrote:

Nick Dokos wrote:
David Maus  wrote:

Perhaps a silly question: just wondering if it's possible to stop
having this at the bottom of every html file I export:

/-
| Author: John W. Henderson 
| Date: 2010-03-25 21:56:05 CDT
| HTML generated by org-mode 6.34trans in emacs 23
\--

I'm all for the date and supporting people knowing this is from
org-mode/emacs but I don't really want the username/hostname thingy
there. I have Author set via #+AUTHOR. I can't find any reference to
host/hostname in the manual and with other google searches.

You *should* be able to suppress the author info by setting the
property :author-info to nil in the publish project alist.

However, it looks like there's a malfunction on Org's side: Setting
this option to nil does have no effect.


Setting it globally by setting the variable org-export-author-info to
nil seems to work OK.  But setting it in the file #+OPTIONS line:

#+OPTIONS: author-info:nil

does not seem to work, so there seems to be a disconnect there.

It's a typo in the variables docstring: The infile option is
author:nil.

(attached patch fixes typo)

-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
info.diff>___

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



- 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] [Org-mode] Stop exporting u...@hostname to html

2010-03-26 Thread John Hendy
So, to get your change... do I need the current git version? Or a fresh
org-export.el?

On Fri, Mar 26, 2010 at 2:34 PM, Carsten Dominik
wrote:

> Applied, thanks.
>
> - Carsten
>
>
> On Mar 26, 2010, at 4:59 PM, David Maus wrote:
>
>  Nick Dokos wrote:
>>
>>> David Maus  wrote:
>>>
>>
>>  Perhaps a silly question: just wondering if it's possible to stop
> having this at the bottom of every html file I export:
>

  /-
> | Author: John W. Henderson 
> | Date: 2010-03-25 21:56:05 CDT
> | HTML generated by org-mode 6.34trans in emacs 23
> \--
>

  I'm all for the date and supporting people knowing this is from
> org-mode/emacs but I don't really want the username/hostname thingy
> there. I have Author set via #+AUTHOR. I can't find any reference to
> host/hostname in the manual and with other google searches.
>

 You *should* be able to suppress the author info by setting the
 property :author-info to nil in the publish project alist.

 However, it looks like there's a malfunction on Org's side: Setting
 this option to nil does have no effect.


>>  Setting it globally by setting the variable org-export-author-info to
>>> nil seems to work OK.  But setting it in the file #+OPTIONS line:
>>>
>>
>>  #+OPTIONS: author-info:nil
>>>
>>
>>  does not seem to work, so there seems to be a disconnect there.
>>>
>>
>> It's a typo in the variables docstring: The infile option is
>> author:nil.
>>
>> (attached patch fixes typo)
>>
>> -- David
>> --
>> OpenPGP... 0x99ADB83B5A4478E6
>> Jabber dmj...@jabber.org
>> Email. dm...@ictsoc.de
>>
>> ___
>> 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
>
___
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] spreadsheet: column width behavior(s)

2010-03-26 Thread Carsten Dominik


On Mar 25, 2010, at 8:53 PM, Michael Brand wrote:


Hi Carsten, hi all

Are there reasons to only narrow but not to widen columns?


I think this is really the only thing that makes sense.  Why would
you want it any wider, given the limited amount of screen real
estate we have here?  I don't think it would be difficult to make
it behave the way you request, but I don't think I would ever
use widening fields.  When would you want to use this?

- Carsten



I would like the behavior `fixed width' like

| year | boss  | facility management  
assistant  |
|  | <30>  |  
<30>   |
|--+--- 
+|
| 2009 | Alice |  
Bob|


but with the current implementation get

| year | boss  | facility management assistant |
|  | <30>  | <30>  |
|--+---+---|
| 2009 | Alice | Bob   |

which widens the column only if there is too less space left for the  
column content.


As a comparison I can imagine four variants:
<..40>   : `maximum width' (what <40> is today)
<30> : `fixed width'
<20..>   : `minimum width' (no narrowing)
<20..40> : `width range' (minimum 20, up to 40, narrowing if even  
longer)


The most commonly used spreadsheet applications offer just one  
single variant out of the above four (right?) and it is `fixed  
width'. My vote for org-table would be the same: That it should  
support `fixed width' and that this is sufficient as the only  
variant. What is the opinion of other users?


- Michael


___
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] feature request: save LaTeX as title for ltxpng html images

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 4:01 PM, Eric Schulte wrote:


Hi,

HTML  tags allow both alternate text (rendered when the image  
can't

be rendered), as well as titles which show as tooltips on hover.  I
wonder if it would be difficult to place the text latex used in
generating an image into these two fields.  If not then I at least  
would

find it useful.


It is not trivial, but not too hard either.

It is not trivial because Org first produces the images and inserts  
org-style links. Later, in a second step, these links are replaced  
(formatted for HTML).
One way to solve this is that `org-format-latex' will add this  
information
as text properties to the link.  Then later, when the HTML formatting  
is done,
the text property could be retrieved and converted into the attributes  
you are mentioning.


You have worked on org-format-latex before, I think this should be  
relatively easy for you.


- 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] Why is the "Date: ..." line in my Org-mode produced html wrong?

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 4:25 PM, Gary . wrote:


On the bottom of the HTML document there is a line that looks like
Date: 2010-03-26 14:18:57 GMT
but I'm not in GMT. My system isn't in GMT. The date command says Fr,
26. Mrz 2010 16:22:37 which is correct.


The time string is produced like this:

(setq date (format-time-string "%Y-%m-%d %T %Z"))

So you need to dig into wy Emacs thinks your time zone is different.

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] [Org-mode] Stop exporting u...@hostname to html

2010-03-26 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Mar 26, 2010, at 4:59 PM, David Maus wrote:


Nick Dokos wrote:

David Maus  wrote:



Perhaps a silly question: just wondering if it's possible to stop
having this at the bottom of every html file I export:



/-
| Author: John W. Henderson 
| Date: 2010-03-25 21:56:05 CDT
| HTML generated by org-mode 6.34trans in emacs 23
\--



I'm all for the date and supporting people knowing this is from
org-mode/emacs but I don't really want the username/hostname thingy
there. I have Author set via #+AUTHOR. I can't find any reference  
to

host/hostname in the manual and with other google searches.


You *should* be able to suppress the author info by setting the
property :author-info to nil in the publish project alist.

However, it looks like there's a malfunction on Org's side: Setting
this option to nil does have no effect.




Setting it globally by setting the variable org-export-author-info to
nil seems to work OK.  But setting it in the file #+OPTIONS line:



#+OPTIONS: author-info:nil



does not seem to work, so there seems to be a disconnect there.


It's a typo in the variables docstring: The infile option is
author:nil.

(attached patch fixes typo)

-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
info.diff>___

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


[Orgmode] [babel] passing tables to python source blocks

2010-03-26 Thread Maurizio Vitale

Hi,
I get the following error when passing a table containing a line
separator (like mounts below). It looks like the table is first exported
to ASCII (and the horizontal line mapped to hline), but hline is not
known in python-land. Would it be possible to discard it instead?
Thanks,

Maurizio

#+results: partition-ids-sacred
| sda1 | 44d8b686-253d-4d84-bc1d-6241256e7a48 |
| sda5 | 4d061415-21e4-4419-b8a5-3fff37090e5f |
| sdd3 | 6404fb2a-c30f-475c-b386-89c98d5cb3c6 |
| sdd5 | 9b072633-a66d-4870-8617-d955c535782f |
| md0  | a24470a7-1d7e-4938-9f09-ab11cdb78bc3 |
| sdd1 | dfcb40e1-9e2f-485e-8897-94ee0458c5e7 |

#+tblname: mounts
| Device | Mount   | type | options  | dump | pass |
|+-+--+--+--+--|
| sdd1   | /library| ext3 | defaults |0 |0 |
| sdd3   | /backup | ext2 | defaults |0 |0 |
| md0| /home/mav/workspace | ext3 | defaults |0 |0 |

#+source mtab
#+begin_src python :var mounts=mounts :var ids=partition-ids-sacred :results 
output
print mounts
#+end_src

#+results:
: Traceback (most recent call last):
:   File "", line 1, in 
: NameError: name 'hline' is not defined





___
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: Recurring TODOs and alreade done TODOs

2010-03-26 Thread Matt Lundin
Friedericksen Hope  writes:

> First the problem:
> I would like to create some recurring TODO items. But for example, when I use
> 'C-c C-s 10-05-01 +1w' it just create the timestamp: 'SCHEDULED: <2010-05-01 
> Sat>'
> I don't know why, because it is exactly like in the manual described.
> Do I have to enable recurring TODOs in the config?

I believe you have to set recurring todos by hand---i.e., dive into the
org file and edit the SCHEDULED timestamp.

> Is there a way/function/option to automatically clear or archive old
> TODO-Items which are marked as DONE?

Here's one way to do it:

--8<---cut here---start->8---
(defun my-org-archive-done-items ()
  "Archive all items marked done in the current file"
  (interactive)
  (org-map-entries
   '(org-archive-subtree-default)
   "/!+DONE" 'file))
--8<---cut here---end--->8---

Best,
Matt


___
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] hyperlink to IMAP email

2010-03-26 Thread Xiao-Yong Jin
On Fri, 26 Mar 2010 19:51:52 + (UTC), Arne Freyberger wrote:

> I would like to link to email messages that are held in IMAP folders either
> locally or on the server.   I've tried vm but realized that I would have to 
> set
> up a copy of my IMAP folder structure into the vm folder world in order for 
> that
> to work.  I was about to investigate wanderlust,

Have you looked into gnus?  I've been using gnus and org
links to email messages, either locally stored or remote
IMAP, work perfectly.

Cheers,
jxy
-- 
Jc/*__o/*
X<\ * (__
Y*/\  <


___
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] hyperlink to IMAP email

2010-03-26 Thread David Maus
Arne Freyberger wrote:
>I would like to link to email messages that are held in IMAP folders either
>locally or on the server.   I've tried vm but realized that I would have to set
>up a copy of my IMAP folder structure into the vm folder world in order for 
>that
>to work.  I was about to investigate wanderlust, but realized what I really 
>want
>is a command line mechanism to launch an email reader at a specified message
>within my IMAP folders.   So far I have not found one that allows this.   What 
>I
>am after is a way to put in a link to invoke a command like:

>myemailclient -imap=usern...@imapserver.org -folder=myfolder
>-id=50215.151.199.150.148.1269632035.squir...@webmail.my.org

>I presently use thunderbird as my email client and it doesn't support this, 
>I've
>looked at several other linux email clients and they do not support this 
>either.

Wanderlust does:

[[wl:%Inbox:user/cl...@host:993!#4bacbd0f.e2f8c...@blueshieldca.com][<4bacbd0f.e2f8c...@blueshieldca.com>]]

>How do the org-mode users link to their IMAP mail?

Doing the linking on two assumptions:

 - the most significant part of a link to a mail message is the
   message-id; no matter where it is, the message id identifies what I
   am referring to

 - messages have a distinct place: either there are in one of my
   inboxes, or there are in a local archive (transfered after 180
   days)

So I create a link pointing to the inbox: Either the default inbox or
including server information.  This link will be valid for 180 days,
that is way enough to open recent links.

In case the link is invalid because the message is moved to the local archive,
I utilize namazu[1] and Wanderlust's capabilitiy of a "Search folder"
that performs a search for a message in a namazu index.

HTH
  -- David

[1] http://namazu.org/

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpCETjQgJULa.pgp
Description: PGP signature
___
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] hyperlink to IMAP email

2010-03-26 Thread Alexander Poslavsky

On Mar 26, 2010, at 8:51 PM, Arne Freyberger wrote:

> I would like to link to email messages that are held in IMAP folders either
> locally or on the server.   I've tried vm but realized that I would have to 
> set

> I presently use thunderbird as my email client and it doesn't support this, 
> I've
> looked at several other linux email clients and they do not support this 
> either.
> 
> Does anyone know of an email client that can be invoked from the command line 
> to
> open up at a specific IMAP email?   How do the org-mode  users link to their
> IMAP mail?

On OS X it os possible to use mail.app, on linux offline-imap, mutt and 
org-mairix (in contrib)

bye,
alex

___
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] hyperlink to IMAP email

2010-03-26 Thread Erik Iverson



I presently use thunderbird as my email client and it doesn't support this, I've
looked at several other linux email clients and they do not support this either.

Does anyone know of an email client that can be invoked from the command line to
open up at a specific IMAP email?   How do the org-mode  users link to their
IMAP mail?


I haven't looked at this in a while, but years ago I wanted the exact 
same thing for Thunderbird, but could not find out how to do it.  I did 
put together something that did this very smoothly with Outlook, but 
that is not going to help you.


I will be watching this thread to see if anyone has any good idea.

Does any of this change with Thunderbird 3, I wonder?

--Erik


___
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] hyperlink to IMAP email

2010-03-26 Thread Arne Freyberger
I would like to link to email messages that are held in IMAP folders either
locally or on the server.   I've tried vm but realized that I would have to set
up a copy of my IMAP folder structure into the vm folder world in order for that
to work.  I was about to investigate wanderlust, but realized what I really want
is a command line mechanism to launch an email reader at a specified message
within my IMAP folders.   So far I have not found one that allows this.   What I
am after is a way to put in a link to invoke a command like:

myemailclient -imap=usern...@imapserver.org -folder=myfolder
-id=50215.151.199.150.148.1269632035.squir...@webmail.my.org

I presently use thunderbird as my email client and it doesn't support this, I've
looked at several other linux email clients and they do not support this either.

Does anyone know of an email client that can be invoked from the command line to
open up at a specific IMAP email?   How do the org-mode  users link to their
IMAP mail?

thanks in advance!
Arne



___
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] LaTeX package dependencies

2010-03-26 Thread John Hendy
On Zenwalk Linux 6.2 with tetex 3.0 build 6 installed from the
distributions' repository, I have all packages /except/ MnSymbol.

John


On Fri, Mar 26, 2010 at 1:02 AM, David Maus  wrote:

> Carsten Dominik wrote:
> >Hi everyone,
>
> >I am working on better entity (special symbol) support for
> >export, based on a list Ulf Stegemann has compiled.
> >The list Ulf has sent me requires the following LaTeX
> >packages to be available:
>
> >* t1enc
> >* textcomp
> >* marvosym
> >* wasysym
> >* MnSymbol
>
> >Before I introduce new dependencies on these packages, I would like
> >to ask that many of you check if these packages are available
> >in the LaTeX distribution you are using.  Please check,
> >and let me know which package you do not have.
>
> On Debian GNU/Linux "Testing" these packages are available:
>
> ,
> | t1enc texlive-latex-base:
> /usr/share/texmf-texlive/tex/latex/base/t1enc.sty
> | textcomp texlive-latex-base:
> /usr/share/texmf-texlive/tex/latex/base/textcomp.sty
> | marvosym texlive-fonts-recommended:
> /usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty
> | wasysym texlive-fonts-recommended:
> /usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty
> | MnSymbol texlive-fonts-extra:
> /usr/share/texmf-texlive/tex/latex/mnsymbol/MnSymbol.sty
> `
>
> HTH
>  -- David
>
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber dmj...@jabber.org
> Email. dm...@ictsoc.de
>
> ___
> 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] LaTeX package dependencies

2010-03-26 Thread Manish
On Fri, Mar 26, 2010 at 10:22 AM, Carsten Dominik wrote:
> Hi everyone,
>
> I am working on better entity (special symbol) support for
> export, based on a list Ulf Stegemann has compiled. The list
> Ulf has sent me requires the following LaTeX packages to be
> available:
>
> * t1enc * textcomp * marvosym * wasysym * MnSymbol
>
> Before I introduce new dependencies on these packages, I would
> like to ask that many of you check if these packages are
> available in the LaTeX distribution you are using. Please
> check, and let me know which package you do not have.
>

I ran Alexander find command and and Robert's test latex document on
Cygwin with Texlive 2008. Find does report MnSybol but the latex
document compilation does not find it. All other packages are ok.

Regards
-- 
Manish


___
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] Recurring TODOs and alreade done TODOs

2010-03-26 Thread Friedericksen Hope

Hello,

I habe a problem and a question. :-)

First the problem:
I would like to create some recurring TODO items. But for example, when I use
'C-c C-s 10-05-01 +1w' it just create the timestamp: 'SCHEDULED: <2010-05-01 
Sat>'
I don't know why, because it is exactly like in the manual described. Do I have 
to enable recurring TODOs in the config?

My question:
Is there a way/function/option to automatically clear or archive old TODO-Items 
which are marked as DONE?

Thank you in advance!!

Best wishes,
Friedericksen



___
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] test - please ignore

2010-03-26 Thread Nick Dokos
[If this makes it out, apologies for spamming the list: I'm
 testing a possible solution to a problem I've been having
 posting to the list.]

Mikael,

If you get a chance, could you do a quick check whether this
mail is seen by mailman?

Thanks,
Nick





 


___
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] How to control visibility cycling of headlines using custom tags?

2010-03-26 Thread Kevin D. Robbins
Hi Carsten,

Thanks for your quick reply. Would you consider this as a feature request to
add the option to define new tags that will provide the same visibility
cycling behavior as the archive tag? I do use archiving, so while it works
for now it isn't a great solution to have lots of headings tagged archive
that aren't really archived. For example, agenda views will skip over my
headlines that I've tagged archive just to keep them closed by default.

Thanks for your great work! I really enjoy orgmode.

Kevin

On Fri, Mar 26, 2010 at 11:21 AM, Carsten Dominik  wrote:

>
> On Mar 26, 2010, at 4:36 PM, Kevin D. Robbins wrote:
>
>  Hello,
>>
>> I have not been able to find how to control visibility cycling of
>> individual headlines. I want to be able to use my own tags, but have their
>> visibility cycling behave just like when the headline is tagged with the
>> archive tag. That is, I want to create custom tags that keep a headline
>> closed except for when using C-TAB on the headline.
>>
>> Is this currently possible?
>>
>
> No, only a single tag is supported for this purpose.  You can change the
> tag name with the variable org-archive-tag.
>
>
> - 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] possible bug: TAB after elipsis

2010-03-26 Thread John Hendy
In my limited experience, I have already encountered this and been
surprised. I can see it both ways:

- On one hand: technically, the lead up of asterisks and the actual text
define the headline itself, as Carsten has pointed out.

- On the other hand, from a user standpoint I think it would be convenient.
I am not well versed in my keyboard-shortcut-fu, but I'm practicing and use
M-a/e a bit. One of the reasons this behavior is a bit annoying is that M-a
leads one to the spot /after/ an ellipsis. From there I want to press tab
and see the headline... but no dice. I admit that I can begin to use the
shortcuts specifically for navigating headlines. Learning a little at a time
and so currently I don't.

Anyway, my vote goes to expand it, even if technically the cursor is after
the 'body' since the 'body' is represented by the ellipsis. I think once it
is folded it serves only as a representation of the headline, not anything
useful having to do with actual folded text anymore.


John

On Fri, Mar 26, 2010 at 3:38 AM,  wrote:

>
> On 26 Mar 2010, at 07:32, Carsten Dominik wrote:
>
> > On Mar 24, 2010, at 7:04 PM, Anthony Lander wrote:
> >
> >> If the cursor is after the elipsis on a folded entry like this:
> >>
> >>   Some entry...|
> >>
> >> pressing TAB doesn't expand the entry, or in fact, do anything useful at
> all. Is it possible to get it to expand the entry, or am I missing
> something?
> >
> > Cursor after the dots means the cursor is no longer in the headline,
> > in fact it is no longer in the entry at all.
>
> Well, that may be technically correct, but from a UI point of view it
> isn't. We're still one the same (head)_line_, no?
>
> Not that I find this an important issue to fix, mind you :-)
>
> Cheers,
> Peter.
>
> ___
> 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] How to control visibility cycling of headlines using custom tags?

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 4:36 PM, Kevin D. Robbins wrote:


Hello,

I have not been able to find how to control visibility cycling of  
individual headlines. I want to be able to use my own tags, but have  
their visibility cycling behave just like when the headline is  
tagged with the archive tag. That is, I want to create custom tags  
that keep a headline closed except for when using C-TAB on the  
headline.


Is this currently possible?


No, only a single tag is supported for this purpose.  You can change  
the tag name with the variable org-archive-tag.



- 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] [Org-mode] Stop exporting u...@hostname to html

2010-03-26 Thread John Hendy
Thanks for the replies.

- Carsten: Guessing that I need to pull from git to have this new behavior?
--- I'm guessing it's new as (setq org-export-email-info nil) did not have
an effect for me (would indicate that perhaps this variable does not exist
in my version?)

- Re. the variable/option name: I didn't check the org-exporg.el file... I
was going by the options listed here:
http://orgmode.org/manual/Export-options.html. Based on the replies, I think
I'm correct in saying that there actually is no variable to target just the
email portion of the author's info, right? It's either author name + email
or nothing? This has been my result when using '#+OPTIONS: author:nil'
--- I'm guessing this is why Carsten implemented the above.

--- To clarify, I'm not setting up to export a 'whole project' I just
use 'C-c C-e b' to export an html of what I'm working on. Just looking to
change the behavior when exporting one .org file. I have seen the page for
the kit-and-kaboodle export of a whole tree and just wanted to clarify that
I'm not doing that. They may use the same method but since I'm new I don't
know so I wanted to specify my purpose.


John


On Fri, Mar 26, 2010 at 9:59 AM, David Maus  wrote:

> Nick Dokos wrote:
> >David Maus  wrote:
>
> >> >Perhaps a silly question: just wondering if it's possible to stop
> >> >having this at the bottom of every html file I export:
> >>
> >> >/-
> >> >| Author: John W. Henderson 
> >> >| Date: 2010-03-25 21:56:05 CDT
> >> >| HTML generated by org-mode 6.34trans in emacs 23
> >> >\--
> >>
> >> >I'm all for the date and supporting people knowing this is from
> >> >org-mode/emacs but I don't really want the username/hostname thingy
> >> >there. I have Author set via #+AUTHOR. I can't find any reference to
> >> >host/hostname in the manual and with other google searches.
> >>
> >> You *should* be able to suppress the author info by setting the
> >> property :author-info to nil in the publish project alist.
> >>
> >> However, it looks like there's a malfunction on Org's side: Setting
> >> this option to nil does have no effect.
> >>
>
> >Setting it globally by setting the variable org-export-author-info to
> >nil seems to work OK.  But setting it in the file #+OPTIONS line:
>
> >#+OPTIONS: author-info:nil
>
> >does not seem to work, so there seems to be a disconnect there.
>
> It's a typo in the variables docstring: The infile option is
> author:nil.
>
> (attached patch fixes typo)
>
>  -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber dmj...@jabber.org
> Email. dm...@ictsoc.de
>
___
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-babel] How to refer to a specific property when it is defined multiple times?

2010-03-26 Thread Eric Schulte
Hi Julien,

Is the following alternative sufficient?

* heading A
:PROPERTIES:
:BUSY_PROPERTY: AAA
:END:
* heading B
:PROPERTIES:
:BUSY_PROPERTY: BBB
:END:

#+begin_src emacs-lisp  :var test=(org-entry-get nil "BUSY_PROPERTY" t)
test
#+end_src
#+results:
: BBB

#+begin_src emacs-lisp  :var test=(car (org-property-values "BUSY_PROPERTY"))
test
#+end_src

#+results:
: BBB

#+begin_src emacs-lisp  :var test=(cadr (org-property-values "BUSY_PROPERTY"))
test
#+end_src

#+results:
: AAA


Julien Fantin  writes:

> Consider the following :
>
> * heading A
> :PROPERTIES:
> :BUSY_PROPERTY: AAA
> :END:
> * heading B
> :PROPERTIES:
> :BUSY_PROPERTY: BBB
> :END:
>
> #+begin_src emacs-lisp  :var test=(org-entry-get nil "BUSY_PROPERTY" t)
> test
> #+end_src
> #+results:
> : BBB
>
> #+begin_src emacs-lisp  :var test=(org-property-values "BUSY_PROPERTY")
> test
> #+end_src
> #+results:
> | BBB | AAA |
>
>
> Is there a way I can refer to my BUSY_PROPERTY, in the context of particular
> heading ?
> Has shown above, I can not get a reference to the heading it was defined in.
> Is there a way to deal with those namespacing conerns right now ?
>
> Note : This emacs-lisp evaluation in src headers has only been recently
> implemented by Eric schulte.
>
> cheers
> ___
> 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] [org-babel] How to refer to a specific property when it is defined multiple times?

2010-03-26 Thread Dan Davison
Julien Fantin  writes:

> Consider the following :
>  
> * heading A
> :PROPERTIES:
> :BUSY_PROPERTY: AAA
> :END:
> * heading B
> :PROPERTIES:
> :BUSY_PROPERTY: BBB
> :END:
>
> #+begin_src emacs-lisp  :var test=(org-entry-get nil "BUSY_PROPERTY" t)
> test
> #+end_src
> #+results:
> : BBB
>
> #+begin_src emacs-lisp  :var test=(org-property-values "BUSY_PROPERTY")
> test
> #+end_src
> #+results:
> | BBB | AAA |
>
>
> Is there a way I can refer to my BUSY_PROPERTY, in the context of particular
> heading ?

Hi Julien,

You've probably thought of these, but the ways I can think of are


An org-babel method: 


1. place a "reporter" elisp block in the heading, e.g.

* heading A
:PROPERTIES:
:BUSY_PROPERTY: AAA
:END:

#+source: reporter-A
#+begin_src emacs-lisp :var prop=""
(org-entry-get nil prop t)
#+end_src

* heading B
:PROPERTIES:
:BUSY_PROPERTY: BBB
:END:

#+begin_src emacs-lisp :var test=reporter-A(prop="BUSY_PROPERTY")
test
#+end_src

#+results:
: AAA

Elisp methods:
--

I think identifying headings with CUSTOM_IDs, and usinng the org
function org-id-find could help here:

1. Expand the elisp code in the :var reference so that it moves to the
   desired heading before calling org-entry-get, under the protection of
   a save-excursion.

2. Put the elisp code in (1) into an elisp block
   "get-property-at-heading", and use something like 
   :var test=get-property-at-heading(heading-id=id, prop="BUSY_PROPERTY")

Dan


> Has shown above, I can not get a reference to the heading it was defined in.
> Is there a way to deal with those namespacing conerns right now ?
>
> Note : This emacs-lisp evaluation in src headers has only been recently
> implemented by Eric schulte.
>
> cheers
> ___
> 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] using orgmode to send html mail?

2010-03-26 Thread Eric Schulte
Hi David,

David Maus  writes:

[...]

> Two remarks:
>
> 1st/
>
> ,
> | (add-to-list 'html-images
> |  (org-mail-file (concat "image/" ext) path id))
> `
>
> Using the file extension as subtype is not in compliance with the
> specs.  For instance the MIME type of "filename.jpg" is image/jpeg,
> not image/jpg (cf. RFC 2046, 4.2).
>
> What you need is kind of a function or software that returns MIME type
> of a file name.  In SEMI it's `mime-find-file-type'.  Or maybe don't
> set the type, maybe mml will pick a type for you.
>

Ah thanks, I will look to see if there is such a function distributed
with the core Emacs, else a simple alist should suffice.

>
> 2nd/
>
> The usage of multipart/alternative is not in compliance with the
> specs, too.  There it reads:
>
> RFC2046, 5.1.4
>
> ,
> | 5.1.4. Alternative Subtype
> |
> | The "multipart/alternative" type is syntactically identical to
> | "multipart/mixed", but the semantics are different. In particular,
> | each of the body parts is an "alternative" version of the same
> | information.
> |
> | Systems should recognize that the content of the various parts are
> | interchangeable. Systems should choose the "best" type based on the
> | local environment and references, in some cases even through user
> | interaction. As with "multipart/mixed", the order of body parts is
> | significant. In this case, the alternatives appear in an order of
> | increasing faithfulness to the original content. In general, the best
> | choice is the LAST part of a type supported by the recipient system's
> | local environment.
> |
> | In general, user agents that compose "multipart/alternative" entities
> | must place the body parts in increasing order of preference, that is,
> | with the preferred format last. For fancy text, the sending user agent
> | should put the plainest format first and the richest format
> | last. Receiving user agents should pick and display the last format
> | they are capable of displaying. In the case where one of the
> | alternatives is itself of type "multipart" and contains unrecognized
> | sub-parts, the user agent may choose either to show that alternative,
> | an earlier alternative, or both.
> `
>
> So if you attach *only a part* of the plain text message body, you
> should not use multipart/alternative: Because
>
>   1. a part of a message is not "an 'alternative' version of the same
>  information."
>
>   2. if recipients user agent prefers html messages it will display
>  only the html'ized part.
>

I should have been clearer here.  I *am* using the multipart/alternative
appropriately.  When a chunk of org-mode text is converted to html I am
adding a single multipart/alternative block with two alternatives, both
the plain org-mode text, and the html, so that users like me who prefer
to see plain text can do so, and users of web clients like gmail can see
nice markup.

>
> Better use multipart/alternative for plain text and html of the entire
> body and additional multipart/mixed for snippets.  If the html output
> should contain images, than maybe use a multipart/mixed with type
> text/html beneath the text/plain, so the receiving MUA might pick it
> up when prefering html.
>
> With regards to SEMI the delimiters are (inserted a space between two
> succeeding dashes):
>
>  - single entity:

And the limits of user email to discuss email have been reached :)

gnus seems to have mangled some of the following examples, but I have
tried to flesh out the 'semi portions org-mail-htmlize given what I was
able to salvage (see the latest commit).  I still can't figure out the
SEMI multipart/alternative syntax.  Please let me know if you have the
syntax at hand, feel like submitting a patch, or you would like commit
permission to the git repo.

Much 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] clocktable display format

2010-03-26 Thread Olivier Schwander
Hello,

I am using clocktable to display a summary of the effort in a subtree.
As I am not particularly interested in precise hourly details, I would
like to display the total time in days instead of hours.

Now I have:
| L | Headline  | Time ||
|---+---+--+|
|   | *Total time*  | *528:00* ||

and I would like:
| L | Headline  | Time ||
|---+---+--+|
|   | *Total time*  | *22* ||

I tried to add a formula in the table, but it doesn't work since the
fields are in the format hour:minute. I suppose I could use org-babel to
parse the content of the field and convert it into days but it seems
rather complicated and I would be happy with a simple solution. Any
ideas ?

Thanks,

Olivier



___
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] using orgmode to send html mail?

2010-03-26 Thread David Maus
Eric Schulte wrote:
>So I believe inline LaTeX images are working in gnus, see here
>[cid]and immediately below

>[cid]

>This turned out to be fairly easy, and didn't require any encoding or
>explicit mime function calls.

>I've also re-structured the code so that it should be easy to apply the
>appropriate mime markup for WL and VM. There are now two mime-library
>dependent functions `org-mail-file' and `org-mail-multipart' each of
>which contains a `case' block for library-specific behavior, e.g.

>(case org-mail-mime-library
>  ('mml (format (concat "<#multipart type=alternative><#part type=text/plain>"
>"%s<#part type=text/html>%s<#/multipart>\n")
>plain html))
>  ('semi "?")
>  ('vm "?"))

>everything is available at http://github.com/eschulte/org-html-mail

>I'd love to hear feedback, suggestions, or expansion of the missing WL
>and VM portions of the two functions mentioned above.

Two remarks:

1st/

,
| (add-to-list 'html-images
|  (org-mail-file (concat "image/" ext) path id))
`

Using the file extension as subtype is not in compliance with the
specs.  For instance the MIME type of "filename.jpg" is image/jpeg,
not image/jpg (cf. RFC 2046, 4.2).

What you need is kind of a function or software that returns MIME type
of a file name.  In SEMI it's `mime-find-file-type'.  Or maybe don't
set the type, maybe mml will pick a type for you.

2nd/

The usage of multipart/alternative is not in compliance with the
specs, too.  There it reads:

RFC2046, 5.1.4

,
| 5.1.4. Alternative Subtype
|
| The "multipart/alternative" type is syntactically identical to
| "multipart/mixed", but the semantics are different. In particular,
| each of the body parts is an "alternative" version of the same
| information.
|
| Systems should recognize that the content of the various parts are
| interchangeable. Systems should choose the "best" type based on the
| local environment and references, in some cases even through user
| interaction. As with "multipart/mixed", the order of body parts is
| significant. In this case, the alternatives appear in an order of
| increasing faithfulness to the original content. In general, the best
| choice is the LAST part of a type supported by the recipient system's
| local environment.
|
| In general, user agents that compose "multipart/alternative" entities
| must place the body parts in increasing order of preference, that is,
| with the preferred format last. For fancy text, the sending user agent
| should put the plainest format first and the richest format
| last. Receiving user agents should pick and display the last format
| they are capable of displaying. In the case where one of the
| alternatives is itself of type "multipart" and contains unrecognized
| sub-parts, the user agent may choose either to show that alternative,
| an earlier alternative, or both.
`

So if you attach *only a part* of the plain text message body, you
should not use multipart/alternative: Because

  1. a part of a message is not "an 'alternative' version of the same
 information."

  2. if recipients user agent prefers html messages it will display
 only the html'ized part.

Better use multipart/alternative for plain text and html of the entire
body and additional multipart/mixed for snippets.  If the html output
should contain images, than maybe use a multipart/mixed with type
text/html beneath the text/plain, so the receiving MUA might pick it
up when prefering html.

With regards to SEMI the delimiters are (inserted a space between two
succeeding dashes):

 - single entity:



bindPnueGQg2l.bin
Description: type/subtype


pgpm5GWk8eiO7.pgp
Description: PGP signature
___
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-mode] Stop exporting u...@hostname to html

2010-03-26 Thread David Maus
Nick Dokos wrote:
>David Maus  wrote:

>> >Perhaps a silly question: just wondering if it's possible to stop
>> >having this at the bottom of every html file I export:
>>
>> >/-
>> >| Author: John W. Henderson 
>> >| Date: 2010-03-25 21:56:05 CDT
>> >| HTML generated by org-mode 6.34trans in emacs 23
>> >\--
>>
>> >I'm all for the date and supporting people knowing this is from
>> >org-mode/emacs but I don't really want the username/hostname thingy
>> >there. I have Author set via #+AUTHOR. I can't find any reference to
>> >host/hostname in the manual and with other google searches.
>>
>> You *should* be able to suppress the author info by setting the
>> property :author-info to nil in the publish project alist.
>>
>> However, it looks like there's a malfunction on Org's side: Setting
>> this option to nil does have no effect.
>>

>Setting it globally by setting the variable org-export-author-info to
>nil seems to work OK.  But setting it in the file #+OPTIONS line:

>#+OPTIONS: author-info:nil

>does not seem to work, so there seems to be a disconnect there.

It's a typo in the variables docstring: The infile option is
author:nil.

(attached patch fixes typo)

 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


fix-docstring-author-info.diff
Description: Binary data


pgpMgaEQAm717.pgp
Description: PGP signature
___
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-babel] How to refer to a specific property when it is defined multiple times?

2010-03-26 Thread Julien Fantin
Consider the following :

* heading A
:PROPERTIES:
:BUSY_PROPERTY: AAA
:END:
* heading B
:PROPERTIES:
:BUSY_PROPERTY: BBB
:END:

#+begin_src emacs-lisp  :var test=(org-entry-get nil "BUSY_PROPERTY" t)
test
#+end_src
#+results:
: BBB

#+begin_src emacs-lisp  :var test=(org-property-values "BUSY_PROPERTY")
test
#+end_src
#+results:
| BBB | AAA |


Is there a way I can refer to my BUSY_PROPERTY, in the context of particular
heading ?
Has shown above, I can not get a reference to the heading it was defined in.
Is there a way to deal with those namespacing conerns right now ?

Note : This emacs-lisp evaluation in src headers has only been recently
implemented by Eric schulte.

cheers
___
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 control visibility cycling of headlines using custom tags?

2010-03-26 Thread Kevin D. Robbins
Hello,

I have not been able to find how to control visibility cycling of individual
headlines. I want to be able to use my own tags, but have their visibility
cycling behave just like when the headline is tagged with the archive tag.
That is, I want to create custom tags that keep a headline closed except for
when using C-TAB on the headline.

Is this currently possible?

Thanks,

Kevin
___
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] Why is the "Date: ..." line in my Org-mode produced html wrong?

2010-03-26 Thread Gary .
On the bottom of the HTML document there is a line that looks like
Date: 2010-03-26 14:18:57 GMT
but I'm not in GMT. My system isn't in GMT. The date command says Fr,
26. Mrz 2010 16:22:37 which is correct.


___
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] feature request: save LaTeX as title for ltxpng html images

2010-03-26 Thread Eric Schulte
Hi,

HTML  tags allow both alternate text (rendered when the image can't
be rendered), as well as titles which show as tooltips on hover.  I
wonder if it would be difficult to place the text latex used in
generating an image into these two fields.  If not then I at least would
find it useful.

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


Re: [Orgmode] using orgmode to send html mail?

2010-03-26 Thread Eric Schulte
Hi,

  plain html))
('semi "?")
('vm "?"))
#+end_src

everything is available at http://github.com/eschulte/org-html-mail

I'd love to hear feedback, suggestions, or expansion of the missing WL
and VM portions of the two functions mentioned above.
<><>
David Maus  writes:

> Okay, took a look on the specs and attached is a memo on how an
> implementation of org to MIME could be done.  The MIME delimiters of
> SEMI and mml are quite similar so there's already a generic function
> that creates representation of a MIME message for both.
>
> I've published this memo on Worg, too, occupying some space in
>
> http://orgmode.org/worg/org-devel.php
>

I took a look at this page, but it wasn't entirely clear to me what the
SEMI markup language should look like.  As mentioned above, for now I've
gone with `case' statements for each mime library, rather than an alist
of format strings -- in the off chance that different libraries could
require information in a different order.

>
> The tasks at hand would be: find the functions that attach a file in
> mime-edit-mode and mml-mode and look who they can be utilized.
>

I think that the mime markup libraries should handle attaching image
(including any encoding issues).  For example in gnus with mml only the
path to the image need be supplied.

>
> Best
>  -- David
>

Cheers -- Eric

>
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber dmj...@jabber.org
> Email. dm...@ictsoc.de
>
>
> Author: David Maus 
> Date: 2010-03-25 21:56:50 CET
>
>
> Table of Contents
> =
> 1 Representing a MIME internet message
> 2 MIME delimiters of SEMI and mml
> 3 Generic function
> 4 Open questions
> 4.1 How to handle charset information?
> 4.2 How to attach files?
> 5 Quotes from the specs
> 5.1 MIME multipart: Notion of structured, related body parts
> 5.2 MIME multipart: order of entities inside a multipart
>
>
> 1 Representing a MIME internet message
> ~~~
>
>A MIME internet message consists of one or more MIME entities. Each
>MIME entity is of a distinct type and subtype, has a body and
>optional MIME headers related to it's content.
>
>A MIME entity is represented as a list:
>
>(TYPE SUBTYPE BODY CONT-HEAD)
>
>TYPE: Symbol of MIME media type (e.g. text, video, audio).
>
>SUBTYPE: Symbol of MIME media subtype (e.g. plain, html).
>
>BODY: String with entity body -or- list of other MIME entities.
>
>CONT-HEAD: List of cons with content related MIME header
>   fields.  The name of the header field without the
>   prefix "Content-" is car, the value cdr.
>
>Example:
>
>
>   '(text html "Headline" ((disposition . inline)))
>
>For messages of type multipart the body consists of a list of one
>or more MIME entities.
>
>   '(multipart alternative
>   '((text plain "* Headline")
> (text html "headline")))
>
> 2 MIME delimiters of SEMI and mml
> ~~
>
>The MIME delimiters are defined in an association list with a
>symbol of the library's name as key and delimiter format strings as
>values.  For each library there are three formatstrings.
>
>(SYMBOL DELIM-SINGLE DELIM-SINGLE-CONT DELIM-MULTI)
>
>DELIM-SINGLE: Denoting a single MIME entity.
>
>  Strings are passed in this order:
>
>  1. type
>
>  2. subtype
>
>  3. content header
>
>  4. body
>
>DELIM-SINGLE-CONT: Format of content header strings.
>
> Strings are passed in this order:
>
> 1. header field name
>
> 2. header field value
>
>DELIM-MULTI: Enclosing parts of a multipart entity.
>
> Strings are passed in this order:
>
> 1. subtype
>
> 2. body
>
> 3. subtype
>
>
>   (setq org-mail-htmlize-mime-delimiter-alist
> '((semi "\n- -[%s/%s%s]\n%s" "\ncontent-%s: %s" "\n- -<<%s>>-{\n%s\n- 
> -}-<<%s>>")
>   (mml "\n<#part type=\"%s/%s\"%s>\n%s" " %s=\"%s\"" "\n<#multipart 
> type=\"%s\">\n%s\n<#/multipart>")))
>
> 3 Generic function
> ~~~
>
>This generic function returns a string representation with MIME
>delimiters depending on the variable =org-mail-htmlize-mime-lib=.
>
>
>   (setq org-mail-htmlize-mime-lib 'semi)
>
>
>   (defun org-mail-htmlize-mime-entity (type subtype body
> &optional cont-head)
> "Return string representation of MIME entity.
>
>   TYPE is the type of entity body.
>   SUBTYPE is the subtype of body.
>   BODY is the body of the entity.  Either a string with the body
>   content or a list with one ore more MIME entities.
>   Optional argument CONT-HEAD is a list of cons with content
>   specific headers, name in car and value in cdr."
> (let ((delimlst (assoc org-mail-htmlize-mime-l

Re: [Orgmode] Re: LaTeX package dependencies

2010-03-26 Thread Darlan Cavalcante Moreira

I install almost every latex package from the texlive distribution in the
official repositories from Ubuntu (9.10) including textlive-fonts-extra and
I don't have the MnSymbol package.

 - Darlan

At Fri, 26 Mar 2010 10:00:47 -0400,
Matt Lundin  wrote:
> 
> Mikael Fornius  writes:
> 
> > * texlive 2009 (Arch-linux) misses MnSymbol
> 
> MnSymbol is part of texlive-fontsextra on archlinux.
> 
> % locate MnSymbol.sty | xargs pacman -Qo
> /usr/share/texmf-dist/tex/latex/mnsymbol/MnSymbol.sty is owned by 
> texlive-fontsextra 2009.16617-1
> 
> The rest of the packages are owned by texlive-core.
> 
> Best,
> Matt
> 
> 
> ___
> 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


[Orgmode] Re: LaTeX package dependencies

2010-03-26 Thread Matt Lundin
Mikael Fornius  writes:

> * texlive 2009 (Arch-linux) misses MnSymbol

MnSymbol is part of texlive-fontsextra on archlinux.

% locate MnSymbol.sty | xargs pacman -Qo
/usr/share/texmf-dist/tex/latex/mnsymbol/MnSymbol.sty is owned by 
texlive-fontsextra 2009.16617-1

The rest of the packages are owned by texlive-core.

Best,
Matt


___
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: Switch language on heading lines in Latex export (was Re: [Orgmode] Re: org-beamer: How to get items appear sequentially rather than all at once)

2010-03-26 Thread Darlan Cavalcante Moreira

As I understand, whenever org sees something like "\something" it will
understand that this is a latex command and it will just write it as it is
in the exported latex file. Therefore, if you put something like
#+LATEX_HEADER: \newcommand{\blue}[1] {\textcolor{blue}{#1}}
in the beginning of the org file than latex will know the command "blue"
and writing "\blue{some text}" in the org presentation will work as
expected. I even tried defining latex commands with two arguments such as
the with the line below
#+LATEX_HEADER: \newcommand{\blueRed}[2]{\textcolor{blue}{#1} 
\textcolor{red}{#2}}
and it works!

I don't know this newfontfamily command in latex, but if you can use a
command in latex then you can do the same in org.

Notice, however, that I used "#+LATEX_HEADER:". That is, I created a macro
in Latex, not in org. Macros defined in org are created with "#+MACRO:".

 - Darlan

At Thu, 25 Mar 2010 21:48:07 +0900,
Christian Wittern  wrote:
> 
> Darlan,
> 
> Thank you again.  I think I understand the problem now.
> 
> On 2010-03-25 20:02, Darlan Cavalcante Moreira wrote:
> > Summarizing, define your macros as Latex macros instead of TeX ones and
> > they should work. That is, something like \J{XXX}.
> >
> 
> Currently, the definition is
> \newfontfamily{\J}[Scale=0.85]{Osaka}
> 
> If I say \J{XX} in my documents, org-mode's latex export does the right 
> thing and I get what I need, so does this definition as you call it also 
> define a LaTeX macro?  Or is this just pure luck?  Still mystified by 
> all this, but very glad that I can say goodbye to WYSWIG presentation 
> software:-)
> 
> All the best,
> 
> Christian
> 


___
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: LaTeX package dependencies

2010-03-26 Thread Mikael Fornius

* texlive 2009 (Arch-linux) misses MnSymbol

-- 
Mikael Fornius


___
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: Repeating TODOs

2010-03-26 Thread Gary .
On 3/25/10, Memnon Anon wrote:

> ,[ (info "(org)Tracking your habits") ]
> |   5. The TODO may also have minimum and maximum ranges specified by
> |  using the syntax `.+2d/3d', which says that you want to do the
> |  task at least every three days, but at most every two days.
> `
>
> The whole page gave me the impression that the .-syntax is the only one
> supported.

Right. That refers to org-habit.el from version 6.32
(http://orgmode.org/Changes.html#sec-3.2). I was following
http://orgmode.org/worg/org-tutorials/tracking-habits.php
as I am using an earlier version. Sorry if that wasn't clear.


___
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] LaTeX package dependencies

2010-03-26 Thread Karsten Heymann
Carsten,

Carsten Dominik  writes:
> seems like you know what you are talking about.

A little bit, although sadly I had few chances to actually use LaTeX
since I left the University. So I enjoy this even more :-)

> So maybe you can help me with this.
>
> I would like to
>
> 1. Require these packages with \usepackage or similar, but not
>have an error thrown when they are not available
>
> 2. Provide, as you say, alternative versions with providecommand.
>How would I do this?  What do you mean by simple-text-alternatives?

I put the answer to both questions into a minimal example:

\documentclass{minimal} % should work with any document class
\IfFileExists{mnsymbol.sty}{%
  \usepackage{mnsymbol}
}{%
  \PackageWarning{orgmode}{mnsymbol.sty not found, using fall-back-replacements}
}
\providecommand*{\mnstar}{*} % provide alternative in case command not available

\begin{document}
\mnstar
\end{document}


Some notes:

 - IfFileExists finds the sty file anywhere in the tex load
   path (you can verify this with "kpsewhich FILE" on the commandline).
   These commands are explained in the LaTeX Class writing guide:
   texdoc clsguide
 - \providecommand* is the same as \providecommand, but saves a tiny bit
   of memory as no arguments are allowed that contain multiple
   paragraphs (not making the *-variant the default for \providecommand
   and \newcommand is in my opinion clearly a design flaw of LaTeX).

Hope to help,

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] LaTeX package dependencies

2010-03-26 Thread Robert Klein

Hi Carsten,

I tested several systems:

* teTeX 3.0 (FreeBSD 7.0, 7.2, and 7.3, openSuSE 10.2)
  misses MnSymbol
* texlive 2007 (openSuSE 10.3 and 11.1):
  misses MnSymbol
* texlive 2008 (openSuSE 11.2):
  doesn't work when using both wasysym and MnSymbol together
  (duplicate symbols \iint and \iiint)
* texlive 2009 (Windows 7):
  doesn't work when using both wasysym and MnSymbol together
  (duplicate symbols \iint and \iiint)


My "minimal" latex test file is:

\documentclass{article}
\usepackage{t1enc}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{MnSymbol}
\begin{document}
test
\end{document}


Best regards
Robert






Am 26.03.2010, 05:52 Uhr, schrieb Carsten Dominik  
:



Hi everyone,

I am working on better entity (special symbol) support for
export, based on a list Ulf Stegemann has compiled.
The list Ulf has sent me requires the following LaTeX
packages to be available:

* t1enc
* textcomp
* marvosym
* wasysym
* MnSymbol

Before I introduce new dependencies on these packages, I would like
to ask that many of you check if these packages are available
in the LaTeX distribution you are using.  Please check,
and let me know which package you do not have.

Thanks!

- 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



--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/


___
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] possible bug: TAB after elipsis

2010-03-26 Thread peter . frings

On 26 Mar 2010, at 07:32, Carsten Dominik wrote:

> On Mar 24, 2010, at 7:04 PM, Anthony Lander wrote:
> 
>> If the cursor is after the elipsis on a folded entry like this:
>> 
>>   Some entry...|
>> 
>> pressing TAB doesn't expand the entry, or in fact, do anything useful at 
>> all. Is it possible to get it to expand the entry, or am I missing something?
> 
> Cursor after the dots means the cursor is no longer in the headline,
> in fact it is no longer in the entry at all.

Well, that may be technically correct, but from a UI point of view it isn't. 
We're still one the same (head)_line_, no?

Not that I find this an important issue to fix, mind you :-)

Cheers,
Peter.

___
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: possible bug: TAB after elipsis

2010-03-26 Thread Ben Finney
Carsten Dominik  writes:

> On Mar 24, 2010, at 7:04 PM, Anthony Lander wrote:
>
> > If the cursor is after the elipsis on a folded entry like this:
> >
> >  Some entry...|
> >
> > pressing TAB doesn't expand the entry, or in fact, do anything
> > useful at all. Is it possible to get it to expand the entry, or am I
> > missing something?
>
> Cursor after the dots means the cursor is no longer in the headline,
> in fact it is no longer in the entry at all.

But neither is it in the following entry, surely?

I agree with the original reporter that this goes against expectations.
Pressing TAB *anywhere* on the same line of a collapsed item should
expand it as normal, no? Can this be fixed?

-- 
 \   “Working out the social politics of who you can trust and why |
  `\  is, quite literally, what a very large part of our brain has |
_o__)   evolved to do.” —Douglas Adams |
Ben Finney



___
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] LaTeX package dependencies

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 10:11 AM, Karsten Heymann wrote:


Hi,

David Maus  writes:

Carsten Dominik wrote:

I am working on better entity (special symbol) support for
export, based on a list Ulf Stegemann has compiled.
The list Ulf has sent me requires the following LaTeX
packages to be available:



* t1enc
* textcomp
* marvosym
* wasysym
* MnSymbol



On Debian GNU/Linux "Testing" these packages are available:

,
| t1enc texlive-latex-base: /usr/share/texmf-texlive/tex/latex/base/ 
t1enc.sty
| textcomp texlive-latex-base: /usr/share/texmf-texlive/tex/latex/ 
base/textcomp.sty
| marvosym texlive-fonts-recommended: /usr/share/texmf-texlive/tex/ 
latex/marvosym/marvosym.sty
| wasysym texlive-fonts-recommended: /usr/share/texmf-texlive/tex/ 
latex/wasysym/wasysym.sty
| MnSymbol texlive-fonts-extra: /usr/share/texmf-texlive/tex/latex/ 
mnsymbol/MnSymbol.sty

`


A small note on this: anything that's in tex/latex/base can be trusted
to be included in any LaTeX installation (newer than ~10 years,  
probably

;-) ). Regarding marvosym, wasysym, mnsymbol: I think they are quite
popular, but I would recommend to ship simple-text-alternatives via
\providecommand for all symbols used from these packages.



Hi Karsten,

seems like you know what you are talking about.  So maybe you can help  
me with this.


I would like to

1. Require these packages with \usepackage or similar, but not
   have an error thrown when they are not available

2. Provide, as you say, alternative versions with providecommand.
   How would I do this?  What do you mean by simple-text-alternatives?

Thanks!

- 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] LaTeX package dependencies

2010-03-26 Thread Karsten Heymann
Hi,

David Maus  writes:
> Carsten Dominik wrote:
>>I am working on better entity (special symbol) support for
>>export, based on a list Ulf Stegemann has compiled.
>>The list Ulf has sent me requires the following LaTeX
>>packages to be available:
>
>>* t1enc
>>* textcomp
>>* marvosym
>>* wasysym
>>* MnSymbol

> On Debian GNU/Linux "Testing" these packages are available:
>
> ,
> | t1enc texlive-latex-base: /usr/share/texmf-texlive/tex/latex/base/t1enc.sty
> | textcomp texlive-latex-base: 
> /usr/share/texmf-texlive/tex/latex/base/textcomp.sty
> | marvosym texlive-fonts-recommended: 
> /usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty
> | wasysym texlive-fonts-recommended: 
> /usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty
> | MnSymbol texlive-fonts-extra: 
> /usr/share/texmf-texlive/tex/latex/mnsymbol/MnSymbol.sty
> `

A small note on this: anything that's in tex/latex/base can be trusted
to be included in any LaTeX installation (newer than ~10 years, probably
;-) ). Regarding marvosym, wasysym, mnsymbol: I think they are quite
popular, but I would recommend to ship simple-text-alternatives via
\providecommand for all symbols used from these packages.

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] LaTeX package dependencies

2010-03-26 Thread Alexander Poslavsky

On Mar 26, 2010, at 5:52 AM, Carsten Dominik wrote:

> Hi everyone,
> 
> I am working on better entity (special symbol) support for
> export, based on a list Ulf Stegemann has compiled.
> The list Ulf has sent me requires the following LaTeX
> packages to be available:
> 
> * t1enc
> * textcomp
> * marvosym
> * wasysym
> * MnSymbol
> 
> Before I introduce new dependencies on these packages, I would like
> to ask that many of you check if these packages are available
> in the LaTeX distribution you are using.  Please check,
> and let me know which package you do not have.

On OS X texlive 2009:

s1lver:~ plovs$ find /usr/local/texlive/2009/ | grep sty$ | grep 
"t1enc\|textcomp\|marvosym\|wasysym\|MnSymbol"

/usr/local/texlive/2009//texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompfix.sty
/usr/local/texlive/2009//texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompsym.sty
/usr/local/texlive/2009//texmf-dist/tex/latex/base/t1enc.sty
/usr/local/texlive/2009//texmf-dist/tex/latex/base/textcomp.sty
/usr/local/texlive/2009//texmf-dist/tex/latex/marvosym/marvosym.sty
/usr/local/texlive/2009//texmf-dist/tex/latex/mnsymbol/MnSymbol.sty
/usr/local/texlive/2009//texmf-dist/tex/latex/wasysym/wasysym.sty

gr,
alex

___
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-mode] Stop exporting u...@hostname to html

2010-03-26 Thread Carsten Dominik


On Mar 26, 2010, at 4:15 AM, John Hendy wrote:

Perhaps a silly question: just wondering if it's possible to stop  
having this at the bottom of every html file I export:


/-
| Author: John W. Henderson 
| Date: 2010-03-25 21:56:05 CDT
| HTML generated by org-mode 6.34trans in emacs 23
\--




The reason that it says usern...@hostname is because
you have not set up `user-mail-address'.

But you are raising a bigger issue - I guess we should not export the  
email

address in this way at all.

I'm all for the date and supporting people knowing this is from org- 
mode/emacs but I don't really want the username/hostname thingy  
there. I have Author set via #+AUTHOR. I can't find any reference to  
host/hostname in the manual and with other google searches.




You can also set the email address with #+EMAIL: y...@there.org

However, I have just checked in a change that turns off
exporting the email address alltogether.  If you want it back,
use

   (setq org-export-email-info t)

- 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: org-beamer bug

2010-03-26 Thread Carsten Dominik


On Mar 25, 2010, at 9:00 PM, Jason Dunsmore wrote:


Thanks for the explanation.

The documentation is confusing.


If this property is set, the entry will also get a `:B_environment:'
tag to make this visible.  This tag has no semantic meaning, it is
only a visual aid.


I thought there was actually a `:B_environment:' tag.  I also didn't
know that this was referring to auto-selecting the tag when using the
PROPERTIES selection interface (C-c C-c inside a PROPERTIES drawer).

For that part of the documentation, I would suggest:

``If this property is set using C-c C-c inside the properties drawer,
 the entry will also get an environment tag (eg. :B_block:) to make
 this visible. This tag has no semantic meaning, it is only a visual
 aid.''

The org-beamer-set-environment-tag docstring states:

``Set an environment tag, to determine the beamer environment to be  
used.

 This makes use of the fast tag selection interface.''

But it doesn't determine the beamer environment to be used.  I would
suggest instead:

``Set a beamer environment tag using the fast tag selection interface.
 This is only a visual aid to indicate the beamer environment
 configured in the :BEAMER_env: property.''

What is the point of having an interface to select the beamer
environment tags (C-c C-b) if they are auto-generated?


Hi Jason,  the documentation is indeed not very clear on this, also  
because the background is confusing:


1. Only the property counts, the tag is visual and has no semantic  
meaning
2. I am using a property because all the other beamer stuff is also  
properties

3. To make selecting the correct environment very convenient and fast,
   I am using a special version of the tag interface which will  
change both

   the tag and the property value.

I'll see if I can make the documentation clearer here. In fact, even  
the function
name org-beamer-set-environment-tag is bad, and I have just changed it  
to org-beamer-select-environment'.


While this does improve the documentation, I still think that more  
extensive documentation, examples and tutorial for the beamer support  
would be very good to have on Worg, and I have not lost hope that  
someone will pick up this task.




Also, the example from
http://orgmode.org/manual/Beamer-class-export.html shows a :B_block:  
tag

in use without the :BEAMER_env: property.

--8<---cut here---start->8---
***  
Request   :B_block:

Please test this stuff!
--8<---cut here---end--->8---

This should be:

--8<---cut here---start->8---
***  
Request   :B_block:

:PROPERTIES:
:BEAMER_env: block
:END:
Please test this stuff!
--8<---cut here---end--->8---


Indeed, thanks for catching this documentation bug.



Did org-beamer previously support configuring beamer environments via
tags?


Yes, for a short time


 If so, why was it removed?  It seems like a nice feature.


Because we added much more functionality, all of which was using  
properties.


Regards

- 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] possible bug: TAB after elipsis

2010-03-26 Thread Carsten Dominik


On Mar 24, 2010, at 7:04 PM, Anthony Lander wrote:


If the cursor is after the elipsis on a folded entry like this:

 Some entry...|

pressing TAB doesn't expand the entry, or in fact, do anything  
useful at all. Is it possible to get it to expand the entry, or am I  
missing something?


Cursor after the dots means the cursor is no longer in the headline,
in fact it is no longer in the entry at all.

- 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: apparently too stupid to use checkboxes

2010-03-26 Thread David Maus
Detlef Steuer wrote:
>[1  ]
>[1.1  ]
>>
>> >checkboxes stop functioning again.
>>
>> Do you still have the defmacro in .emacs?

Strange.  Because the only conclusion I can draw of this:

> while looking for the cause of my "checkbox problem" I found,
> that all works fine, if I issue
>
> make clean
>
> in my org-mode directory before editing.
>
> orgmode version is:
> release_6.34c-238-gc0707
> Org-mode version 6.34trans (release_6.34c.238.gc0707.dirty)
>
> If these very same files get byte-compiled with
> make
>
> checkboxes stop functioning again.
>
> There are no error messages during startup.
> If I can help any further identifying the real cause, let me know, please.

Is that the macro is available on run time but not on compile time.

In fact: At least on my system `ignore-errors' is /not/ defined in
cl-macs, but in subr.el that is shipped with Emacs since 22.3

,
| emacs22-el: /usr/share/emacs/22.3/lisp/subr.el.gz
| emacs23-el: /usr/share/emacs/23.1/lisp/subr.el.gz
`

The question is where the macro is defined in your setup (M-x apropos
RET ignore-errors RET).

Maybe Org should define the macro explitely if it is not available on
compile time?

HTH
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpeY2UoJIibH.pgp
Description: PGP signature
___
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-mode] Stop exporting u...@hostname to html

2010-03-26 Thread David Maus
Hi John,

John Hendy wrote:

>Perhaps a silly question: just wondering if it's possible to stop
>having this at the bottom of every html file I export:

>/-
>| Author: John W. Henderson 
>| Date: 2010-03-25 21:56:05 CDT
>| HTML generated by org-mode 6.34trans in emacs 23
>\--

>I'm all for the date and supporting people knowing this is from
>org-mode/emacs but I don't really want the username/hostname thingy
>there. I have Author set via #+AUTHOR. I can't find any reference to
>host/hostname in the manual and with other google searches.

You *should* be able to suppress the author info by setting the
property :author-info to nil in the publish project alist.

However, it looks like there's a malfunction on Org's side: Setting
this option to nil does have no effect.

HTH
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp93zkhNONx2.pgp
Description: PGP signature
___
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-mode] Stop exporting u...@hostname to html

2010-03-26 Thread Jan Böcker
On 26.03.2010 04:15, John Hendy wrote:
> Perhaps a silly question: just wondering if it's possible to stop having
> this at the bottom of every html file I export:
> 
> /-
> | Author: John W. Henderson  
> | Date: 2010-03-25 21:56:05 CDT
> | HTML generated by org-mode 6.34trans in emacs 23
> \--
> 
> I'm all for the date and supporting people knowing this is from
> org-mode/emacs but I don't really want the username/hostname thingy
> there. I have Author set via #+AUTHOR. I can't find any reference to
> host/hostname in the manual and with other google searches.
> 
> Thanks,
> John
> 

Hi John,

that's your email address - at least what org mode guesses it might be,
because it does not know.

You can set this with #+EMAIL.

Unfortunately, from what I gather from (info "(org) Export options"),
there seems to be no way to turn the email address off independently.

The manual says:
"author:turn on/off inclusion of author name/email into exported file"

So it seems author and email address can only be switched on/off together.

HTH, Jan


___
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] LaTeX package dependencies

2010-03-26 Thread David Maus
Carsten Dominik wrote:
>Hi everyone,

>I am working on better entity (special symbol) support for
>export, based on a list Ulf Stegemann has compiled.
>The list Ulf has sent me requires the following LaTeX
>packages to be available:

>* t1enc
>* textcomp
>* marvosym
>* wasysym
>* MnSymbol

>Before I introduce new dependencies on these packages, I would like
>to ask that many of you check if these packages are available
>in the LaTeX distribution you are using.  Please check,
>and let me know which package you do not have.

On Debian GNU/Linux "Testing" these packages are available:

,
| t1enc texlive-latex-base: /usr/share/texmf-texlive/tex/latex/base/t1enc.sty
| textcomp texlive-latex-base: 
/usr/share/texmf-texlive/tex/latex/base/textcomp.sty
| marvosym texlive-fonts-recommended: 
/usr/share/texmf-texlive/tex/latex/marvosym/marvosym.sty
| wasysym texlive-fonts-recommended: 
/usr/share/texmf-texlive/tex/latex/wasysym/wasysym.sty
| MnSymbol texlive-fonts-extra: 
/usr/share/texmf-texlive/tex/latex/mnsymbol/MnSymbol.sty
`

HTH
  -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp1dNtLpq3ST.pgp
Description: PGP signature
___
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