[Orgmode] clocksum of scheduled task

2010-03-30 Thread Alexandre Russel
Hi all,

  I have scheduled task:

* TODO daily work review   :WORK:
  SCHEDULED: 2010-03-30 Tue +1d
  CLOCK: [2010-03-30 Tue 07:36]
  - State DONE   [2010-03-29 Mon 09:04]
CLOCK: [2010-03-29 Mon 08:27]--[2010-03-29 Mon 09:04] =  0:37
  :PROPERTIES:
  :CLOCK_MODELINE_TOTAL: today
  :LAST_REPEAT: [2010-03-29 Mon 21:31]
  :END:

When I C-c a a, I see the task every day but monday with for each day
a 37mn clocksum.
I would like:
- to see the task on monday, marked done, with a clocksum of 37 mn
- see the task every other day, marked todo, with a clocksum of 0mn
(or no clocksum)

Is it possible or do I have to go throught cloning task ?
Note that I tried with/without the CLOCK_MODELINE_TOTAL and it has no
influence on the clocksum.

I am using version 6.34c

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

2010-03-30 Thread Eric Schulte
Hi,

The attached patch places the latex source into alt html image tags as
described below.  I think it should be safe, in that I remove all s
from inside of the alt string.

Thanks for the implementation advice -- Eric

diff --git a/lisp/org-html.el b/lisp/org-html.el
index b8925e7..2246daf 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -1529,7 +1529,8 @@ lang=\%s\ xml:lang=\%s\
   Create image tag with source and attributes.
   (save-match-data
 (if (string-match ^ltxpng/ src)
-	(format img src=\%s\/ src)
+	(format img src=\%s\ alt=\%s\/
+src (org-find-text-property-in-string 'org-latex-src src))
   (let* ((caption (org-find-text-property-in-string 'org-caption src))
 	 (attr (org-find-text-property-in-string 'org-attributes src))
 	 (label (org-find-text-property-in-string 'org-label src)))
	Modified lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index e30c49a..480e9f1 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -15183,7 +15183,12 @@ Some of the options can be changed using the variable
 		  (push ov org-latex-fragment-image-overlays)
 		  (goto-char end))
 	  (delete-region beg end)
-	  (insert link
+  (let ((link-beg (point))
+(link-end (progn (insert link) (point
+(add-text-properties
+ link-beg link-end
+ (list 'org-latex-src
+   (replace-regexp-in-string \  txt)))
 
 ;; This function borrows from Ganesh Swami's latex2png.el
 (defun org-create-formula-image (string tofile options buffer)


Carsten Dominik carsten.domi...@gmail.com writes:

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

 Hi,

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

2010-03-30 Thread Carsten Dominik

Hi Eric, looks good to me, please go ahead and apply this patch.

I would not have expected that this is such a compact change.
The only improvement I can see would be to use org-add-props to
put the properties on the link before inserting it and in this
way shave off a let form.

Thanks!

- Carsten
On Mar 30, 2010, at 8:26 AM, Eric Schulte wrote:


Hi,

The attached patch places the latex source into alt html image tags as
described below.  I think it should be safe, in that I remove all s
from inside of the alt string.

Thanks for the implementation advice -- Eric

diff --git a/lisp/org-html.el b/lisp/org-html.el
index b8925e7..2246daf 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -1529,7 +1529,8 @@ lang=\%s\ xml:lang=\%s\
  Create image tag with source and attributes.
  (save-match-data
(if (string-match ^ltxpng/ src)
-   (format img src=\%s\/ src)
+   (format img src=\%s\ alt=\%s\/
+src (org-find-text-property-in-string 'org-latex- 
src src))
  (let* ((caption (org-find-text-property-in-string 'org-caption  
src))

 (attr (org-find-text-property-in-string 'org-attributes src))
 (label (org-find-text-property-in-string 'org-label src)))
Modified lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index e30c49a..480e9f1 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -15183,7 +15183,12 @@ Some of the options can be changed using  
the variable

  (push ov org-latex-fragment-image-overlays)
  (goto-char end))
  (delete-region beg end)
- (insert link
+  (let ((link-beg (point))
+(link-end (progn (insert link) (point
+(add-text-properties
+ link-beg link-end
+ (list 'org-latex-src
+   (replace-regexp-in-string \   
txt)))


;; This function borrows from Ganesh Swami's latex2png.el
(defun org-create-formula-image (string tofile options buffer)


Carsten Dominik carsten.domi...@gmail.com writes:


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


Hi,

HTML img 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


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

2010-03-30 Thread Arne Freyberger

On 03/29/2010 02:43 PM, David Maus wrote:

Arne Freyberger wrote:
   

OK, so I spent a few hours configuring Wanderlust.  When I try to link to an
email message via:
 
   

[[wl:%OPSLeaders:freyb...@mail.jlab.org:993!#4ba2737a.4060...@jlab.org][emails
exchanged]]
 
   

I get the following error:
   org-wl-open: Invalid function: wl-folder-get-elmo-folder
 

Could it be that you use wl 2.14.x, shipped in the package wl in
debian/ubuntu?  If so, you might need to upgrade to the beta version
2.15, that could be shipped in package wl-beta.

HTH
   -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de
   
Thanks, David!!  That was the problem.  I had grabbed the stable 2.14 
release.
 Installed 2.15.6 from http://www.jpl.org/elips/wl/snapshots/   and 
everything

appears to be working.

Arne

--
Arne Freyberger
Director Operations Department
Jefferson Lab   Phone: (757) 269-6268
12000 Jefferson Avenue  Pager: (757) 584-6268
Newport News, VA 23606  Email:  freyb...@jlab.org



___
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] Exporter for taskjuggler

2010-03-30 Thread Christian Egli

Hi all

In theory we're developing according to agile methods here, but in
practice people still want to see the classic waterfall project plan.

So in order to create a professional looking gant and resource usage
charts I implemented an exporter from org-mode to TaskJuggler
(http://www.taskjuggler.org/). The code is attached and I'm looking for
feedback and would love to get this integrated in the org-mode
distribution.

TaskJuggler uses a text format to define projects, tasks and resources,
so it is a natural fit for org-mode. It can produce all sorts of reports
for tasks or resources in either HTML, CSV or PDF. The current version
of TaskJuggler requires KDE but the next version is implemented in Ruby
and should therefore run on any platform.

The exporter is a bit different from other exporters, such as the HTML
and LaTeX exporters for example, in that it does not export all the
nodes of a document or strictly follow the order of the nodes in the
document.

Instead the TaskJuggler exporter looks for a tree that defines the
tasks and a optionally tree that defines the resources for this
project. It then creates a TaskJuggler file based on these trees
and the attributes defined in all the nodes.

* Installation

Put the attached file into your load-path and the following line into
your ~/.emacs:

  (require 'org-taskjuggler)

The interactive functions are similar to those of the HTML and LaTeX
exporters:

M-x `org-export-as-taskjuggler'
M-x `org-export-as-taskjuggler-and-open'

* Tasks

Let's illustrate the usage with a small example. Create your tasks as
you usually do with org-mode. Assign efforts to each task using
properties (it's easiest to do this in the column view). You should end
up with something similar to the example by Peter Jones in
http://www.contextualdevelopment.com/static/artifacts/articles/2008/project-planning/project-planning.org.
Now mark the top node of your tasks with a tag named
taskjuggler_project (or whatever you customized
`org-export-taskjuggler-project-tag' to). You are now ready to export
the project plan with `org-export-as-taskjuggler-and-open' which will
export the project plan and open a gant chart in TaskJugglerUI.

* Resources

Next you can define resources and assign those to work on specific
tasks. You can group your resources hierarchically. Tag the top node of
the resources with taskjuggler_resource (or whatever you customized
`org-export-taskjuggler-resource-tag' to). You can optionally assign an
ID to the resources (using the standard org properties commands) or you
can let the exporter generate IDs automatically (the exporter picks the
first word of the headline as the ID as long as it is unique). Using
that ID you can then allocate resources to tasks. This is again done
with the allocate property on the tasks. Do this in column view or
when on the task type

 C-c C-x p allocate RET ID RET

Once the allocations are done you can again export to TaskJuggler and
check in the Resource Allocation Graph which person is working on what
task at what time.

* Export of properties

The exporter also takes TODO state information into consideration, i.e.
if a task is marked as done it will have the corresponding attribute in
TaskJuggler (complete 100). Also it will export any property on a task
resource or resource node which is known to TaskJuggler, such as limits,
vacation, shift, booking, efficiency, journalentry, rate for resources
or account, start, note, duration, end, journalentry, milestone,
reference, responsible, scheduling, etc for tasks.

* Dependencies

The exporter will handle dependencies that are defined in the tasks
either with the ORDERED attribute (see TODO dependencies in the Org mode
manual) or with the BLOCKER attribute (see org-depend.el) or
alternatively with a depends attribute. Both the BLOCKER and the depends
attribute can be either previous-sibling or a reference to an ID which
is defined for another task in the project.

Thanks
Christian



org-taskjuggler.el
Description: TaskJuggler exporter

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland
___
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: clocksum of scheduled task

2010-03-30 Thread Bernt Hansen
Alexandre Russel alexan...@russel.fr writes:

 Hi all,

   I have scheduled task:

 * TODO daily work review :WORK:
   SCHEDULED: 2010-03-30 Tue +1d
   CLOCK: [2010-03-30 Tue 07:36]
   - State DONE   [2010-03-29 Mon 09:04]
 CLOCK: [2010-03-29 Mon 08:27]--[2010-03-29 Mon 09:04] =  0:37
   :PROPERTIES:
   :CLOCK_MODELINE_TOTAL: today
   :LAST_REPEAT: [2010-03-29 Mon 21:31]
   :END:

 When I C-c a a, I see the task every day but monday with for each day
 a 37mn clocksum.
 I would like:
 - to see the task on monday, marked done, with a clocksum of 37 mn
 - see the task every other day, marked todo, with a clocksum of 0mn
 (or no clocksum)

 Is it possible or do I have to go throught cloning task ?
 Note that I tried with/without the CLOCK_MODELINE_TOTAL and it has no
 influence on the clocksum.

 I am using version 6.34c

Hi Alex,

That's not how it works for me (mostly).  I have an repeated task I
clock on weekdays:

** TODO Daily Defect Review
   SCHEDULED: 2010-03-31 Wed ++1d

It has clock entries on most weekdays and R in the agenda shows a clock
report with the correct clocked time on each day.  You can only view the
total time for everything displayed on the agenda, so if you look at a
week you'll get all of the time clocked on that week - not separate
reports for each day.

You won't get a DONE entry in your agenda for repeating tasks.  If you
need that you will have to clone the entry I think.

CLOCK_MODELINE_TOTAL only affects the time reported on the Emacs
modeline when the clock is running on that task.

HTH,
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: Org mode and emacs email

2010-03-30 Thread Scott Brim
Simon Brown simon at cliffestones.demon.co.uk writes:

 
 Hi all,
 
 I currently use mutt as my email client but I'm looking for greater
 emacs integration and better html support. Org mode supports at least
 gnus, vm and wanderlust. Can anybody advise on the relative pros and
 cons? My main restriction is that I don't want to break my mutt setup,
 so the client must be able to work with my current collection of mbox
 files. I also have 3 IMAP accounts. Using emacs 23 and current org-mode.
 
 Simon

Wanderlust seems best at IMAP -- I would go there first, but if you've 
tolerated 
mutt's IMAP support this long, maybe you don't need good IMAP support.  VM 
has nice integration with w3m for HTML.  IMHO don't start on gnus if you've 
never used it.  Then there's MEW, which is also a good one.  They all work with 
mbox-style mail files.





___
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 mode and emacs email

2010-03-30 Thread Simon Brown
* Scott Brim (s...@employees.org) wrote:
 Wanderlust seems best at IMAP -- I would go there first, but if you've 
 tolerated 
 mutt's IMAP support this long, maybe you don't need good IMAP support.  VM 
 has nice integration with w3m for HTML.  IMHO don't start on gnus if you've 
 never used it.  Then there's MEW, which is also a good one.  They all work 
 with 
 mbox-style mail files.
I'm trying Wanderlust, but I've started to wonder if it's worth the
effort. I've moved from mbox to Maildirs but wanderlust doesn't seem
to be able to recognise the subdirectories. I don't want to be
changing config everytime I change a list subscription. I also have
yet to get it to successfully autheniticate with any imap server. 

I've got nowhere near trying the org integration. I might try
installing vm 8.1 but at the moment I've already squandered far too
much time on this.

Thanks

Simon
-- 
Simon Brown


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


[Orgmode] Re: Org mode and emacs email

2010-03-30 Thread Richard Riley
Simon Brown si...@cliffestones.demon.co.uk writes:

 * Richard Riley (rileyrg...@gmail.com) wrote:
 This is pretty fanboi of me but its really simple : use Gnus. It can
 do imap fine (you can always move to using a local dovecot
 server and use offlineimap to sync if performance is a problem).
 I've had a quick look at the gnus manual and it seems to depend upon
 importing your mail which rules it out for me. I'm not prepared to
 start collecting mail in a mail reader specific way. Most of my mail
 is collected by fetchmail, the IMAP accounts are quite low traffic.

 Simon

I'm not sure I understand. Just point it at your mbox. Nothing to
import. Nothing at all is mail reader specific with regard to your
actual email as far as I know. Or did I misunderstand when you mentioned
importing email?

Even if you use fetchmail (I do too), you can fetchmail into maildir
(for example) and have something like dovecot serve it via IMAP. This
can be really handy for remote access.



___
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] Align column of table to the center

2010-03-30 Thread filebat Mark
Hi All

From the following page, we can align column to the left/right by putting
l/r at the header of a table.
http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment

My question is how we align a column to the center?

Thanks in advance.


-- 
Thanks  Regards

Denny Zhang
___
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 mode and emacs email

2010-03-30 Thread Eric Schulte
At this point it feels somewhat more like voting rather than a
discussion, but I feel compelled to say...

  +1 for gnus!

Gnus has far and away the biggest user base, the best support, and is
the most actively developed (as far as I can tell VM -- which I used for
a couple of years-- is a dead project).  Gnus is distributed with Emacs
and all of it's mime and message handling libraries are distributed with
Emacs.

The config can be daunting if you don't have any help, however there are
many friendly people on this list who I'm sure would be happy to share
their gnus imap config (please feel free to contact me off list), and
once you have the basics working it's really a joy to use.

Just my personal subjective biased opinion :) -- Eric

Simon Brown si...@cliffestones.demon.co.uk writes:

 * Scott Brim (s...@employees.org) wrote:
 Wanderlust seems best at IMAP -- I would go there first, but if you've 
 tolerated 
 mutt's IMAP support this long, maybe you don't need good IMAP support.  VM 
 has nice integration with w3m for HTML.  IMHO don't start on gnus if you've 
 never used it.  Then there's MEW, which is also a good one.  They all work 
 with 
 mbox-style mail files.
 I'm trying Wanderlust, but I've started to wonder if it's worth the
 effort. I've moved from mbox to Maildirs but wanderlust doesn't seem
 to be able to recognise the subdirectories. I don't want to be
 changing config everytime I change a list subscription. I also have
 yet to get it to successfully autheniticate with any imap server. 

 I've got nowhere near trying the org integration. I might try
 installing vm 8.1 but at the moment I've already squandered far too
 much time on this.

 Thanks

 Simon


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


[Orgmode] Re: Org mode and emacs email

2010-03-30 Thread Richard Riley
Simon Brown si...@cliffestones.demon.co.uk writes:

 * Scott Brim (s...@employees.org) wrote:
 Wanderlust seems best at IMAP -- I would go there first, but if you've 
 tolerated 
 mutt's IMAP support this long, maybe you don't need good IMAP support.  VM 
 has nice integration with w3m for HTML.  IMHO don't start on gnus if you've 
 never used it.  Then there's MEW, which is also a good one.  They all work 
 with 
 mbox-style mail files.
 I'm trying Wanderlust, but I've started to wonder if it's worth the
 effort. I've moved from mbox to Maildirs but wanderlust doesn't seem
 to be able to recognise the subdirectories. I don't want to be

Maybe its like dovecot  - the . prefix on the mailboxes.

 changing config everytime I change a list subscription. I also have

What do you mean by that? Why would you need to reconfigure each and
every time?

 yet to get it to successfully autheniticate with any imap server. 

 I've got nowhere near trying the org integration. I might try
 installing vm 8.1 but at the moment I've already squandered far too
 much time on this.

If you decided to move to maildir I'm wondering why you then decided to
use Wanderlust. Do you have your own IMAP server serving up from a maildir?


 Thanks

 Simon

Gnus has excellent maildir support ...



___
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 mode and emacs email

2010-03-30 Thread Manuel Hermenegildo

I have to say in VM's defense that it is working very well for me (and
has supported IMAP for a very long time) and there are indeed people
working actively it. The old 7.19 version has indeed been frozen for a
long time, but I am using the latest versions out of the repo on
Launchpad and Savannah,

https://launchpad.net/vm
https://savannah.nongnu.org/projects/viewmail/ 

with emacs 23. While it is clear that it does not have a huge team
behind it, as you can see there Uday S. Reddy and Ulrich Mueller are
quite active maintainers (there were 28 commits in March, for
example).

VM provides all the functionality I need (including very good MIME and
html support, interacting very well with w3w) with an interface that
is very natural to emacs users (similar to rmail) and which avoids the
complications of gnus.  There is a good interface to maildir for
example, and also to org mode. The virtual folder mechanism is really
very good.

The only missing thing for me is direct support for maildir but the VM
maintainers are currently working on it.

Manuel

-- 
---
 Manuel Hermenegildo | Prof., C.S.Dept., T.U. Madrid (UPM)
 Director, IMDEA Software and CLIP Group | +34-91-336-7435 (W) -352-4819 (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


Re: [Orgmode] Re: Org mode and emacs email

2010-03-30 Thread Dan Davison
Eric Schulte schulte.e...@gmail.com writes:

 At this point it feels somewhat more like voting rather than a
 discussion, but I feel compelled to say...

   +1 for gnus!

Hi Simon,

I use gnus, and received help from people on the list. Here's a small
contribution if you do get going with it:

The listing of emails in the summary buffer will look *terrible* with
the default settings. But you can make it look really nice using unicode
characters for arrows etc. (Example settings below, screenshot at
http://www.princeton.edu/~ddavison/gnus.png)

(Plus, if you use gnus you don't have to see these ridiculous
Kindergarten-style dotted lines and scissors that people put in
emails :) )

Dan

--8---cut here---start-8---
;; 
http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/a673a74356e7141f
(when window-system
  (setq gnus-sum-thread-tree-indent   )
  (setq gnus-sum-thread-tree-root ) ;; ● )
  (setq gnus-sum-thread-tree-false-root ) ;; ◯ )
  (setq gnus-sum-thread-tree-single-indent ) ;; ◎ )
  (setq gnus-sum-thread-tree-vertical│)
  (setq gnus-sum-thread-tree-leaf-with-other ├─► )
  (setq gnus-sum-thread-tree-single-leaf ╰─► ))

(setq gnus-summary-line-format
  (concat
   %0{%U%R%z%}
   %3{│%} %1{%d%} %3{│%} ;; date
 
   %4{%-20,20f%}   ;; name
 
   %3{│%}

   %1{%B%}
   %s\n))

(setq gnus-summary-display-arrow t)
--8---cut here---end---8---




 Gnus has far and away the biggest user base, the best support, and is
 the most actively developed (as far as I can tell VM -- which I used for
 a couple of years-- is a dead project).  Gnus is distributed with Emacs
 and all of it's mime and message handling libraries are distributed with
 Emacs.

 The config can be daunting if you don't have any help, however there are
 many friendly people on this list who I'm sure would be happy to share
 their gnus imap config (please feel free to contact me off list), and
 once you have the basics working it's really a joy to use.

 Just my personal subjective biased opinion :) -- Eric

 Simon Brown si...@cliffestones.demon.co.uk writes:

 * Scott Brim (s...@employees.org) wrote:
 Wanderlust seems best at IMAP -- I would go there first, but if you've 
 tolerated 
 mutt's IMAP support this long, maybe you don't need good IMAP support.  VM 
 has nice integration with w3m for HTML.  IMHO don't start on gnus if you've 
 never used it.  Then there's MEW, which is also a good one.  They all work 
 with 
 mbox-style mail files.
 I'm trying Wanderlust, but I've started to wonder if it's worth the
 effort. I've moved from mbox to Maildirs but wanderlust doesn't seem
 to be able to recognise the subdirectories. I don't want to be
 changing config everytime I change a list subscription. I also have
 yet to get it to successfully autheniticate with any imap server. 

 I've got nowhere near trying the org integration. I might try
 installing vm 8.1 but at the moment I've already squandered far too
 much time on this.

 Thanks

 Simon


 ___
 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] [bug] org-insert-link in different frame

2010-03-30 Thread Lluís
I tried to insert a previously stored link in an org-mode buffer that was in a
`framepop' buffer (framepop pins a buffer in a separate frame, and all
interactions are redirected to the non-framepop frame).

The result is that '(get-buffer-window *Org Links*)' returns 'nil' and thus
the function throws an exception.

This could be easily fixed by using the second argument FRAME in
`get-buffer-window'. In any case, which would be the best value for that
argument still escapes my knowledge (I supose `t' would be safe and work in all
cases).

I'm using version 6.34c.


In an unrelated note, I'm using an approach similar to that of

   http://tsdh.wordpress.com/2009/03/

and when saving an org-mode file in the framepop frame, the hook is somehow
unable to prevent the excursion, thus showing me the agenda buffer on my main
working frame.

I tried a `framepop-toggle-frame' before and after the `save-excursion' code if
`selected-frame' is `framepop-frame' (which should get back to the working
frame and thus save excursions in there). Even if the framepop-frame is visibly
toggled, it still shows the same undesired behaviour.

Thanks,
Lluis

--
 And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer.
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth


___
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 and emacs email

2010-03-30 Thread Gary
On Mon, Mar 29, 2010 at 12:22:10PM +0100, Simon Brown wrote:
 I currently use mutt as my email client but I'm looking for greater
 emacs integration and better html support.

Allegedly mutt runs okay inside emacs, e.g. from an eshell. I know that
doesn't help with your greater emacs integration (what do you want to
do, exactly?) and better HTML support (why would you want this? ;) but -
without wanting to start anything - I much prefer mutt to gnus (or
anything else, for that matter).


___
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 mode and emacs email

2010-03-30 Thread Henri-Paul Indiogine
Dan Davison davi...@stats.ox.ac.uk writes:
 http://www.princeton.edu/~ddavison/gnus.png)

Thanks for the .gnus code.  Actually, I do not use .gnus and place all
in .emacs but I do not think that matters.

I run Ubuntu Karmic + Gnu Emacs 23.  Both updated

Anyway, now my summary buffer looks very much like the image that you placed
on-line. However I have some differences:

1. I do not have the arrows.  Does that have to do with some unicode
settings that I may have to change?

2. This is my old gnus-summary-line-format:

'(gnus-summary-line-format %U%R%z%user-date;%(%[: %-23,23f%]%) %s)

I liked the user-date because it would display the time of today's
emails that dates for older ones.

3. There are also color differences:  I do not have the dates colored
blue as you have.  My subject lines are colored green, red, white and
blue according to the marks that they have.  I find that useful and
would like to keep those colors.

Thanks,

-- 
Henri-Paul Indiogine
Email: hindiog...@gmail.com
Skype: hindiogine
Website: http://www.coe.tamu.edu/~enrico


___
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 mode and emacs email

2010-03-30 Thread Dan Davison
Henri-Paul Indiogine hindiog...@gmail.com writes:

 Dan Davison davi...@stats.ox.ac.uk writes:
 http://www.princeton.edu/~ddavison/gnus.png)

 Thanks for the .gnus code.  Actually, I do not use .gnus and place all
 in .emacs but I do not think that matters.

 I run Ubuntu Karmic + Gnu Emacs 23.  Both updated

 Anyway, now my summary buffer looks very much like the image that you placed
 on-line. However I have some differences:

 1. I do not have the arrows.  Does that have to do with some unicode
 settings that I may have to change?

Ah, sorry, I think I should have included the following two variable
settings:

(setq gnus-thread-sort-functions
  '(gnus-thread-sort-by-number
gnus-thread-sort-by-most-recent-date))

(setq gnus-summary-thread-gathering-function
  'gnus-gather-threads-by-references)

Does that do it?

[...]

 3. There are also color differences:  I do not have the dates colored
 blue as you have.  My subject lines are colored green, red, white and
 blue according to the marks that they have.  I find that useful and
 would like to keep those colors.

These settings don't alter the faces, just the text. The colours in my
image are whatever color-theme-charcoal-black gave me (in the
color-themes package.)

Dan

So the full settings, including the ones I originally posted are:


--8---cut here---start-8---
(setq gnus-thread-sort-functions
  '(gnus-thread-sort-by-number
gnus-thread-sort-by-most-recent-date))

(setq gnus-summary-thread-gathering-function
  'gnus-gather-threads-by-references)

(setq gnus-summary-line-format
  (concat
   %0{%U%R%z%}
   %3{│%} %1{%d%} %3{│%} ;; date
 
   %4{%-20,20f%}   ;; name
 
   %3{│%}

   %1{%B%}
   %s\n))
(setq gnus-summary-display-arrow t)
;; 
http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/a673a74356e7141f
(when window-system
  (setq gnus-sum-thread-tree-indent   )
  (setq gnus-sum-thread-tree-root ) ;; ● )
  (setq gnus-sum-thread-tree-false-root ) ;; ◯ )
  (setq gnus-sum-thread-tree-single-indent ) ;; ◎ )
  (setq gnus-sum-thread-tree-vertical│)
  (setq gnus-sum-thread-tree-leaf-with-other ├─► )
  (setq gnus-sum-thread-tree-single-leaf ╰─► ))
--8---cut here---end---8---



 Thanks,



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


[Orgmode] Re: Org mode and emacs email

2010-03-30 Thread Leo
On 2010-03-30 18:34 +0100, Manuel Hermenegildo wrote:
 I have to say in VM's defense that it is working very well for me (and
 has supported IMAP for a very long time) and there are indeed people
 working actively it. The old 7.19 version has indeed been frozen for a
 long time, but I am using the latest versions out of the repo on
 Launchpad and Savannah,

 https://launchpad.net/vm
 https://savannah.nongnu.org/projects/viewmail/ 

 with emacs 23. While it is clear that it does not have a huge team
 behind it, as you can see there Uday S. Reddy and Ulrich Mueller are
 quite active maintainers (there were 28 commits in March, for
 example).

 VM provides all the functionality I need (including very good MIME and
 html support, interacting very well with w3w) with an interface that
 is very natural to emacs users (similar to rmail) and which avoids the
 complications of gnus.  There is a good interface to maildir for
 example, and also to org mode. The virtual folder mechanism is really
 very good.

 The only missing thing for me is direct support for maildir but the VM
 maintainers are currently working on it.

 Manuel

Now that message mode has become the default mailer in Emacs 23.2+
unless people are already using a mua that they like, it is highly
advisable to use Gnus, which although many people have been saying it is
intimidating, it is not.

It is intimidating only because it is like org, it can do so many things
related to email/news but you don't need to do them all at the
beginning. Give it a news server such as news.gmane.org then you can
start using it on browsing mailing lists of projects of your interest
including this one.

Leo

-- 
H A P P Y  H O L I D A Y S!


___
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] [PATCH] Detect Mac OS X in iCal import

2010-03-30 Thread Jonathan Creekmore
This patch modifies the Mac OS X detection code to check for both
Leopard and Snow Leopard, since they both store iCal events in separate
files for Spotlight searching purposes.

Jonathan

--8---cut here---start-8---
diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac-iCal.el
index 0d0b4f8..2510aa7 100644
--- a/contrib/lisp/org-mac-iCal.el
+++ b/contrib/lisp/org-mac-iCal.el
@@ -98,8 +98,8 @@ the the Emacs diary
 
   ;; for each calendar, concatenate individual events into a single ics file
   (with-temp-buffer
-(shell-command sw_vers  *temp*)
-(when (re-search-backward 10.5 nil t)
+(shell-command sw_vers (current-buffer))
+(when (re-search-backward 10\\.[56] nil t)
   (omi-concat-leopard-ics all-calendars)))
   
   ;; move all caldav ics files to the same place as local ics files
--8---cut here---start-8---


___
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] [PATCH] Detect Mac OS X in iCal import

2010-03-30 Thread Christopher Suckling
Thanks. I did this in my local repository last September and completely
forgot to submit it. Though curiously the contrib version seems to work
fine on my Snow Leopard install.

Best, Christopher

On Tue, 30 Mar 2010 16:03:08 -0500, Jonathan Creekmore 
jonat...@thecreekmores.org wrote:

 This patch modifies the Mac OS X detection code to check for both
 Leopard and Snow Leopard, since they both store iCal events in separate
 files for Spotlight searching purposes.

 Jonathan

 diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac-iCal.el
 index 0d0b4f8..2510aa7 100644
 --- a/contrib/lisp/org-mac-iCal.el
 +++ b/contrib/lisp/org-mac-iCal.el
 @@ -98,8 +98,8 @@ the the Emacs diary
  
;; for each calendar, concatenate individual events into a single ics file
(with-temp-buffer
 -(shell-command sw_vers  *temp*)
 -(when (re-search-backward 10.5 nil t)
 +(shell-command sw_vers (current-buffer))
 +(when (re-search-backward 10\\.[56] nil t)
(omi-concat-leopard-ics all-calendars)))

;; move all caldav ics files to the same place as local ics files


 ___
 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] [PATCH] Detect Mac OS X in iCal import

2010-03-30 Thread Carsten Dominik

Applied, thanks.

- Carsten

On Mar 30, 2010, at 11:03 PM, Jonathan Creekmore wrote:


This patch modifies the Mac OS X detection code to check for both
Leopard and Snow Leopard, since they both store iCal events in  
separate

files for Spotlight searching purposes.

Jonathan

--8---cut here---start-8---
diff --git a/contrib/lisp/org-mac-iCal.el b/contrib/lisp/org-mac- 
iCal.el

index 0d0b4f8..2510aa7 100644
--- a/contrib/lisp/org-mac-iCal.el
+++ b/contrib/lisp/org-mac-iCal.el
@@ -98,8 +98,8 @@ the the Emacs diary

  ;; for each calendar, concatenate individual events into a single  
ics file

  (with-temp-buffer
-(shell-command sw_vers  *temp*)
-(when (re-search-backward 10.5 nil t)
+(shell-command sw_vers (current-buffer))
+(when (re-search-backward 10\\.[56] nil t)
  (omi-concat-leopard-ics all-calendars)))

  ;; move all caldav ics files to the same place as local ics files
--8---cut here---start-8---


___
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: Org mode and emacs email

2010-03-30 Thread Geralt
Hi,

wow, that looks really great, thanks :-)!



Do you know by chance if it's possible to link sent mails in threads?
I'm using Gmail and all my sent mail is in a folder called INBOX and
it would be really great if I could see my own messages in the
threads.




Geralt.


___
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] [OT] Re: Org mode and emacs email

2010-03-30 Thread Dan Davison
Geralt usr.gen...@googlemail.com writes:

 Hi,

 wow, that looks really great, thanks :-)!



 Do you know by chance if it's possible to link sent mails in threads?

Hi Geralt,

Not me, I just got that stuff off google. I'm pretty scared of the gnus
manual, although I admit to finding it amusing in places.

But I think someone here might know.

Dan

p.s. Henri-Paul suggested this modification of the code I posted, which
gives time and date:

(setq gnus-summary-line-format
  (concat
   %0{%U%R%z%}
   %3{│%} %1{%~(pad-right 10)user-date;%} %3{│%} ;; date
 
   %4{%-20,20f%}   ;; name
 
   %3{│%}

   %1{%B%}
   %s\n))


 I'm using Gmail and all my sent mail is in a folder called INBOX and
 it would be really great if I could see my own messages in the
 threads.




 Geralt.


 ___
 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