Eric Schulte schulte.e...@gmail.com writes:
[snip (4 lines)]
I personally prefer the solution shown below of adding a file-local
variable using the post-tangle hook. As mentioned previously this makes
the detection of tangled code much faster, simpler and less error prone
than grepping
Eric Schulte schulte.e...@gmail.com writes:
the tangled file looks as follow, including the empty lines at
beginning and end:
,
|
| ## [[file:~/tmp/jumpBack.org::*newASM%20(./newASM.R)][newASM\
\(\./newASM\.R\):1]]
|
|
Rainer M Krug rai...@krugs.de writes:
[snip (54 lines)]
,
| (defvar org-babel-tangled-file nil
| If non-nill, current file was tangled with org-babel-tangle)
|(put 'org-babel-tangled-file 'safe-local-variable 'booleanp)
|
|(defun org-babel-mark-file-as-tangled ()
|
Thanks for the tip. Do you have an elisp piece that handles the image
insertion into org buffers?
Thanks,
Vitalie
Klaus-Dieter Bauer bauer.klaus.die...@gmail.com
on Thu, 6 Jun 2013 19:16:26 +0200 wrote:
Dear All,
Please Help,
I need to paste raw image from clipboard
The problem with org-babel-post-tangle-hook is that user is always asked
yes-or-no-p for file reversion. Calling auto revert (as Rainer tried)
will not help.
The problem is in find-file-noselect in org-babel-find-file-noselect-refresh.
The following patch fixes it by silencing
Hello,
Carsten Dominik carsten.domi...@gmail.com writes:
This is a good point - but this calls for something else: A mechanism
to name a particular list item and refer to it by name. In LaTeX you
can put a \label into an ordered list item and refer to it with \ref.
I am not sure if the new
Hello,
Wes Hardaker wjhns...@hardakers.net writes:
celano cel...@laposte.net writes:
I tried exporting a text with emphasize, but it doesn't work.
The man page speaks about sections, lists and such other things, but
nothing about emphasizing and bold text.
http://comments.gmane.org/gmane.emacs.ess.general/7239
I can confirm this with Org 7.8 and ESS 13.05 and R 3.0.1 under Ubuntu 12.04
LTS.
eval-line-and-step (F9) when in an Org file evaluates the line in R, and
then jumps the cursor elsewhere as described, instead of advancing it.
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
[snip (46 lines)]
For now I think both padlines and link comments are required for the
jumping functionality to work. I've updated the documentation to
reflect this.
Thanks - I will change it accordingly.
Hello,
Rasmus ras...@gmx.us writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
is the attached patch better?
It is, thank you. Here is another round of comments.
+ (replace-match (mapconcat 'identity
+ (if language
+
I cannot reproduce it with org 8 and ESS 13.05. So probably it fixed ñ
itself or it is some local configuration of yours. In that case would be
nice to know the cause.
Vitalie
SabreWolfy sabrewo...@gmail.com
on Fri, 7 Jun 2013 11:57:20 + (UTC) wrote:
Hi
when tangling the following file
,
| * Package Files
| ** DESCRIPTION File
| :PROPERTIES:
| :tangle: ./DESCRIPTION
| :shebang:
| :padline: no
| :no-expand: TRUE
| :comments: no
| :END:
| #+begin_src R
| Package: asmDrak
| #+end_src
|
| ** NAMESPACE File
| :PROPERTIES:
| :tangle:
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Rasmus ras...@gmx.us writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
is the attached patch better?
It is, thank you. Here is another round of comments.
+(replace-match (mapconcat 'identity
+ (if
Rasmus ras...@gmx.us writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
I suggest to use something like this instead:
(mapconcat (lambda (option) (if (equal AUTO option) language option))
(cond ((member language options) (delete AUTO options))
((member
Vitalie Spinu spinu...@gmail.com writes:
The problem with org-babel-post-tangle-hook is that user is always asked
yes-or-no-p for file reversion. Calling auto revert (as Rainer tried)
will not help.
The problem is in find-file-noselect in org-babel-find-file-noselect-refresh.
The following
All your examples are placed in fundamental mode. The comments are
treated by org and thus are correct, local variables are inserted
according to the major mode.
I don't how this could be easily fixed on org side, but you can solve it
straightforwardly with:
(add-to-list 'auto-mode-alist
Josiah Schwab jsch...@gmail.com writes:
However, the type=a thingie in ol is a bad idea: it is deprecated in
the HTML spec, so it would be foolish to go chasing after it in org.
I'll take a closer look the rest of your message to tomorrow, but I wanted
to mention that while type was
Eric Schulte schulte.e...@gmail.com writes:
Vitalie Spinu spinu...@gmail.com writes:
The problem with org-babel-post-tangle-hook is that user is always asked
yes-or-no-p for file reversion. Calling auto revert (as Rainer tried)
will not help.
The problem is in find-file-noselect in
Hi Eric
Thank you for looking into this.
On Thu, Jun 6, 2013 at 7:01 PM, Eric Schulte schulte.e...@gmail.com wrote:
Is the only requirement that
the point from which a code block was called be accessible to the
emacs-lisp code executed within that code block?
Yes.
If so then there should
Hi Michael,
Is release_8.0.3-207-g5dc5143 the change you mention?:
yes
commit 5dc5143578a2759611a5856de9bf9d1c7eba9283
Author: Eric Schulte schulte.e...@gmail.com
Date: Thu Jun 6 10:59:27 2013 -0600
inline sets org-babel-current-exec-src-block-head
In this
Rainer M Krug rai...@krugs.de writes:
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
[snip (46 lines)]
For now I think both padlines and link comments are required for the
jumping functionality to work. I've updated the documentation to
reflect this.
Nicolas Goaziou n.goaz...@gmail.com writes:
It is, thank you. Here is another round of comments.
v4 attached.
--
C is for CookieFrom 2126f295e7137c1b90a8524108de4a7aaeac7e9f Mon Sep 17 00:00:00 2001
From: rasmus.pank rasmus.p...@gmail.com
Date: Sat, 1 Jun 2013 00:20:18 +0200
Subject: [PATCH]
.
On Friday, June 7, 2013, Eric Schulte wrote:
Rainer M Krug rai...@krugs.de javascript:; writes:
Rainer M Krug rai...@krugs.de javascript:; writes:
Eric Schulte schulte.e...@gmail.com javascript:; writes:
[snip (46 lines)]
For now I think both padlines and link comments are
On Friday, June 7, 2013, Vitalie Spinu wrote:
All your examples are placed in fundamental mode. The comments are
treated by org and thus are correct, local variables are inserted
according to the major mode.
The question is why - all .R files are automatically in r mode when I open
them and
When I publish the project, orgmode attempts to open all pdf files
(which are static content). It seems to me that some sort of indexing
is being attempted though I am not sure. I think it started happening
after I included creation of a sitemap.
I get messages like this:
DocView: process
Achim Gratz writes:
The change on the Babel side was just a few lines, but reconciling Org's
notion of property syntax in various places proved to be more difficult.
It's still not very well tested (it does survive the test suite
obviously) and I'll need to write tests and documentation (help
Sorry not quite sure how to phrase the problem in the subject line there.
I have the following setup in my .emacs ...
(defvar org-dir /home/mash/read/org/)
And use it around such as ...
(setq org-directory org-dir)
(setq org-default-notes-file (concat org-dir mash.org))
Now I understand that
Hi
I was trying a gnuplot source block, and was stricken by No org-babel-execute
function for gnuplot! when I tried to execute the block.
I made sure the variable org-babel-load-languages contained (gnuplot . t) , so
I was quite puzzled.
It turns out that I needed to explicitly add
(require
Rainer M Krug r.m.k...@gmail.com
on Fri, 7 Jun 2013 17:40:53 +0200 wrote:
On Friday, June 7, 2013, Vitalie Spinu wrote:
All your examples are placed in fundamental mode. The comments are
treated by org and thus are correct, local variables are inserted
according to the
Carlos Russo carlos.ru...@ist.utl.pt writes:
Hi
I was trying a gnuplot source block, and was stricken by No
org-babel-execute function for gnuplot! when I tried to execute the block.
I made sure the variable org-babel-load-languages contained (gnuplot . t) ,
so I was quite puzzled.
It
Hi all,
I'm wondering if there is a way to prevent the LaTeX exporter from
escaping { and } characters. There are export options to control
the behavior of a number of other special characters, but I don't see
any way to control export of braces in the documentation. Am I just
missing it? If
(defun my-org-insert-clipboard ()
(interactive)
(let* ((image-file clipboard.png)
(exit-status
(call-process convert nil nil nil
clipboard: image-file)))
(org-insert-link nil (concat file: image-file) )
(org-display-inline-images)))
That works for me (Emacs 24.3, Windows 7) though
Dnia 2013-06-07, o godz. 10:26:31
Richard Lawrence richard.lawre...@berkeley.edu napisał(a):
Here's my use case. I often create new commands in LaTeX to abstract
over some common pattern so I can easily type it and change it later
if necessary. For example, when taking notes on readings, I
Hi list,
I'm preparing materials for a university course. The materials are not
for students, but for teachers, and along with the syllabus for each of
the topics, I'd like to include some optional tips (like what kind of
problems might be good here, what to mention when teaching this etc.)
The
The subject has it all.
M-x org-version gives
Org-mode version 8.0.3 (8.0.3-15-g030e96-elpa
@ /home/marcin/.emacs.d/elpa/org-20130522/)
and M-x emacs-version
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-14
on platinum, modified by Debian
I did not mess up with
Achim Gratz strom...@nexgo.de writes:
Achim Gratz writes:
The change on the Babel side was just a few lines, but reconciling Org's
notion of property syntax in various places proved to be more difficult.
It's still not very well tested (it does survive the test suite
obviously) and I'll
Marcin Borkowski mb...@wmi.amu.edu.pl writes:
The subject has it all.
M-x org-version gives
Org-mode version 8.0.3 (8.0.3-15-g030e96-elpa
@ /home/marcin/.emacs.d/elpa/org-20130522/)
and M-x emacs-version
GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-14
on platinum,
Hi Eric
On Fri, Jun 7, 2013 at 5:18 PM, Eric Schulte schulte.e...@gmail.com wrote:
In this commit I see two issues which my patch does not have:
1) The variable name org-babel-current-exec-src-block-head is the same
as for a different meaning (source block head) and purpose introduced
Nick Dokos ndo...@gmail.com writes:
da...@adboyd.com (J. David Boyd) writes:
I've got a simple cell calculation, =@2 * 40
If @2 contained 10, is there anyway to force this to show as $400.00? I've
combed through the info file, and if it is there I'm blind.
This seems to work (apart from
David Engster d...@randomsample.de writes:
David Engster writes:
Google has announced today that they will shut down their CalDAV API in
September, since hey, everybody's using their own protocol anyway.
Well, Google has suddenly realized that not only is CalDAV an open
standard, but it's
Eric Schulte writes:
As I recall I was fully in favor of applying these changes, however I am
not qualified to address the changes to property behaviors. Hopefully
someone who works more on that side of things can address those aspects.
I am still hoping that one of the users that was asking
Michael Brand michael.ch.br...@gmail.com
on Fri, 7 Jun 2013 21:16:00 +0200 wrote:
[...]
Perhaps the variable name should be updated, but this extension is
simply a generalization to include inline code blocks as well. I don't
find it misleading.
[...]
If yes then I understand
Michael Brand writes:
But for me it would have helped to have some other name, containing
neither src-block, which I associate it with #+BEGIN_SRC but
not #+CALL line or inline call_name, nor head, which I associate
with #+HEADER.
There are multiple places in Babel where src-block-head means
Marcin Borkowski writes:
Is there a way to do something like this on Org side? (On LaTeX side,
this is quite easy, but I don't want to clutter my Org file with LaTeX
syntax like \begin{tip} ... \end{tip} etc.)
#+begin_tip
...
#+end_tip
Yours,
Christian
Hi,
Manfred Lotz writes:
My question: Is there an easy way to configure the odt export to do a
page break before switching to a Heading 1 line? In the end I would
like to view a Heading 1 like a chapter in a LaTeX book class.
It's easier to use LibreOffice to modify the Heading 1 paragraph
Thank you both Thorsten and Seb, i really appreciate the help!
Seb, you wrote: The programming equivalent to C-c a s is:
(org-agenda nil s)
That's what you'd have to bind to a key (using a lambda function).
im a complete neewb and dont really have any idea on how to do the above,
can you
Hi again
i understood from Fabrice (the dev of the excellent excellent leuven-theme)
that currently Org mode only uses one background face for all the code
blocks. Is that something one can request for (different color background
face for different code blocks (IE, Bash,Lisp,R)? if so where
Hi Xebar,
Xebar Saram zelt...@gmail.com writes:
Hi again
i understood from Fabrice (the dev of the excellent excellent
leuven-theme) that currently Org mode only uses one background face
for all the code blocks. Is that something one can request for
(different color background face for
Marcin Borkowski mb...@wmi.amu.edu.pl writes:
Dnia 2013-06-07, o godz. 10:26:31
Richard Lawrence richard.lawre...@berkeley.edu napisał(a):
Here's my use case. I often create new commands in LaTeX to abstract
over some common pattern so I can easily type it and change it later
if necessary.
Xebar Saram zelt...@gmail.com writes:
Thank you both Thorsten and Seb, i really appreciate the help!
Seb, you wrote: The programming equivalent to C-c a s is:
(org-agenda nil s)
That's what you'd have to bind to a key (using a lambda function).
im a complete neewb and dont really
Hi Richard
Fantastic, thx alot for the code snippet and detailed explanation, it
really helps to understand what goes on. unfortunately i get an error:
Wrong type argument: commandp, (lambda nil (org-agenda nil s ))
any clue?
best
Z.
On Fri, Jun 7, 2013 at 5:50 PM, Richard Lawrence
Xebar Saram zelt...@gmail.com writes:
Hi Richard
Fantastic, thx alot for the code snippet and detailed explanation, it
really helps to understand what goes on. unfortunately i get an error:
Wrong type argument: commandp, (lambda nil (org-agenda nil s ))
Ah, sorry about that, should have
Hello emacs-orgmode!
I think I may have encountered a bug (org-mode 7.8.02, emacs 23.3.1, ubuntu
12.04.2). It seems that if I have a file with #+STARTUP: logdrawer at the
top, but the LOG_INTO_DRAWER property unset on an item, clocking in and out
doesn't get logged into LOGBOOK. To illustrate:
The culprit code is the following:
(when :time-stamp-file
(format-time-string
(concat !-- org-html-metadata-timestamp-format --\n)))
This `when' condition is always true, because :time-stamp-file is a keyword
and always eval to itself, never to nil.
So I think
Richard Lawrence richard.lawre...@berkeley.edu writes:
Xebar Saram zelt...@gmail.com writes:
Thank you both Thorsten and Seb, i really appreciate the help!
Seb, you wrote: The programming equivalent to C-c a s is:
(org-agenda nil s)
That's what you'd have to bind to a key (using a
Haojun Bao baohao...@gmail.com writes:
The culprit code is the following:
(when :time-stamp-file
(format-time-string
(concat !-- org-html-metadata-timestamp-format --\n)))
This `when' condition is always true, because :time-stamp-file is a
keyword and always eval to itself,
Just checked, it is the same tag (release_8.0.3), there is no change like
in your code.
Could you please run git blame on those lines?
On Sat, Jun 8, 2013 at 1:30 PM, Nick Dokos ndo...@gmail.com wrote:
Haojun Bao baohao...@gmail.com writes:
The culprit code is the following:
(when
57 matches
Mail list logo