Re: [O] saving state of buffer

2013-03-21 Thread Marcin Borkowski
Dnia 2013-03-21, o godz. 07:58:51 Carsten Dominik napisał(a): > > On 20.3.2013, at 19:28, 42 147 wrote: > > > > (require 'saveplace) > > > (setq-default save-place t) > > > > > works for me. It just opens the place where I had the point, > > > nothing more, but that's what I need most. > > >

Re: [O] python sessions

2013-03-21 Thread Andreas Röhler
Am 21.03.2013 02:56, schrieb Gary Oberbrunner: Hi Gary, great if you can make it work for you. Nonetheless, still thinking let-var session in org-babel-execute:python needs the fix. Best, Andreas

Re: [O] python sessions

2013-03-21 Thread Bastien
Hi Andreas, Andreas Röhler writes: > Nonetheless, still thinking > > let-var session in > > org-babel-execute:python > > needs the fix. I've not been following this thread, can you send a patch with the fix and the reason for it? Thanks in advance! -- Bastien

Re: [O] Copying subtrees with footnotes

2013-03-21 Thread Christian Moe
Bastien writes: > Instead of adapting those function, I'd have a function to inline > external footnotes--and vice versa. This function would be helpful > in this case but in other situations too. +1! Yours, Christian

Re: [O] python sessions

2013-03-21 Thread Andreas Röhler
Am 21.03.2013 08:43, schrieb Bastien: Hi Andreas, Andreas Röhler writes: Nonetheless, still thinking let-var session in org-babel-execute:python needs the fix. I've not been following this thread, can you send a patch with the fix and the reason for it? Thanks in advance! Hi Bastien,

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Achim Gratz
Am 20.03.2013 14:47, schrieb Bastien: If anyone knows how to setup an automated tests framework for Org, feel free to go ahead, we will use it and monitor broken tests to see what's wrong in the code or in the tests or in the environment running the tests. We already have one, what Nick and Se

Re: [O] Errors on start up when loading ox-md and ox-beamer (seems caused by recent commit)

2013-03-21 Thread Achim Gratz
Am 20.03.2013 16:16, schrieb John Hendy: From the descriptions, I don't understand the difference between: - make- build Org ELisp and all documentation - make autoloads - create org-loaddefs.el to load Org in-place Is =make= *also* making autoloads, and =make autoloads= is

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: >> Nick Dokos wrote: >>> Can we please make it an invariable practice to run `make test' before >>> every push? >> >> Isn't it possible to put such in some sort of Git pre-commit hook (or >> pre-push hook), so that it gets automatically enfor

Re: [O] saving state of buffer

2013-03-21 Thread 42 147
Thanks David, but what Carsten suggested completely resolved my problem (it applies not just to bookmarks; it fully preserves my buffer's folded state after adding Christoph's code to my .emacs). But I should also thank you for finding the words I struggled to find ("folded state"). I feel honored

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 10:05, 42 147 wrote: > Thanks David, but what Carsten suggested completely resolved my problem (it > applies not just to > bookmarks; it fully preserves my buffer's folded state after adding > Christoph's code to my > .emacs). Good - May

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
On 21 mrt. 2013, at 10:23, Rainer M Krug wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 21/03/13 10:05, 42 147 wrote: >> Thanks David, but what Carsten suggested completely resolved my problem (it >> applies not just to >> bookmarks; it fully preserves my buffer's folded state

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 10:28, Carsten Dominik wrote: > > On 21 mrt. 2013, at 10:23, Rainer M Krug wrote: > > On 21/03/13 10:05, 42 147 wrote: Thanks David, but what Carsten suggested completely resolved my problem (it applies not just to bookma

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
On 21 mrt. 2013, at 10:05, 42 147 wrote: > Thanks David, but what Carsten suggested completely resolved my problem (it > applies not just to bookmarks; it fully preserves my buffer's folded state > after adding Christoph's code to my .emacs). I don't think it preserves a state. It constructs o

Re: [O] saving state of buffer

2013-03-21 Thread 42 147
> Good - May I suggest, that you write a step - by step howto and mail it here > or even add it to > worg? This would be a useful addition. I adapted this thread the best I could. Feel free to do with it what you wish. QUESTION How do I restore the state of my buffer where I left it? ANSWER W

Re: [O] Timestamp practices?

2013-03-21 Thread Samuel Loury
Thorsten Jolitz writes: > Lawrence Bottorff writes: > >> I'm trying to give each header entry a timestamp. > > This is from Bernt Hansen and automagically inserts a timestamp each > time you insert a new header - if you want so. > If not, you can toggle the behaviour. Nice. > > ,---

[O] LaTeX mode+ org-open-at-point (minor mode)

2013-03-21 Thread Uwe Brauer
Hello Are there any plans for a org-link-minor-mode which I could call in any mode and which would display an org link As [Email from Joe Foo: submit] and not as [[gnus:nnimap%2BUCMgmail:INBOX#514ad2ef.1070...@ucm.es][Email from Joe Foo: submit]] Rationale: Storing and navigating to org

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
This is nice, does anyone of you have write permissions on Work to add this? - Carsten On 21 mrt. 2013, at 11:16, 42 147 wrote: > > Good - May I suggest, that you write a step - by step howto and mail it > > here or even add it to > > worg? This would be a useful addition. > I adapted this thr

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 12:02, Carsten Dominik wrote: > This is nice, does anyone of you have write permissions on Work to add this? I should have, but I have never done it. Rainer > > - Carsten > > On 21 mrt. 2013, at 11:16, 42 147

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
On 21 mrt. 2013, at 12:25, Rainer M Krug wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 21/03/13 12:02, Carsten Dominik wrote: >> This is nice, does anyone of you have write permissions on Work to add this? > > I should have, but I have never done it. Well, you can try, or el

Re: [O] saving state of buffer

2013-03-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/03/13 12:38, Carsten Dominik wrote: > > On 21 mrt. 2013, at 12:25, Rainer M Krug wrote: > > On 21/03/13 12:02, Carsten Dominik wrote: This is nice, does anyone of you have write permissions on Work to add this? > > I should have, b

[O] Seems that commit 'e8742b78e0a982a7fca0bf25b4f3551be58660ef' breaks html output

2013-03-21 Thread Vladimir Lomov
Hello, Seems that commit 'e8742b78e0a982a7fca0bf25b4f3551be58660ef' breaks code blocks output: they are indented with all other text that is wrong. As I understand this is intended, that commit mentions 'org-html-indent' variable but IMHO it is strange that this option is on by default or alterna

[O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-21 Thread Rainer Stengele
Hi, Exporting to HTML I cannot get EXPORT_FILE_NAME to work: :PROPERTIES: :VISIBILITY: folded #+SETUPFILE: ~/org/GLOBAL_SETUP_DIPLAN.org #+CATEGORY: ROB :EXPORT_FILE_NAME: //max2008/diplan/0PROJEKT/Kunden/ROB/Status-ROB-Electronic-20130321b.html :END: :EXPORT_FILE_NAME: entry is in one line. Is

Re: [O] Seems that commit 'e8742b78e0a982a7fca0bf25b4f3551be58660ef' breaks html output

2013-03-21 Thread Bastien
Hi Vladimir, Vladimir Lomov writes: > Seems that commit 'e8742b78e0a982a7fca0bf25b4f3551be58660ef' breaks > code blocks output: they are indented with all other text that is > wrong. > > As I understand this is intended, that commit mentions 'org-html-indent' > variable but IMHO it is strange th

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Bastien
Hi Achim, Achim Gratz writes: >> If anyone knows how to setup an automated tests framework for Org, >> feel free to go ahead, we will use it and monitor broken tests to >> see what's wrong in the code or in the tests or in the environment >> running the tests. > > We already have one, The test

Re: [O] saving state of buffer

2013-03-21 Thread Carsten Dominik
Here is a patch that would change the default values for bookmark-jump and saveplace. Bastien, what do you think? - Carsten diff --git a/lisp/org.el b/lisp/org.el index bf74afd..1d48338 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -916,7 +916,7 @@ contexts. See `org-show-hierarchy-above' for v

Re: [O] Unwanted scrolls from org-agenda-todo

2013-03-21 Thread Miro Bezjak
Ok. Thanks for the info. Regards, Miro On Thu, Mar 21, 2013 at 12:10 AM, Bastien wrote: > Hi Miro, > > Miro Bezjak writes: > > > `org-agenda-todo' seems to scroll (up or down - depending on how > > you're looking at it) in a way to make the task, currently marked as > > DONE, be the first li

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Nicolas Richard
Bastien writes: > I often have only 10 minutes at hand, make a few trivial changes, and > push. For me, a mandatory pre-push hook running the test suite would > be a useless burden for 50% of my commits. This would irritate me. orgmode.org could run a post-receive hook and report any failure to

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-21 Thread Eric Abrahamsen
Rainer Stengele writes: > Hi, > > Exporting to HTML I cannot get EXPORT_FILE_NAME to work: > > :PROPERTIES: > :VISIBILITY: folded > #+SETUPFILE: ~/org/GLOBAL_SETUP_DIPLAN.org > #+CATEGORY: ROB > :EXPORT_FILE_NAME: > //max2008/diplan/0PROJEKT/Kunden/ROB/Status-ROB-Electronic-20130321b.html > :END:

[O] Problem with C-u > and g

2013-03-21 Thread John Wiegley
If I use C-u > to hide a category of tasks from the agenda, and then refresh the agenda with 'g', it will show me only the category I had hidden! In other words, it inverts the meaning of the hiding. John

Re: [O] saving state of buffer

2013-03-21 Thread Thomas S. Dye
42 147 writes: >> Good - May I suggest, that you write a step - by step howto and mail >> it here or even add it to >> worg? This would be a useful addition. > > I adapted this thread the best I could. Feel free to do with it what you > wish. > > QUESTION > > How do I restore the state of my buff

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Yagnesh Raghava Yakkala
Hello Bastien, We can use travis-ci for automated tests, I just run tests for org-mode¹ on travis with emacs-snapshot. Magit has been setup recently to run tests for multiple emacs versions² (emacs23, emacs24 and snapshot). travis has a facility to send mails if a test fails. I see you have or

Re: [O] Problem with C-u > and g

2013-03-21 Thread Bastien
Hi John, "John Wiegley" writes: > If I use C-u > to hide a category of tasks from the agenda, and then refresh > the agenda with 'g', it will show me only the category I had hidden! In other > words, it inverts the meaning of the hiding. This has been recently fixed in master. Thanks for repo

Re: [O] Errors after upgrading emacs to 24.3.1 and org to 7.9.4

2013-03-21 Thread Eric S Fraga
Chris Henderson writes: > I have upgraded emacs from version 24 to 24.3.1 via homebrew on os x > mountain lion and every time I start emacs I get error: > > error: Invalid face, modeline modeline changed to mode-line a while back although probably sometime between 24 and 24.3.1 (I track emacs-sn

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Bastien
Hello Yagnesh, Yagnesh Raghava Yakkala writes: > We can use travis-ci for automated tests, I just run tests for org-mode¹ on > travis > with emacs-snapshot. Magit has been setup recently to run tests for multiple > emacs versions² (emacs23, emacs24 and snapshot). travis has a facility to send >

Re: [O] Slowdown when editing tables with horizontal lines

2013-03-21 Thread Bastien
Peder Stray writes: > It happens from time to time, but not always... And I think it may be > related to rainbow-mode for some reason. I'll try to enable debug > when it happens the next time to see where it hangs. All right, thanks for letting us know! -- Bastien

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Achim Gratz
Am 21.03.2013 14:41, schrieb Bastien: The test are not automatic, they are manually triggered, so we don't have an "automated tests framework" -- or am I misunderstanding what an automated test framework is? What you probably have in mind is a continuous integration framework that triggers the

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Bastien
There is no need to be unpleasant and to describe my attitude as "cavalier". Please see my reply to Yagnesh. It clearly describes a situation where automatically running tests with a pre-push hook would be a problem. -- Bastien

[O] tests with travis-ci (was: [BUG] ob-sql.el: probably an extra paren)

2013-03-21 Thread Yagnesh Raghava Yakkala
Hello Bastien, On Mar 22 2013, Bastien wrote: > I think this would be *fantastic*. I have no time for this at the > moment, but anyone willing to help setting travis is trivial enough to start using right away. I can make a patch for that. > This is efficient and not intrusive. > > To give a

Re: [O] Different spacing in html output compared to info and pdf

2013-03-21 Thread Nicolas Goaziou
Hello, Bastien writes: > the attached (dirty) patch fixes it. It's clearly not the right > approach, though. I hope Nicolas can have a look soon, as the problem > affect all uses of snippets in macros. What about the following patch? The export framework usually treats differently empty stri

Re: [O] Bug formatting source code in new latex exporter

2013-03-21 Thread Nicolas Goaziou
Hello, Rick Frankel writes: > There is a bug with ox-latex and long listings. If the listing has a > label (name) or caption, it is wrapped in a '\begin{listing}[H]' > block. This causes listings longer than one page to be truncated if > they have labels, which means you can't have callable code

Re: [O] Unescape :help-echo in links

2013-03-21 Thread Florian Beck
Bastien writes: > Can you resend it as a proper patch with a changelog? Like this? >From ca9c612208a2528a27b648973cfbf6e8d0801f94 Mon Sep 17 00:00:00 2001 From: Florian Beck Date: Thu, 21 Mar 2013 21:15:50 +0100 Subject: [PATCH] Unescape :help-echo for links * lisp/org.el (org-activate-bracke

Re: [O] tests with travis-ci

2013-03-21 Thread Bastien
Hi Yagnesh, Yagnesh Raghava Yakkala writes: > travis is trivial enough to start using right away. I can make a > patch for that. Thanks in advance for this. > IIUC, it can't be done with travis. After little googling around, I found that > such a conditional committing can be made if we have a

[O] Macro expansion to control beamer template

2013-03-21 Thread Florian Adamsky
Hello, at the moment I revise my course lectures and of course I use org-mode for that. I was searching for an easy way to create fullframe. After searching a bit in the mailing list, I found out that the 8.0-pre with its new beamer exporter already has this functionality. Therefore I switch to th

Re: [O] [RFC] Org version of the Org manual

2013-03-21 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Hi Tom, > > I have a patch that should fix your problems with some characters in > macro expansions: > > > From 27b22d17f629a50bd485a0320dac45616d7ceb7f Mon Sep 17 00:00:00 2001 > From: Achim Gratz > Date: Sun, 17 Mar 2013 10:20:10 +0100 > Subject: [PATCH] fix macro

Re: [O] Macro expansion to control beamer template

2013-03-21 Thread Sebastien Vauban
Hello Florian, Florian Adamsky wrote: > at the moment I revise my course lectures and of course I use org-mode > for that. I was searching for an easy way to create fullframe. After > searching a bit in the mailing list, I found out that the 8.0-pre with > its new beamer exporter already has this

Re: [O] latex figure scaling question, backward compatibility and outdated manual

2013-03-21 Thread Nicolas Goaziou
Hello, Thomas Alexander Gerds writes: > I was learning about this by guessing around for some time ... it is > surprisingly hard to edebug the export process (any hints?). This is a bit vague. > next, the following educated guess does not work: > > #+ATTR_LaTeX: :width 5cm :angle 90 This is b

[O] [BUG] [ODT] Annotations break paragraphs

2013-03-21 Thread Christian Moe
Hi, Paragraphs currently break around ODT annotations when they shouldn't. Annotations are a useful feature of the ODT exporter: There is an annotation by the original author here #+BEGIN_ANNOTATION I never meant to break this paragraph. #+END_ANNOTATION in the middle of the paragrap

Re: [O] [Out-of-Thread] Re: [RFC] Org syntax (draft)

2013-03-21 Thread Nicolas Goaziou
Hello, Carsten Dominik writes: > First of all, we should not see Org as just another plain text markup > language (no offense meant, I am sure, and none taken). Because of its > unique treatment of source code inclusion, source code markup, and > executability, it is very much unique, I think.

Re: [O] RFC: inheritance of export attributes

2013-03-21 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > I have noticed a difficulty with :results table drawer babel blocks. It > isn’t possible to put ATTR_LATEX keywords on the table in that case. If > they are placed outside of the drawer, they apply to the drawer and not > the table. If they are placed inside it, th

Re: [O] Macro expansion to control beamer template

2013-03-21 Thread Florian Adamsky
Dear Sebastien, On Thu, 21 Mar 2013 22:10:26 +0100 Sebastien Vauban wrote: > > I created a beamer template file that I control with macros. My > > org-mode config file has the following snippet: > > > > (add-to-list 'org-latex-classes > > (list "beamer" > > (file-string (concat custom-

Re: [O] tests with travis-ci

2013-03-21 Thread Yagnesh Raghava Yakkala
[CC'ed to Yann Hodique to acknowledge him] Hello Bastien, I am attaching a patch, please have a look. (especially change in org-test.el) It is directly copied from Magit (with one minor change). It uses Yann's virtualenv-emacs¹ python package which creates multiple emacs environments. > Let me

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-21 Thread Andreas Leha
Eric Abrahamsen writes: > Rainer Stengele writes: > >> Hi, >> >> Exporting to HTML I cannot get EXPORT_FILE_NAME to work: >> >> :PROPERTIES: >> :VISIBILITY: folded >> #+SETUPFILE: ~/org/GLOBAL_SETUP_DIPLAN.org >> #+CATEGORY: ROB >> :EXPORT_FILE_NAME: >> //max2008/diplan/0PROJEKT/Kunden/ROB/Statu

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-21 Thread Bastien
Hi Andreas and Eric, Andreas Leha writes: > It was the same for me and this should definitely not happen. So, I am > also 'a little worried'. Is this a problem with my gnus setup or an > orgmode problem? This is a problem with Org -- I have a patch for this on my local branch, but I will push

Re: [O] :EXPORT_FILE_NAME: in new exporter possible?

2013-03-21 Thread John Hendy
Can you try using just "file" and "file.html" (but without quotes) and see I'd it pops out in your working directory ? Your current path looks like a Windows server share which might be an issue. Even if not, simplifying the path might be one place to start . I just successfully exported using th

[O] orgtbl-to-generic with lfmt (wrong usage or bug)

2013-03-21 Thread Gerhard
Hi, I was happy to find out about the possibility to convert a table into something else, but I struggle with obtaining a particular result. I have addresses in a table and want them to be formatted for printing. This is where I am so far. #+ORGTBL: SEND sofar orgtbl-to-generic :lfmt "%s" |

Re: [O] Bug formatting source code in new latex exporter

2013-03-21 Thread Rick Frankel
At Thu, 21 Mar 2013 20:26:34 +0100, Nicolas Goaziou wrote: > > Hello, > > Rick Frankel writes: > > > The problem is on line 2178 of ox-latex: > > > > (when (or label caption) > > > > should probably be: > > > > (when caption > > > This is a limitation from floats. But wrapping cod

[O] (org-table-next-row) and # - bug or feature?

2013-03-21 Thread Thorsten Jolitz
Hi List, is this a bug or a feature: in all 4 following examples point is in cell 1x1 when calling ,--- | M-x org-table-next-row `--- | A | B | | | | | 1 | 2 | | | | | \ | / | | | | but | # | b | | # | | For me at least it breaks a

Re: [O] (org-table-next-row) and # - bug or feature?

2013-03-21 Thread Thorsten Jolitz
Thorsten Jolitz writes: [following up to my own post] > in all 4 following examples point is in cell 1x1 when calling > > ,--- > | M-x org-table-next-row > `--- > > | A | B | > | | | > > | 1 | 2 | > | | | > > | \ | / | > | | | > > but > > | #

Re: [O] Errors after upgrading emacs to 24.3.1 and org to 7.9.4

2013-03-21 Thread Chris Henderson
On Fri, Mar 22, 2013 at 3:38 AM, Eric S Fraga wrote: > Chris Henderson writes: > >> I have upgraded emacs from version 24 to 24.3.1 via homebrew on os x >> mountain lion and every time I start emacs I get error: >> >> error: Invalid face, modeline > > modeline changed to mode-line a while back al

Re: [O] Errors after upgrading emacs to 24.3.1 and org to 7.9.4

2013-03-21 Thread Chris Henderson
On Thu, Mar 21, 2013 at 8:28 AM, Chris Henderson wrote: > I have also upgraded org to version 7.9.4 via emacs M-x package-list > option and now my custom keys don't work: when I press ^C-c it used to > give me option as to where I want to put something: either project, > someday/maybe, read and re

Re: [O] tests with travis-ci

2013-03-21 Thread Andreas Röhler
Am 21.03.2013 21:41, schrieb Bastien: [ ... ] Yes. The limitation of the pre-push hook comes from the fact that various developers may have various testing environments, no one should be prevented from pushing by the fact that tests do not pass for someone else. [ ... ] Hi, just to ask about