Re: [Orgmode] question about link syntax

2011-01-13 Thread Filippo A. Salustri
Sorry, sorry - my bad. My browser/client was rendering a lower case L to look just like a pipe. So I was trying to do C-c C- All is well. Everything's working as it should. Cancel red alert. Cheers. Fil On 14 January 2011 00:17, David Maus wrote: > At Thu, 13 Jan 2011 20:06:07 -0500, > Filipp

Re: [Orgmode] Export issue of URL when the text begins with a date‏

2011-01-13 Thread David Maus
At Thu, 13 Jan 2011 23:00:30 +0100, Vincent Belaïche wrote: > > Hello, > > I have made some invesitgation, and I found that the problem happens in > the call of function org-export-as-html. On line 522 of this function, > this is the following line: > > (while (string-match org-bracket-link-anal

Re: [Orgmode] question about link syntax

2011-01-13 Thread David Maus
At Thu, 13 Jan 2011 20:06:07 -0500, Filippo A. Salustri wrote: > Consider this example: > [[http://some.site.com][text text]] > It seems that the spaces in the label part (between, say, the 2 "text"s) > stops the link from forming. Which Org mode and Emacs version are you using? M-x emacs-version

Re: [Orgmode] question about link syntax

2011-01-13 Thread Jeff Horn
When in an *org-mode buffer*, =C-h k C-c C-l= says , | ^C ^L runs the command org-insert-link, which is an interactive | compiled Lisp function in `org.el'. ` Org-mode version 7.4 (release_7.4.165.gca0e6.dirty) On Thu, Jan 13, 2011 at 11:04 PM, Filippo A. Salustri wrote: > Hmm.  On my i

Re: [Orgmode] question about link syntax

2011-01-13 Thread Filippo A. Salustri
Hmm. On my installation, =C-c C-l= isn't bound to anything. I haven't mucked with that. To what should =C-c C-l= be bound? Cheers. Fil On 13 January 2011 20:22, Jeff Horn wrote: > I noticed fontification was weird on my end, as well. Now, I only use > =C-c C-l= to create and edit links. Haven'

[Orgmode] Re: Property inheritance for MAIL_FMT, MAIL_TO, MAIL_CC and MAIL_BCC

2011-01-13 Thread Eric Schulte
This is now applied. Thanks for the patch, and for the motivating usage example. -- Eric niels giesen writes: > Hi Eric, > > Please see the patch below, it adds property inheritance for all > MAIL_* properties, based on the value of > `org-use-property-inheritance'. > > #+begin_src diff > dif

Re: [Orgmode] question about link syntax

2011-01-13 Thread Jeff Horn
I noticed fontification was weird on my end, as well. Now, I only use =C-c C-l= to create and edit links. Haven't had issues since making the change. On Thu, Jan 13, 2011 at 8:06 PM, Filippo A. Salustri wrote: > Consider this example: > [[http://some.site.com][text text]] > It seems that the spac

[Orgmode] question about link syntax

2011-01-13 Thread Filippo A. Salustri
Consider this example: [[http://some.site.com][text text]] It seems that the spaces in the label part (between, say, the 2 "text"s) stops the link from forming. My current workaround is to use single word labels, including WikiWords. Is this how it's supposed to work? I would have thought I could

Re: [Orgmode] [babel] Painless integration of source blocks with language

2011-01-13 Thread Seth Burleigh
>As for how to trace back through noweb links, the best option seem to be >using the existing jump function to navigate from raw source to the >embedded block, keeping track of the point's offset form the beginning >of the block, then using `org-babel-expand-src-block' to expand the body >of the em

[Orgmode] Tab/S-Tab cycling behavior: how to include #+begin_src and #+results blocks

2011-01-13 Thread Leo Alekseyev
I rely heavily on org-cycling/org-global-cycling to see an outline view of the document. It would help if I could use #+begin_src and #+results blocks, and possibly some others, in this outline view. Specifically, I would like to be able to do the following: (a) When cycling with S-Tab, between

[Orgmode] Property inheritance for MAIL_FMT, MAIL_TO, MAIL_CC and MAIL_BCC

2011-01-13 Thread niels giesen
Hi Eric, Please see the patch below, it adds property inheritance for all MAIL_* properties, based on the value of `org-use-property-inheritance'. #+begin_src diff diff --git a/contrib/lisp/org-mime.el b/contrib/lisp/org-mime.el index 68a3498..ae430fb 100644 --- a/contrib/lisp/org-mime.el

[Orgmode] Patch: More options for ignoring scheduled items in agenda todo lists

2011-01-13 Thread Paul Sexton
In agenda todo lists, currently it is possible to ignore scheduled items according to when they are scheduled, using the variable 'org-agenda-todo-ignore-scheduled'. This can take one of three values - all, future (ignore if scheduled after today), or past (ignore if scheduled TODAY or in the past

[Orgmode] Re: Babel: replace inline block with evaluation result?

2011-01-13 Thread Paul Sexton
Eric Schulte gmail.com> writes: > > The following function could be bound to a key, and should do the job if > called with the point on the src_lang portion of the inline code block. > [snip - gmane web-thingy won't let me quote the function] Thanks Eric! I will try to come up with a minimal e

[Orgmode] Export issue of URL when the text begins with a date‏

2011-01-13 Thread Vincent Belaïche
Hello, I have made some invesitgation, and I found that the problem happens in the call of function org-export-as-html. On line 522 of this function, this is the following line: (while (string-match org-bracket-link-analytic-regexp++ line start) When the line containing the link is processed, th

Re: [Orgmode] Babel: replace inline block with evaluation result?

2011-01-13 Thread Eric Schulte
Paul Sexton writes: > I have an org-mode document that uses a lot of R code (via babel). I have > found > that using inline code blocks, ie src_R{...}, within org tables works > "erratically", often either causing emacs to hang during latex export, or > producing a table where random cells conta

Re: [Orgmode] [babel] Painless integration of source blocks with language

2011-01-13 Thread Eric Schulte
I briefly mentioned the approach you describe below earlier in this thread [1], and while I see the appeal of this approach, I think that the second approach I described in that same message (using offsets instead of comments) is preferable -- although I am of course open to being persuaded otherwi

Re: [Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Eric Schulte
I've pushed up a fix for this issue, Instead of using language-specific comment regexps ob-jump-to-org now keep looking for a block-start comment until it find one which has a matching block-end comment. Thanks for pointing out this error case -- Eric Seth Burleigh writes: > Ive attached the f

Re: [Orgmode] Re: [OT] Have you also got hooked by Vim?

2011-01-13 Thread Tommy Stanton
On Thu, Jan 13, 2011 at 12:04 PM, Nick Dokos wrote: > Matt Lundin wrote: > >> > So, how many of you here also use Vim? :) >> >> For quick editing (e.g., config files), I use vi(m). For anything else, >> I use emacs. Both are fantastic tools. >> > > For quick editing of config files, I use "sudo e

[Orgmode] [PATCH] do not echo variable assignment for octave babel codes

2011-01-13 Thread Eric S Fraga
Hello, when using babel with octave code, passing variables with the =:var= header argument creates octave code whose results are echoed onto standard out. This is not necessarily wanted. The default behaviour, I believe, should be to not echo anything out as the user can always simply print out

Re: [Orgmode] Re: [OT] Have you also got hooked by Vim?

2011-01-13 Thread Nick Dokos
Matt Lundin wrote: > > So, how many of you here also use Vim? :) > > For quick editing (e.g., config files), I use vi(m). For anything else, > I use emacs. Both are fantastic tools. > For quick editing of config files, I use "sudo ed" - from an Emacs shell :-) Nick __

[Orgmode] Re: [OT] Have you also got hooked by Vim?

2011-01-13 Thread Matt Lundin
Marcelo de Moraes Serpa writes: > > However, I've got hooked. Vim (in my case, MacVim) has conquered my > hands. I know I'm risking myself a lot by saying it on an > emacs-related mailing list, but the Vim navigation and the vim model > in general is much more efficient for editing text. Empirica

[Orgmode] Babel: replace inline block with evaluation result?

2011-01-13 Thread Paul Sexton
I have an org-mode document that uses a lot of R code (via babel). I have found that using inline code blocks, ie src_R{...}, within org tables works "erratically", often either causing emacs to hang during latex export, or producing a table where random cells containing 'nil' instead of the result

[Orgmode] Re: exporting all org files to txt periodically

2011-01-13 Thread Sébastien Vauban
Hi Eric and Carl, "Eric Schulte" wrote: > Carl Bolduc writes: >> Where I work, we have a powerful search engine that indexes all kinds of >> files. It detects the converter to use based on the file extension. It does >> not understand the .org extension. >> >> I would like to know how I could per

[Orgmode] orgtbl in languages that do not support block comments

2011-01-13 Thread Matthew Fidler
All, I have written org-table-comment.el (at http://www.emacswiki.org/emacs/download/org-table-comment.el) which should allows you to create org-tables in languages that do not have block comments. For example in elisp: ;; |--+++---| ;; | |||

[Orgmode] Bug: Linum-mode + org-indent-mode gives strange graphical refresh bugs [7.4 (release_7.4.41.g96c70)]

2011-01-13 Thread Chris Barber
Note: run using emacs -q as the bug was reproducible, and this will produce less settings that may complicate the report. Note: only a few months of unix and emacs usage When using org-indent-mode and linum-mode simultaneously, clicking on any line in an org-mode file will cause the cursor and

Re: [Orgmode] exporting all org files to txt periodically

2011-01-13 Thread Carl Bolduc
well, exporting to txt gives a better result for reading in other text editors, I should have mentioned that those files will be accessible by others who do not use Emacs... Carl 2011/1/13 Eric Schulte > Since Org-mode files are plain text, I don't think you would need to > export them at all,

Re: [Orgmode] [OT] Have you also got hooked by Vim?

2011-01-13 Thread Marcelo de Moraes Serpa
Nice! I think that the classic flame wars, while unavoidable at certain levels, just end up sucking energy. Why not embrace and use the best of both worlds to your benefit? Emacs and Vim are without any doubt the best two piece of software in what comes to text editing/surgery. Emacs has orgmode

Re: [Orgmode] exporting all org files to txt periodically

2011-01-13 Thread Eric Schulte
Since Org-mode files are plain text, I don't think you would need to export them at all, rather I would imagine an easier solution would be to either 1. teach the search engine that .org means .txt 2. symlink all of your .org files to .txt file, e.g. on a linux, unix, OSX system the following

[Orgmode] outline path in links

2011-01-13 Thread Michael Brand
Hi all What do you think about having _outline path in links_ as described in the following? I have seen that an outline path like `Bach/Prelude' can be used to refile notes into a heading `Prelude' that has a parent heading named `Bach'. An outline path like `Chopin/Prelude' refiles into a diffe

[Orgmode] exporting all org files to txt periodically

2011-01-13 Thread Carl Bolduc
Where I work, we have a powerful search engine that indexes all kinds of files. It detects the converter to use based on the file extension. It does not understand the .org extension. I would like to know how I could periodically export my org files to txt, maybe through a command, to a specific l

[Orgmode] Re: Org-mode development workflow with Git

2011-01-13 Thread Achim Gratz
Jason Dunsmore writes: > I'd be interested to hear about other workflows or how mine might be > improved. I'd say whatever works for you works. :-) I've set up all but one of my various git clones up to rebase by default instead of merging when doing a pull. That way I can float my local change

Re: [Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Seth Burleigh
Ive attached the file it fails on. Notice that it fails below the constants macro, but if you're above it, it will succeed since it wont find the [[name val]] general.clj Description: Binary data ___ Emacs-orgmode mailing list Please use `Reply All' to

Re: [Orgmode] [OT] Have you also got hooked by Vim?

2011-01-13 Thread Eric S Fraga
Marcelo de Moraes Serpa writes: > Hey list, [...] > However, I've got hooked. Vim (in my case, MacVim) has conquered my > hands. I know I'm risking myself a lot by saying it on an > emacs-related mailing list, but the Vim navigation and the vim model > in general is much more efficient for edit

Re: [Orgmode] [RFC] Give org-format-agenda-item a real format

2011-01-13 Thread Eric S Fraga
Julien Danjou writes: > Hi there, > > I'm sending a set of patches from my current `jd/agenda-format-2' branch > visible at [1]. > > The ultimate goal of this is to replace `org-agenda-prefix-format' by > `org-agenda-format' which controls the whole agenda line format and not > only its prefix. T

Re: [Orgmode] Re: Question on org-beamer markup

2011-01-13 Thread Eric S Fraga
Rafael Villarroel writes: > Sébastien Vauban writes: > >> Erik Iverson wrote: >>> According to http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html >>> >>> the following markup should work when exporting to PDF from an org-beamer >>> document. >>> >>> - the first, very @important@, poi

Re: [Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Seth Burleigh
thanks. also, when trying to detangle my code, i found another bug. In the functions org-babel-tangle-jump-to--org and org-babel-detangle, it uses org-bracket-link-analytic-regexp to search for the [[file:]] links. However, it does not include the comment in the regex (";;" in clojure), so someho

Re: [Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Eric Schulte
Thanks for pointing this out, I've just pushed up your change. Cheers -- Eric Seth Burleigh writes: > (defun org-babel-update-block-body (new-body) > "Update the body of the current code block to NEW-BODY." > (if (not (org-babel-where-is-src-block-head)) > (error "not in source block"

Re: [Orgmode] [babel] References to variable block names

2011-01-13 Thread Eric Schulte
Francesco Pizzolante writes: > Dear Eric, > > Thanks for your answer. > >> In your example the cv source block only seems to have a single variable >> specified with a :var header argument (namely v-jobtitle), e.g. >> >> #+srcname: cv >> #+begin_src latex :noweb yes :var v-jobtitle="Software Engi

[Orgmode] [babel][bug] \ in detangling

2011-01-13 Thread Seth Burleigh
(defun org-babel-update-block-body (new-body) "Update the body of the current code block to NEW-BODY." (if (not (org-babel-where-is-src-block-head)) (error "not in source block") (save-match-data (replace-match (concat (org-babel-trim new-body) "\n") nil t nil 5)) (indent-ri

Re: [Orgmode] [babel] Painless integration of source blocks with language

2011-01-13 Thread Seth Burleigh
I would just like to throw in a quick idea. The easiest way to support noweb tangling is to get org-babel-tangle to create nested tags and change detangle to take these into account. for example, i have the forex_user source block that is tangled. ;; [[file:~/Dropbox/.rep/clj-forex/clj-forex.org:

[Orgmode] Inconsistencies in email and author export

2011-01-13 Thread Lawrence Mitchell
The decision for when to add email and author information to an exported document seems to be treated somewhat inconsistently between export backends. The intent appears to be that the global default for exporting the author's name is controlled by org-export-author-info, and the email by org-expo

Re: [Orgmode] [OT] Have you also got hooked by Vim?

2011-01-13 Thread Michael Brand
Hi Andrew On Thu, Jan 13, 2011 at 13:27, Andrew J. Korty wrote: > I've tried several times to use Viper, but I always give up.  The usual > showstopper is read-only Emacs modes with single-character key bindings, > like MH-E.  The d key deletes a message in an MH folder, but in vi, d > deletes te

[Orgmode] [PATCH] Allow inclusion of author's email in LaTeX export

2011-01-13 Thread Lawrence Mitchell
* org-latex.el (org-export-latex-make-header): Export email in author line if `org-export-email-info' is non-nil. Previously exporting to LaTeX would not include the document author's email address when org-export-email-info was set. This patch corrects this oversight using the \thanks command to

Re: [Accepted] [Orgmode] Re: [bug] org-store-link on gnus message fails

2011-01-13 Thread Tassilo Horn
Carsten Dominik writes: Hi Carsten, > Patch 533 (http://patchwork.newartisans.com/patch/533/) is now "Accepted". The patch below was wrong. The patch in the next mail that used `ignore-errors' instead of `condition-case' is the right one. Bye, Tassilo >> diff --git a/lisp/org-gnus.el b/lisp/

[Orgmode] Re: EmacsForMacOSX - copy & paste in orgmode

2011-01-13 Thread Robert Goldman
On 8/18/10 Aug 18 -5:01 AM, Erwin Panen wrote: > Hi Juan, > > I hope you don't mind me mailing you directly. I copied orgmode list in cc. > > Do you have a way to copy / paste between say Firefox and Emacs / orgmode? > > It doesn't seem to work, and I've found some posts googling, but no > appar

Re: [Orgmode] [babel] Painless integration of source blocks with language

2011-01-13 Thread Eric S Fraga
"Eric Schulte" writes: > Eric S Fraga writes: [...] >> management issue: I find it difficult (a) to remember what all my source >> code snippets are called and (b) to navigate to any given snippet. I >> would love to see a babel table of contents popup (a la the table of >> contents popup wit

Re: [Orgmode] Re: [OT] Have you also got hooked by Vim?

2011-01-13 Thread Filippo A. Salustri
Not that I want to (or even could) undermine the justifiable popularity of emacs, but there is a ongoing effort to port org to vim: vimorganizer 9 http://www.vim.org/scripts/script.php?script_id=3342) Cheers. Fil On 13 January 2011 03:34, Michael Brand wrote: > Hi Detlef > > On Thu, Jan 13, 2011

Re: [Orgmode] [OT] Have you also got hooked by Vim?

2011-01-13 Thread Andrew J. Korty
I've tried several times to use Viper, but I always give up. The usual showstopper is read-only Emacs modes with single-character key bindings, like MH-E. The d key deletes a message in an MH folder, but in vi, d deletes text to a target. So the obvious thing to do is turn Viper mode off in

Re: [Orgmode] LaTeX exporter #+INCLUDE bug

2011-01-13 Thread Carsten Dominik
On Jan 9, 2011, at 3:02 PM, David Maus wrote: At Mon, 20 Dec 2010 19:12:33 + (UTC), Rasmus wrote: Hi, I think there might be a bug when using #+INCLUDE and the LaTeX exporter. The content of the included file is exported twice, although slightly different in each case. I experience th

[Accepted] [Orgmode] Re: [bug] org-store-link on gnus message fails

2011-01-13 Thread Carsten Dominik
Patch 533 (http://patchwork.newartisans.com/patch/533/) is now "Accepted". Maintainer comment: No comment This relates to the following submission: http://mid.gmane.org/%3C87bp3moyua.fsf%40member.fsf.org%3E Here is the original message containing the patch: > Content-Type: text/plain; charset=

[Orgmode] Re: org-agenda-show-current-time-in-grid and automatic refresh

2011-01-13 Thread Sébastien Vauban
Hi Tommy, Tommy Stanton wrote: > I would guess that the simple use of 'g' for refreshing was inspired by the > Emacs buffer list (induced by C-c C-b; you enter "Buffer Menu" mode while in > that *Buffer List* buffer's window). > > Discovering 'g' for the buffer list took me a long time, but I was

[Orgmode] Re: [bug] org-store-link on gnus message fails

2011-01-13 Thread Sébastien Vauban
Hi Eric, Eric S Fraga wrote: > Tassilo Horn writes: >> this patch should do the trick. I think the issue was a malformed Date: >> header that couldn't be converted to a timestamp. > > Actually, I am curious about this. What is the point of extracting the date > in any case? It's used to store lin

Re: [Orgmode] Re: [OT] Have you also got hooked by Vim?

2011-01-13 Thread Michael Brand
Hi Detlef On Thu, Jan 13, 2011 at 08:32, Detlef Steuer wrote: > I would be interested to hear about difficulties you face when using > org-mode together with viper. Or aren't there any? If not programming I use Org together with viper almost all the time when in Emacs and I know only of two smal

Re: [Orgmode] [babel] References to variable block names

2011-01-13 Thread Francesco Pizzolante
Dear Eric, Thanks for your answer. > In your example the cv source block only seems to have a single variable > specified with a :var header argument (namely v-jobtitle), e.g. > > #+srcname: cv > #+begin_src latex :noweb yes :var v-jobtitle="Software Engineer" > ... > #+end_src > > however your e