From: bluedian <blue.dian@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [babel] features request for Emacs Initialization
Date: Mon, 7 Dec 2009 07:31:34 +0000 (UTC) [thread overview]
Message-ID: <loom.20091207T082201-560@post.gmane.org> (raw)
In-Reply-To: m2bpiegf2s.fsf@gmail.com
Thanks for your reply.
Eric Schulte <schulte.eric <at> gmail.com> writes:
> > 2) When in debugging mode (a variable, like "stater-kit-org-babel-debug-lisp
> > put to t), could a trace be generated by the tangling process in order to
> > trace the execution of the configuration file (simple trace like the
> > generation of a message at the start and end of each emacs lisp block). That
> > could be a good help for rapidly finding an error. >
> Hmm, I feel like this would require too much code in org-babel for too limited
> a set of functionality. Maybe there is a more general feature lying behind
> this request that would be more widely applicable?
I understand.
For now, I use this basic snippet when defining emacs code block in my
configuration files, JDL-Debug is a flag I put to true when I want to debug my
Emacs configuration.
# -*- mode: snippet -*-
# name: code org for emacs configuration blocks
# key: cemacs
# --
#+srcname: $1
#+begin_src emacs-lisp
(if JDL-Debug
(message "start $1"))
$2
(if JDL-Debug
(message "End $1"))
#+end_src
next prev parent reply other threads:[~2009-12-07 7:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 8:19 [babel] features request for Emacs Initialization bluedian
2009-12-05 5:33 ` Eric Schulte
2009-12-07 7:31 ` bluedian [this message]
2009-12-07 16:06 ` Jonathan Arkell
2009-12-08 8:28 ` Sébastien Vauban
2009-12-08 17:18 ` Jonathan Arkell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20091207T082201-560@post.gmane.org \
--to=blue.dian@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.