Re: [O] Do you like to have your TODOs at the same headline level?

2015-08-26 Thread Sebastien Vauban
dbo...@mmm.com (J. David Boyd) writes:
 Sebastien Vauban sva-n...@mygooglest.com writes:
 William Denton w...@pobox.com writes:
 I'm trying to spend more time in a sparse tree view where I just see
 TODOs (C-c / t).  I didn't like having the TODOs at different levels
 of indentation, though.  I prefer seeing them all lined up, so
 I moved them all to be fourth-level headline.  It's visually
 pleasing, and I don't care if a second-level headline has
 a fourth-level child without a third-level one.

 Do other people do this?

 No, and I don't think that's sane.  It would be logical to expect
 problems at export time (to LaTeX, among others) and in Org-lint.

 I try to put all the tasks at the 2nd level, the 1st level being
 reserved for big sections such as Administration, Tasks, Team,
 etc.

 I'm very rigorous about expecting that all my project management
 documents can be exported (without loosing subtrees or generating error)
 to HTML (as the very first goal) and to LaTeX (as the second one).

 OTOH, I don't deny your wish to get things aligned; that's why I've
 opted to 4-char todo states only!

 4-char todo states?  How about a list? I can't picture how to
 abbreviate some things...

Sure. Here it is:

- TODO :: Open, not (yet) started.
- STRT :: In progress, working on, doing.
- WAIT :: On hold, assigned, feedback.
- SDAY :: Someday, maybe, perhaps, wish.
- DONE :: Completed, closed, resolved.
- CANX :: Wontfix, rejected.

The only exception, but that's on purpose is NEW for things going to
the CollectBox.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Literate programming in org

2015-08-26 Thread Max Linke



On 08/26/2015 12:36 PM, Sebastien Vauban wrote:

See:

- inline Babel calls: ... call_NAME(ARGUMENTS) ... and/or
- inline code blocks: src_LANGUAGE{BODY}.


Yes I'm currently using inline babel calls.




* reruning specific cells only one time after emacs was started

I have some cells that are long running and produce some variables
I later use for plotting or calculating related values. To avoid
recalculating I have added `cache: yes` to these cells. But they
are only run once across restarts of emacs or my interpreter session
in the background. When I start working again I would like to have a
way to rerun all code-cells independent of the fact if they are cached
or not. This would lead to a huge speed up in converting to latex for
me.


I don't understand why re-running code blocks which are cached is
a problem.  Could you elaborate?


I wanted a shortcut to rerun every code cell independent of cached 
status. Looking again into the docs I found the short-cut


'C-u C-c C-v b'

This calls 'org-babel-execute-buffer'.



Re: [O] Inline Images Export Bug

2015-08-26 Thread Scott Randby

On 08/26/2015 02:06 PM, Rasmus wrote:


If you can provide a (html) solution that takes into consideration the
issues mentioned on SO that would of course be great.  In the age of d3.js
interactivity COULD be an issue (I would always load interactive svgs
via JS, but I'm a pretty naïve svg user so I don't know what's possible).


My SVGs aren't interactive. I have no idea how to deal with interactive 
SVGs.


Scott



Rasmus





Re: [O] Inline Images Export Bug

2015-08-26 Thread Scott Randby

On 08/26/2015 02:06 PM, Rasmus wrote:

Hi Scott,

Thanks for your bug report.

Scott Randby sran...@gmail.com writes:


When did Org start using the object tag for inline image HTML
export?


You should use git-blame to find out if you care.


I don't use the git repository for Org, so I'll just have to leave that 
question unanswered.






The problems with the second bit of exported code is that it doesn't
scale the image to fit the block with 50% width (only a small part of
the image is visible), and you when you right click on the image, you
can't view it, save it or anything.

[...]

Clearly, Org 8.3 is not using an img tag when exporting SVG images
to HTML, something which is a major issue for me. It essentially makes
Org unusable for HTML export. I really would appreciate a fix for this
bug.


I'm not sure it's a bug.  It's IS clearly a quite complicated issue, e.g.:

 
http://stackoverflow.com/questions/4476526/do-i-use-img-object-or-embed-for-svg-files

Perhaps it should be configurable, perhaps even as a default and a
per-image basis (via #+attr_html).

If you can provide a (html) solution that takes into consideration the
issues mentioned on SO that would of course be great.  In the age of d3.js
interactivity COULD be an issue (I would always load interactive svgs
via JS, but I'm a pretty naïve svg user so I don't know what's possible).


I don't really have the technical knowledge required to address the 
issue. The configuration option is the best option in my view. One 
option allows SVGs to be handled the old way and the other the new way. 
Perhaps something like this:


#+ATTR_HTML: :svg img

or

#+ATTR_HTML: :svg object

In my view, the default should be img, but I intend for my pages to be 
viewed by browsers which support SVG images. I direct my students to 
those browsers. Also, the W3C draft document states that support for SVG 
via the img tag is the desired solution.


I will experiment a bit to see if I can get the object tag solution 
working for me. But given the short amount of time I have to get my 
pages up (by Sunday), I will probably put the desired HTML code into the 
Org file directly until the issue is resolved.


Scott



Re: [O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Kyle Meyer
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes:

 Eric S Fraga writes:

  Replies need not be written to go to both you and the list.

 I would add: and should not. Otherwise people subscribed to the list
 get the message twice.

Directing a reply to somebody and cc'ing the list is common practice on
many lists, including this list and emacs.devel.  If you want to avoid
duplicates, you'll have better luck filtering on your end.  You can set
the Mail-Followup-To header, but others' MUAs might not respect it.
While I don't think this is true here, it's also worth being aware that
some lists discourage using Mail-Followup-To.  For example

  http://article.gmane.org/gmane.comp.version-control.git/56264/

--
Kyle



Re: [O] Easy entry of date ranges

2015-08-26 Thread Nicolas Goaziou
Hello,

Ken Mankoff mank...@gmail.com writes:

 Org and the calendar make it fairly easy to enter time ranges, by
 typing -- and then the end time or + and then the duration. I'd
 like to do something similar for dates, but it doesn't seem to be
 supported. Is there an easy way to enter a date range for a scheduled
 task?

I don't think so. However, in Org, scheduling a task to date A means it
can start from date A. Scheduling a task to date A -- date B would be
equivalent to scheduling it to date A.

You probably want to do scheduled + deadline, which is supported.


Regards,

-- 
Nicolas Goaziou



Re: [O] Inline Images Export Bug

2015-08-26 Thread Pip Cet
I've used interactive SVGs with ox-html output quite a lot, and I found it
necessary to add the following horrible code; I'm not sure it's still
required:


let svgdoc = object.contentDocument;
let svgid = object.id;

if (!svgdoc) {
if (object.parentNode /* XXX why is this necessary */)
object.parentNode.innerHTML = ;
return;
}

let found = false;
for (let el of svgdoc.getElementsByTagName(svg)) {
let width = el.getAttribute(width);
let height = el.getAttribute(height);

let width_pt = width.match(/^([0-9]*)pt$/)[1];
let height_pt = height.match(/^([0-9]*)pt$/)[1];

let width_px = 5/4 * width_pt;
let height_px = 5/4 * height_pt;

object.setAttribute(width, width_px + px);
object.setAttribute(height, height_px + px);
found = true;
}


In my case, the SVG was produced by graphviz, so it always has the width
and height attributes.

This is a minor issue, but I also think the fallback message (Sorry, your
browser does not support SVG.) is really horrible and misleading. It's
very unlikely to be a browser issue today, and much more likely to be a
missing file or a user deliberately disabling SVG. In that case, software
shouldn't say it's sorry :-)

Cannot load SVG file. would be a better message, I think.


On Wed, Aug 26, 2015 at 6:06 PM, Rasmus ras...@gmx.us wrote:

 Hi Scott,

 Thanks for your bug report.

 Scott Randby sran...@gmail.com writes:

  When did Org start using the object tag for inline image HTML
  export?

 You should use git-blame to find out if you care.


  The problems with the second bit of exported code is that it doesn't
  scale the image to fit the block with 50% width (only a small part of
  the image is visible), and you when you right click on the image, you
  can't view it, save it or anything.
 
  [...]
 
  Clearly, Org 8.3 is not using an img tag when exporting SVG images
  to HTML, something which is a major issue for me. It essentially makes
  Org unusable for HTML export. I really would appreciate a fix for this
  bug.

 I'm not sure it's a bug.  It's IS clearly a quite complicated issue, e.g.:


 http://stackoverflow.com/questions/4476526/do-i-use-img-object-or-embed-for-svg-files

 Perhaps it should be configurable, perhaps even as a default and a
 per-image basis (via #+attr_html).

 If you can provide a (html) solution that takes into consideration the
 issues mentioned on SO that would of course be great.  In the age of d3.js
 interactivity COULD be an issue (I would always load interactive svgs
 via JS, but I'm a pretty naïve svg user so I don't know what's possible).

 Rasmus

 --
 Together we'll stand, divided we'll fall





Re: [O] Literate programming in org

2015-08-26 Thread Sebastien Vauban
Max Linke max_li...@gmx.de writes:
 On 08/26/2015 12:36 PM, Sebastien Vauban wrote:
 See:

 - inline Babel calls: ... call_NAME(ARGUMENTS) ... and/or
 - inline code blocks: src_LANGUAGE{BODY}.

 Yes I'm currently using inline babel calls.

 * reruning specific cells only one time after emacs was started

 I have some cells that are long running and produce some variables
 I later use for plotting or calculating related values. To avoid
 recalculating I have added `cache: yes` to these cells. But they
 are only run once across restarts of emacs or my interpreter session
 in the background. When I start working again I would like to have a
 way to rerun all code-cells independent of the fact if they are cached
 or not. This would lead to a huge speed up in converting to latex for
 me.

 I don't understand why re-running code blocks which are cached is
 a problem.  Could you elaborate?

 I wanted a shortcut to rerun every code cell independent of cached
 status. Looking again into the docs I found the short-cut

   'C-u C-c C-v b'

 This calls 'org-babel-execute-buffer'.

... to forcibly re-evaluate the blocks (even when marked :cache), yes.
OK, got it now!

Best regards,
  Seb

-- 
Sebastien Vauban




[O] Inline Images Export Bug

2015-08-26 Thread Scott Randby
When did Org start using the object tag for inline image HTML export? 
This is a horrible bug.


I use many SVG images in my documents. Here is a sample bit of Org code:

#+ATTR_HTML: :width 50% :style display: block; margin-right: auto; 
margin-left: auto;

[[./graphic-1.svg]]

I used to get this when exporting:

img src=./graphic-1.svg alt=graphic-1.svg width=50% 
style=display: block; margin-right: auto; margin-left: auto; /


Now I get this:

object type=image/svg+xml data=./graphic-1.svg width=50% 
style=display: block; margin-right: auto; margin-left: auto;Sorry, 
your browser does not support SVG./object


The problems with the second bit of exported code is that it doesn't 
scale the image to fit the block with 50% width (only a small part of 
the image is visible), and you when you right click on the image, you 
can't view it, save it or anything.


The documentation for 8.3.1 says this about org-html-inline-images:

   Non-nil means inline images into exported HTML pages.  This is done
   using an img tag.  When nil, an anchor with href is used to link
   to the image.

Clearly, Org 8.3 is not using an img tag when exporting SVG images to 
HTML, something which is a major issue for me. It essentially makes Org 
unusable for HTML export. I really would appreciate a fix for this bug.


Scott Randby



Re: [O] Do you like to have your TODOs at the same headline level?

2015-08-26 Thread J. David Boyd
Sebastien Vauban sva-n...@mygooglest.com writes:

 William Denton w...@pobox.com writes:
 I'm trying to spend more time in a sparse tree view where I just see
 TODOs (C-c / t).  I didn't like having the TODOs at different levels
 of indentation, though.  I prefer seeing them all lined up, so I moved
 them all to be fourth-level headline.  It's visually pleasing, and
 I don't care if a second-level headline has a fourth-level child
 without a third-level one.

 Do other people do this?

 No, and I don't think that's sane.  It would be logical to expect
 problems at export time (to LaTeX, among others) and in Org-lint.

 I try to put all the tasks at the 2nd level, the 1st level being
 reserved for big sections such as Administration, Tasks, Team,
 etc.

 I'm very rigorous about expecting that all my project management
 documents can be exported (without loosing subtrees or generating error)
 to HTML (as the very first goal) and to LaTeX (as the second one).

 OTOH, I don't deny your wish to get things aligned; that's why I've
 opted to 4-char todo states only!

 Best regards,
   Seb

4-char todo states?  How about a list? I can't picture how to abbreviate some
things...

Dave




[O] Easy entry of date ranges

2015-08-26 Thread Ken Mankoff
Hi Org List

Org and the calendar make it fairly easy to enter time ranges, by typing -- 
and then the end time or + and then the duration. I'd like to do something 
similar for dates, but it doesn't seem to be supported. Is there an easy way to 
enter a date range for a scheduled task?

Thanks,

  -k.



Re: [O] How to make weeks start from Sunday and be numbered from a custom date

2015-08-26 Thread Meir Goldenberg

Bill Burdick bill.burdick at gmail.com writes:

 
 
 Have you tried customizing org-agenda-format-date with a function?  
Here's the doc string:
 
 Format string for displaying dates in the agenda.
 Used by the daily/weekly agenda and by the timeline.  This should be
 a format string understood by `format-time-string', or a function 
returning
 the formatted date as a string.  The function must take a single 
argument,
 a calendar-style date list like (month day year).
 
 
 If you're mostly concerned about displaying dates, rather than reading 
them in, that might do the trick.
 
 
 -- Bill
 
 
 On Sun, Aug 23, 2015 at 9:04 PM Nick Dokos ndokos at gmail.com wrote:
 
 Meir Goldenberg mgoldenbe at gmail.com writes:
  Two questions:
 
  1. My work week starts on Sunday, so I have:
 
  (setq org-agenda-start-on-weekday 0)
 
  Now the agenda timeline starts on Sunday as desired. However, it says 
on top Week agenda (W34-W35), i.e. it still thinks that the week starts 
on Monday. Can I change that? 
 
  2. It would be very useful for me if the weeks were numbered from the 
week when my big work project started. Can I have the week numbering 
customized to have W01 on a certain date?
 
 I believe the answer is no to both questions: these are ISO week
 numbers and org depends on calendar functions to calculate them.
 --
 Nick
 
 
 

This sounds good. However, it requires knowledge of eLisp, which I cannot 
claim to possess. I would very much appreciate a code snippet that would 
get me started in the right direction.


Re: [O] Inline Images Export Bug

2015-08-26 Thread Rasmus
Hi Scott,

Thanks for your bug report.

Scott Randby sran...@gmail.com writes:

 When did Org start using the object tag for inline image HTML
 export?

You should use git-blame to find out if you care.


 The problems with the second bit of exported code is that it doesn't
 scale the image to fit the block with 50% width (only a small part of
 the image is visible), and you when you right click on the image, you
 can't view it, save it or anything.

 [...]
 
 Clearly, Org 8.3 is not using an img tag when exporting SVG images
 to HTML, something which is a major issue for me. It essentially makes
 Org unusable for HTML export. I really would appreciate a fix for this
 bug.

I'm not sure it's a bug.  It's IS clearly a quite complicated issue, e.g.:


http://stackoverflow.com/questions/4476526/do-i-use-img-object-or-embed-for-svg-files

Perhaps it should be configurable, perhaps even as a default and a
per-image basis (via #+attr_html).

If you can provide a (html) solution that takes into consideration the
issues mentioned on SO that would of course be great.  In the age of d3.js
interactivity COULD be an issue (I would always load interactive svgs
via JS, but I'm a pretty naïve svg user so I don't know what's possible).

Rasmus

-- 
Together we'll stand, divided we'll fall




Re: [O] Inline Images Export Bug

2015-08-26 Thread Pip Cet
Okay, I just checked (sorry, had to regenerate the files and that took some
time), and with the current version of Firefox the code I pasted is
unnecessary.

The problem I had with previous Firefox versions is that those decided on a
scale for displaying the SVG that differed from its preferred resolution,
but only if an object tag was used for inclusion; img tags would use the
preferred resolution and everything was fine.

The reason for the pt-to-px arithmetic is that graphviz outputs (or used
to) SVGs with a preferred size specified in pt only, not in px. I'm not
sure, but I think HTML pt and SVG pt don't necessarily agree.

Org mode is generating this tag:

object type=image/svg+xml data=org/op-prec.svg 
Sorry, your browser does not support SVG./object

Which looks okay to me. It's browser support that's the issue.

 The problems with the second bit of exported code is that it doesn't
scale the image to fit the block with 50% width (only a small part of the
image is visible)

Is it possible you're using an old browser? I'm on Iceweasel (Firefox)
38.1.0. (The bug was there a year or two ago, so by my standards it's a
recent fix that we shouldn't rely on yet.)

 and you when you right click on the image, you can't view it, save it or
anything.

Again, I can, using the This Frame popup menu.

But clearly that menu name is misleading and confusing in this case! And I
think that is reason enough to stick with the img tag for now: Firefox
users can't save the image unless they telepathically know that frame
means image. This Object might be okay, I guess.

My suggestion is to use img for images; that also appears to be the
consensus on Stack Overflow. Let's find a good syntax for including
interactive objects in Org mode, though.

On Wed, Aug 26, 2015 at 9:56 PM, Rasmus ras...@gmx.us wrote:

 Hi,

 Pip Cet pip...@gmail.com writes:

  let found = false;
  for (let el of svgdoc.getElementsByTagName(svg)) {
  let width = el.getAttribute(width);
  let height = el.getAttribute(height);
 
  let width_pt = width.match(/^([0-9]*)pt$/)[1];
  let height_pt = height.match(/^([0-9]*)pt$/)[1];
 
  let width_px = 5/4 * width_pt;
  let height_px = 5/4 * height_pt;
 
  object.setAttribute(width, width_px + px);
  object.setAttribute(height, height_px + px);
  found = true;

 So are you saying that Org is changing the size from px to pt?  Can you
 try to explain the problem you observe in words?

 Thanks,
 Rasmus

 --
 The second rule of Fight Club is: You do not talk about Fight Club



Re: [O] Inline Images Export Bug

2015-08-26 Thread Rasmus
Scott Randby sran...@gmail.com writes:

 I will experiment a bit to see if I can get the object tag solution
 working for me. But given the short amount of time I have to get my
 pages up (by Sunday), I will probably put the desired HTML code into
 the Org file directly until the issue is resolved.

Since time is of essence and you don't use the development version, would
you be able to use org 8.2.10?  It's bundled with Emacs 24.5.

Rasmus

-- 
I almost cut my hair, it happened just the other day




Re: [O] Two problems with exporting options

2015-08-26 Thread Grant Rettke
Counters: `org-export-with-statistics-cookies'
Grant Rettke
--
g...@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
“All creativity is an extended form of a joke.” --Kay
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Tue, Aug 25, 2015 at 7:20 AM, Meir Goldenberg mgolde...@gmail.com wrote:
 I have the following exporting options:
 #+OPTIONS: date:t stat:nil timestamp:t num:nil toc:nil p:nil todo:nil

 Two questions:

 1. I did not notice an option that would remove check-boxes ([ ]) and
 counters ([/]) from the output of the export. Is there a way to export
 without these? (actually, I thought that stat:nil would do it, but it does
 not have any effect.

 2. The options date:t stat:nil timestamp:t do not have any noticeable effect
 on the resulting pdf. The \date{\today} command does appear in the latex
 file, but the date does not show in the pdf...



Re: [O] org-crypt: Secure encrypted message against inadvertent change

2015-08-26 Thread AW
Am Montag, 24. August 2015, 20:42:01 schrieb AW:
 Am Sonntag, 23. August 2015, 19:54:51 schrieb John Kitchin:
  I am not sure if you put the comment on this post:
  http://kitchingroup.cheme.cmu.edu/blog/2014/09/13/Make-some-org-sections-r
  ea d-only/
  
  but it is possible to setup a hook that makes headings read-only. You
  could do that for headings tagged crypt, for example.
 
 Dear John,
 
 thank you. I simply changed read_only to crypt in the functions you
 developed. This functions prevent a change of encrypted text, which I think
 is really an improvment.
 
 ===
 
 (defun org-mark-readonly ()
   (interactive)
   (org-map-entries
(lambda ()
  (let* ((element (org-element-at-point))
 (begin (org-element-property :begin element))
 (end (org-element-property :end element)))
(add-text-properties begin (- end 1) '(read-only t
crypt)
  (message Made readonly!))
 
 
 (defun org-remove-readonly ()
   (interactive)
   (org-map-entries
(lambda ()
  (let* ((element (org-element-at-point))
 (begin (org-element-property :begin element))
 (end (org-element-property :end element))
 (inhibit-read-only t))
  (remove-text-properties begin (- end 1) '(read-only t
  crypt))
 
 (add-hook 'org-mode-hook 'org-mark-readonly)
 
 
 ===
 
 Thus before I can use org-decrypt-entry I have to put the cursor under the
 headline with the tag :crypt: and call org-remove-readonly.
 
 I  S U G G E S T  to  put this into org-crypt and change the commands org-
 decrypt-entry and org-encrypt-entry: Encrypted text shall be read-only, and
 org-decrypt-entry removes this.
 
 Sorry, I'm a user without knowledge of Lisp, unfortunately I can't do that
 myself. But it would be a valuable improvement of org-crypt.

I wrote to the person mentioned in org-crypt.el as maintainer and received the 
message that he no longer uses org-mode and no longer maintains org-crypt.el.

What a pity, org-mode is better than ever.



Re: [O] Bug: Column mode display broken after adding PROPERTIES drawer [8.3.1 (release_8.3.1-176-g45abec @ /tmp/minimal-org/org-mode/lisp/)]

2015-08-26 Thread Nicolas Goaziou
Hello,

Dale d...@codefu.org writes:

 I believe I have found a bug with column mode in org-mode from Git
 (45abec0): if editing a column's value adds a PROPERTIES drawer then
 the column mode display becomes corrupted.

 Steps to reproduce:

 1. Create an org-mode buffer with the following contents:

 --8--
 #+COLUMNS: %62ITEM(Task) %8Effort(Estimate){:}
 * Parent
 ** Test 1
 ** Test 2
 --8--

 2. Move cursor to Parent headline

 3. Enter column mode with C-c C-x C-c

 4. Move cursor into Estimate column of Test 1 task

 5. Press e to edit the column's value and enter any value (e.g. 0:00)

 Expected visible buffer contents:

 --8--
 Task   | Estimate |
 #+COLUMNS: %10ITEM(Task) %8Effort(Estimate){:}
 * Parent   | 0:00 |
 ** Test 1  | 0:00 |...
 ** Test 2  |  |
 --8--

 What I observed instead of that, the Test 2 heading being moved onto
 the same line as Test 1:

 --8--
 Task   | Estimate |
 #+COLUMNS: %10ITEM(Task) %8Effort(Estimate){:}
 * Parent   | 0:00 |
 ** Test 1  | 0:00 |...** Test 2  |  |
 --8--

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Inline Images Export Bug

2015-08-26 Thread Rasmus
Hi,

Pip Cet pip...@gmail.com writes:

 let found = false;
 for (let el of svgdoc.getElementsByTagName(svg)) {
 let width = el.getAttribute(width);
 let height = el.getAttribute(height);

 let width_pt = width.match(/^([0-9]*)pt$/)[1];
 let height_pt = height.match(/^([0-9]*)pt$/)[1];

 let width_px = 5/4 * width_pt;
 let height_px = 5/4 * height_pt;

 object.setAttribute(width, width_px + px);
 object.setAttribute(height, height_px + px);
 found = true;

So are you saying that Org is changing the size from px to pt?  Can you
try to explain the problem you observe in words?

Thanks,
Rasmus

-- 
The second rule of Fight Club is: You do not talk about Fight Club



Re: [O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Jorge A. Alfaro-Murillo

Kyle Meyer writes:

jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: 

Eric S Fraga writes: 

 Replies need not be written to go to both you and the list. 


I would add: and should not. Otherwise people subscribed to the 
list get the message twice. 


Directing a reply to somebody and cc'ing the list is common 
practice on many lists, including this list and emacs.devel.  If 
you want to avoid duplicates, you'll have better luck filtering 
on your end.  


I do not subscribe with my email to lists, but using 
news.gwene.org in gnus. There must be a way to check for 
duplicates in two different servers, but so few people reply to 
both the personal email address and the email list that I have 
never found the need to look how to set that up. I just delete the 
email and get slightly annoyed. I also have 
gnus-confirm-mail-reply-to-news set to t not to make the mistake 
of replying instead of following-up to news.


--
Jorge.




[O] skip scheduled if deadline *on other days*

2015-08-26 Thread Ken Mankoff

I'd like to not show SCHEDULED items in an agenda view if those same items have 
DEADLINES. 

I know of =org-agenda-skip-scheduled-if-deadline-is-shown=, but that seems to 
only work for items on the same day, and only if the DEADLINE is shown. Even if 
the DEADLINE isn't shown (farther in the future than the current agenda view), 
items should be skipped if DEADLINE exists. 

My current agenda is:

  (setq org-agenda-custom-commands
'(
  (c My Custom Agenda
   (
(agenda  (
   (org-agenda-overriding-header Events)
   (org-agenda-show-all-dates nil)
   (org-agenda-ndays 10)
   (org-agenda-skip-function '(org-agenda-skip-entry-if 
'nottodo '(EVENT)))
   ))
  

Can someone advise how to modify this to get the behavior described above?

Thanks,

  -k.



Re: [O] Do you like to have your TODOs at the same headline level?

2015-08-26 Thread Sebastien Vauban
William Denton w...@pobox.com writes:
 I'm trying to spend more time in a sparse tree view where I just see
 TODOs (C-c / t).  I didn't like having the TODOs at different levels
 of indentation, though.  I prefer seeing them all lined up, so I moved
 them all to be fourth-level headline.  It's visually pleasing, and
 I don't care if a second-level headline has a fourth-level child
 without a third-level one.

 Do other people do this?

No, and I don't think that's sane.  It would be logical to expect
problems at export time (to LaTeX, among others) and in Org-lint.

I try to put all the tasks at the 2nd level, the 1st level being
reserved for big sections such as Administration, Tasks, Team,
etc.

I'm very rigorous about expecting that all my project management
documents can be exported (without loosing subtrees or generating error)
to HTML (as the very first goal) and to LaTeX (as the second one).

OTOH, I don't deny your wish to get things aligned; that's why I've
opted to 4-char todo states only!

Best regards,
  Seb

-- 
Sebastien Vauban




[O] Literate programming in org

2015-08-26 Thread Max Linke

Hi

I'm currently trying to use org-modes literate programming capabilities 
to write up a paper. So far it has been a joy to have the plotting code

and text in the same document. Thanks for all the work people here have
already put in to make this so easy.

I have run into a two small problems so far

* How can I use computed variables (string/int/float) in floating text?

  I have for example calculated a autocorrelation time and now want to
  use that calculated number in the text. The best solution I have
  found so far is

  #+name: print_acf_time
  #+begin_src ipython :session :exports none
print(acf_time)
  #+end_src

  The autocorrelation time for the process is call_print_acf_time().
  That is OK-ish but I have to write a special code cell for every
  variable that I want to reference in my document. Is there another
  method to export variables to be easily accessible in org-mode?

* reruning specific cells only one time after emacs was started

  I have some cells that are long running and produce some variables
  I later use for plotting or calculating related values. To avoid
  recalculating I have added `cache: yes` to these cells. But they
  are only run once across restarts of emacs or my interpreter session
  in the background. When I start working again I would like to have a
  way to rerun all code-cells independent of the fact if they are cached
  or not. This would lead to a huge speed up in converting to latex for
  me.

I appreciate any help with this.

best Max



Re: [O] emacs org mode for scholars questions

2015-08-26 Thread Eric S Fraga
On Tuesday, 25 Aug 2015 at 16:18, John Kitchin wrote:
 That looks very cool. Do you use it?

yes but only when I have a large enough monitor, e.g. on my 24 portrait
monitor I use for writing.

it can be useful every now and again, especially as I have both org
documents and emails trawled for keywords.  The email aspect is not as
good as it could be due to people including all previous emails in
replies so there is a lot of duplication.  I tend to start the agent
when I start writing a paper or a grant proposal and then forget about
it until I need to find something.  I then look at what remem is
suggesting just in case.

Other than screen space, it doesn't get in the way.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec



Re: [O] Literate programming in org

2015-08-26 Thread Sebastien Vauban
Hi,

Max Linke max_li...@gmx.de writes:
 I'm currently trying to use org-modes literate programming capabilities 
 to write up a paper. So far it has been a joy to have the plotting code
 and text in the same document. Thanks for all the work people here have
 already put in to make this so easy.

Can't add anything! ;-)

 I have run into a two small problems so far

 * How can I use computed variables (string/int/float) in floating text?

I have for example calculated a autocorrelation time and now want to
use that calculated number in the text. The best solution I have
found so far is

#+name: print_acf_time
#+begin_src ipython :session :exports none

  print(acf_time)
#+end_src

The autocorrelation time for the process is call_print_acf_time().
That is OK-ish but I have to write a special code cell for every
variable that I want to reference in my document. Is there another
method to export variables to be easily accessible in org-mode?

See:

- inline Babel calls: ... call_NAME(ARGUMENTS) ... and/or
- inline code blocks: src_LANGUAGE{BODY}.

 * reruning specific cells only one time after emacs was started

I have some cells that are long running and produce some variables
I later use for plotting or calculating related values. To avoid
recalculating I have added `cache: yes` to these cells. But they
are only run once across restarts of emacs or my interpreter session
in the background. When I start working again I would like to have a
way to rerun all code-cells independent of the fact if they are cached
or not. This would lead to a huge speed up in converting to latex for
me.

I don't understand why re-running code blocks which are cached is
a problem.  Could you elaborate?

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] emacs org mode for scholars questions

2015-08-26 Thread John Kitchin
Interesting. I could see some interesting extensions to it. I use
button-lock to alert me to interesting (to me) text in my buffers a lot,
which is a little less intrusive. For example, any names in my
org-contacts are highlighted in a light pink background with a context
tool tip and made clickable to access functions like open the contact,
email the contact, etc... This is done with a large regexp pattern
through font-lock, but it would be interesting do that with some kind of
asynchronously run function that doesn't get in my way. I have not used
functions in font lock yet, but I think it can be done.

When you say trawled, is this with some indexing tool, or something you
wrote?




Eric S Fraga writes:

 On Tuesday, 25 Aug 2015 at 16:18, John Kitchin wrote:
 That looks very cool. Do you use it?

 yes but only when I have a large enough monitor, e.g. on my 24 portrait
 monitor I use for writing.

 it can be useful every now and again, especially as I have both org
 documents and emails trawled for keywords.  The email aspect is not as
 good as it could be due to people including all previous emails in
 replies so there is a lot of duplication.  I tend to start the agent
 when I start writing a paper or a grant proposal and then forget about
 it until I need to find something.  I then look at what remem is
 suggesting just in case.

 Other than screen space, it doesn't get in the way.

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



[O] bug#21344: 25.0.50; ORG (melpa unstable): when export to html #+BEGIN_CENTER blocks don't work

2015-08-26 Thread Bastien
j_l_domen...@yahoo.com writes:

   In latest ORG from melpa unstable, when exporting to HTML, the 
 #+BEGIN_CENTER
   blocks doesn't work as expected.

This has been fixed in upstream Org maint branch and will be available
as a MELPA update by tomorrow.

Thanks for the patch,

--
 Bastien





Re: [O] Collaborative Team Project Management with Orgmode?

2015-08-26 Thread John Kitchin

Eric Abrahamsen writes:

 The following message is a courtesy copy of an article
 that has been posted to gmane.emacs.orgmode as well.

 John Kitchin jkitc...@andrew.cmu.edu writes:


 Let's see... the org-contacts vs BBDB issue isn't a big deal, since
 Gnorb doesn't actually do all that much with contacts right now. I'd be
 happy to add tweaks to it to make it more org-contacts friendly.

 Email tracking is a bigger issue. Gnorb uses the Gnus registry to track
 correspondences between messages and headlines, and obviously none of
 that would work with mu4e.

 Earlier versions did tracking by storing message ids as a property on a
 headline. I suppose I could go back to doing that in a mu4e-specific
 library.

 Message id tracking is likely the way to do it in mu4e. mu4e links seem
 to store this for links.

 [[mu4e:msgid:bn3pr0301mb0851db3e4c53993daa1e8a98b2...@bn3pr0301mb0851.namprd03.prod.outlook.com]]

 Yup, I think most of the MUA links end up looking something like that.
 Message IDs are the one constant across MUAs and (most) mail sources, so
 everything in Gnorb is keyed to that.

It is pretty easy to get these from a message. I use this variable in a
send callback function:

(setq *email-message-id*
(concat
 mu4e:msgid:
 ;; borrowed from 
https://github.com/girzel/gnorb/blob/master/gnorb-utils.el#L137
 (replace-regexp-in-string
  \\(\\`\\|\\'\\)  (mail-fetch-field Message-ID

and then later use
(org-set-property Message-ID *email-message-id*)

and I get a clickable link in the property that will go back to the
message (after mu indexes again for freshly sent emails).


 To me, the most useful thing about message tracking isn't the
 identification and hinting of incoming emails. The two most useful
 things (I think) are:

 1. Taking a message and saying this message should trigger a state
change on that Org heading there
 2. Seeing all messages associated with a heading in their own virtual
mailbox

 Number one shouldn't be too difficult to implement for mu4e, as it would
 mostly rely on Org's own mu4e support. Number two would be nearly
 impossible, or at least impractical given my lack of familiarity with
 mu4e.

 I am still learning many things about emails. mu4e has pretty powerful
 search capability via the underlying Xapian database.

 Well, on second thought, maybe it wouldn't need to be that hard, then.
 The Org heading would have its list of msg-ids, and if mu4e search has
 an easy way of saying search for all messages whose IDs are in this
 list, then that it would be quite easy. Much easier than in Gnus, I
 have to say! If that search works across mail accounts and folders, then
 Gnorb wouldn't even have to care about messages being moved between
 folders, which is one of the main uses of the registry.
This seems to do what you describe. When I run it, I get an mu4e buffer
with those two messages in it. Basically you just create a mu query.

#+BEGIN_SRC emacs-lisp
(let ((ids '(871teq3c9p@ericabrahamsen.net
 201508260407.t7q479ls026...@relay.andrew.cmu.edu) ))
  (mu4e-headers-search
   (mapconcat
(lambda (id)
  (concat msgid: id))
ids
 or )))
#+END_SRC



 Another thing I find hugely useful is automatically transferring files
 attached to incoming messages to Org headings (via org-attach).
 Presumably mu4e has a way of getting at the attachments on a message, so
 in theory this wouldn't be that hard, either.

 This sounds pretty interesting. I have never gotten that into
 attachments, but this might change my mind. There are functions in mu4e
 to view and save attachments, so this might not be hard.

 Much of my work involves throwing attachments around (or rather,
 receiving attachments and sending back plain text whenever possible),
 so this is pretty crucial for me. While org-attach is very sound, I
 found its surface-layer interface a bit cumbersome, and this makes it a
 lot easier to use.

Me too ;) I just have not progressed to org-attach yet. I usually have
to edit the attachments. How easy is it to reattach them to send back?


 I am pretty interested in pursuing this, but am pretty busy for a while
 so progress on my end will be slow ;(

 Mine as well, ha!

 BTW, mu4e still uses message mode for composition and sending, right?

yes.


 Anyway, those are some thoughts on the issue. If you all had some
 particular feature where you'd like mu4e support, let me know and I can
 take a stab at it.

 Eric

 On Sun, Aug 23, 2015 at 12:39 PM, Eric Abrahamsen
 e...@ericabrahamsen.net wrote:


 John Kitchin jkitc...@andrew.cmu.edu writes:

  unless those services have some kind of API, and you have the
 desire to
  implement it in emacs, you might be out of luck.
 
  I am trying to figure out a way to do collaborative work via
 email,
  where I am the project coordinator. The idea is to use my
 email.el code
  to send headlines to people I need information or action 

Re: [O] Start Appendix in LaTeX - better way than \appendix?

2015-08-26 Thread Rainer M Krug
Eric S Fraga e.fr...@ucl.ac.uk writes:

 On Wednesday, 26 Aug 2015 at 11:47, Rainer M Krug wrote:

 [...]

 Is there a better / more org way of doing this, or do I have to live
 with this?

 I tend to do something like this:

 #+begin_src org
   ,* (new page)   :ignoreheading:
   ,#+latex: \newpage
 #+end_src

 in conjunction with this export hook:

 #+begin_src emacs-lisp
   (defun esf/remove-lines-with-ignore-heading-tag (backend)
 (message Deleting lines with ignore heading tag)
 (while (search-forward-regexp ^\\*+.*[ 
 \t]+[a-ZA-Z0-9:]*:ignoreheading:[a-ZA-Z0-9:]*$ (point-max) t)
   (cond
((eq backend 'latex) (replace-match #+latex: % \\ ))
((eq backend 'html) (replace-match #+html: !-- \\ -- ))
(t (replace-match )
   (add-hook 'org-export-before-processing-hook 
 'esf/remove-lines-with-ignore-heading-tag)
 #+end_src

 I use the ignoreheading kludge a lot for structuring documents that will be 
 exported.

 Obviously change newpage for appendix in the above example...

This is brilliant - thanks.

I think this should be included directly i org as may questions were
related to exactly this - entries without headings.

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] Literate programming in org

2015-08-26 Thread Ken Mankoff
Hi Max,

This is one bit of literate programming I haven't mastered myself yet. I 
generally have code blocks and print results, and then manually re-enter them 
in the paragraph below. I would like what you are looking for. The best 
solution I have, which I don't use often, is to use sessions and inline code.

On 2015-08-26 at 04:35, Max Linke max_li...@gmx.de wrote:
 * How can I use computed variables (string/int/float) in floating text?

I have for example calculated a autocorrelation time and now want to
use that calculated number in the text. The best solution I have
found so far is

#+name: print_acf_time
#+begin_src ipython :session :exports none
  print(acf_time)
#+end_src

The autocorrelation time for the process is call_print_acf_time().
That is OK-ish but I have to write a special code cell for every
variable that I want to reference in my document. Is there another
method to export variables to be easily accessible in org-mode?

For example, to insert the number three I could do the following, if a = 1 and 
b = 2, defined previously in session foo: src_octave[:session foo]{a+b} 
{{{results(=3=)}}}

I've been thinking about other ways to achieve this... perhaps my code blocks 
update a table. That table might be included in the text for the reader. Then 
one code session reads it all in, so I have access to all results in one 
session and can use them in the text...

  -k.




Re: [O] Start Appendix in LaTeX - better way than \appendix?

2015-08-26 Thread Rasmus
Rainer M Krug rai...@krugs.de writes:

 Is there a better / more org way of doing this, or do I have to live
 with this?

Use a filter that inserts \appendix when it sees a particular property
or tag in a headline.

It would be nice to introduce a general property for arbitrary code just
before a headline.

Rasmus

-- 
Dung makes an excellent fertilizer




Re: [O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Meir Goldenberg
Ah. I did not realize that. I have just filled out the subscription form.
But how will I be able to reply to the replies that were sent to the list
prior to my subscription?

On Wed, Aug 26, 2015 at 2:54 PM, Eric S Fraga e.fr...@ucl.ac.uk wrote:

 On Wednesday, 26 Aug 2015 at 14:07, Meir Goldenberg wrote:
  Sorry for being off the main topic. For some reason, I do not get replies
  to the GMail address from which I send my posts to the orgmode list.

 I am confused.  Are you subscribed to the mailing list?  If not, you may
 only receive replies when people have explicitly put your email address
 in the response.  Replies need not be written to go to both you and the
 list.  This reply I am sending has been address to both the list and to
 you but only because I told gnus to do so.  I could have just as easily
 sent the reply only to the list.

 --
 : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec



[O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Meir Goldenberg
Sorry for being off the main topic. For some reason, I do not get replies
to the GMail address from which I send my posts to the orgmode list.

For example, the post
http://lists.gnu.org/archive/html/emacs-orgmode/2015-08/msg01011.html got
answered three days ago, but I still do not get anything in my INBOX and so
cannot reply either.

When I press the reply button in the mail archive in the browser, it
prompts me to set up some account for which I need to know some server
names. All I want is to receive the replies to my GMail account. What do I
need to do? Thanks!


Re: [O] emacs org mode for scholars questions

2015-08-26 Thread Eric S Fraga
On Wednesday, 26 Aug 2015 at 06:39, John Kitchin wrote:
 Interesting. I could see some interesting extensions to it. I use
 button-lock to alert me to interesting (to me) text in my buffers a lot,
 which is a little less intrusive. For example, any names in my

Interesting!  Indeed it would be interesting to tie these two concepts
together, sort of an automatic hyper-text facility with multiple
out-going links...

 When you say trawled, is this with some indexing tool, or something you
 wrote?

The remembrance-agent package in Debian includes the tools for trawling
through text files and creating the databases (ra-index) the emacs tool
requires (using ra-retrieve).

I run the index operation using crontab weekly.  Weekly is sufficient
for my needs as the content is not that dynamic and it is the old
content that I need help remembering ;-)

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec



Re: [O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Eric S Fraga
On Wednesday, 26 Aug 2015 at 14:07, Meir Goldenberg wrote:
 Sorry for being off the main topic. For some reason, I do not get replies
 to the GMail address from which I send my posts to the orgmode list.

I am confused.  Are you subscribed to the mailing list?  If not, you may
only receive replies when people have explicitly put your email address
in the response.  Replies need not be written to go to both you and the
list.  This reply I am sending has been address to both the list and to
you but only because I told gnus to do so.  I could have just as easily
sent the reply only to the list.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec



Re: [O] Organizing and taming hectic Academia work (faculty viewpoint)? Tips or a good guides sought after :)

2015-08-26 Thread Anders Johansson
Xebar Saram zeltakc at gmail.com writes:

 
 Hi all
 Im a young assistant professor (in humanities and thus my horrific coding
skills..basically non ) and having been using orgmode for a year or two now.
I love orgmode dearly and use it mainly for note taking, lists etc
 
 I am aware of the fantastic orgmode capabilities that could benefit me
greatly such as exporting, email tie-ins, beamer support, organizing my
bibliography (i have switched to a .bib file recently for my references),
agenda capabilities and so much moreand have tried several of these with
mild success. 
 
 unfortunately (and this maybe due to me not being very technical and lack
of coding skills) i still feel like im really not using orgmode to its
potential and still feel miserably lost in terms of organizing my work in
academia from all aspects.
 
 i am looking for 2 things really: 
 1. as i said in the post topic a good guide if anyone is aware of or
detailed examples of using org in Academia (mainly aimed at faculty :))
 
 2. related to that as a young researcher with multiple students, paper
writing, grant applications, department duties, endless TODOS, endless email
i would really be grateful for even non org specific tips on how other
people organize all this to make life more..well..organized :)
 
 thanks alot in advance and sorry for the long mail
 
 best
 
 Z
 
 

I have to collaborate in Word but can at least start out writing my papers
in org-mode. I use Zotero for reference management and with the help of
several tools I can insert citations that can be formatted by Zotero in the
final version of the paper.
Here is my configuration:
https://gist.github.com/andersjohansson/324a01364eb5a5435c65

It uses Erik Hetzners org-zotxt and org-pdcite, ox-odt for converting to
odt, and then the tool http://zotero-odf-scan.github.io/zotero-odf-scan/ to
convert the generated citations like { | Smith, (2012) | |
|zu:2433:WQVBH98K} to Zotero citation marks in the odt-file.

Perhaps someone else will have use for this as well,

Cheers,
Anders Johansson








Re: [O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Nick
Meir Goldenberg mgoldenbe at gmail.com writes:

 
 
 Ah. I did not realize that. I have just filled out the subscription form.
But how will I be able to reply to the replies that were sent to the list
prior to my subscription?
 

Visit http://news.gmane.org/gmane.emacs.orgmode
Find the mail that you want to reply and use the Actions drop down menu on
the upper right to select Followup.
Fill in your name and email address, add your reply to the message and
respond to the Kaptcha at the bottom.

This reply is being sent using exactly this method.

Nick








[O] Auto org-mobile-push kills buffer

2015-08-26 Thread Jorge
Hi.  I use MobileOrg.  To automate org-mobile-push I have installed
the code below from
https://github.com/matburt/mobileorg-android/wiki/FAQ.  However, the
code sometimes does weird things, such as killing the current buffer
(happened twice).
Is this a known bug?  Also, in the last line, why is the lambda quoted?

;; https://github.com/matburt/mobileorg-android/wiki/FAQ
(defvar org-mobile-push-timer nil
  Timer that `org-mobile-push-timer' used to reschedule itself, or nil.)

(defun org-mobile-push-with-delay (secs)
  (when org-mobile-push-timer
(cancel-timer org-mobile-push-timer))
  (setq org-mobile-push-timer
(run-with-idle-timer
 (* 1 secs) nil #'org-mobile-push)))

(add-hook 'after-save-hook
 (lambda ()
   (when (eq major-mode 'org-mode)
 (dolist (file (org-mobile-files-alist))
  (if (string= (file-truename (expand-file-name (car file)))
  (file-truename (buffer-file-name)))
   (org-mobile-push-with-delay 30)))
 )))

;; refreshes agenda file each day
(run-at-time 00:05 86400 '(lambda () (org-mobile-push-with-delay 1)))



Re: [O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Jorge A. Alfaro-Murillo

Eric S Fraga writes:

On Wednesday, 26 Aug 2015 at 14:07, Meir Goldenberg wrote: 
Sorry for being off the main topic. For some reason, I do not 
get replies to the GMail address from which I send my posts to 
the orgmode list. 


I am confused.  Are you subscribed to the mailing list?  If not, 
you may only receive replies when people have explicitly put 
your email address in the response.  Replies need not be written 
to go to both you and the list. 


I would add: and should not. Otherwise people subscribed to the 
list get the message twice.


--
Jorge.




[O] Code causes complete crash of emacs - sometimes

2015-08-26 Thread Rainer M Krug

Hi

I had the following in my emacs.org and it caused under certain
conditions a complete crash from emacs:

,
| ** Fancier Code Block Delimiters
| Essentially from Eric Schulte ([O] Prettier (or at least fancier) code block 
delimiters)
| #+begin_src emacs-lisp
| (defun rmk/prettier-org-code-blocks ()
|   (interactive)
|   (font-lock-add-keywords nil
|   '((\\(\+begin_src\\)
|  (0 (progn (compose-region (match-beginning 1) 
(match-end 1) ?)
|nil)))
| (\\(\+end_src\\)
|  (0 (progn (compose-region (match-beginning 1) 
(match-end 1) ?)
|nil))
| (add-hook 'org-mode-hook 'rmk/prettier-org-code-blocks)
| #+end_src
`

The steps were:

1) create new header
2) create new el tab code block
3) mouse up
4) crash

This happened in the terminal and in the GUI, but only under certain
circumstances - reproducible on my system.

Is it just on my system?

I hope that by removing this my crashes are gone and emacs is as stable
as before.

Thanks,

Rainer
-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


signature.asc
Description: PGP signature


[O] Start Appendix in LaTeX - better way than \appendix?

2015-08-26 Thread Rainer M Krug
Hi

I am working on a document with appendix and at the moment the org file
looks effectively like this:

,
| ...
| * Acknowledgments
| 
| \appendix
| 
| * # From Here is Appendix  :noexport:
| * Parameter
| * Code
| ...
`

So the appendix separator for LaTeX is in the section
*Acknowledgements* with the visual separator following.

This works, but is kind of strange, as #/appendix# is not actually part
of *Acknowledgements*.

Is there a better / more org way of doing this, or do I have to live
with this?

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug

PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] Start Appendix in LaTeX - better way than \appendix?

2015-08-26 Thread Eric S Fraga
On Wednesday, 26 Aug 2015 at 11:47, Rainer M Krug wrote:

[...]

 Is there a better / more org way of doing this, or do I have to live
 with this?

I tend to do something like this:

#+begin_src org
  ,* (new page)   :ignoreheading:
  ,#+latex: \newpage
#+end_src

in conjunction with this export hook:

#+begin_src emacs-lisp
  (defun esf/remove-lines-with-ignore-heading-tag (backend)
(message Deleting lines with ignore heading tag)
(while (search-forward-regexp ^\\*+.*[ 
\t]+[a-ZA-Z0-9:]*:ignoreheading:[a-ZA-Z0-9:]*$ (point-max) t)
  (cond
   ((eq backend 'latex) (replace-match #+latex: % \\ ))
   ((eq backend 'html) (replace-match #+html: !-- \\ -- ))
   (t (replace-match )
  (add-hook 'org-export-before-processing-hook 
'esf/remove-lines-with-ignore-heading-tag)
#+end_src

I use the ignoreheading kludge a lot for structuring documents that will be 
exported.

Obviously change newpage for appendix in the above example...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-176-g45abec



Re: [O] emacs org mode for scholars questions

2015-08-26 Thread John Kitchin

Eric S Fraga writes:

 On Wednesday, 26 Aug 2015 at 06:39, John Kitchin wrote:
 Interesting. I could see some interesting extensions to it. I use
 button-lock to alert me to interesting (to me) text in my buffers a lot,
 which is a little less intrusive. For example, any names in my

 Interesting!  Indeed it would be interesting to tie these two concepts
 together, sort of an automatic hyper-text facility with multiple
 out-going links...

That is exactly what my code does, sometimes even with context-specific
links, e.g. if a contact has a URL property, you get an open url
action.


 When you say trawled, is this with some indexing tool, or something you
 wrote?

 The remembrance-agent package in Debian includes the tools for trawling
 through text files and creating the databases (ra-index) the emacs tool
 requires (using ra-retrieve).

I see. one day I will think about doing something like this with the
swish-e index (or recoll, etc...) work I did this past summer. Document
similarity has been on my mind, beyond just keywords (which I am not
good at using consistently) for a few applications. Mostly similar
bibtex entries I already have, similar entries in an RSS feed, etc...


 I run the index operation using crontab weekly.  Weekly is sufficient
 for my needs as the content is not that dynamic and it is the old
 content that I need help remembering ;-)

Agreed!

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



[O] org-trigger-hook vs. org-after-todo-state-change-hook

2015-08-26 Thread Marcin Borkowski
Hi all,

org-trigger-hook vs. org-after-todo-state-change-hook:

which one to choose?  (I want to execute some code when an item is
marked as done.)  Why do both of them exist?

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



Re: [O] emacs org mode for scholars questions

2015-08-26 Thread John Kitchin

Suvayu Ali writes:

 Hi John,

 On Tue, Aug 25, 2015 at 09:51:53AM -0400, John Kitchin wrote:

 Most important maybe: figure out how to merge narrative text in version
 control! I don't want to write a sentence per line just to use the
 default merge with git. I really want a word-based track-change like
 diff, and merge.

 Ages ago there was a GSoC project, Org merge driver, for use with git.
 I don't recall what was the last status.  Okay, found some info:

 http://orgmode.org/worg/org-contrib/gsoc2012/student-projects/git-merge-tool/

 Would be good to somehow revive this.  I guess it's not an easy problem.
 If I remember correctly, there was no prior discussion on the list what
 should be the merge strategy.  It happened as the project progressed.  I
 think this is one of those projects where a clear path/plan how to
 proceed before writing any code would be very beneficial.

 Maybe someone can propose a plan?
It sounds like a great addition, and (unfortunately) a summer project ;)


 Cheers,

--
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] Easy entry of date ranges

2015-08-26 Thread Ken Mankoff

On 2015-08-26 at 15:04, Nicolas Goaziou m...@nicolasgoaziou.fr wrote:
 Ken Mankoff mank...@gmail.com writes:

 Org and the calendar make it fairly easy to enter time ranges, by
 typing -- and then the end time or + and then the duration. I'd
 like to do something similar for dates, but it doesn't seem to be
 supported. Is there an easy way to enter a date range for a scheduled
 task?

 I don't think so. However, in Org, scheduling a task to date A means
 it can start from date A. Scheduling a task to date A -- date B
 would be equivalent to scheduling it to date A.

 You probably want to do scheduled + deadline, which is supported.

No, scheduled + deadline is a different use case. The syntax I use, =SCHEDULED: 
2020-01-01--2020-01-07=, is valid, there just isn't an easy way to enter 
it. One (of many) use cases: a week long vacation. This use case is supported 
by Org since the Agenda helpfully shows (1/7), and (2/7), etc. before each 
entry. Everything else is so efficient and has shortcuts, including time 
ranges, I just hoped I was missing something here. Perhaps it hasn't been 
implemented yet.

  -k.
  



Re: [O] org-trigger-hook vs. org-after-todo-state-change-hook

2015-08-26 Thread Nick Dokos
Marcin Borkowski mb...@mbork.pl writes:

 org-trigger-hook vs. org-after-todo-state-change-hook:

 which one to choose?  (I want to execute some code when an item is
 marked as done.)  Why do both of them exist?


The trigger hook functions take a proplist argument which provides a lot
more information to the function than what is available to the
after-todo-state-change functions (which take no argument): the latter
can only know what the new state is going to be (through a global
variable); as a result, they can be much simpler than the trigger
functions, so if you don't need the extra info, after-todo is probably
the way to go.

-- 
Nick




Re: [O] Inline Images Export Bug

2015-08-26 Thread Scott Randby

On 08/26/2015 06:40 PM, Pip Cet wrote:

Okay, I just checked (sorry, had to regenerate the files and that took
some time), and with the current version of Firefox the code I pasted is
unnecessary.

The problem I had with previous Firefox versions is that those decided
on a scale for displaying the SVG that differed from its preferred
resolution, but only if an object tag was used for inclusion; img tags
would use the preferred resolution and everything was fine.

The reason for the pt-to-px arithmetic is that graphviz outputs (or used
to) SVGs with a preferred size specified in pt only, not in px. I'm not
sure, but I think HTML pt and SVG pt don't necessarily agree.

Org mode is generating this tag:

object type=image/svg+xml data=org/op-prec.svg 
Sorry, your browser does not support SVG./object

Which looks okay to me. It's browser support that's the issue.


The problems with the second bit of exported code is that it doesn'tscale the 
image to fit the block with 50% width (only a small part of

the image is visible)

Is it possible you're using an old browser? I'm on Iceweasel (Firefox)
38.1.0. (The bug was there a year or two ago, so by my standards it's a
recent fix that we shouldn't rely on yet.)


I'm using Firefox 40.0. I get the same behavior on Google Chrome 44.0 too.




and you when you right click on the image, youcan't view it, save it or 
anything.


Again, I can, using the This Frame popup menu.


Okay, that works.



But clearly that menu name is misleading and confusing in this case! And
I think that is reason enough to stick with the img tag for now: Firefox
users can't save the image unless they telepathically know that frame
means image. This Object might be okay, I guess.

My suggestion is to use img for images; that also appears to be the
consensus on Stack Overflow. Let's find a good syntax for including
interactive objects in Org mode, though.


This sounds reasonable.



On Wed, Aug 26, 2015 at 9:56 PM, Rasmus ras...@gmx.us
mailto:ras...@gmx.us wrote:

Hi,

Pip Cet pip...@gmail.com mailto:pip...@gmail.com writes:

 let found = false;
 for (let el of svgdoc.getElementsByTagName(svg)) {
 let width = el.getAttribute(width);
 let height = el.getAttribute(height);

 let width_pt = width.match(/^([0-9]*)pt$/)[1];
 let height_pt = height.match(/^([0-9]*)pt$/)[1];

 let width_px = 5/4 * width_pt;
 let height_px = 5/4 * height_pt;

 object.setAttribute(width, width_px + px);
 object.setAttribute(height, height_px + px);
 found = true;

So are you saying that Org is changing the size from px to pt?  Can you
try to explain the problem you observe in words?

Thanks,
Rasmus

--
The second rule of Fight Club is: You do not talk about Fight Club






Re: [O] Inline Images Export Bug

2015-08-26 Thread Scott Randby

On 08/26/2015 06:35 PM, Rasmus wrote:

Scott Randby sran...@gmail.com writes:


I will experiment a bit to see if I can get the object tag solution
working for me. But given the short amount of time I have to get my
pages up (by Sunday), I will probably put the desired HTML code into
the Org file directly until the issue is resolved.


Since time is of essence and you don't use the development version, would
you be able to use org 8.2.10?  It's bundled with Emacs 24.5.


I can stay with 8.3.1. It really isn't a problem for me to put the 
needed HTML code directly into the Org file. I'll just do something like 
this:



#+BEGIN_HTML
p
img src=./graphic-1.svg alt=Cannot load SVG file. width=75% 
style=display: block; margin-right: auto; margin-left: auto; /

/p
#+END_HTML

Scott



[O] entry text allow planning?

2015-08-26 Thread Samuel Wales
seems that the org agenda entry text removes planning and maybe
logbook.  could this be optional?



Re: [O] Weird Asymptote mode behaviour in org

2015-08-26 Thread Jarmo Hurri
Nicolas Richard youngf...@members.fsf.org writes:

 * description
   Move cursor into the code below. Press ~C-c '~ to edit the code in
   Asymptote mode. Do not change anything in the code, just press ~C-c
   '~ to return to org. You will notice that a comma has been inserted
   into the code.
 * test case

   #+BEGIN_SRC asymptote
 real s = 50
   * 21.1;
   #+END_SRC

 The comma is meant to escape the star (*), see footnote in (info
 (org) Literal examples). I'm not sure the comma is required (because
 your * isn't at the start of the line), but is shouldn't hurt
 (i.e. you can C-c ', you can C-c C-c, etc.)

Thanks! Seems I have skipped some parts of the manual. :)

I can live with this now that I know it. It is extremely confusing at
first, though, so future generations might prefer to live without that
feature if it is not really necessary. That is, if a comma is not needed
when the star (*) is not at the beginning of the line.

All the best,

Jarmo




Re: [O] emacs org mode for scholars questions

2015-08-26 Thread Marcin Borkowski

On 2015-08-25, at 15:51, John Kitchin jkitc...@andrew.cmu.edu wrote:

 What would make it even better?

Not imposing Helm on the user?

(I know nothing about Helm, but I use Icicles.)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



Re: [O] Collaborative Team Project Management with Orgmode?

2015-08-26 Thread Eric Abrahamsen
John Kitchin jkitc...@andrew.cmu.edu writes:

 Eric Abrahamsen writes:

 The following message is a courtesy copy of an article
 that has been posted to gmane.emacs.orgmode as well.

 John Kitchin jkitc...@andrew.cmu.edu writes:


 Let's see... the org-contacts vs BBDB issue isn't a big deal, since
 Gnorb doesn't actually do all that much with contacts right now. I'd be
 happy to add tweaks to it to make it more org-contacts friendly.

 Email tracking is a bigger issue. Gnorb uses the Gnus registry to track
 correspondences between messages and headlines, and obviously none of
 that would work with mu4e.

 Earlier versions did tracking by storing message ids as a property on a
 headline. I suppose I could go back to doing that in a mu4e-specific
 library.

 Message id tracking is likely the way to do it in mu4e. mu4e links seem
 to store this for links.

 [[mu4e:msgid:bn3pr0301mb0851db3e4c53993daa1e8a98b2...@bn3pr0301mb0851.namprd03.prod.outlook.com]]

 Yup, I think most of the MUA links end up looking something like that.
 Message IDs are the one constant across MUAs and (most) mail sources, so
 everything in Gnorb is keyed to that.

 It is pretty easy to get these from a message. I use this variable in a
 send callback function:

 (setq *email-message-id*
 (concat
  mu4e:msgid:
  ;; borrowed from 
 https://github.com/girzel/gnorb/blob/master/gnorb-utils.el#L137
  (replace-regexp-in-string
   \\(\\`\\|\\'\\)  (mail-fetch-field Message-ID

 and then later use
 (org-set-property Message-ID *email-message-id*)

 and I get a clickable link in the property that will go back to the
 message (after mu indexes again for freshly sent emails).

[...]

 This seems to do what you describe. When I run it, I get an mu4e buffer
 with those two messages in it. Basically you just create a mu query.

 #+BEGIN_SRC emacs-lisp
 (let ((ids '(871teq3c9p@ericabrahamsen.net
  201508260407.t7q479ls026...@relay.andrew.cmu.edu) ))
   (mu4e-headers-search
(mapconcat
 (lambda (id)
   (concat msgid: id))
 ids
  or )))
 #+END_SRC

All this looks very encouraging!

 Another thing I find hugely useful is automatically transferring files
 attached to incoming messages to Org headings (via org-attach).
 Presumably mu4e has a way of getting at the attachments on a message, so
 in theory this wouldn't be that hard, either.

 This sounds pretty interesting. I have never gotten that into
 attachments, but this might change my mind. There are functions in mu4e
 to view and save attachments, so this might not be hard.

 Much of my work involves throwing attachments around (or rather,
 receiving attachments and sending back plain text whenever possible),
 so this is pretty crucial for me. While org-attach is very sound, I
 found its surface-layer interface a bit cumbersome, and this makes it a
 lot easier to use.

 Me too ;) I just have not progressed to org-attach yet. I usually have
 to edit the attachments. How easy is it to reattach them to send back?

When you use `gnorb-org-handle-mail' on a heading, that composes a new
reply to most recently-associated message (or does something else,
depending), and runs `map-y-or-n-p' over the org-attach files, offering
to attach them to the outgoing message.

This works pretty well for me. The only org-attach commands I'm really
missing now would be `org-attach-copy-attachment' (to somewhere else on
my filesystem), and `org-attach-refile-attachment' (to move an
attachment to a different heading).

Anyway, all looks promising! Now to find the time...

Eric




[O] Need help with HTML export custom postamble

2015-08-26 Thread David A. Gershman
Hello Everyone,

I've searched and read and found several examples of making custom
postambles for an HTML export, but I can't seem to find a way to do it
all in a local file.

First, I'm new to HTML exporting (as some of you remember from my last
email).  So, I went ahead and inserted a template into my .org file (C-c
C-e # html) and noticed html-postable was set to 't'.  Based on what I
read, this means it should take the contents of the variable
org-export-html-postamble-format and use /that/ for the postamble. 

However, I set /org-export-html-postamble-format/ in my .emacs file:

 (setq org-export-html-postamble-format
   '((en pFrom .emacs/p))
 )
...and in my .org file had:

#+OPTIONS: html-postamble:t

then I tried

#+OPTIONS: html-postamble:auto

and also removed it.  All 3 times the postamble from my .emacs was not used.

Finally, I tried Local variables?  Never did this before but attempted
it and put:

 # Local Variables:
 # org-html-postamble: t
 # org-export-html-postamble-format: Hello World
 # End:
in my .org file and still no luck.

Can a custom pre/postamble be specified on a per file basis?  FWIW, no,
I do not have any /org-publish-project-alist/ specified as this seems to
be a site-based solution.  I'm looking for a page-based solution.

TIA!

--David


Re: [O] Easy entry of date ranges

2015-08-26 Thread Eric Abrahamsen
Ken Mankoff mank...@gmail.com writes:

 On 2015-08-26 at 15:04, Nicolas Goaziou m...@nicolasgoaziou.fr wrote:
 Ken Mankoff mank...@gmail.com writes:

 Org and the calendar make it fairly easy to enter time ranges, by
 typing -- and then the end time or + and then the duration. I'd
 like to do something similar for dates, but it doesn't seem to be
 supported. Is there an easy way to enter a date range for a scheduled
 task?

 I don't think so. However, in Org, scheduling a task to date A means
 it can start from date A. Scheduling a task to date A -- date B
 would be equivalent to scheduling it to date A.

 You probably want to do scheduled + deadline, which is supported.

 No, scheduled + deadline is a different use case. The syntax I use,
 =SCHEDULED: 2020-01-01--2020-01-07=, is valid, there just isn't an
 easy way to enter it. One (of many) use cases: a week long vacation.
 This use case is supported by Org since the Agenda helpfully shows
 (1/7), and (2/7), etc. before each entry. Everything else is so
 efficient and has shortcuts, including time ranges, I just hoped I was
 missing something here. Perhaps it hasn't been implemented yet.

I think what Nicolas means is that, in the sort of use case you're
outlining above, you should probably be using a plain timestamp.
SCHEDULED means I'm going to work on this TODO now, in which case a
time span doesn't quite make sense -- you start working at the start of
the span, and you finish when you toggle the keyword to DONE.

For a vacation, a plain timestamp is more appropriate. However! That
just begs the question of how to make it easier to enter a date range.
That's a question I don't know the answer to -- I suspect there isn't
any way but just hitting a couple of hyphens and then C-c . again. I
suppose Org could help by setting the default date of the end time to
something after the start time.

Eric




Re: [O] subscript on a table caption

2015-08-26 Thread Peter Salazar
What do you see if you do C-h v org-export-latex-emphasis-alist
and org-html-text-markup-alist? Anything about subscript?

On Mon, Aug 24, 2015 at 9:54 AM, Johannes Rainer johannes.rai...@gmail.com
wrote:

 dear all!

 I have a strange problem now with org-mode (I don't know whether I had
 that with previous org-versions because I never paid attention):
 any _ I have in a caption is automatically formatted as a subscript,
 independently of using #+OPTIONS: ^:nil or #+OPTIONS: ^:{}.
 Is there any other way I can force org-mode to export captions as-is?
 For plain text it works nicely, but not for caption (and export to latex or
 html).

 The test org-file I used contains the following:
 


 #+TITLE:TestTest
 #+OPTIONS: ^:nil
 -


 * Test tables

 just in plain text: bla_blu, bla\_blu; both works nicely.

 #+CAPTION: Some bla bla and an underscore: bla_blu. The same escaped:
 bla\_blu. Doesn't work for either of them; blu is always used as subscript.
  || agegp | alcgp |tobgp | ncases | ncontrols |
  |+---+---+--++---|
  |  1 | 25-34 | 0-39g/day | 0-9g/day |   0.00 | 40.00 |
  |  2 | 25-34 | 0-39g/day |10-19 |   0.00 | 10.00 |
  |  3 | 25-34 | 0-39g/day |20-29 |   0.00 |  6.00 |


 ---

 The _ in the plain text are exported as expected, but not the caption.

 I'm using org-mode 8.3.1 (release_8.3.1-166-g5bfdfc)

 any suggestions?






Re: [O] Inline Images Export Bug

2015-08-26 Thread Nick Dokos
[OT and unrelated but it struck me, so I thought I'd share:
if you visit http://dir.gmane.org/index.php?prefix=gmane.emacs
you will see (well, you are probably going to see something larger
than this when you visit):

100093  gmane.emacs.orgmode Org-Mode for GNU Emacs

That's the fourth largest number of messages among emacs-related lists,
after emacs.devel, emacs.diffs and emacs.help and is somewhat bigger
than emacs.bugs.]


Scott Randby sran...@gmail.com writes:

 When did Org start using the object tag for inline image HTML
 export? This is a horrible bug.


I believe I was the instigator for this change: see the thread at

  http://thread.gmane.org/gmane.emacs.orgmode/80668

I had my own horrible bug that I was trying to work around and the
research I did at the time pointed towards object as the right way to
go, but I was (and still am) no expert on the subject. Rick Frankel
pushed a change to that effect in

commit e955be903a5cf29f173972ab18f851f8553ddd89
Author: Rick Frankel r...@rickster.com
Date:   Thu Jan 16 11:08:06 2014 -0500

Add better svg support to html exporter.

* lisp/ox-html.el (org-html--format-image): If image is an svg file,
  format as object using new function `org-html--svg-image' instead
  of img.

-- 
Nick




Re: [O] Not getting replies from the orgmode list to my e-mail address

2015-08-26 Thread Eric Abrahamsen
jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes:

 Kyle Meyer writes:

 jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: 

 Eric S Fraga writes: 

  Replies need not be written to go to both you and the list. 

 I would add: and should not. Otherwise people subscribed to the
 list get the message twice. 

 Directing a reply to somebody and cc'ing the list is common practice
 on many lists, including this list and emacs.devel.  If you want to
 avoid duplicates, you'll have better luck filtering on your end.  

 I do not subscribe with my email to lists, but using news.gwene.org in
 gnus. There must be a way to check for duplicates in two different
 servers, but so few people reply to both the personal email address
 and the email list that I have never found the need to look how to set
 that up. I just delete the email and get slightly annoyed. I also have
 gnus-confirm-mail-reply-to-news set to t not to make the mistake of
 replying instead of following-up to news.

I'm also reading through the Gnus newsreader. Personally I appreciate
getting replies emailed to me directly, because some of these groups are
high traffic and it can be easy to miss replies to threads.

In your case, have you tried setting the Mail-Followup-To header? Gnus
also provides the `gnus-suppress-duplicates' option, which will at least
mark the duplicates as read. That helps a bit.

Eric




Re: [O] headings in odt export

2015-08-26 Thread Eric Abrahamsen
Rasmus ras...@gmx.us writes:

 Eric Abrahamsen e...@ericabrahamsen.net writes:

 I don't know what happened to mess this behavior up, but Libreoffice has
 started acting very strange in general on Arch...

 I envy how everything Just Works on Fedora.  While I quite enjoy pacman
 and makepkg, the level of polish of Fedora is hard to match on Arch.

 I have not had problems with LO5 (libreoffice-fresh), but I'm a very
 occasional user.  The problem you mention is purely an installation
 problem.  Check org-loaddefs.el.  It will probably contains references to
 /tmp cause that's where makepkg builts it.

Libreoffice has started behaving horribly on both my Arch machines
(quits when I scroll, display can't keep up with modest typing speeds)
but I wonder if it's because I'm not using a desktop environment, and LO
is getting confused. That's a total guess, but

I use git, not makepkg, for both Emacs and Org (Emacs with make
install, Org in-place), and there's no reference to tmp in
org-loaddefs, so I don't know if that's related. As far as I know,
nothing at all changed on my system apart from these general updates.
I'm still inclined to blame LO!

Eric