Hi again
Chuck:
is there a way to modify you nice code regex code snippet to simultaneously
change all example blocks to R blocks in a converted rmd>org file?
so when executing the block all example blocks:
#+BEGIN_EXAMPLE
help.search("rnorm")
#+END_EXAMPLE
will turn into R blocks
#+B
>> - maybe we can even adjust_match_data in every call to replace_range
>> rather than just in the one from Freplace_match.
> That would be simpler, though I wasn't sure if it would be correct.
I think it's definitely not an option for emacs-25. But maybe we can
try it on master.
Stefan
> From: npost...@users.sourceforge.net
> Cc: Eli Zaretskii , 23...@debbugs.gnu.org,
> nljlistb...@gmail.com, jwieg...@gmail.com, rpl...@gmail.com,
> alex.ben...@linaro.org
> Date: Wed, 20 Jul 2016 20:56:28 -0400
>
> >> Maybe there's a misunderstanding. What Noam suggested was just to
> >>
> Solution: adjust in between the before and after change functions.
> Patch below. I think there shouldn't be performance problems, although
> it does add yet another flag to replace_range (by the way, I noticed
> that the MARKERS flags is never 0, so it's redundant). I tested with
> the attache
Hi everybody,
I was wondering if there was a way to join two tables given
a common column. I searched but found nothing.
it would be awesome to be able to process tables in SQLITE.
something like this:
#+BEGIN_SRC sqlite :var a=table1 b=table2 :colnames yes
select * from $a join $b using colu
> Maybe there's a misunderstanding. What Noam suggested was just to
> move the code which adjusts search_regs.start[i] and .end[i] to before
> the call to replace_range.
Oh, right, that's also an option. It might suffer from another problem,
which is that the match-data will be broken while the
When org-log-into-drawer is t and the log book drawer is open, using
org-add-note closes the log book drawer.
I think it would be better if org-add-note left the state (open or
closed) of the log book drawer alone.
In comparison org-clock-in and org-clock-out do leave the state of the
log book dr
Hello,
Arun Isaac writes:
> For external links without a description, `org-html-link' resuses the
> `path' as the inner text of the exported element. However, the
> `path' variable contains the URL encoded version of the `raw-path'. It
> would be more appropriate to put the actual unescaped uni
Hello,
"Charles C. Berry" writes:
> I thought org-mode was committed to supporting 24.3.
>
> Did this recently change?
No, I didn't change. I'll change `with-eval-after-load' into
`eval-after-load' ASAP.
Regards,
--
Nicolas Goaziou
> From: Stefan Monnier
> Cc: rpl...@gmail.com, 23...@debbugs.gnu.org, alex.ben...@linaro.org,
> jwieg...@gmail.com, nljlistb...@gmail.com, npost...@users.sourceforge.net
> Date: Wed, 20 Jul 2016 14:19:59 -0400
>
> > Is it OK to adjust the match data before actually making the
> > replacemen
On Wed, 20 Jul 2016, Kaushal Modi wrote:
Hi Claude,
`with-eval-after-load` macro was introduced in emacs 24.4. Please make sure
that you are running that or a newer emacs version.
I thought org-mode was committed to supporting 24.3.
Did this recently change?
(I am just asking --- not compla
ahh i see what you mean.
thats a cool tip yet i find i have to find/replace also for images,
find/replace to change example blocks to R code blocks etc which is quite
tedious since i have about 50 of these converted Rmd to org files :)
ill keep investigating this and report back
thx so much for t
> Is it OK to adjust the match data before actually making the
> replacement? If so, I think it's a simpler solution.
>> PS: I can think of one (theoretical) other/better way to fix this
>> problem: move the match-data adjustment so it's done within
>> replace_range before running the after-change
On Wed, 20 Jul 2016, Xebar Saram wrote:
thx for the tips!
when i try to run the source block :
#+BEGIN_SRC emacs-lisp :results silent
(replace-regexp "^=[{]r \\([^}]*\\)[}]\\(.*\\)=$"
"#+name: \\1
,#+begin_src R
\\2
,#+end_src")
#+END_SRC
i just get a nil in the message
thx for the tips!
when i try to run the source block :
#+BEGIN_SRC emacs-lisp :results silent
(replace-regexp "^=[{]r \\([^}]*\\)[}]\\(.*\\)=$"
"#+name: \\1
,#+begin_src R
\\2
,#+end_src")
#+END_SRC
i just get a nil in the message area. what am i missing?
thx
Z
On W
On Wed, 20 Jul 2016, Xebar Saram wrote:
thx phil
the Rmd format is actually quite different than md so that conversion didnt
go well
I tried this
pandoc -f markdown -t org input-file.Rmd -o output-file.org
then I opened `output-file.org' and put this src block at the very top:
#+B
Aloha Daniel,
Please feel free to push your changes directly to Worg.
Thanks again for your help.
All the best,
Tom
dmg writes:
> Thanks Tom,
>
> Here is my patch.
>
>
> On Tue, Jul 19, 2016 at 10:05 AM, Thomas S. Dye wrote:
>
> Aloha dmg,
>
> You can find instructions here:
>
> h
> From: Alex Bennée
> Cc: 23...@debbugs.gnu.org, rpl...@gmail.com, jwieg...@gmail.com,
> monn...@iro.umontreal.ca, nljlistb...@gmail.com
> Date: Wed, 20 Jul 2016 10:48:45 +0100
>
> So is the match data already out of sync by the time the
> save-match-data call is made?
Yes.
> From: Stefan Monnier
> Cc: rpl...@gmail.com, 23...@debbugs.gnu.org, alex.ben...@linaro.org,
> jwieg...@gmail.com, nljlistb...@gmail.com
> Date: Tue, 19 Jul 2016 21:50:07 -0400
>
> > Do we care that using save-match-data in every call to replace-match
> > might mean a performance hit?
>
>
For external links without a description, `org-html-link' resuses the
`path' as the inner text of the exported element. However, the
`path' variable contains the URL encoded version of the `raw-path'. It
would be more appropriate to put the actual unescaped unicode URL in the
inner text of the e
On Wed, Jul 20, 2016 at 6:48 AM claude fuhrer wrote:
> Thank you for your advice. My emacs version is 24.3.1 (the standard
> version packaged with Linux Mint 17.2).
>
The latest stable version right now is 24.5. See if you can install it
directly from the release tarball.
I will try if I can ins
thx phil
the Rmd format is actually quite different than md so that conversion didnt
go well
i ended up doing a 2 step conversion:
in R (via the GUI or through R -e command line), first convert the Rmd
files to md files:
require(knitr) # required for knitting from rmd to md
require(markdown) #
Hi Kaushal
On 20/07/16 12:30, Kaushal Modi wrote:
Hi Claude,
`with-eval-after-load` macro was introduced in emacs 24.4. Please make
sure that you are running that or a newer emacs version.
Thank you for your advice. My emacs version is 24.3.1 (the standard
version packaged with Linux Mint
Hi Claude,
`with-eval-after-load` macro was introduced in emacs 24.4. Please make sure
that you are running that or a newer emacs version.
On Wed, Jul 20, 2016, 5:29 AM claude fuhrer wrote:
> Symbol's function definition is void: with-eval-after-load
>
--
Kaushal Modi
Eli Zaretskii writes:
>> From: Alex Bennée
>> Cc: monn...@iro.umontreal.ca, 23...@debbugs.gnu.org, rpl...@gmail.com,
>> jwieg...@gmail.com, nljlistb...@gmail.com, m...@lunaryorn.com
>> Date: Tue, 19 Jul 2016 18:45:44 +0100
>>
>> ;; Save and restore the match data, as recommended in (elisp)Ch
Hi all
I've just updated my org-mode config (git pull) and now the "make all"
process returns an error.
org-version: 8.3.5 (release_8.3.5-970-g41c0f5)
Loading /home/azubi/bin/local-lisp/org-mode/lisp/org-compat.el (source)...
Symbol's function definition is void: with-eval-after-load
make[1]:
Hello,
Martin Leduc writes:
> The generated index.org file in MobileOrg/ looks like:
>
> #+READONLY
> #+TODO: TODO
> #+TODO: NEXT WAITING SOMEDAY |
> #+TAGS: @HOME WORK EMAIL CALL READ ERRAND AGENDAS
> #+ALLPRIORITIES: A B C
> * [[file:agendas.org][Agenda Views]]
> * [[file:~/org-mode-files/test
Hello,
Rasmus writes:
> Sorry about the slow reply. Sometimes there's not enough time.
So true.
> I obviously agree with your criticism. It’s not obvious how to do this
> properly.
>
> If we provide a backend we’d have to move the index preparation to
> beginning of each export process as :p
28 matches
Mail list logo