Re: [O] [Discuss] make :tangle header argument respect :dir could save info typing

2019-03-19 Thread Sean O'Halpin
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

Re: [O] Problem with org-mode after upgradiing to org 8

2014-07-15 Thread Sean O'Halpin
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

Re: [O] Colorizing 'emacs-lisp' when it is exported?

2013-12-22 Thread Sean O'Halpin
On Sun, Dec 22, 2013 at 4:03 PM, Sharon Kimble boudic...@talktalk.net 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

Re: [O] How do I specify the language for a :results code block

2013-12-02 Thread Sean O'Halpin
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

Re: [O] Problems with org-bibtex

2013-11-21 Thread Sean O'Halpin
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 marvin...@gmail.com wrote: Hi there, I have decided to give

Re: [O] New maintainer

2013-04-19 Thread Sean O'Halpin
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 b...@gnu.org wrote: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your

Re: [O] C-o now mapped to org-ctrl-o surprise

2013-04-14 Thread Sean O'Halpin
Gosh, that was quick! Thanks, Sean On Sun, Apr 14, 2013 at 9:31 AM, Bastien b...@gnu.org wrote: Hi Sean, Sean O'Halpin sean.ohal...@gmail.com 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:14:20 +0200

Re: [O] Enriched/Org is a colorful Org

2013-04-13 Thread Sean O'Halpin
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

[O] C-o now mapped to org-ctrl-o surprise

2013-04-13 Thread Sean O'Halpin
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

Re: [O] What Happened to org-export-html-extension?

2013-03-31 Thread Sean O'Halpin
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-html

Re: [O] avoid subscripting text

2013-03-27 Thread Sean O'Halpin
On Wed, Mar 27, 2013 at 12:29 PM, Luca Ferrari fluca1...@infinito.it 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

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-03-03 Thread Sean O'Halpin
On Sat, Mar 2, 2013 at 6:14 PM, Bastien b...@altern.org wrote: Hi Sean, Sean O'Halpin sean.ohal...@gmail.com 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 it really does in the HTML backend, i.e

Re: [O] babel :results output and format of output

2013-02-24 Thread Sean O'Halpin
On Sun, Feb 24, 2013 at 10:50 AM, D M German d...@uvic.ca 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

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Sean O'Halpin
On Fri, Feb 8, 2013 at 4:45 PM, Sebastien Vauban wxhgmqzgw...@spammotel.com 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 least, if that one still exists, which I'm not sure about

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Sean O'Halpin
On Sat, Feb 9, 2013 at 1:56 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Sean O'Halpin sean.ohal...@gmail.com writes: This raises another question which is more about Org document export headers in general: why do we have specific document headers for LaTeX and HTML? Because we

Re: [O] How to pass a block of text to a code block as data?

2013-02-09 Thread Sean O'Halpin
On Sat, Feb 9, 2013 at 2:59 AM, Michael Baum maab...@gmail.com 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

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-08 Thread Sean O'Halpin
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 head element? I suggest we rename it to #+HTML_HEAD.

Re: [O] external process modifying buffers

2012-10-13 Thread Sean O'Halpin
On Sat, Oct 13, 2012 at 5:27 PM, Ken Mankoff mank...@gmail.com 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;

Re: [O] [OT] Xiki - could something like that be done with emacs+orgmode?

2012-09-19 Thread Sean O'Halpin
On Wed, Sep 19, 2012 at 4:37 AM, Andrew Hyatt ahy...@gmail.com 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 *

Re: [O] Macro and babel

2012-09-19 Thread Sean O'Halpin
On Wed, Sep 19, 2012 at 1:54 AM, tony day zygom...@gmail.com 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

[O] [PATCH][New exporter] Fix: org-e-html-special-block had not been converted from LaTeX version

2012-08-29 Thread Sean O'Halpin
* 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 div class=org.../div. ---

Re: [O] [BABEL] [PATCH] Make it possible to use buffer local noweb start/end patterns

2012-08-26 Thread Sean O'Halpin
On Sun, Aug 26, 2012 at 3:31 PM, Eric Schulte eric.schu...@gmx.com 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.

[O] [BABEL] [PATCH] Make it possible to use buffer local noweb start/end patterns

2012-08-25 Thread Sean O'Halpin
* 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.

Re: [O] [BABEL] [PATCH] Make it possible to use buffer local noweb start/end patterns

2012-08-25 Thread Sean O'Halpin
On Sat, Aug 25, 2012 at 11:50 PM, Eric Schulte eric.schu...@gmx.com 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

Re: [O] babel print

2012-08-22 Thread Sean O'Halpin
On Wed, Aug 22, 2012 at 8:38 PM, skip scp0...@gmail.com 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

Re: [O] org-link minor mode

2012-08-19 Thread Sean O'Halpin
On Sat, Aug 18, 2012 at 4:07 PM, Bastien b...@altern.org 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

Re: [O] org-link minor mode

2012-08-17 Thread Sean O'Halpin
On Tue, Aug 14, 2012 at 11:57 AM, Christopher J. White orgm...@grierwhite.com 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

Re: [O] org-link minor mode

2012-08-17 Thread Sean O'Halpin
On Tue, Aug 14, 2012 at 8:49 AM, Bastien b...@gnu.org wrote: Sean O'Halpin sean.ohal...@gmail.com 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 in modes where

[O] org-link minor mode

2012-08-12 Thread Sean O'Halpin
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

Re: [O] Code for feature for showing progress in lisp code for creation of Gantt charts

2012-05-27 Thread Sean O'Halpin
On Fri, May 25, 2012 at 8:49 AM, julia.jacob...@arcor.de 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

Re: [O] Patch: option to not hide brackets in org links

2012-05-12 Thread Sean O'Halpin
On Thu, May 10, 2012 at 9:56 AM, Paul Sexton psexton...@gmail.com wrote: Sean O'Halpin sean.ohalpin at 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!

Re: [O] Patch: option to not hide brackets in org links

2012-05-10 Thread Sean O'Halpin
On Wed, May 9, 2012 at 10:07 PM, Paul Sexton psexton...@gmail.com 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

Re: [O] Feature request for noweb mode that strips references on export

2012-04-01 Thread Sean O'Halpin
On Sat, Mar 31, 2012 at 4:32 PM, Eric Schulte eric.schu...@gmx.com 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

Re: [O] Feature request for noweb mode that strips references on export

2012-03-31 Thread Sean O'Halpin
On Fri, Mar 30, 2012 at 5:37 PM, Nick Dokos nicholas.do...@hp.com wrote: This may have nothing to do with anything (it may even be an artifact of mailer misbehavior) but is this supposed to be boilerplate? These are supposed to be ASCII chars, so if you are using some sort of extended charset,

Re: [O] Feature request for noweb mode that strips references on export

2012-03-31 Thread Sean O'Halpin
On Fri, Mar 30, 2012 at 5:39 PM, Daimrod daim...@gmail.com 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

Re: [O] Feature request for noweb mode that strips references on export

2012-03-30 Thread Sean O'Halpin
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

Re: [O] Export to multiple HTML files?

2012-03-03 Thread Sean O'Halpin
On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimm gro...@inbox.avdi.org 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

Re: [O] anyway to create link to a line number in a file

2012-02-18 Thread Sean O'Halpin
On Fri, Feb 17, 2012 at 4:54 PM, Not To Miss not.to.m...@gmail.com 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

Re: [O] [Babel] [PATCH] Customize regular expression to match noweb references

2012-01-28 Thread Sean O'Halpin
On Fri, Jan 27, 2012 at 11:05 PM, Eric Schulte eric.schu...@gmx.com 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

Re: [O] [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window

2011-12-15 Thread Sean O'Halpin
On Thu, Dec 15, 2011 at 1:26 AM, Jeff Horn jrhorn...@gmail.com 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

Re: [O] #+end_src interfering with :results raw

2011-05-14 Thread Sean O'Halpin
On Sat, May 14, 2011 at 7:49 AM, Mark Cox markco...@gmail.com 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()

Re: [O] Illiterate programming question

2011-03-31 Thread Sean O'Halpin
On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte schulte.e...@gmail.com 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

Re: [O] Illiterate programming question

2011-03-31 Thread Sean O'Halpin
On Thu, Mar 31, 2011 at 9:13 PM, Nick Dokos nicholas.do...@hp.com wrote: Sean O'Halpin sean.ohal...@gmail.com wrote: On Wed, Mar 30, 2011 at 11:52 PM, Eric Schulte schulte.e...@gmail.com wrote: Babel does have a way to bring changes back from pure source code into code blocks in an Org

[O] [PATCH] Avoid spurious matches to literal #+end_src inside source block

2011-03-25 Thread Sean O'Halpin
From d5a47db19a6c263b0516c454594296da9f44c428 Mon Sep 17 00:00:00 2001 From: Sean O'Halpin sean.ohal...@gmail.com 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

Re: [O] [PATCH][ANN] org-html/org-odt

2011-03-25 Thread Sean O'Halpin
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 @@