From 9e8b74d881575318ff480f084ac10aea82696904 Mon Sep 17 00:00:00 2001
From: Sebastien Vauban sva-n...@mygooglest.com
Date: Thu, 7 Nov 2013 16:24:53 +0100
Subject: [PATCH] Improve Processing Org code block message
* ob-exp.el (org-babel-exp-src-block): Improve message by adding line number
Hello Nicolas,
Nicolas Goaziou wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
When using Org Beamer (in the following ECM, but not limited to it) with the
option H:1, everything works as expected. I get a PDF produced with some
slides.
Though, when setting H:2 (and refreshing
regards,
Seb
--
Sebastien Vauban
-contacts.
Sad.
Best regards,
Seb
--
Sebastien Vauban
Hi Carsten,
Sebastien Vauban wrote:
Carsten Dominik wrote:
Sebastien Vauban wrote:
If you have colors for tags:
--8---cut here---start-8---
;; faces for specific tags
(setq org-tag-faces
'((home .
(:slant italic
Hi Bastien,
Bastien wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
PS: Don't forget to add TINYCHANGE at the end of your patches in such
cases.
I thought that the rule was:
Add TINYCHANGE if less than 20 (trivial) lines; otherwise, you need to
assign copyright to the FSF
Hi Bastien,
Bastien wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
I thought that the rule was:
Add TINYCHANGE if less than 20 (trivial) lines; otherwise, you need to
assign copyright to the FSF -- and, *if you signed the FSF papers, you
don't need anymore to add
Hello,
Nicolas Goaziou wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
In the `org-latex-classes' documentation (and in the Org Beamer
documentation),
I don't see how to include or exclude lines passed through the
#+BEAMER_HEADER
keyword.
Is there a solution for those lines
Hello,
Nicolas Goaziou wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
I'd then propose the attached patch for the documentation.
Thank you for the patch.
BTW, what's the difference between #+LATEX_HEADER and #+LATEX_HEADER_EXTRA
lines, if both end up under the same umbrella
Nicolas Goaziou wrote:
Sebastien Vauban writes:
Shouldn't the similar principle be applied to BEAMER_HEADER, that is have a
BEAMER_HEADER_EXTRA keyword as well?
Snippets previewing calls `latex' back-end (class used in
`org-format-latex-header' is article, not beamer).
Therefore
---end---8---
Am I missing something?
Best regards,
Seb
--
Sebastien Vauban
-gea797e.dirty @
~/Public/Repositories/org-mode/lisp/)
--
Sebastien Vauban
Hello,
Nicolas Goaziou wrote:
Sebastien Vauban writes:
Nicolas Goaziou wrote:
Eric Schulte schulte.e...@gmail.com writes:
I've been using this since it was sent, and I haven't noticed any bad
behavior.
Thanks for the feedback.
BTW, I tried to add `org-self-insert-command' to
`flyspell
dico-alist)))
(add-hook 'org-mode-hook 'my-org-switch-language)
--8---cut here---end---8---
Best regards,
Seb
--
Sebastien Vauban
in my agenda (for next Wed/Thu).
Best regards,
Seb
--
Sebastien Vauban
Hello Eric,
Eric Schulte wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
Here is a small patch to improve the messages displayed by Org Babel when
processing code blocks: now, you get the line number added to the output, so
that you can easily find afterward which block had problems
-blocks.html#Evaluating-code-blocks.
Best regards,
Seb
--
Sebastien Vauban
$test
#+end_src
#+results:
: nil
Use the following:
#+begin_src sh :var test=curdir()
echo $test
#+end_src
Best regards,
Seb
--
Sebastien Vauban
Hi Andreas,
Andreas Leha wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
Andreas Leha wrote:
how do I reference the results of a #+call line?
Here are my unsuccessful attempts:
* Test call results
#+name: curdir
#+begin_src sh
echo $PWD
#+end_src
#+results: curdir
: /home
, and I'll make the test of Eli anyway.
But I wonder: how can you now reproduce it (and not before)?
Best regards,
Seb
--
Sebastien Vauban
Eli Zaretskii wrote:
From: Sebastien Vauban sva-n...@mygooglest.com
Date: Thu, 14 Nov 2013 19:57:02 +0100
Cc: 15...@debbugs.gnu.org
0. Copy the minimal configuration in the clipboard
1. Go into C:/Program Files/emacs-trunk/bin/
2. Launch emacs -Q
3. Paste the minimal configuration
Bastien wrote:
Glenn Morris r...@gnu.org writes:
Sebastien Vauban wrote:
Where is the black magic?
Somewhere in the labyrinthine depths of Org, so I suggest you ask the
Org maintainers to figure out why:
emacs -Q -L /path/to/git/org-mode/lisp
(with-eval-after-load org
(message Eval
but, unfortunately, Bastien's patch did not solve the problem.
Best regards,
Seb
[1] DEFINITION NOT FOUND: 0
--
Sebastien Vauban
headings,
though not all.
Best regards,
Seb
--
Sebastien Vauban
[2013-11-15 Fri 11:40]
:END:
** TODO Check weekend hours at the gym
SCHEDULED: 2013-02-06 Wed
:PROPERTIES:
:Effort: 0:10
:END:
** TODO Pay electricity bill
--8---cut here---end---8---
Best regards,
Seb
--
Sebastien Vauban
] = 0:16
- State STRT- DONE [2013-08-12 Mon 12:12]
- State DONE- TODO [2013-09-27 Fri 10:23]
- State TODO- WAIT [2013-11-15 Fri 12:00]
:END:
--8---cut here---end---8---
Best regards,
Seb
--
Sebastien
Eli Zaretskii wrote:
From: Sebastien Vauban sva-n...@mygooglest.com
Cc: r...@gnu.org, michael_heerde...@web.de, 15...@debbugs.gnu.org
Date: Fri, 15 Nov 2013 10:06:12 +0100
Eli Zaretskii wrote:
Unfortunately, this:
(gdb) No symbol backtrace_list in current context.
(whose reason I
Nicolas Goaziou wrote:
Sebastien Vauban writes:
You mean it isn't applied yet? Because I already reloaded Emacs a ton of
times today -- for different tests.
No it isn't applied yet. Meanwhile, you can test it by applying the second
patch in this thread.
Applied. Looks good so far. Thanks
regards,
Seb
--
Sebastien Vauban
with `ob-lob').
That's only reproducible with a development branch of Org mode, as
library-of-babel.org is not copied into the official Emacs release.
Best regards,
Seb
--
Sebastien Vauban
Josh wrote:
On Wed, Nov 13, 2013 at 1:27 PM, Sebastien Vauban wrote:
(with-eval-after-load org
(message Eval this when Org is loaded)
(sit-for 3)
(message ))
the code block in the `with-eval-after-load' is eval'ed twice whenever an Org
file is loaded.
Have you checked to see what
: edit Hello, for example, and you'll see that
the evaluation of the other code block is not redone (like if the NoWeb code
was not expanded for computing the hash). It stays printing Hello.
Best regards,
Seb
--
Sebastien Vauban
');
}
li.unchecked {
list-style-image: url('../images/unchecked.png');
}
#+end_src
with 3 nice pictures of green V, red X, and blue || (line pause on
recorders).
Best regards,
Seb
--
Sebastien Vauban
/Repositories/org-mode/lisp/)
Best regards,
Seb
--
Sebastien Vauban
Hello Nicolas,
Nicolas Goaziou wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
When trying to convert a document which contains R graphics, I get the error:
Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
goto-char(nil)
(progn (goto-char link-end
[-] could be nice, then, as corresponds to the Org look
and feel.
Best regards,
Seb
--
Sebastien Vauban
if we've to admit it is very, very seldsom, and only with the
dev trunk.
Best regards,
Seb
--
Sebastien Vauban
--
Sebastien Vauban
to be escaped.
Best regards,
Seb
--
Sebastien Vauban
Hi Eric,
Eric Schulte wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
IIRC, some time ago, a bug involving the computation of the hash (when
option cache is enabled) and NoWeb code blocks. I remember that it had been
fixed.
However, the following example shows it's not (true
newsgroup: \\(.+\\)
nil t)
(setq txt (concat txt (format %s (match-string 1)) \n))
(princ txt)))
#+end_src
However, the results is always an example block, NEVER in an Org _table_ -- and
I don't understand why. Does anybody?
Best regards,
Seb
--
Sebastien Vauban
Hi Eric,
Eric Schulte wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
I'm trying to generate R graphs from lines found in the *Messages* buffer
with
the following code of mine:
#+begin_src emacs-lisp :results output table
(setq txt nil)
(with-current-buffer *Messages
between unchecked and partially checked? If yes, this
is wrong IMO.
I did not search for long, but there should be usable unicode characters. To
name a few:
- U+25EB White square with vertical bisecting line
- U+25F1 White square with lower left quadrant
Best regards,
Seb
--
Sebastien Vauban
---cut here---end---8---
Emacs will `make-directory' it, if necessary.
Best regards,
Seb
--
Sebastien Vauban
---cut here---start-8---
;; system locale to use for formatting time values
(setq system-time-locale C)
--8---cut here---end---8---
For German timestamps, use a variation of it ;-)
Best regards,
Seb
--
Sebastien Vauban
regards,
Seb
[1] I can't following the full library call tree:
org - ??? - ob - ob-lob
--
Sebastien Vauban
.
Maybe some of the R users here could share their experience with the coding
system configuration?
Best regards,
Seb
--
Sebastien Vauban
be a newly introduced bug, because I did the same
yesterday for R parameters without success...
I ended up with Emacs Local Variables, which does work.
Maybe you could try to bisect Org?
Best regards,
Seb
--
Sebastien Vauban
be enclined to convert my buffers to ISO Latin 1, would it resolve the
problem -- but I did not find any solution with Latin 1 either.
Best regards,
Seb
--
Sebastien Vauban
, no problem, and created the problem document on
Thursday. No git updates in between.
I'm sure Achim's answer is what I missed.
I'm sure I did C-c C-c the options. Now, if it does work, it'll prove I still
must be wrong...
Best regards,
Seb
--
Sebastien Vauban
http://orgmode.org/worg/org-faq.html#ecm
Very interesting, I was not expecting French here.
Nobody expects the Spanish Inquisition^W^W^WSebastien Vauban :-)
My 15 minutes of fame... ;-)
Best regards,
Seb
--
Sebastien Vauban
regards,
Seb
[1] I've added the following code in my .emacs to make it work:
#+begin_src emacs-lisp
(setq process-coding-system-alist
'((R.* . iso-latin-1)))
#+end_src
--
Sebastien Vauban
0
: HISTTIMEFORMAT=%Y-%m-%d %H:%M
: 0 0 0
Just throwing an idea (as I don't know enough about that): play with the
variable `org-babel-sh-command' (default: bash) and add options such as
--login or --interactive (or stuff like that)?
Best regards,
Seb
--
Sebastien Vauban
situation, we think that the graphs (or, in a general way, the results) are
up-to-date while it's wrong -- you've changed some piece of code somewhere, and
the cached results are still used.
Best regards,
Seb
--
Sebastien Vauban
-babel-exp-do-export info (quote
block) hash)
org-babel-exp-src-block((R))
--8---cut here---end---8---
Best regards,
Seb
[1] Org-mode version 8.2.3c (release_8.2.3c-344-ge6a6fe).
--
Sebastien Vauban
Sebastien Vauban wrote:
John Hendy wrote:
Can you do it straight from R? Might be a better place to start? If not,
I'd look into that first to avoid googling org and ESS stuff in vain!
The 1'42 demo on http://screencast.com/t/A9q6CQlLY6 clearly shows that:
- It (now [1]) works from the R
Christian Moe wrote:
Sebastien Vauban writes:
Fixed with:
--8---cut here---start-8---
;; accented characters on graphics
(setq org-babel-R-command
(concat org-babel-R-command --encoding=UTF-8)))
--8---cut here
Achim Gratz wrote:
Eric Schulte writes:
This should be fixed now.
Indeed it is. Thank you.
Also confirmed on my side.
Thank you for fixing the hash computation problem so quickly!
Best regards,
Seb
--
Sebastien Vauban
regards,
Seb
--
Sebastien Vauban
to) call(s) the mode foo-mode.
--
Sebastien Vauban
followed by their
results -- that is, such #+... lines are like ignored for the update.
Best regards,
Seb
--
Sebastien Vauban
Hello Eric,
Eric Schulte wrote:
Sebastien Vauban sva-n...@mygooglest.com writes:
Eric Schulte wrote:
When results caching is enabled, and when the hash must be updated, the
meta-lines in front of the results block are _deleted_.
You should use a named code block if you want to decorate
Manfred Lotz wrote:
I just found that #+TEXT: from pre 8 org-mode has disappeared.
Does anybody know how this is done with org-mode 8?
IIUC, it became `#+ascii:'.
Best regards,
Seb
--
Sebastien Vauban
. Could you elaborate, please?
Best regards,
Seb
--
Sebastien Vauban
} is left as is
In a way, the opposite of what I'm expecting.
Am I missing something?
Best regards,
Seb
--
Sebastien Vauban
Hello Nicolas,
Sebastien Vauban writes:
In order to be able to write names such as CODE_STATUT without STATUT
being written in subscript, I'm using the {} value for the ^ option.
Though, doing so,
- a_b is interpreted as subscript
- a_{b} is left as is
In a way, the opposite of what I'm
--
Sebastien Vauban
.
The non-portable part comes from the need to share that filter.
Anybody without that filter will not be able to export your document in
the intended way.
Shouldn't, then, some filters be available by default in core Org?
Best regards,
Seb
--
Sebastien Vauban
Hello Bastien,
Bastien wrote:
Sebastien Vauban writes:
Shouldn't, then, some filters be available by default in core Org?
I don't think so: my understanding is that default filters would
then be implemented without relying on filters -- so filters are
really optional by nature. Nicolas
with it! :-).
This is mainly useful for sending HTML-export (or Org-export) of an Org
section.
Best regards,
Seb
--
Sebastien Vauban
Hi François,
François Pinard wrote:
Sebastien Vauban writes:
Using `C-c C-v C-d' to demarcate your region as code, and give the
language, you'll get a nice highlighting of the code inside Gnus
You mean that demarcated code
#+BEGIN_SRC elisp
((lambda (x y) (+ x y))(length abc) 2
on overall performance?
Best regards,
Seb
--
Sebastien Vauban
'.
WDYT if we turn it on by default?
Are there users explicitly wanting to keep that variable turned off. If
yes, can you explain why: performance reasons, others?
Best regards,
Seb
--
Sebastien Vauban
, like this:
--8---cut here---start-8---
# Local variables:
# eval: (sbe init)
# End:
--8---cut here---end---8---
Best regards,
Seb
--
Sebastien Vauban
one-liners, yes!
Now, I have no idea about what's the work required. But I definitely
would love to see that implemented.
Best regards,
Seb
--
Sebastien Vauban
is quite cryptic, even if it's the (quite logical)
abbreviation of source block evaluate.
Best regards,
Seb
--
Sebastien Vauban
department, it was Sebastien
Vauban who came up with this very nice tidbit.
Give back to Caesar what is Caesar's...
and take from Caesar everything what's not Caesar's [1] ;-)
Best regards,
Seb
[1] That solution was given by Dan Davison in December 2010
(see http://article.gmane.org
Hello Bastien,
Eric S Fraga wrote:
+1 for org-src-fontify-natively set to t by default. I've had this
turned on forever... I cannot imagine using org without it!
I think this overall results of the poll is quite clear, no?
Best regards,
Seb
--
Sebastien Vauban
Once again, not what you're looking for, but John Wiegley once shared
his code to highlight agenda lines depending of a tag (home, work,
etc.).
Though, can't find it anymore...
Best regards,
Seb
--
Sebastien Vauban
.
AFAICT, this is not possible right now. Though, you have a fallback in
the name of jQuery, for example (or JavaScript, in general).
Best regards,
Seb
--
Sebastien Vauban
-c\C-l\C-m)
But I find it fragile because it relies on key bindings which could
change in time.
How could I do otherwise?
Best regards,
Seb
--
Sebastien Vauban
-export-with-tags' seems to be the option to do that, nope?
╭ org-export-with-tags
│
│ If nil, do not export tags, just remove them from headlines.
╰
Best regards,
Seb
--
Sebastien Vauban
for people to
try to confirm the problem, and eventually fix it.
Best regards,
Seb
--
Sebastien Vauban
,
Seb
--
Sebastien Vauban
Hello Nick,
Nick Dokos wrote:
Sebastien Vauban writes:
I'd like to use org-store-link in a piece of code. However, it currently
requires the user to select some link from a list of store links.
I think you mean org-insert-link, right?
Yes; you're right!
If I always want to select
-in function in `C source code'.
│
│ (boundp SYMBOL)
│
│ Return t if SYMBOL's value is not void.
│ Note that if `lexical-binding' is in effect, this refers to the
│ global value outside of any lexical scope.
╰
Best regards,
Seb
--
Sebastien Vauban
be so hard to monkeypatch the method to do so,
would it?
Best regards,
Seb
--
Sebastien Vauban
Hello Andreas,
Andreas Leha wrote:
The drop of the implicit naming of call lines, for example, was (and
still will be for some of my files) a bigger issue.
Could you remind me what's the problem you're talking of?
Best regards,
Seb
--
Sebastien Vauban
duration
This seems the simplest option to me.
Best regards,
Seb
--
Sebastien Vauban
)?
Best regards,
Seb
--
Sebastien Vauban
---cut here---start-8---
(global-set-key (kbd f12)
(lambda ()
Execute `C-c a h'.
(interactive)
(org-agenda nil h)))
--8---cut here---end---8---
Best regards,
Seb
--
Sebastien Vauban
Nicolas Goaziou wrote:
Eric S Fraga e.fr...@ucl.ac.uk writes:
Sebastien Vauban sva-n...@mygooglest.com writes:
Eric S Fraga wrote:
Seems to work fine. I've tried using the export snippets together with
the filter for checkboxes and my lists come out looking as they
should. Changing my
,
Seb
--
Sebastien Vauban
Hi Bastien,
Sebastien Vauban writes:
Since a couple of days, I have the following trouble when capturing in
one (or more?) files.
I've not yet understood the problem. Anybody having tips?
Can you check the value of `org-complex-heading-regexp-format'
in the buffer where the error
-version))
(format-time-string %Y-%m-%d emacs-build-time)
(emacs-pid)))
(add-to-list 'load-path ~/git/org-mode/lisp)
(load-theme 'leuven t)
--8---cut here---end---8---
Best regards,
Seb
--
Sebastien Vauban
:
--8---cut here---end---8---
Obviously, it's much less readeable...
Maybe that solution should be deprecated, then?
Best regards,
Seb
--
Sebastien Vauban
Hello Nicolas,
Nicolas Goaziou wrote:
Sebastien Vauban writes:
I thought that the standard way was the following:
***
:B_theorem:
:PROPERTIES:
:BEAMER_env: theorem
:END:
There is no largest prime number
Hello Nicolas,
Nicolas Goaziou wrote:
Sebastien Vauban writes:
Is the simpler solution valid on all types of block environments?
To enumerate them (extensively, AFAICT):
- structureenv
- alertblock
- exampleblock
- definition
- example
- proof
- beamercolorbox
- verse
- quotation
are executed, I'd think this
is possible, but I must miss something...
Best regards,
Seb
--
Sebastien Vauban
,
Seb
--
Sebastien Vauban
801 - 900 of 1634 matches
Mail list logo