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 : G
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 fil
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 indexi
> 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 work
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 helpful
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 b
> 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
https://github.com/t
`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 need
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?
>
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 distingu
On Wed, 21 Sep 2011 19:37:42 +0200
Thorsten wrote:
> in org-babel-expand-body:scheme (and
> e.g. org-babel-expand-body:emacs-lisp) I encounter something like this:
>
> (lambda (var) (format "%S" (print `(,(car var) ',(cdr var)
>
> While this part
> `(,(car var) ...)
> is explained in t
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 ...
&
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 "idi
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 r
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
&
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 c
[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 wi
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
>>
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(-)
>
>
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.
"Sebastien Vauban"
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...
>
> Having those definitely would make org-contacts m
Mehul Sanghvi 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 repository (o
Julien Danjou 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 mailing list
Pl
Julien Danjou 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 .or
"Eric Schulte" 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 due to issues al
Carsten Dominik writes:
> On Jan 7, 2011, at 4:00 PM, Štěpán Němec wrote:
>
>> Carsten Dominik 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
>>>
Carsten Dominik 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 evaluat
Carsten Dominik writes:
> On Jan 6, 2011, at 11:26 PM, Nick Dokos wrote:
>
>> Rainer M Krug 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 current revision in th
Bastien writes:
> Hi Štěpán,
>
> Štěpán Němec 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 altoget
Bastien writes:
> Hi Torsten,
>
> Torsten Wagner 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 improvement to use [Org].
>
> If nobody have
Jambunathan K 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 believe that this
Take the following table for instance:
| Year | English title | Korean title
| Transliterated title |
|--+++--|
| 199
Carsten Dominik writes:
> Hi Nick,
>
> On Dec 6, 2010, at 3:48 PM, Nick Dokos wrote:
>
>> Alan E. Davis 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 typo and that the bindind
Sébastien Vauban
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* |
> |+-+|
> | Item 1 | 20:27 | 20.45 |
> | Item 2 |
Rainer M Krug 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 "Org-mode version 6
David Maus 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
> --- a/lisp/org-age
David Maus writes:
> [...] there is one of those ##-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 to the list.
Emacs-
Carsten Dominik writes:
> On Jun 26, 2010, at 6:30 PM, Štěpán Němec wrote:
>
>> "Eric Schulte" writes:
>>
>>> Štěpán Němec writes:
>>>
>>> [...]
>>>>
>>>> How come some of your rewrites above still use the `or
"Eric Schulte" writes:
> Štěpán Němec 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 `o
"Eric Schulte" 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 integration into
Eric S Fraga 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 others, but I
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
Hello,
sorry for being difficult again ;-)
Bernt Hansen writes:
[snip]
> -(string-match "^//" str))
> +(org-string-match-p "^//" str))
Ehrm... do you really want to replace `string-match', too?
[snip]
Štěpán
__
Bernt Hansen 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 --git a/cont
Sébastien Vauban
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 I'm not
> especially using it, I always try
Sébastien Vauban
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 out there, when using the default config. Ju
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
_
Stephan Schmitt 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 a workaraou
Nathan Neff 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)
> (global-set
Michael Brand 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
> together with org-mode
David Frascone 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 `org-refile-targets' set
Nick Dokos writes:
> Štěpán Němec 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
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 c
Dan Davison 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 have a ready-to-use s
Dan Davison 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 'org-mo
Bernt Hansen writes:
> Carsten Dominik 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
>>> unfortunatel
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 origina
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 wit
58 matches
Mail list logo