[O] email ui choices?

2015-07-13 Thread Matt Price
Hi,

I still use thunderbird for email and will continue to do so for a while --
likely until concurrency is well-enough established that my mail client
hanging doesn't stop me from working.

However: I am jealous of the ease with which everyone emails subtrees
around, and I would like to be able to do that.  My current usecase is
marking student papers. I havea macro that generates this subtree

** Student name

| Clarity of Thesis | |
| Organization | |
| Presentation of Evidence | |
| Etc | |

I want to fill out this form, key in a command, and have emacs prompt me
for an email (or look the email up somewhere?) and generate a mail buffer
with this subtree as its contents; optionally attach a .doc or .pdf
attachement; and send the htmlized buffer for me, saving the sent mail
either to my IMAP Sent folder or my local mbox Sent folder.

It would be nice if it had access to my contacts, either via GMail or
through thunderbbird (those are synced, I think).

What's my best bet?

Thanks as always,
Matt


Re: [O] Invalid Markup Validation with footnotes

2015-07-13 Thread OSiUX
El lun, 13 jul 2015, Rasmus decía:

> Hi,
> 
> OSiUX  writes:
> 
> > Hi everybody, using a W3C validator the footnotes are invalid. :(
> > [...]
> > How should define the footnote?
> > Is an exporter error?
> 
> Thanks.
> 
> I tried to fix it in commit fd990a81e38ad80892519395ed52fbef5aca6545.  It
> produces error-free and visually correct results in with my init.el and
> with emacs -q.  Let me know if it works for you.

Awesome!

"This document was successfully checked as XHTML 1.0 Strict!"

Thank you!

-- 

::

  Osiris Alejandro Gomez (OSiUX) os...@osiux.com.ar
  DC44 95D2 0D5D D544 FC1A F00F B308 A671 9237 D36C
  http://www.osiux.com.ar http://www.altermundi.net


signature.asc
Description: Digital signature


Re: [O] [PATCH] org-closest-date: Don't accept canceled repeater

2015-07-13 Thread Kyle Meyer
Hi Rasmus,

Rasmus  wrote:
[...]
> I'm happy to push your commit, but I don't really know what you mean by
> canceled repeater.  Since you are the expert, would you mind posting an
> example of a document with the error you fix?

Sorry, I should have included an example.

If I have a heading that looks like

** TODO h
DEADLINE: <2015-07-13 Mon +3w>

and I run org-todo with a numeric prefix of -1, the repeater is canceled
by changing it to +0w:

** DONE h
CLOSED: [2015-07-13 Mon 10:47] DEADLINE: <2015-07-13 Mon +0w>

If I call org-agenda-list on a file with an entry like above, I get an
arith-error from +0w being passed to org-closest-date.

--
Kyle
expert of +0



Re: [O] John's amazing indexing posts

2015-07-13 Thread John Kitchin
Thanks Matt,

That is also my impression of where this will go. Eventually this will
move towards a database search engine, e.g. like Oleg's project at
https://github.com/wvxvw/sphinx-mode. I am not sure precisely which
direction though. Swish-e is nice, but at the moment you cannot
incrementally update the database, and full indexing is required every
time. I am not sure that is fixable, and swish-e does not do
unicode. There are half a dozen or so candidates to go forward on, and
they all have some pros and cons to think about.

It has a lot of other applications in org too, e.g. a file-system wide
agenda, tag search, etc...


Matt Price writes:

> Not sure if everyone has seen John's latest post about indexing org files
> with swish-e:
>
> http://kitchingroup.cheme.cmu.edu/blog/2015/07/06/Indexing-headlines-in-org-files-with-swish-e-with-laser-sharp-results/
>
> It's very impressive.  It strikes me as a step towards an incredibly
> ambitious project that would bring file indexing inside of Emacs -- so it
> would not longer be necessary to go out to a shell or a Desktop Search tool
> in order to find files that contain particular search terms.  I'm looking
> forward to your next steps, John!
>
> Matt

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



Re: [O] Bug: org-columns adds spaces [8.3beta (release_8.3beta-1286-g20795f @ /home/youngfrog/sources/org-mode/lisp/)]

2015-07-13 Thread Nicolas Richard
Nicolas Richard  writes:
> The buffer is still marked "unmodified" but there are five space
> characters at the end of the headline. (and this will later confuse org
> element cache which thus give errors, but I guess that's to be
> expected.)

Meanwhile I had a look and it's due to this part of
org-columns-display-here :
(org-unmodified (insert " "))

(http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/org-colview.el?h=maint#n247)

Inserting characters in the buffer for the sake of columnview seems
wrong to me. Even more so if this is done silently.

I tried removing the whole (if then) block. That not only helps with the
spurious spaces, but also makes the column view work better in my
original usecase. OTOH I don't know what it will break.

--- /home/youngfrog/sources/org-mode/lisp/org-colview.el
+++ #
@@ -224,13 +224,7 @@
(overlay-put ov 'org-columns-pom pom)
(overlay-put ov 'org-columns-format f)
(overlay-put ov 'line-prefix "")
-   (overlay-put ov 'wrap-prefix ""))
-  (if (or (not (char-after beg))
- (equal (char-after beg) ?\n))
- (let ((inhibit-read-only t))
-   (save-excursion
- (goto-char beg)
- (org-unmodified (insert " ")) ;; FIXME: add props and remove 
later?
+   (overlay-put ov 'wrap-prefix "")))
 ;; Make the rest of the line disappear.
 (org-unmodified
  (setq ov (org-columns-new-overlay beg (point-at-eol)))

-- 
Nicolas Richard



[O] Bug: org-columns adds spaces [8.3beta (release_8.3beta-1286-g20795f @ /home/youngfrog/sources/org-mode/lisp/)]

2015-07-13 Thread Nicolas Richard
Here's my test.org file :
* Test org
:PROPERTIES:
:COLUMNS:  %15foo %fooo %2f %2fo %2foobar %2foobaz %2fooquw %2fooqux %2fooapp %2foopoj %2fooazf %2fooavp %10foopa %1whatever 
:END:

Here's how I test it :
emacs -Q -L ~/sources/org-mode/lisp/ test.org -f whitespace-mode

then hit:
M-x whitespace-mode RET ;; not required
M-x outline-show-all RET ;; not required
C-c C-x C-c ;; enter org-columns
q ;; leave it

The buffer is still marked "unmodified" but there are five space
characters at the end of the headline. (and this will later confuse org
element cache which thus give errors, but I guess that's to be
expected.)

Emacs  : GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2015-07-11 on Aurora
Package: Org-mode version 8.3beta (release_8.3beta-1286-g20795f @ 
/home/youngfrog/sources/org-mode/lisp/)


Re: [O] Publishing: building navigation menus and lists of files

2015-07-13 Thread giles
Matt Price  writes:

> I am hoping to finally transition some of my websites to static sites
> published directly from org finally!). one thing I would really like is to
> automatically build menus and perhaps index files based on the directory
> structure I'm exporting from.

I'm half way there with one of my websites.  Like you, I wanted to
insert a menu based on the file's location within my directory tree.
The solution I came up with was to use the html_preamble
(http://orgmode.org/manual/HTML-preamble-and-postamble.html).  I got
side tracked and only got as far as inserting an identical menu for each
file, but my intention remains to use a function to consider the file's
location in my directory structure and generate a menu accordingly.

Hmm - job for this evening perhaps.

-- 
Giles Chamberlin




Re: [O] [PATCH] org-closest-date: Don't accept canceled repeater

2015-07-13 Thread Rasmus
Hi Kyle,

Thanks for your patch.

Kyle Meyer  writes:

> The attached patch fixes an arithmetic error that occurs when calling
> org-agenda on a file that contains a heading with a canceled repeater.

I'm happy to push your commit, but I don't really know what you mean by
canceled repeater.  Since you are the expert, would you mind posting an
example of a document with the error you fix?

Rasmus

-- 
When in doubt, do it!




Re: [O] ox-latex: default packages cleaning

2015-07-13 Thread Rasmus
Hi,

Rasmus  writes:

> * tolerance
> * marvosym¹ 
> * Wasysym² 

Pushed.

> * Fixltx2e

Will push after 8.3 is released.

Rasmus

-- 
Dobbelt-A




Re: [O] Invalid Markup Validation with footnotes

2015-07-13 Thread Rasmus
Hi,

OSiUX  writes:

> Hi everybody, using a W3C validator the footnotes are invalid. :(
> [...]
> How should define the footnote?
> Is an exporter error?

Thanks.

I tried to fix it in commit fd990a81e38ad80892519395ed52fbef5aca6545.  It
produces error-free and visually correct results in with my init.el and
with emacs -q.  Let me know if it works for you.

Rasmus

-- 
Tack, ni svenska vakttorn. Med plutonium tvingar vi dansken på knä!




[O] John's amazing indexing posts

2015-07-13 Thread Matt Price
Not sure if everyone has seen John's latest post about indexing org files
with swish-e:

http://kitchingroup.cheme.cmu.edu/blog/2015/07/06/Indexing-headlines-in-org-files-with-swish-e-with-laser-sharp-results/

It's very impressive.  It strikes me as a step towards an incredibly
ambitious project that would bring file indexing inside of Emacs -- so it
would not longer be necessary to go out to a shell or a Desktop Search tool
in order to find files that contain particular search terms.  I'm looking
forward to your next steps, John!

Matt