[O] org 8.29

2015-05-30 Thread Jude DaShiell

I got #ERROR unexpectedly with:
#+TBLFM: $2=vmean(@..@)
This time all I want to calculate are averages for four columns.
I expect I'll do additional #+TBLFM: lines with additional calculations on 
them later.
I read the References section under info org spreadsheet and from what I 
read this seemed perfectly reasonable.  To my knowledge no blank lines 
exist in that vector except for the last line I created by completing the 
record above it.



--




Re: [O] org-use-property-inheritance not working?

2015-05-30 Thread Nicolas Goaziou
Rainer M Krug rai...@krugs.de writes:

 OK - but this behavior is not influenced by the variable
 org-use-property-inheritance. So what is the meaning of the variable
 then?

The variable is checked when calling `org-entry-get' with a non-nil
INHERIT optional argument.

In this case `org-entry-get' calls `org-entry-get-with-inheritance'.

Regards,



Re: [O] help with custom exporter

2015-05-30 Thread Nicolas Goaziou
Hello,

Stephen J. Barr stev...@uw.edu writes:

 I am trying to modify ox-md.el. I do not know too much emacs lisp so please
 bear with me.

 Hypothetically, if I want to modify the exporter to add a THIS DOCUMENT
 BY:  at the beginning, could I do:

 (defun org-md-template (contents info)
   Return complete document string after Markdown conversion.
 CONTENTS is the transcoded contents string.  INFO is a plist used
 as a communication channel.
   (concat THIS DOCUMENT BY:  (plist-get info :author) \n contents)
 )


 However, I get an error:

 org-md-template: Wrong type argument: characterp, #(Stephen

 What is the output type of plist-get? Not a string?

:author contains a secondary string. You need to turn it into the string
with, e.g., `org-export-data'.

Regards,

-- 
Nicolas Goaziou



Re: [O] C-c ' buffer recenters point after every save

2015-05-30 Thread Nicolas Goaziou
Samuel Wales samolog...@gmail.com writes:

 when i capture in a c-c ' buffer, it asks me that question.  it would
 be good to make that optional, because capture is a tool in which user
 surprise defeats its purpose.  i am always surprised by the question.
 i never need to supply an answer to it.

This should be fixed in 9e1591cbd0c6f5663c004692c520b82d9eb353c6.

Thank you.


Regards,



Re: [O] C-c ' buffer recenters point after every save

2015-05-30 Thread Samuel Wales
thank you.

On 5/30/15, Nicolas Goaziou m...@nicolasgoaziou.fr wrote:
 This should be fixed in 9e1591cbd0c6f5663c004692c520b82d9eb353c6.



[O] help with custom exporter

2015-05-30 Thread Stephen J. Barr
Greetings,

I am trying to modify ox-md.el. I do not know too much emacs lisp so please
bear with me.

Hypothetically, if I want to modify the exporter to add a THIS DOCUMENT
BY:  at the beginning, could I do:

(defun org-md-template (contents info)
  Return complete document string after Markdown conversion.
CONTENTS is the transcoded contents string.  INFO is a plist used
as a communication channel.
  (concat THIS DOCUMENT BY:  (plist-get info :author) \n contents)
)


However, I get an error:

org-md-template: Wrong type argument: characterp, #(Stephen

What is the output type of plist-get? Not a string?

Thanks,
Stephen


Stephen J. Barr
PhD Student, Operations Management
Dept: Information Systems and Operations Management (ISOM)
Michael G. Foster School of Business
University of Washington
Phone:  425 516 5012
Email: stev...@uw.edu
Twitter: @stevejb
Website: http://steve.planetbarr.com


Re: [O] ob-sed

2015-05-30 Thread Nick Dokos
Bjarte Johansen bjarte.johan...@infomedia.uib.no writes:

 On 30 May 2015, at 14:32, Nicolas Goaziou m...@nicolasgoaziou.fr wrote:
 
 Bjarte Johansen bjarte.johan...@infomedia.uib.no writes:
 
 I think I have addressed all of your comments except I didn’t
 understand the comment about the spaces. Are there two spaces extra or
 do you want me to introduce two spaces somewhere?
 
 As Suvayu Ali pointed out, sentences in comments and docstrings are
 expected to be separated by two spaces (american english convention).
 I was not aware of this convention. I also don’t really understand it, but I 
 will change it.


It dates from the typewriter era (as does the convention of double
spacing). In that context, it makes the visual detection of the end of
the sentence easier. But the real reason to follow it now is that the
emacs sentence commands use the convention to determine what a sentence
is.  See

(info (emacs) sentences)

Nick




Re: [O] ox-texinfo: Link to dedicated to target doesn't work

2015-05-30 Thread Nicolas Goaziou
Vaidheeswaran C vaidheeswaran.chinnar...@gmail.com writes:

 A canonical DESCRIPTION is NOT available.  (YET) The ANCHOR should
 still get through to the `texi' file, right?

We can replace a silly behaviour with another silly one, yes. But is
there any non-silly one?

 This is the output I see in other backends (that support anchors).

   HTML:

   p
   Jump to a href=#orgtarget1No description for this link/a.
   /p

The example above is a bit misleading because a description is not
mandatory. In your situation, Option num:t would be sufficient to
produce something.

   LaTeX:

   Jump to \ref{orgtarget1}.

If you look at it, this will not appear in the (PDF) output as there's
nothing to refer to, much like what happens in ox-texinfo.

In any case, what exactly do you suggest in this situation, i.e., what
should be displayed?

Regards,



Re: [O] ox-texinfo: Link to dedicated to target doesn't work

2015-05-30 Thread Vaidheeswaran C
On Saturday 30 May 2015 01:49 PM, Nicolas Goaziou wrote:
 Vaidheeswaran C vaidheeswaran.chinnar...@gmail.com writes:
 
  A canonical DESCRIPTION is NOT available.  (YET) The ANCHOR should
  still get through to the `texi' file, right?
 We can replace a silly behaviour with another silly one, yes. But is
 there any non-silly one?

Displaying a silly link is a call for an action (to fix).  So, from
fixability perspective, having a silly anchor is better than pruning
it from output.

  This is the output I see in other backends (that support anchors).
 
HTML:
 
p
Jump to a href=#orgtarget1No description for this link/a.
/p
 The example above is a bit misleading because a description is not
 mandatory. In your situation, Option num:t would be sufficient to
 produce something.

I understand that the error is in the OPTIONs that I have and I need
to fix the Org file.  Your argument is sound.  (BUT) Having some
feedback that something is amisss is always desirable.

LaTeX:
 
Jump to \ref{orgtarget1}.
 If you look at it, this will not appear in the (PDF) output as there's
 nothing to refer to, much like what happens in ox-texinfo.

I see a red box (which is an urgent call for action).

 In any case, what exactly do you suggest in this situation, i.e., what
 should be displayed?

How about @ref{orgtarget1}?



ps: I can send in fixes.  I have a copyright assignment.  WDYT?





Re: [O] Help needed on delegating some maintainance tasks

2015-05-30 Thread Bastien
Leo Ufimtsev lufim...@redhat.com writes:

 If you send out this email again next year when I have graduated from
 university, I'd be down with helping out with things ^_^.

Well, this is on ongoing open call, there are always many things to
do.  But thanks in advance!

-- 
 Bastien



Re: [O] [Bug] ~Verbatim~ in headlines breaks LaTeX

2015-05-30 Thread Nicolas Goaziou
Hello,

Titus von der Malsburg malsb...@posteo.de writes:

 Yes, I saw this thread after sending the previous email.  According to
 `org-latex-text-markup-alist', protectedtexttt should be used, which
 seems like a good-enough solution for this problem.  But for some reason
 that doesn’t happen.

It happens. However, verbatim is =...= whereas ~...~ is code. The former
uses protectedtexttt while the latter uses \verb.

Note that we could do better anyway and switch command depending on
context.


Regards,

-- 
Nicolas Goaziou



[O] jabref like orgmode based solution to bibliography management (not for latex)

2015-05-30 Thread Xebar Saram
Hi all

i have been using jabref for the past 2-4 years in my academia work to
manage my reference library. i dont use latex (..its on my TODO list...when
(f ever) i have time..) so for now i just want something to manage my
references. the key things i need to move over from jabref are:

1. easy add references

2. a way to quick filter references (helm bibtex seems like a good solution)

3. filter lists based on tags/keywords (orgmode has that covered)

4. this one is important: a way to quickly export selected references in
word/odf/html based on a pre fixed style (ie  Nature, Chicago etc)

anyone uses such a system in emacs/org and can recommend the way to go?

thx!

z


Re: [O] jabref like orgmode based solution to bibliography management (not for latex)

2015-05-30 Thread Vaidheeswaran C
On Saturday 30 May 2015 01:50 PM, Xebar Saram wrote:

 4. this one is important: a way to quickly export selected references in
 word/odf/html based on a pre fixed style (ie  Nature, Chicago etc)

You may have to move to new citation syntax on my private repo.

See http://repo.or.cz/w/org-mode/org-cv.git

The example org and odt files are available in this post:
http://lists.gnu.org/archive/html/emacs-orgmode/2015-03/msg00451.html
The documentation is in ox-jabref.el

If you report issues, I will address them promptly.






[O] Formatting in Visual Line Mode

2015-05-30 Thread 42 147
In visual line mode headlines wrap around and remained glossed as
headlines; nevertheless it would be better if they adjusted to the
hierarchy:

/* I weary of scholars neighing against Ahab, who is magnificent in his
   heroism. Would they have him hunt for more blubber? His chase has
Job’s
   Leviathan in view, a quarry representing Yahweh’s sanctified tyranny
of
   nature over man.

Far more readable (and elegant) than:

/* I weary of scholars neighing against Ahab, who is magnificent in his
heroism. Would they have him hunt for more blubber? His chase has Job’s
Leviathan in view, a quarry representing Yahweh’s sanctified tyranny of
nature over man.

I tend to avoid long headlines, but sometimes they are necessary.
Hopefully there is a quick fix already out there.

The ability to fill headlines would also be a solution here.


Re: [O] ob-sed

2015-05-30 Thread Nicolas Goaziou
Bjarte Johansen bjarte.johan...@infomedia.uib.no writes:

 I think I have addressed all of your comments except I didn’t
 understand the comment about the spaces. Are there two spaces extra or
 do you want me to introduce two spaces somewhere?

As Suvayu Ali pointed out, sentences in comments and docstrings are
expected to be separated by two spaces (american english convention).

Also, is the following line

 +(require 'sed-mode)

really needed? AFAICT there is no such mode in Emacs tree.


Regards,



Re: [O] ob-sed

2015-05-30 Thread Bjarte Johansen

 On 30 May 2015, at 14:32, Nicolas Goaziou m...@nicolasgoaziou.fr wrote:
 
 Bjarte Johansen bjarte.johan...@infomedia.uib.no writes:
 
 I think I have addressed all of your comments except I didn’t
 understand the comment about the spaces. Are there two spaces extra or
 do you want me to introduce two spaces somewhere?
 
 As Suvayu Ali pointed out, sentences in comments and docstrings are
 expected to be separated by two spaces (american english convention).
I was not aware of this convention. I also don’t really understand it, but I 
will change it.

 Also, is the following line
 
 +(require 'sed-mode)
 
 really needed? AFAICT there is no such mode in Emacs tree.

No. It is not. I have removed it.



0001-Org-Babel-now-supports-sed-scripts.patch
Description: Binary data


Re: [O] ob-sed

2015-05-30 Thread Nicolas Goaziou
Bjarte Johansen bjarte.johan...@infomedia.uib.no writes:

 From 3efecb4b439d357b30acb67ad5327fec987f76da Mon Sep 17 00:00:00 2001
 From: Bjarte Johansen bjarte.johan...@gmail.com
 Date: Thu, 28 May 2015 13:29:09 +0200
 Subject: [PATCH] Org Babel now supports sed scripts

Applied. Thank you.


Regards,



Re: [O] jabref like orgmode based solution to bibliography management (not for latex)

2015-05-30 Thread Otto Pichlhöfer
Xebar Saram zeltakc at gmail.com writes:

 4. this one is important: a way to quickly export selected references in 
word/odf/html based on a pre fixed style (ie  Nature, Chicago etc)

You might want to finish up the citations after the paper is exported. 
Have a look at 
http://www.docear.org/software/add-ons/docear4word/overview/

Regards,
Otto

[O] Testers / Feedback wanted: Gantt charts via org-gantt.el

2015-05-30 Thread Bernhard Schmitz
Hi,

my org-gantt.el is now in a usable state. It creates gantt charts via pgfgantt 
directly from headlines in org mode, using deadlines, schedules, effort 
estimates and (optionally) clocked time.
In contrast to ox-taskjuggler it does not require an external program, and in 
contrast to Eric Fraga's gantt chart creation it reads from the headlines 
instead of a specific table. Something like this has been discussed on this 
list, but I couldn't find that anyone has actually implemented it. 

For some examples, take a look at the charts in the manual:
https://github.com/HeyFlash/emacs-stuff/blob/master/experiments/org-gantt-manual.pdf
Source:
https://github.com/HeyFlash/emacs-stuff/blob/master/experiments/org-gantt-manual.org

As I think this might be useful for others I wanted to make it available. I 
would be happy about feedback. 

The file itself can be found here:
https://github.com/HeyFlash/emacs-stuff/blob/master/experiments/org-gantt.el

Regards,
Bernhard


Re: [O] org-use-property-inheritance not working?

2015-05-30 Thread Rainer M Krug
Nicolas Goaziou m...@nicolasgoaziou.fr writes:

 Hello,

 Charles C. Berry ccbe...@ucsd.edu writes:

 On Fri, 29 May 2015, Rainer M Krug wrote:

 Is this to be expected? I always thought, that the properties are
 hierarchical, and that the ones from the lower levels / headers are used
 as well?


 I would have thought this, too.

 Property inheritance doesn't work that way. 

 It only means that it will look higher in the hierarchy if current entry
 doesn't have the property you want. This is explained in
 `org-entry-get-with-inheritance' docstring:

   Get PROPERTY of entry or content at point, search higher levels if needed.
The search will stop at the first ancestor which has the property
defined.

OK - but this behavior is not influenced by the variable
org-use-property-inheritance. So what is the meaning of the variable
then?


Cheers,

Rainer


 Here, current entry has the property, so it ignores the one above.



 Regards,

-- 
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] ox-texinfo: Link to dedicated to target doesn't work

2015-05-30 Thread Nicolas Goaziou
Vaidheeswaran C vaidheeswaran.chinnar...@gmail.com writes:

 How about @ref{orgtarget1}?

I'd rather not expose internals to the user. Also, displaying
orgtarget1 in an info file would be more confusing than helpful.

Anyway, I changed a bit the behaviour for targets. Let me know what you
think (or anyone else using this export back-end for that matter) about
it.

 ps: I can send in fixes.  I have a copyright assignment.  WDYT?

You can send fixes along with your reports. A concrete proposal along
with the report is also fine.


Regards,



Re: [O] Include other sources (zotero, database) in org-mode search?

2015-05-30 Thread John Kitchin
the only way I know to do this is through something like helm, where you
can use multiple sources for search.

John

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


On Thu, May 28, 2015 at 12:12 PM, M elwood...@web.de wrote:

 I'm currently building a large knowledge database with my org-mode notes.
 However there are other sources of knowledge like

 - my colleciton of Freeplane mindmaps (xml files)
 - my zotero Library

 Is it possible to let org-mode also index and search such sources so that I
 can search within all relevant sources (org and external) with ONE search?


 Kind regards

 MArtin






Re: [O] [Bug] ~Verbatim~ in headlines breaks LaTeX

2015-05-30 Thread Titus von der Malsburg

On 2015-05-30 Sat 01:09, Nicolas Goaziou wrote:
 Hello,

 Titus von der Malsburg malsb...@posteo.de writes:

 Yes, I saw this thread after sending the previous email.  According to
 `org-latex-text-markup-alist', protectedtexttt should be used, which
 seems like a good-enough solution for this problem.  But for some reason
 that doesn’t happen.

 It happens. However, verbatim is =...= whereas ~...~ is code. The former
 uses protectedtexttt while the latter uses \verb.

Huh, ~code~ is translated to \verb and =verbatim= is translated to
\texttt (plus escaping of some special characters)?  If \verb is used at
all, shouldn’t it be generated by =verbatim= instead of by ~code~?

 Note that we could do better anyway and switch command depending on
 context.

Yes, I suppose anything is better than producing malformed LaTeX.

  Titus




signature.asc
Description: PGP signature


[O] records/diary/journal?

2015-05-30 Thread Peter Davis


Over time, I keep finding more and more uses for org-mode. It's now my 
main tool for keeping an agenda/todo list, and for writing informal 
documents including images, GraphViz diagrams, etc. And I still haven't 
scratched the surface.


Years ago, I used records-mode as a quick way to keep notes about what I 
did each day, so I could refer to them later. I haven't found an 
org-mode substitute for that. Is there some feature of combination of 
features that let's me enter notes arranged by date, create links to 
earlier notes referencing the same terms, etc.?


Thank you.

-pd


--

Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com




Re: [O] jabref like orgmode based solution to bibliography management (not for latex)

2015-05-30 Thread Titus von der Malsburg

On 2015-05-30 Sat 01:20, Xebar Saram wrote:
 Hi all

 i have been using jabref for the past 2-4 years in my academia work to
 manage my reference library. i dont use latex (..its on my TODO list...when
 (f ever) i have time..) so for now i just want something to manage my
 references. the key things i need to move over from jabref are:

Author of helm-bibtex here.

 1. easy add references

Helm-bibtex doesn’t deal with this because I prefer to edit my BibTeX
file by hand.  BibTeX retrieved from journals is almost always messy and
I need to edit it anyway.  It’s not too hard, though: I click on BibTeX
export on the journal page, the BibTeX file is opened in Emacs, I fix
it, and use a command that appends it to my bibliography.

However, I think org-ref has tools that do more to support importing new
entries and org-ref combines well with helm-bibtex.

 2. a way to quick filter references (helm bibtex seems like a good solution)

That’s what helm-bibtex was written to solve.

 3. filter lists based on tags/keywords (orgmode has that covered)

In helm-bibtex you can also search for keywords and tags. 

 4. this one is important: a way to quickly export selected references in
 word/odf/html based on a pre fixed style (ie  Nature, Chicago etc)

helm-bibtex can generate references in APA style but as far as I can see
Chicago style is very similar, so it shouldn’t be hard to add support
for that.

 anyone uses such a system in emacs/org and can recommend the way to
 go?

For more details, see: https://github.com/tmalsburg/helm-bibtex

  Titus



signature.asc
Description: PGP signature


Re: [O] records/diary/journal?

2015-05-30 Thread Samuel W. Flint
Peter Davis p...@pfdstudio.com writes:

 Over time, I keep finding more and more uses for org-mode. It's now my
 main tool for keeping an agenda/todo list, and for writing informal
 documents including images, GraphViz diagrams, etc. And I still
 haven't scratched the surface.

 Years ago, I used records-mode as a quick way to keep notes about what
 I did each day, so I could refer to them later. I haven't found an
 org-mode substitute for that. Is there some feature of combination of
 features that let's me enter notes arranged by date, create links to
 earlier notes referencing the same terms, etc.?

Capture!  This is what it's meant for!  I'd use the Date-tree style
templates.  And don't forget about tags/categories for searching.


 Thank you.

 -pd

HTH,

Sam

-- 
Samuel W. Flint
4096R/266596F4
  (9477 D23E 389E 40C5 2F10  DE19 68E5 318E 2665 96F4)
(λs.(s s) λs.(s s))


signature.asc
Description: PGP signature


Re: [O] jabref like orgmode based solution to bibliography management (not for latex)

2015-05-30 Thread John Kitchin
On Saturday, May 30, 2015, Titus von der Malsburg malsb...@posteo.de
wrote:


 On 2015-05-30 Sat 01:20, Xebar Saram wrote:
  Hi all
 
  i have been using jabref for the past 2-4 years in my academia work to
  manage my reference library. i dont use latex (..its on my TODO
 list...when
  (f ever) i have time..) so for now i just want something to manage my
  references. the key things i need to move over from jabref are:

 Author of helm-bibtex here.

  1. easy add references

 Helm-bibtex doesn’t deal with this because I prefer to edit my BibTeX
 file by hand.  BibTeX retrieved from journals is almost always messy and
 I need to edit it anyway.  It’s not too hard, though: I click on BibTeX
 export on the journal page, the BibTeX file is opened in Emacs, I fix
 it, and use a command that appends it to my bibliography.

 However, I think org-ref has tools that do more to support importing new
 entries and org-ref combines well with helm-bibtex.


Org-ref has doi-utils that let you add bibtex entries and download PDFs
from a doi or crossref query.



  2. a way to quick filter references (helm bibtex seems like a good
 solution)

 That’s what helm-bibtex was written to solve.

  3. filter lists based on tags/keywords (orgmode has that covered)

 In helm-bibtex you can also search for keywords and tags.

  4. this one is important: a way to quickly export selected references in
  word/odf/html based on a pre fixed style (ie  Nature, Chicago etc)

 helm-bibtex can generate references in APA style but as far as I can see
 Chicago style is very similar, so it shouldn’t be hard to add support
 for that.

  anyone uses such a system in emacs/org and can recommend the way to
  go?

 For more details, see: https://github.com/tmalsburg/helm-bibtex

   Titus



-- 
John

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