From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: The patch (org-exp-blocks), the question and the bug Date: Sun, 17 May 2009 16:32:19 -0700 Message-ID: References: <87skj3q522.fsf@selenimh.orion.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5pqI-00011A-8r for emacs-orgmode@gnu.org; Sun, 17 May 2009 19:32:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5pqD-0000vn-9B for emacs-orgmode@gnu.org; Sun, 17 May 2009 19:32:29 -0400 Received: from [199.232.76.173] (port=40180 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5pqC-0000vS-T5 for emacs-orgmode@gnu.org; Sun, 17 May 2009 19:32:24 -0400 Received: from rv-out-0708.google.com ([209.85.198.244]:65106) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M5pqC-0004wy-En for emacs-orgmode@gnu.org; Sun, 17 May 2009 19:32:24 -0400 Received: by rv-out-0708.google.com with SMTP id f25so673864rvb.2 for ; Sun, 17 May 2009 16:32:23 -0700 (PDT) In-Reply-To: (Eric Schulte's message of "Sun, 17 May 2009 16:14:30 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, I've added an asymptote section to the org-exp-blocks page [1] which should be published to worg within the next hour or so. This section would benefit from an example asymptote block, which I am unable to provide. Thanks -- Eric [1] http://orgmode.org/worg/org-contrib/org-exp-blocks.php "Eric Schulte" writes: > emacs-orgmode@gnu.org writes: > >> Hello, >> >> I have created (in fact, I have copied and pasted with slights >> modifications) a function to use asymptote's code >> (http://asymptote.sourceforge.net) with the help of org-exp-blocks. >> Unfortunately, I am clueless about how to make a patch with git. So, >> with all my apologies, I will put it here as it might be useful to >> someone. >> > > Thanks, asymptote looks like an interesting tool. > > Rather than continually adding new block definitions directly to > org-exp-blocks.el I think we should add a section to the org-exp-blocks > page on worg where code implementing new blocks can be shared. I'll try > to do this in the next couple of days with your asymptote code as the > first new block type. > >> But that leads me to a question. I use (setq >> org-export-latex-image-default-option "") in my .emacs. But, as it might >> not be convenient for everyone, I would like to disable locally that >> option in the asymptote's block. In fact, the code should take >> precedence above export options : if I put 'size(5cm,0);' in my block, I >> don't want no variable messing with that. Is there a way to do that ? >> > > I'm sorry, I have no experience with this variable. However any number > of options could be specified in the headers line of the asymptote > block. These will then be available inside the asymptote function (in > the `headers' list) where they could be used to change the values of > elisp variables. > >> >> Last, but not least, I have something looking like a bug to report. >> Sometimes, when I hit C-k in agenda view, it kills me 2 lines instead of >> the one I am currently on. I can tell that kill-whole-line has nothing >> to do with that. It scares me so much that I have to TAB first while in >> agenda view in order to kill the item I want to make disappear. I use >> 6.26d but I could swear this bug has been on for ages (maybe 4.xx, >> certainly 5.xx). >> > > Sorry, I can't help on this front. > >> >> Thanks. > > Thanks for sharing! -- Eric