On Thu, Dec 15, 2011 at 1:26 AM, Jeff Horn wrote:
> Recently did a fresh pull, which seems to have broken org-agenda-switch-to.
>
> To reproduce, open an agenda buffer, navigate to a line you want to
> inspect, press [RET]. On my machine, this calls autopair, then falls
> back to org-agenda-switch
>From d5a47db19a6c263b0516c454594296da9f44c428 Mon Sep 17 00:00:00 2001
From: Sean O'Halpin
Date: Fri, 25 Mar 2011 22:16:54 +
Subject: [PATCH] * lisp/ob.el: Avoid spurious matches to literal
"#+end_src" inside a source block.
Added newline to org-babel-src-block-regexp
Hi,
I was getting the error:
org-html-insert-toc: Wrong type argument: char-or-string-p, nil
when trying to generate an HTML file with
#+OPTIONS: toc:nil
The patch below seems to fix this.
Regards,
Sean
index bd53741..37eddf4 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -2
On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte wrote:
> Babel does have a way to bring changes back from pure source code into
> code blocks in an Org-mode document. While it isn't perfect (especially
> if you make extensive use of noweb references or variables) there are
> mechanisms to maintain
On Thu, Mar 31, 2011 at 9:13 PM, Nick Dokos wrote:
> Sean O'Halpin wrote:
>
>> On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte
>> wrote:
>> > Babel does have a way to bring changes back from pure source code into
>> > code blocks in an Org-mode docu
On Sat, May 14, 2011 at 7:49 AM, Mark Cox wrote:
> Hi,
>
> I have an org file like this one,
>
> #+TITLE: An issue with #+end_src
>
> #+srcname: no_issue()
> #+begin_src sh :results output
> echo '#+begin_src'
> #+end_src
>
> #+call: no_issue() :results raw
>
> #+srcname: the_issue()
> #+begin_src
Hi,
I've been hacking this weekend to try to create a minor mode that
enables org-mode bracket links in modes other than org-mode.
I believe this has been mooted before
(e.g. http://lists.gnu.org/archive/html/emacs-orgmode/2009-08/msg00573.html).
The following codes works for me but I'm sure it
On Tue, Aug 14, 2012 at 11:57 AM, Christopher J. White
wrote:
> This is pretty cool, Sean. One issue I'm having is that it does not
> properly handle "breaking" the link:
Thanks for trying it out. I think I've fixed the link "breaking"
problem (using font-lock-unfontify-region-function). Source
On Tue, Aug 14, 2012 at 8:49 AM, Bastien wrote:
> "Sean O'Halpin" writes:
>
>> I've been hacking this weekend to try to create a minor mode that
>> enables org-mode bracket links in modes other than org-mode.
[snip]
> Yes. This might especially be useful
On Sat, Aug 18, 2012 at 4:07 PM, Bastien wrote:
> Hi Sean,
>
> I just added links to your code in worg/org-hacks.org and
> worg/org-contrib/index.org -- thanks!
Thanks!
>> I see it as orthogonal to orgstruct - they could happily co-exist side by
>> side.
>> I've just tested that though and it s
On Wed, Aug 22, 2012 at 8:38 PM, skip wrote:
> I have an org file with several src blocks and tangle blocks.
>
> How can I print the file without executing any of the src or tangle
> blocks? I want to avoid disabling each block.
Use
#+PROPERTY: eval never
at the head of the file and C-c on th
* lisp/ob.el (org-babel-expand-noweb-references): Capture current
noweb start and end patterns then use to set buffer locals in
(with-temp-buffer) form.
This solves the problem that using different patterns for
org-babel-noweb-wrap-start and org-babel-noweb-wrap-end could be done
only globally.
T
On Sat, Aug 25, 2012 at 11:50 PM, Eric Schulte wrote:
> Are you familiar with file local variables?
>
> See (info "(emacs)Specifying File Variables")
>
Yes. That's what I'm trying to enable. Without the patch, it seems that
the =with-temp-buffer= used in =org-babel-expand-noweb-references=
overri
On Sun, Aug 26, 2012 at 3:31 PM, Eric Schulte wrote:
> [snip]
> I just committed this to the git repo.
>
> Thanks for the contribution!
> (and thanks for packaging your patch so that it was easy to apply)
>
Great! Thanks.
* contrib/lisp/org-e-html.el (org-e-html-special-block): convert LaTeX
markup to HTML
This function had not been modified from its org-e-latex-special-block original
so with #+BEGIN_ORG for example you would get \begin{org}...\end{org}
in the output
instead of
---
contrib/lisp/org-e-html.el
On Wed, Sep 19, 2012 at 4:37 AM, Andrew Hyatt wrote:
> The xiki video is interesting, and I immediately thought of babel.
> However, babel sh-mode doesn't have support for execution yet.
Not sure what you mean by that. Place cursor in source block and hit C-c, e.g.
#+BEGIN_ORG
* Shell example
On Wed, Sep 19, 2012 at 1:54 AM, tony day wrote:
>
> I had written this:
>
> ,
> | #+MACRO: testdir ~/working
> | #+begin_src sh
> | cd {{{testdir}}}
> | #+end_src
> `
>
> Thinking it would do this:
>
> ,
> | #+begin_src sh
> | cd ~/working
> | #+end_src
> `
> Alas, #+Macro ac
On Sat, Oct 13, 2012 at 5:27 PM, Ken Mankoff wrote:
> Can you suggest how to have it as a local file variable when the
> command that generates the file over-writes it? I have modified the
> code that produces the iCal.org file so the top line now is:
>
> # -*- coding: utf-8; auto-revert-mode: t;
Hi,
Here's a patch I'm using to change the default regular expression used
to match noweb references.
The default regular expression "<<\\(.+?\\)>>" conflicts with Ruby
syntax and confuses syntax highlighting.
I now set this to "«\\(.+?\\)»", i.e. using guillemots instead
(AltGr-z and AltGr-x on m
On Fri, Jan 27, 2012 at 11:05 PM, Eric Schulte wrote:
> Good idea,
>
> I've changed your implementation to rely on two new customization
> variables `org-babel-noweb-wrap-start' and `org-babel-noweb-wrap-end' as
> this provides more flexibility to the backend implementation to place
> constraints
On Fri, Feb 17, 2012 at 4:54 PM, Not To Miss wrote:
> Hi all,
>
> I am reading a long text file and want to write down my notes with
> org-mode. I extremely would like to put the line numbers down along
> with my notes. Although there is a way to store a link for text search
> for the current line
On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimm wrote:
> Is there a way to export a single Org file to a bunch of HTML files,
> one for each heading of a given level? E.g. the way the Org manual is
> presented at http://orgmode.org/manual ? (yes, I realize that's Info
> not org-mode)I thought I rememb
Hi,
I've tried to use the new :noweb strip-export feature but I can't work
out the magic combination of headers (working with git head, i.e.
commit 67694297fa0f9b32cf4bfe812ba8a5c5cf4a0859).
Here is a stripped down example:
START OF EXAMPLE
* Example
Define method
#+name: boilerplate
#+begin_
On Fri, Mar 30, 2012 at 5:37 PM, Nick Dokos wrote:
> This may have nothing to do with anything (it may even be an artifact of
> mailer misbehavior) but is this supposed to be <>? These
> are supposed to be ASCII chars, so if you are using some sort of extended
> charset, try changing them and see
On Fri, Mar 30, 2012 at 5:39 PM, Daimrod wrote:
> If you don't want to export boilerplate you've to use :exports none in
> it.
>
> #+name: boilerplate
> #+begin_src ruby :exports none
> def hello
> "Hello World"
> end
> #+end_src
>
> Use it
>
> #+name: example
> #+begin_src ruby :exports both :no
On Sat, Mar 31, 2012 at 4:32 PM, Eric Schulte wrote:
>
> Thanks for bringing this problem to light. I've just pushed up a fix.
>
> Cheers,
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte/
Thanks! This is really useful.
Regards,
Sean
On Wed, May 9, 2012 at 10:07 PM, Paul Sexton wrote:
> I have a
> minor mode that makes org-style links fully active and fontifed in other major
> modes.
Is that publicly available anywhere?
Regards,
Sean
On Thu, May 10, 2012 at 9:56 AM, Paul Sexton wrote:
> Sean O'Halpin gmail.com> writes:
>> Is that publicly available anywhere?
>
> Here you go. To use, add orgl-enable to the relevant mode-hook, eg:
> (add-hook 'python-mode-hook 'orgl-enable)
>
[snip code]
Thanks!
On Fri, May 25, 2012 at 8:49 AM, wrote:
>
> Thanks for your answer. The key-combination C-c C-c unfortunately creates the
> new additional block of code surrounded by the lines
> #+RESULTS:
> #+begin_latex
> Here's the created LaTeX code
> #+end_latex
> right after the lisp function.
>
> This c
Hi,
This might be something to do with the order in which package
initialization and the loading of your init.el file happen. I use the
following alias to put my local org-mode git repo paths ahead of
anything emacs does on launch (in startup.el or site-start.el, etc.):
: alias emacs='/usr/local/
Great work on the new exporter!
One small point: as we're going to have to change the meta directive
"#+STYLE" to "#+HTML_STYLE", can we change the name to reflect what it
really does in the HTML backend, i.e. insert text verbatim into the
element? I suggest we rename it to "#+HTML_HEAD".
Regard
On Fri, Feb 8, 2013 at 4:45 PM, Sebastien Vauban
wrote:
>
> "Sean O'Halpin" wrote:
>>
>> I suggest we rename it to "#+HTML_HEAD".
>
> But I'd like to propose HTML_HEADER instead (?), to "mirror" what LaTeX_HEADER
> does -- at leas
On Sat, Feb 9, 2013 at 1:56 PM, Nicolas Goaziou wrote:
> Hello,
>
> "Sean O'Halpin" writes:
>
>> This raises another question which is more about Org document export
>> headers in general: why do we have specific document headers for LaTeX
>> an
On Sat, Feb 9, 2013 at 2:59 AM, Michael Baum wrote:
>
> - What signals the end of the block of text to be used as data? I take it
> that it's important that these all be comment lines staring with a colon
> after the #+name label? Is there a way to do the same thing with a begin and
> end block co
On Sun, Feb 24, 2013 at 10:50 AM, D M German wrote:
>
> hi everybody,
>
>
> I have been testing babel with perl and I am very puzzled by the
> following:
>
>
> Say I have the following script that outputs 10 numbers. org/babel wraps
> it as a begin_example
>
>
> #+begin_src perl :results output
>
On Sat, Mar 2, 2013 at 6:14 PM, Bastien wrote:
> Hi Sean,
>
> "Sean O'Halpin" writes:
>
>> One small point: as we're going to have to change the meta directive
>> "#+STYLE" to "#+HTML_STYLE", can we change the name to reflect what
On Wed, Mar 27, 2013 at 12:29 PM, Luca Ferrari wrote:
> Hi all,
> in my file I've got some text that I'd like to be represented as fixed
> font size, and therefore I write it as ~cap_mkdb~ surrounding with ~.
> The problem is that, when I export the document to ODF, I got the word
> following the
Hi,
org-html-publish-to-html is defined in ox-html.el and looks like this
(sans doc):
(defun org-html-publish-to-html (plist filename pub-dir)
(org-publish-org-to 'html filename ".html" plist pub-dir))
You could define your own publishing function, e.g.
(defun my-org-html-publish-to-htm
In your opinion, would it be possible to reproduce the functionality
of outline-mode using text properties rather than overlays? And in the
case of org-mode, would this really make that much of a difference in
terms of performance?
Regards,
Sean
On Fri, Apr 12, 2013 at 1:36 PM, Eli Zaretskii wro
Hi,
I was quite surprised after pulling down master to find that C-o has
been bound to org-ctrl-o (commit 45d6d8f8 2013-04-05 11:14:20 +0200).
I personally don't use open-line much myself so remap this key for my own use.
Wouldn't it be better to do something like:
(define-key org-mode-map
Gosh, that was quick!
Thanks,
Sean
On Sun, Apr 14, 2013 at 9:31 AM, Bastien wrote:
> Hi Sean,
>
> "Sean O'Halpin" writes:
>
>> I was quite surprised after pulling down master to find that C-o has
>> been bound to org-ctrl-o (commit 45d6d8f8 2013-04-05 11
Hi Bastien,
I'd like to thank you for the fabulous job you've done as maintainer.
Best wishes,
Sean
On Thu, Apr 18, 2013 at 5:53 PM, Bastien wrote:
> Dear all,
>
> I'm stepping down as the Org maintainer.
>
> Carsten accepted to step up, if the community agrees.
> Please raise your thumbs up or
Hi,
I was just trying the same thing (prompted by the recent discussion).
It turned out I had to
#+begin_src emacs-lisp
(bibtex-set-dialect)
#+end_src
first.
Regards,
Sean
On Thu, Nov 21, 2013 at 3:55 AM, Marvin Doyley wrote:
> Hi there,
>
> I have decided to give org-bibtex a try. I have
Hi,
Taking a slightly different approach, you could use the :post header
argument to wrap the results in a source block.
See http://orgmode.org/org.html#post (from which the example below is derived).
For example, you could use something like this:
#+OPTIONS: d:RESULTS
* Example
#+name:
On Sun, Dec 22, 2013 at 4:03 PM, Sharon Kimble wrote:
> Thanks to auntie google I've found out how to keep the formatting of
> elisp on export to html using '#+BEGIN_SRC emacs-lisp' at the beginning
> of the code block, and '#+END_SRC' at the end. Whilst its in .emacs its
> nicely colorized, but h
Hi,
=:dir= specifies the directory for code execution, i.e. when you hit =C-c
C-c= what is the environment in which the code is run?
=:mkdirp= forces creation of the directory for tangle output, i.e. when you
=org-babel-tangle= where do you put the output source code?
They are quite separate con
46 matches
Mail list logo