Re: [O] ob-lua

2016-09-07 Thread Thibault Marin

Hi,

I have received the FSF papers.

Thanks
thibault

Nicolas Goaziou writes:

> Hello,
>
> Thibault Marin  writes:
>
>> I have just submitted the FSF papers.
>
> Great! Please let me know when the whole process is done.
>
> Thank you.




Re: [O] mailing list search given problems with gmane?

2016-09-07 Thread Nick Dokos
Grant Rettke  writes:

> On Wed, Sep 7, 2016 at 5:32 PM, Charles Millar  wrote:
>> Great! Then I can find who first reported that lists.gnu.org search was not
>> working and when. I know that it wasn't me.
>
> So you aren't saying that just the list for org-mode is broken you are
> saying that all GNU mailing list archives are broken?!
>
>

I don't know if Charles has tried other lists on lists.gnu.org - I have only
tried searching the org-mode list, so I can only confirm that that one seems
broken.

-- 
Nick




Re: [O] mailing list search given problems with gmane?

2016-09-07 Thread Grant Rettke
On Wed, Sep 7, 2016 at 5:32 PM, Charles Millar  wrote:
> Great! Then I can find who first reported that lists.gnu.org search was not
> working and when. I know that it wasn't me.

So you aren't saying that just the list for org-mode is broken you are
saying that all GNU mailing list archives are broken?!



Re: [O] Thank you!

2016-09-07 Thread Jorge
On 14 June 2016 at 10:33, Gyro Funch  wrote:
> I have recently adopted org-mode for both task lists and technical
> writing and wanted to express my sincere thanks to the creator,
> developers, and maintainers for such a wonderful piece of software.
>
> Keep up the great work!

[Resurrecting this thread]
I also am a happy user.  Emacs and Org are useful and fun to use.

When the Brazilian Real gains a little value, I plan to ask on this
mailing list how to donate.

-- 
• I am Brazilian.  I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/



Re: [O] mailing list search given problems with gmane?

2016-09-07 Thread Charles Millar



On 09/07/2016 05:03 PM, Nick Dokos wrote:

Eric S Fraga  writes:


On Tuesday,  6 Sep 2016 at 11:07, Charles Millar wrote:

The mail list search has been broken for more than one year (close to
two). I and others have asked that it be repaired and nothing has
happened!

Are you sure it's been broken that long?  I don't use it often but I
thought I used it more recently than that.  Oh well, doesn't matter;
just curious.  The key is that it's broken now but at least there are
alternatives.


I'm not sure whether Charles is referring to Gmane search or the
lists.gnu.org search: I understood it to be the latter. If he indeed
means the latter, I can agree that it seems broken.  It might just be
that the index is not being rebuilt regularly, or there might be some
deeper problem, but I have found it to be unusable.
Yes I did mean lists.gnu.org. Since April 2015, at least, I have 
occasionally gone to the search engine for that list to see if it has 
been repaired and I have had no luck. Either it has never been repaired 
or I somehow mange to chose just the "right" time when it is down, again.

Gmane (while it was still alive) broke a few times but it was always
repaired fairly quickly (I nagged Lars a couple of times about it, so
I may have indirectly contributed to him giving up in disgust ;-) ).
Now that Gmane is being resurrected[1], I hope that things will be
more or less back to normal in fairly short order.

[1] see another post of mine in this thread - although bear in mind
 that my posts seem to take 12 hours to appear on the list; no
 idea why.
Great! Then I can find who first reported that lists.gnu.org search was 
not working and when. I know that it wasn't me.


As I recall Nicolas G. suggested that I contact whoever maintained the 
list (he gave the address) and report this. I did, but no response.


Charlie Millar



Re: [O] mailing list search given problems with gmane?

2016-09-07 Thread Nick Dokos
Eric S Fraga  writes:

> On Tuesday,  6 Sep 2016 at 11:07, Charles Millar wrote:
>> The mail list search has been broken for more than one year (close to
>> two). I and others have asked that it be repaired and nothing has
>> happened!
>
> Are you sure it's been broken that long?  I don't use it often but I
> thought I used it more recently than that.  Oh well, doesn't matter;
> just curious.  The key is that it's broken now but at least there are
> alternatives.
>

I'm not sure whether Charles is referring to Gmane search or the
lists.gnu.org search: I understood it to be the latter. If he indeed
means the latter, I can agree that it seems broken.  It might just be
that the index is not being rebuilt regularly, or there might be some
deeper problem, but I have found it to be unusable.

Gmane (while it was still alive) broke a few times but it was always
repaired fairly quickly (I nagged Lars a couple of times about it, so
I may have indirectly contributed to him giving up in disgust ;-) ).
Now that Gmane is being resurrected[1], I hope that things will be
more or less back to normal in fairly short order.

[1] see another post of mine in this thread - although bear in mind
that my posts seem to take 12 hours to appear on the list; no
idea why.
-- 
Nick




Re: [O] Change Org homepage ML search to GNU

2016-09-07 Thread Nick Dokos
Karl Voit  writes:

> * Grant Rettke  wrote:
>> On Mon, Sep 5, 2016 at 10:50 AM, Eric S Fraga  wrote:
>>> do we have any alternative means to search the mailing list given the
>>> current problems with gmane?
>>
>> https://lists.gnu.org/archive/html/emacs-orgmode/
>
> Can somebody please update http://orgmode.org/community.html so that
> the ML search is using the GNU server?

We might want to wait a few weeks: Gmane is being resurrected

   https://lwn.net/Articles/699704/

And I'm not sure whether I'm doing something wrong but the Namazu search
on https://lists.gnu.org/archive/html/emacs-orgmode/ is horrible.

-- 
Nick




[O] custom port for postgresql

2016-09-07 Thread Jakob Lombacher
Hi,

I wondered why I couldn't connect to my database, and I figured out that a
custom port is not supported as header argument for postgresql.

I don't know how the merging in this project works, so here is the patch.

Jakob
From 9043307466cabdf7d6c6fa2534c39ad00d42b522 Mon Sep 17 00:00:00 2001
From: Jakob Lombacher 
Date: Wed, 31 Aug 2016 22:11:57 +0200
Subject: [PATCH] port added to psql

---
 lisp/ob-sql.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el
index 7801c5f..25187a3 100644
--- a/lisp/ob-sql.el
+++ b/lisp/ob-sql.el
@@ -90,12 +90,13 @@
 	   (when password (concat "-p" password))
 	   (when database (concat "-D" database))
 
-(defun org-babel-sql-dbstring-postgresql (host user database)
+(defun org-babel-sql-dbstring-postgresql (host port user database)
   "Make PostgreSQL command line args for database connection.
 Pass nil to omit that arg."
   (combine-and-quote-strings
(delq nil
 	 (list (when host (concat "-h" host))
+	   (when port (format "-p%d" port))
 	   (when user (concat "-U" user))
 	   (when database (concat "-d" database))
 
@@ -171,7 +172,7 @@ This function is called by `org-babel-execute-src-block'."
 footer=off -F \"\t\"  %s -f %s -o %s %s"
   (if colnames-p "" "-t")
   (org-babel-sql-dbstring-postgresql
-   dbhost dbuser database)
+   dbhost dbport dbuser database)
   (org-babel-process-file-name in-file)
   (org-babel-process-file-name out-file)
   (or cmdline "")))
-- 
2.9.3



Re: [O] How to populate a 'list of figures'?

2016-09-07 Thread Sharon Kimble
Peter Frings  writes:

>> On 07 Sep 2016, at 12:52, Sharon Kimble  wrote:
>> 
>> 
>> I'm having great difficulty in being able to generate and populate a
>> 'list of figures' in my orgmode-2-latex document. I currently have this
>> as a figure in my org-mode file -
>
> [snip]
>
>> However, when I generate the pdf using xelatex all that it shows for my
>> list of figures is 'List of Figures'!
>> 
>> So how can I get the list of figures to be populated please?
>
> To get the list of figures (or any other reference, for that matter), you 
> have to typeset your
> document twice. The first time, tex build a list of figures (in a separate 
> file, with .lof
> extension); the second time, it inserts that list where the \listoffigures{} 
> is. This is common to
> tex: you have to typeset twice to get the references and lists correct.
>

Thanks Peter. But I'm typesetting it at least three times. But its just
not building the list of figures.

However, if I run 'mklatex' on my source file it generates a 'foo.lof',
but doesn't actually populate the 'list of figures'! And 'mklatex'
doesn't finish either! But then I'm just learning how to actually use
it.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.1.1


signature.asc
Description: PGP signature


[O] Improving debugging experience of latex errors on export

2016-09-07 Thread Giacomo M

Dear all,

I'm using latexmk w/ pdflatex for my org2pdf exports. When I get a "PDF 
file produced with errors.", then I go to "*Org PDF LaTeX Output*" 
buffer to try to understand what is happening.


If I open the generated .tex w/ the default latex mode, I tex-compile it 
(C-c C-c) w/ latexmk and then press "C-c `" to see the errors, I have 
the original tex buffer on the lef with the cursor positioned around the 
area of error, and a clear(er than before) explanation of the problem in 
a buffer on the right.


I was wondering whether this latex "debugging" setup could be also used 
during org export, and how, or more generally how I can improve the 
debugging experience of latex export errors.


Thanks a lot,

Giacomo




Re: [O] How to populate a 'list of figures'?

2016-09-07 Thread Peter Frings

> On 07 Sep 2016, at 12:52, Sharon Kimble  wrote:
> 
> 
> I'm having great difficulty in being able to generate and populate a
> 'list of figures' in my orgmode-2-latex document. I currently have this
> as a figure in my org-mode file -

[snip]

> However, when I generate the pdf using xelatex all that it shows for my
> list of figures is 'List of Figures'!
> 
> So how can I get the list of figures to be populated please?

To get the list of figures (or any other reference, for that matter), you have 
to typeset your document twice. The first time, tex build a list of figures (in 
a separate file, with .lof extension); the second time, it inserts that list 
where the \listoffigures{} is. This is common to tex: you have to typeset twice 
to get the references and lists correct.

Cheers,
Peter.


[O] How to populate a 'list of figures'?

2016-09-07 Thread Sharon Kimble

I'm having great difficulty in being able to generate and populate a
'list of figures' in my orgmode-2-latex document. I currently have this
as a figure in my org-mode file -

--8<---cut here---start->8---
#+CAPTION: The four principles of person-centred care \parencite{0055}
#+ATTR_LaTeX: :width 0.5\textwidth :float t :placement [H]
#+LABEL: fig:four-principles
[[./images/four-principles-from-pcc-made-simple.png]]
--8<---cut here---end--->8---

Which shows in the tex file as -

--8<---cut here---start->8---
\begin{figure}[H]
\centering
\includegraphics[width=0.5\textwidth]{./images/four-principles-from-pcc-made-simple.png}
\caption{\label{fig:orgparagraph1}
The four principles of person-centred care \parencite{0055}}
\end{figure}
--8<---cut here---end--->8---

In my preamble I have -

╭
│#+LaTeX: \listoffigures{}
╰

Which again shows in the tex file as '\listoffigures{}'.

However, when I generate the pdf using xelatex all that it shows for my
list of figures is 'List of Figures'!

So how can I get the list of figures to be populated please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.1.1


signature.asc
Description: PGP signature


Re: [O] org-review is on melpa

2016-09-07 Thread Clément Pit--Claudel
This looks great! Thanks Alan.

On 2016-09-07 01:49, Alan Schmitt wrote:
> Hello,
> 
> After using this for a couple of years, I’ve finally taken the time to
> put it on Melpa. Org-review (https://melpa.org/#/org-review) is a set of
> functions to maintain review dates for entries, so that you may generate
> agenda view of things to review. I use it every Friday during my weekly
> review to review projects and single tasks.
> 
> Best,
> 
> Alan
> 



signature.asc
Description: OpenPGP digital signature