Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.

2011-08-09 Thread Nicolas Goaziou
Hello, Valentin Wüstholz wuesth...@gmail.com writes: Sure. At least four use cases come to my mind for this: (a) literal console output, (b) blocks of pseudo code (can't really use SRC blocks since there is no actual language for this), (c) blocks of source code in experimental or little

Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.

2011-08-09 Thread Nicolas Goaziou
Valentin Wüstholz wuesth...@gmail.com writes: At least that's my understanding of what /literal/ examples should give you. Besides, you don't need to fix each line separately: simply removing the indentation and auto-indenting the block will get you the desired results. Ah, true. I hadn't

[O] Bug: emacs crashes when scrolling column view [7.7]

2011-08-09 Thread Skip Collins
I am reposting an earlier bug report with a slightly different subject because this appears to be a serious problem not confined to aquamacs on macos. I have triggered the crash on both windows and mac emacs and provided a minimal, complete example to reproduce the problem. It seems likely to be a

[O] block quotes or indented blocks?

2011-08-09 Thread Gary Oberbrunner
Hi org folks; is there any way in org-mode's markup language to get an HTML blockquote or LaTeX {quote} (or presumably similar for odt) when exported? Looking through the manual I don't see one, though it's quite possible I missed something. -- -- Gary

[O] [yasnippet] Symbol's function definition is void: yas/next-field-group

2011-08-09 Thread Karl Voit
Hi! I tried to set up yasnippet for me and it seems to me that I do have problems using yasnippet. yasnippet v0.6.1 Org-mode current git version I already found [1] and my .emacs contains: , | ;; ## | ;;; yasnippet | ;;

Re: [O] [babel] set post tangle hook on per file basis - evalu

2011-08-09 Thread Eric Schulte
Rainer M Krug r.m.k...@gmail.com writes: Hi for different files, I put different things in the post-tangle hook. At tha moment, I have an emacs-lisp code block, which I evaluate before I tangle, but I forget this sometimes - so y question: is it possible (and think to remember that it is,

Re: [O] block quotes or indented blocks?

2011-08-09 Thread Jambunathan K
Gary Oberbrunner ga...@oberbrunner.com writes: Hi org folks; is there any way in org-mode's markup language to get an HTML blockquote or LaTeX {quote} (or presumably similar for odt) when exported? Looking through the manual I don't see one, though it's quite possible I missed something.

Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.

2011-08-09 Thread Valentin Wüstholz
Hi Nicolas. On Tue, Aug 9, 2011 at 11:18 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Valentin Wüstholz wuesth...@gmail.com writes: Sure. At least four use cases come to my mind for this: (a) literal console output, (b) blocks of pseudo code (can't really use SRC blocks since

Re: [O] [babel] set post tangle hook on per file basis - evalu

2011-08-09 Thread Rainer M Krug
On Tue, Aug 9, 2011 at 2:33 PM, Eric Schulte schulte.e...@gmail.com wrote: Rainer M Krug r.m.k...@gmail.com writes: Hi for different files, I put different things in the post-tangle hook. At tha moment, I have an emacs-lisp code block, which I evaluate before I tangle, but I forget

Re: [O] Merge org-7.7 into emacs

2011-08-09 Thread Eric Schulte
Hi, suvayu ali fatkasuvayu+li...@gmail.com writes: Hi, On Sun, Aug 7, 2011 at 7:54 PM, Memnon Anon gegendosenflei...@googlemail.com wrote: Hi, Just a heads up: http://permalink.gmane.org/gmane.emacs.devel/142944 I don't know anything about this, but maybe something can be

[O] [bug] removing last column with a column formula

2011-08-09 Thread Nicolas Goaziou
Hello, Let's consider the following table: #+begin_src org | 1 | 2 | 3 | | 1 | 2 | 3 | #+TBLFM: @2$1..@2$3=@1 #+end_src If I remove the second column (M-S-Left), the formula is correctly updated. But when I remove the last column, the formula gets partly deleted and becomes:

Re: [O] block quotes or indented blocks?

2011-08-09 Thread Gary Oberbrunner
duh. OK, just after posting, I found #+BEGIN_QUOTE. Sorry for the noise. On Tue, Aug 9, 2011 at 8:55 AM, Gary Oberbrunner ga...@oberbrunner.com wrote: Hi org folks; is there any way in org-mode's markup language to get an HTML blockquote or LaTeX {quote} (or presumably similar for odt) when

Re: [O] [bug] org-inlinetask produces invalid xhtml

2011-08-09 Thread Nicolas Goaziou
Hello, Jambunathan K kjambunat...@gmail.com writes: The problem persists. You can put the exported html file in nxml-mode and do a C-c C-n to find the validation errors. The problem is different now. I am attaching the two examples and the problematic html segment (marked with VALIDATION

[O] [bug] killing and yanking _sometimes_ doesn`t indent correctly

2011-08-09 Thread Detlef Steuer
Hi! Using the following files I can reproduced a bug I encountered. inbox.org --- * Inbox ** TODO first ** TODO second --- fileto.org --- * What todo ** Subheading 1 ** Subheading 2 --- Now, if I place the cursor in inbox.org on ** TODO first hit C-c C-x C-w move to fileto.org and hit

Re: [O] [bug] removing last column with a column formula

2011-08-09 Thread Michael Brand
Hi Nicolas Columns and rows are better referenced with and in many cases to avoid such oddities: #+begin_src org | 1 | 2 | 3 | | 1 | 2 | 3 | #+TBLFM: @2$..@2$=@1 #+end_src http://orgmode.org/manual/References.html#References Michael On Tue, Aug 9, 2011 at 14:50, Nicolas Goaziou

Re: [O] [yasnippet] can not creating links with description

2011-08-09 Thread Bianca Lutz
Hi Karl, I do not know how to accomplish this with a single field but the following workaround might be sufficient: ,[ ~/snippets/org-mode/vkcomp ] | # name : expand link to company | # -- | [[file:~/share/all/org-mode/contacts.org::*$1][${2:$$(unless yas/modified-p | (let ((field (nth 0

Re: [O] [yasnippet] can not creating links with description

2011-08-09 Thread Bianca Lutz
I just realized that the test for field being non-nil is superfluous in the example below -- the usual copy and paste mess got me. Thus, you may omit it, i.e. use (concat companie: (buffer-substring ...)) instead of (concat companie: (and field (buffer-substring ...))) Bianca. On Tue, Aug

[O] Markup in BEGIN_EXAMPLE and alike block

2011-08-09 Thread Vladimir Lomov
Hi. I want to emphasize (using bold monospace font when exporting to HTML) some parts of text in example block. Consider the following example: *** Determining adapter chipset and used driver #+BEGIN_EXAMPLE zbox$ lspci -v ... 04:00.0 Network controller: *RaLink RT2860* Subsystem: Device

[O] [babel] [bug] inline src_R breaks downstream src block

2011-08-09 Thread Charles C. Berry
, | | * inline code block example | | | AAA | blah blah src_R[:results output]{cat(rnorm(2))} | CC | #+begin_src R :eval never :exports none | 1+2 | a - b + c | xyz | #+end_src |

[O] org-sudoku.el

2011-08-09 Thread Carsten Dominik
Hi, my daughter got stuck with a couple of SUDOKU puzzles during the vacation (where wh had no internet connection), so I hacked a small SUDOKU solver that reads a 9x9 Org table and solves it as a sudoku puzzle. A little silly, but maybe fun for someone - I have pushed it into the contrib/lisp

Re: [O] Merge org-7.7 into emacs

2011-08-09 Thread Memnon Anon
Eric Schulte schulte.e...@gmail.com writes: I believe 10 lines is the cutoff for whether a patch may be considered tiny and thus whether it requires copyright attribution to the FSF. ,[ http://orgmode.org/worg/org-contribute.html ] | If your patch is against a file that is part of Emacs,

Re: [O] org-sudoku.el

2011-08-09 Thread Achim Gratz
Carsten Dominik carsten.domi...@gmail.com writes: my daughter got stuck with a couple of SUDOKU puzzles during the vacation (where wh had no internet connection), so I hacked a small SUDOKU solver that reads a 9x9 Org table and solves it as a sudoku puzzle. A little silly, but maybe fun for

Re: [O] org-sudoku.el

2011-08-09 Thread Carsten Dominik
On 9.8.2011, at 18:54, Achim Gratz wrote: Carsten Dominik carsten.domi...@gmail.com writes: my daughter got stuck with a couple of SUDOKU puzzles during the vacation (where wh had no internet connection), so I hacked a small SUDOKU solver that reads a 9x9 Org table and solves it as a sudoku

Re: [O] [yasnippet] Symbol's function definition is void: yas/next-field-group

2011-08-09 Thread Bianca Lutz
Hi Karl, On Tue, Aug 9, 2011 at 1:34 PM, Karl Voit devn...@karl-voit.at wrote: Whenever I try to expand a snippet containing $1, $2, ... I just get to $1 and then there I get «Symbol's function definition is void: yas/next-field-group» in the *Messages* buffer. Pressing «Tab» does not jump

Re: [O] [babel] set post tangle hook on per file basis - evalu

2011-08-09 Thread Eric Schulte
Hi Rainer, I like to use file local variables [1] to do per-file Org-mode configuration and customization this is an easy way to set the local value of a variable every time the file is opened. I think you could use file local variables to evaluate arbitrary elisp when a file is opened in

Re: [O] [PATCH] org.el: Preserve indentation of manually indented lines in example blocks.

2011-08-09 Thread Valentin Wüstholz
Hi Nicolas. On Tue, Aug 9, 2011 at 3:21 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: I would love to hear how other people feel about this. Same here. I don't use such blocks very often after all. Meanwhile, could you please reformat a bit your patch (no more than 80 columns, no parents

Re: [O] Bug: Column view in the agenda does not clean up ITEM [7.7]

2011-08-09 Thread Christian Schmidt
Hi Sebastien, Sebastien wrote: Hi Christian, I (would have) thought that, when having a column dedicated for tags, the tag would as well be removed from the headline column (3^rd one, in your example). Is there a good reason it's not working like that for the tag as well? Talking

Re: [O] Bug: Column view in the agenda does not clean up ITEM [7.7]

2011-08-09 Thread Sebastien Vauban
Hi Christian, Christian Schmidt wrote: Sebastien wrote: I (would have) thought that, when having a column dedicated for tags, the tag would as well be removed from the headline column (3^rd one, in your example). Is there a good reason it's not working like that for the tag as well?

Re: [O] Org-Babel Mode : a suggestion and a contribution article [Babel]

2011-08-09 Thread Nick Dokos
Feiming Chen feimingc...@yahoo.com wrote: I wonder if it is possible to use the macro option (#+MACRO:) to save the typing of header options (of code blocks). For example, currently it does NOT work if I try to use

Re: [O] [bug] org-inlinetask produces invalid xhtml

2011-08-09 Thread Jambunathan K
I see. Contents of inline tasks are meant to be interpreted during export. Thus, paragraphs will be marked as p, lists as ul or whatever... This isn't compatible with the default pre tag provided. I can see two possibilities. Come up with a better default value, or provide a way to tell to

[O] tag searches with regular expressions

2011-08-09 Thread suvayu ali
Hi Orgers, I was trying to do a tags search for all tags with people's names. I use people's names like this Suvayu. So I tried something like this {[A-Z][a-z]+}, but that returns me almost every tag I have. Is this possible? If not, are there other ways of achieving something like this? PS: I

Re: [O] [bug] org-inlinetask produces invalid xhtml

2011-08-09 Thread suvayu ali
Hello Nicolas and Jambu, On Tue, Aug 9, 2011 at 11:51 PM, Jambunathan K kjambunat...@gmail.com wrote: I see. Contents of inline tasks are meant to be interpreted during export. Thus, paragraphs will be marked as p, lists as ul or whatever... This isn't compatible with the default pre tag