[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] babel perl issue

From: Bastien
Subject: Re: [O] babel perl issue
Date: Fri, 14 Dec 2012 00:27:38 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Eric,

Eric Schulte <address@hidden> writes:

> If you can find a cleaner alternative I'll be happy to help you
> apply it.

Here is a very crude patch for paving the way to a better solution.

I merged some small files in ob.el and got rid of ob-core.el.

The dependencies looks like this now:

PNG image

The size of ob.el is quite manageable (between the size of 
org-list.el and that of org-table.el) and I think ob-eval.el 
and friends really belongs to the core Babel library.

As for handling "large" files, I use this:

#+BEGIN_SRC emacs-lisp
(defun org-cycle-global ()
  (org-cycle t))

(defun org-cycle-local ()
    (move-beginning-of-line nil)

(global-set-key (kbd "C-M-]") 'org-cycle-global)
(global-set-key (kbd "M-]") 'org-cycle-local)

I made a video to demonstrate it quickly:

This helps me survive in files like org.el and org-agenda.el :)

On the overall, I really think this is an improvement.  Unless 
you find a bug in the dependencies and/or find a bug in the way
dependancies are handled, I'm in favor of committing it (modulo
some work that needs to be done to reorder/clean the section a

Let me know,

Attachment: 0001-Crude-patch-to-simplify-dependencies.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]