Bug: ob-python mangles multiline :var values [9.3.6 (release_9.3.6-397-ga089600)]

2020-03-13 Thread Štěpán Němec
Recipe: --- emacs -Q M-x load-library RET ob-python RET M-x org-mode RET #+begin_src python :var text="a\nb\nc" return text #+end_src #+RESULTS: : a : b : c Commentary: --- ob-python seems to prepend a TAB character to every line except for the first one. Emacs :

[PATCH] org-eldoc: Use eldoc-documentation-functions when available

2020-03-03 Thread Štěpán Němec
This reflects recent changes in GNU Emacs master branch: 2020-02-25T17:53:04-05:00!mvote...@udel.edu c0fcbd2c11 (Expose ElDoc functions in a hook (Bug#28257)) * lisp/org-eldoc.el (org-eldoc-load): Use 'eldoc-documentation-functions' when available. --- contrib/lisp/org-eldoc.el | 6 +- 1

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-17 Thread Štěpán Němec
On Sat, 17 Aug 2019 15:24:56 +0200 Nicolas Goaziou wrote: > I thought the idea was to move the information outside of the footnote. > I applied a different patch, in master. Let me know if it is enough. I agree that is even better; I guess I was aiming at minimal changes, plus the footnote

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-15 Thread Štěpán Němec
> Certainly. Would you want to provide a patch to the manual? Yes, thank you, patch attached (on top of current maint branch). I don't know how robust the footnote indexing is, e.g. putting #+cindex above instead of below [fn] lead to errors during 'make info'; but the version attached does

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-09 Thread Štěpán Němec
On Fri, 09 Aug 2019 22:39:44 +0200 Nicolas Goaziou wrote: >> But all I could find in the manual regarding "verbatim", "escaping" etc. >> are sections 12.2 and 16.3, neither of which mentions comma. > > See "Literal Examples" section, fourth footnote. Thanks. I think it would be much more

[O] Org syntax inside verbatim/literal blocks

2019-08-09 Thread Štěpán Němec
I notice that even inside example blocks, some strings are still parsed as Org syntax, e.g. the asterisk becomes a bogus heading: #+begin_example * _ \| @ \ |_/ /\ /\ #+end_example When I enclose the text in a region and use `org-insert-structure-template' to surround it with

Re: [O] Bug: Feature request: make org-link emacs wide mode [9.2.5 (9.2.5-elpa @ /home/data1/protected/.emacs.d/elpa/org-20190801/)]

2019-08-07 Thread Štěpán Němec
> I would like to request feature so that Org Links can be turned on > Emacs wide as org-link-mode. Then links could work in various buffers, > and this could make hyperlinking possible from any kinds of files. For reference: https://github.com/seanohalpin/org-link-minor-mode

[O] [babel-bug] Text properties silently stripped from code block evaluation results

2011-12-13 Thread Štěpán Němec
`org-babel-insert-result' unconditionally strips any text properties from the evaluation result. One problem is that this isn't documented. Another problem is that this behaviour might not be desirable (I can't imagine why one _would_ want to have the properties stripped, on the contrary -- I

Re: [O] Elisp programming style

2011-10-28 Thread Štěpán Němec
On Thu, 27 Oct 2011 20:03:22 +0200 Thorsten wrote: Hi List, doing some Elisp programming (in an orgmode context) recently, the following question with regards to the 'accepted programming style' for Elisp concerned me: How independent and self-sustained should helper functions be? I

Re: [O] [babel] What is `, (backquote comma)?

2011-09-21 Thread Štěpán Němec
On Wed, 21 Sep 2011 21:05:12 +0200 Thorsten wrote: thanks Nick and Stepan, evaluate the form after , and quote the result that made me understand what its all about. I just read the backquote section Elisp manual, it does not cover these strange combiniations of barely distinguable

Re: [O] [PATCH 0/5] loop over headlines in active region

2011-09-09 Thread Štěpán Němec
On Fri, 09 Sep 2011 06:06:26 +0200 David Maus wrote: At Wed, 07 Sep 2011 21:34:41 +0200, Štěpán Němec wrote: So your what stop me to implement a macro argument is bogus, isn't it? I can't really comment on whether using a macro or not is the right thing here, but it seems to me you

Re: [O] [PATCH 0/5] loop over headlines in active region

2011-09-09 Thread Štěpán Němec
On Fri, Sep 09, 2011 at 12:41:45PM +0200, Bastien wrote: Guys, let's keep using a civil tone in discussions. I think you're confusing civil tone with political correctness (which, in a lot of instances, can be translated as hypocrisy). I don't think every sentence containing the word idiot is

Re: [O] [PATCH 0/5] loop over headlines in active region

2011-09-09 Thread Štěpán Němec
On Fri, 09 Sep 2011 17:10:42 +0200 David Maus wrote: At Fri, 09 Sep 2011 12:26:31 +0200, Štěpán Němec wrote: Still, I'd rather we stuck to the point and expressed ourselves in a way that doesn't imply the other side is either an idiot ... Your message simply repeated my conclusion: Yes

Re: [O] [PATCH 0/5] loop over headlines in active region

2011-09-07 Thread Štěpán Němec
On Sun, 28 Aug 2011 15:57:19 +0200 David Maus wrote: At Thu, 25 Aug 2011 12:08:42 +0200, Štěpán Němec wrote: On Thu, 25 Aug 2011 06:25:29 +0200 David Maus wrote: As for the macro: What stop me to implement a macro for the generic operation is that for now the macro would depend

Re: [O] [PATCH 0/5] loop over headlines in active region

2011-08-25 Thread Štěpán Němec
On Thu, 25 Aug 2011 06:25:29 +0200 David Maus wrote: As for the macro: What stop me to implement a macro for the generic operation is that for now the macro would depend on the global customization variable. That's not a problem per se but according to my readings about macros (mostly in

Re: [O] Not merging org-lparse, org-xhtml org-odt to the core

2011-08-24 Thread Štěpán Němec
On Wed, 24 Aug 2011 01:46:35 +0200 Jambunathan K. wrote: Hi Jambunathan, I have made a decision not to merge org-lparse, org-xhtml org-odt in to Orgmode core. It is a very difficult decision for me to take considering that I had put all my heart in to it. (Btw, this decision has nothing to

Re: [O] Not merging org-lparse, org-xhtml org-odt to the core

2011-08-24 Thread Štěpán Němec
[As most people here apparently consider Jambunathan's communication style acceptable, there is little point for me to continue replying in this thread, but I really couldn't resist in this case, sorry.] On Wed, 24 Aug 2011 19:30:54 +0200 Allen S. Rout wrote: Jambunathan is abrupt and speaks

Re: [O] [PATCH 0/8] Org mode macros, refactored

2011-08-02 Thread Štěpán Němec
On Tue, 02 Aug 2011 11:23:33 +0200 David Maus wrote: Note: The usage of make-symbol works but has one drawback: The new uninterned symbols have the same name as the maybe interned symbols in BODY. An oft-used workaround (also occuring in the Emacs core code) is to add some line-noise (e.g.

Re: [O] [PATCH 2/7] New macro: Evaluate FORM in ENVIRONMENT

2011-08-02 Thread Štěpán Němec
On Tue, 02 Aug 2011 11:23:35 +0200 David Maus wrote: * org-macs.el (org-eval-in-environment): New macro. Evaluate FORM in ENVIRONMENT. (org-with-uninterned): Move to top of file. --- lisp/org-macs.el | 23 ++- 1 files changed, 18 insertions(+), 5 deletions(-) diff

Re: [O] Some remarks on org-contacts

2011-06-01 Thread Štěpán Němec
Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: And the cherry on the cake would be: snarfing data from received email, asking the user what to do when a new email address is detected for a known contact, or a new name detected for a known email address...

Re: [O] pdf to powerpoint/openoffice ?

2011-05-14 Thread Štěpán Němec
Mehul Sanghvi mehul.sang...@gmail.com writes: How does someone who does not have a git checkout of org-mode do this ? I get the following: prompt% cd ~/Env/emacs prompt% mkdir org-odt ; cd org-odt prompt% git remote add org-odt http://repo.or.cz/r/org-mode/org-jambu.git fatal: Not a git

[Orgmode] Re: Adding a new text/org mime type

2011-01-23 Thread Štěpán Němec
Julien Danjou jul...@danjou.info writes: Please change it in the most sensible way. I've changed to text/x-org. Unless I'm missing something, you forgot to also replace your other additions in mm-decode.el and mm-uu.el. Štěpán ___ Emacs-orgmode

[Orgmode] Re: Adding a new text/org mime type

2011-01-21 Thread Štěpán Němec
Julien Danjou jul...@danjou.info writes: On Fri, Jan 21 2011, Štěpán Němec wrote: I see you added a new text/org type to mailcap.el and other places. Shouldn't that rather be text/x-org? Or is this text/org registered with IANA? No idea, but C-c C-a with a .org file proposes text/org

[Orgmode] Re: [babel] Painless integration of source blocks with language

2011-01-09 Thread Štěpán Němec
Eric Schulte schulte.e...@gmail.com writes: Hi Seth, Thanks for the thoughtful comments. I especially like the method of literate programming described in your second proposal. Over the last months I have switched from working mainly in code blocks to working mainly in pure source files

[Orgmode] Re: Capture template and elisp expression

2011-01-08 Thread Štěpán Němec
Carsten Dominik carsten.domi...@gmail.com writes: On Jan 7, 2011, at 4:00 PM, Štěpán Němec wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Jan 7, 2011, at 1:08 PM, Štěpán Němec wrote: Why aren't the %() expressions simply evaluated in the original buffer (if available

[Orgmode] Re: Capture template and elisp expression

2011-01-07 Thread Štěpán Němec
Carsten Dominik carsten.domi...@gmail.com writes: On Jan 6, 2011, at 11:26 PM, Nick Dokos wrote: Rainer M Krug r.m.k...@gmail.com wrote: Hi I want to use a Capture Template to record changes to files under version control. Everything works as expected, but I would like to include the

[Orgmode] Re: Capture template and elisp expression

2011-01-07 Thread Štěpán Němec
Carsten Dominik carsten.domi...@gmail.com writes: On Jan 7, 2011, at 1:08 PM, Štěpán Němec wrote: Why aren't the %() expressions simply evaluated in the original buffer (if available)? That would solve these issues in a general way. It seems to me that there is no advantage to evaluating

[Orgmode] Re: should the mail list be splitted resp. sub-tagged ?

2011-01-04 Thread Štěpán Němec
Bastien bastien.gue...@wikimedia.fr writes: Hi Torsten, Torsten Wagner torsten.wag...@gmail.com writes: Using [Orgmode] as a tag on the orgmode list is an arguable point. Maybe the someone higher in the queue like to make a decision to shorten it to [Org]. I agreed this would be an

[Orgmode] Re: should the mail list be splitted resp. sub-tagged ?

2011-01-04 Thread Štěpán Němec
Bastien bastien.gue...@wikimedia.fr writes: Hi Štěpán, Štěpán Němec step...@gmail.com writes: FWIW, I do. Having [Org] (or anything, really) prepended to the subjects of _all_ mails coming from a list that is already uniquely identifiable (e.g. by its address) has no information value

[Orgmode] Re: elisp code takes CPU too much

2010-12-29 Thread Štěpán Němec
Jambunathan K kjambunat...@coextrix.com writes: hi. I have wrote an elisp code for org-mode, which puts entries in a table. It is a simple code in my opinion and it does the job I intended. But when executed, the activation of CPU shoots up and it will take a while to complete it.  I do not

[Orgmode] [BUG] Table field clipping doesn't handle double-width characters properly

2010-12-17 Thread Štěpán Němec
Take the following table for instance: | Year | English title | Korean title | Transliterated title | |--+++--| |

[Orgmode] Re: Questions about org-capture templates and usage

2010-12-06 Thread Štěpán Němec
Carsten Dominik carsten.domi...@gmail.com writes: Hi Nick, On Dec 6, 2010, at 3:48 PM, Nick Dokos wrote: Alan E. Davis lngn...@gmail.com wrote: I have org-capture assigned to C-c, so C-u C-u C-c c goes straight to the last stored item. Perfect. I presume the first `C-c' above is a

[Orgmode] Re: [BUG] Table formula with org-hh:mm-string-to-minutes

2010-10-05 Thread Štěpán Němec
Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Hello, I use the following table and formulas to convert HH:MM times to fractional times, so that I can sum up the times (and convert them to money...) | Task | *HH:MM* | *Frac* |

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-28 Thread Štěpán Němec
Rainer M Krug r.m.k...@gmail.com writes: Just one additional question: When I go on the menu to Org -- Documentation -- Info Documentation, I still get the info help from version 6.21b, although I installed the version from git, and under Org -- Documentation -- Show Version it gives me

[Orgmode] Re: Bug: org-capture destroys target file when user aborting prompt in template [6.36trans (release_6.36.430.gec51)]

2010-06-27 Thread Štěpán Němec
David Maus dm...@ictsoc.de writes: [...] there is one of those #filename#-file (how are those called?) [...] Those are called auto-save files. (info (emacs)Auto Save Files) Štěpán ___ Emacs-orgmode mailing list Please use `Reply All' to send replies

[Orgmode] Re: [PATCH] Make sure `flet' is fbound when executing `org-write-agenda'.

2010-06-27 Thread Štěpán Němec
David Maus dm...@ictsoc.de writes: * org-agenda.el (org-write-agenda): Make sure `flet' is fbound at runtime. --- lisp/org-agenda.el |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 8035add..957bbf2 100644 ---

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-26 Thread Štěpán Němec
Eric Schulte schulte.e...@gmail.com writes: Hi Rainer, First I'll give some expanded instructions in the hopes of helping out anyone else affected by my lack of good instructions in the announcement email. Then I'll provide a re-write of your config below as an example. Babel took the

[Orgmode] Re: [ANN] Org-babel integrated into Org-mode

2010-06-26 Thread Štěpán Němec
Eric Schulte schulte.e...@gmail.com writes: Štěpán Němec step...@gmail.com writes: [...] How come some of your rewrites above still use the `org-babel-' prefix? (As a side note, I don't see what Emacs guidelines suggest `ob-' is more appropriate than `org-babel-', and I would personally

[Orgmode] Re: [babel] Re: Re: [OT] gnuplot quality

2010-06-16 Thread Štěpán Němec
Eric S Fraga ucec...@ucl.ac.uk writes: I am surprised, however, at this comment: Gnuplot was ok when I didn't need quailty graphs. in what way does gnuplot fall short in terms of quality? (but keep this part of the conversatino off-list please to avoid annoying others) I can't speak for

[Orgmode] Re: [PATCH] Emacs 22 support - use org-string-match-p

2010-06-03 Thread Štěpán Němec
Hello, sorry for being difficult again ;-) Bernt Hansen be...@norang.ca writes: [snip] -(string-match ^// str)) +(org-string-match-p ^// str)) Ehrm... do you really want to replace `string-match', too? [snip] Štěpán

[Orgmode] Re: [PATCH] Emacs 22 support - use org-string-match-p

2010-06-03 Thread Štěpán Němec
On Thu, Jun 03, 2010 at 06:09:53PM -0400, Bernt Hansen wrote: Ehrm... do you really want to replace `string-match', too? Yes ... because it originally was a string-match-p that Carsten converted to string-match since Emacs 22 doesn't have a string-match-p during an earlier bug report (by

[Orgmode] Re: [PATCH] Emacs 22 support

2010-06-01 Thread Štěpán Němec
Bernt Hansen be...@norang.ca writes: * contrib/lisp/org-special-blocks.el: Emacs 22 doesn't have string-match-p --- This patch is available at git://git.norang.ca/org-mode.git emacs22 contrib/lisp/org-special-blocks.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[Orgmode] Re: Agenda view Day separator

2010-05-18 Thread Štěpán Němec
Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: (setq org-agenda-format-date (concat %Y-%m-%d %a (make-string (- (window-width) 15) (string-to-char _ Carsten, maybe this could be made the default value? I guess it would help people

[Orgmode] Re: Agenda view Day separator

2010-05-18 Thread Štěpán Němec
Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: [If that happens, please change (string-to-char _) to ?_ Elisp has read syntax for characters, so you're making an unnecessary function call.] Thanks for the tip. FMI, is that valid in XEmacs as well -- even if

[Orgmode] Re: spreadsheet table limitations, specifically summing hours?

2010-05-17 Thread Štěpán Němec
oinksoc...@letterboxes.org writes: (I'm starting to think it's going to need some test cases, and I'll need to polish my elisp somewhat to find out how to do that. Are there any suggested unit-testing schemes for elisp?) http://news.gmane.org/group/gmane.emacs.devel/thread=122140

[Orgmode] Re: Frequently used files/headings

2010-05-10 Thread Štěpán Němec
Nathan Neff nathan.n...@gmail.com writes: I tried something like this, but all I get is Wrong type argument: integer-or-marker-p, (quote (second shortcut-def)) #+srcname: map-nav(navigation-shortcuts=navigation-shortcuts) #+begin_src emacs-lisp (defun map-navigation-shortcuts (shortcut-def)

[Orgmode] Re: Frequently used files/headings

2010-05-10 Thread Štěpán Němec
Stephan Schmitt drmab...@cs.tu-berlin.de writes: Hi Nathan, when the lambda form is evaluated (when you press f6) the variable shortcut-def doesn't exist any more. The problem is that elisp doesn't support closures. See this info page: (elisp) Top Variables Variable Scoping Extent As

[Orgmode] Re: Copying and Pasting (and Selecting)

2010-04-29 Thread Štěpán Němec
David Frascone d...@frascone.com writes: I didn't like org-refile. It didn't seem to want to refile under anything but a top level (or maybe I was refiling a level 2) . . . I'll try to play with it some more, but it didn't make my cheat sheet of cool tricks :) You have to adjust the

[Orgmode] Re: Vim folding/syntax highlighting?

2010-04-29 Thread Štěpán Němec
Michael Brand michael.br...@alumni.ethz.ch writes: Hi Nathan Does it matter for you if the modal (i/ESC etc.) editor with the vi key bindings that you like to use is run by Vim or Emacs? If not, then you can use Emacs with viper-mode as a minor mode for the emulation of the vi key bindings

[Orgmode] `org-refile' doc string

2010-04-28 Thread Štěpán Němec
In the documentation of `org-refile' we read: If there is an active region, all entries in that region will be moved. However, the region must fulfil the requirement that the first heading is the first one sets the top-level of the moved text - at most siblings below it are allowed. I

[Orgmode] Re: `org-refile' doc string

2010-04-28 Thread Štěpán Němec
Nick Dokos nicholas.do...@hp.com writes: Štěpán Němec step...@gmail.com wrote: In the documentation of `org-refile' we read: If there is an active region, all entries in that region will be moved. However, the region must fulfil the requirement that the first heading is the first

[Orgmode] Re: [Babel] Macro for begin_src?

2010-04-19 Thread Štěpán Němec
Dan Davison davi...@stats.ox.ac.uk writes: I guess, for Nate's original application (converting existing code to src blocks), what might have been most useful is something to enclose a given region in a source block. Can anyone show how to do that with yasnippet (or anything else)? I don't

[Orgmode] Re: [Babel] Macro for begin_src?

2010-04-17 Thread Štěpán Němec
Dan Davison davi...@stats.ox.ac.uk writes: Thanks!  I'm having trouble triggering the yasnippets using the TAB key, so I'm just using the GUI menu. Do you literally type src (no quotes), then press Tab? Yeah, but there's some magic code needed, which is also on Bernt's page. (add-hook

[Orgmode] Subscribing without receiving mail (was: Re: [PATCH] followup to `org-rember-templates' docstring)

2010-04-16 Thread Štěpán Němec
Bernt Hansen be...@norang.ca writes: Carsten Dominik carsten.domi...@gmail.com writes: Hi Stepan On Apr 16, 2010, at 12:23 AM, Štěpán Němec wrote: Hello, I'm sorry for my somewhat precocious previous mail (which I unfortunately still don't see posted, I use Gmane and am not subscribed

[Orgmode] `org-remember-templates' docstring

2010-04-15 Thread Štěpán Němec
Hello, in the documentation string of `org-remember-templates' we read: [...] %^t like %t, but prompt for date. Similarly %^T, %^u, %^U. You may define a prompt like %^{Please specify birthday %n user name (taken from `user-full-name') [...] The line

[Orgmode] [PATCH] followup to `org-rember-templates' docstring

2010-04-15 Thread Štěpán Němec
Hello, I'm sorry for my somewhat precocious previous mail (which I unfortunately still don't see posted, I use Gmane and am not subscribed -- any chance of making the list not moderated?). I discovered that the documentation is corrected in org.texi. I'm attaching a patch that fixes the