From: Carsten Dominik <email@example.com>
Subject: Re: ECB and org-mode
Date: Tue, 20 Oct 2009 12:28:44 +0200 [thread overview]
Message-ID: <029BE340-ACD7-44F4-9016-A2158D081B7D@gmail.com> (raw)
I have added this code to org.el, please verify that it works because
I have wrapped
it into eval-after-load.
On Oct 14, 2009, at 7:18 PM, Eric S Fraga wrote:
> At Tue, 13 Oct 2009 10:00:29 +0200, Carsten Dominik wrote:
>> [snipped: messages regarding jumping into org file from ECB tree
>> buffer and
>> having the hierarchy displayed]
>> If you find a solution, please post, maybe I can install it in
>> using eval-after-load (I'm doing this already for a couple
>> of other packages that let you jump right in the middle of an Org
> The following seems to work:
> --8<---------------cut here---------------start------------->8---
> (defadvice ecb-method-clicked (after esf/org-show-context)
> "Make sure hierarchy is visible when jumping into location from ECB
> tree buffer"
> (if (string= major-mode "org-mode")
> --8<---------------cut here---------------end--------------->8---
> I have tested this but not exhaustively and so maybe it depends on
> some of my specific org-mode settings. I don't know if anybody else
> uses ECB extensively but, if so, it would be great if they tried it.
> I don't specifically (require 'ecb) anywhere so I don't think this is
> required; I am, however, using emacs 23.1.
> Again, apologies for my minimal (yet increasing) elisp knowledge!
> You're welcome to use this in any way you wish (and, before you ask
> (;-), I am still awaiting a response from the FSF re: copyright
> assignment as I posted the signed page several weeks ago now).
> On a related note, I have not managed to figure out why the ECB tree
> buffer shows only up to two levels of the org-mode heading hierarchy.
> Ideally, I would like it to show all levels. Is there a variable in
> org-mode that may be affecting this?
next prev parent reply other threads:[~2009-10-20 10:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 12:32 ECB and org-mode Eric S Fraga
2009-10-12 13:06 ` Carsten Dominik
2009-10-12 15:31 ` Eric S Fraga
2009-10-13 8:00 ` Carsten Dominik
2009-10-13 19:07 ` Eric S Fraga
2009-10-14 17:18 ` Eric S Fraga, Eric S Fraga
2009-10-14 17:57 ` Tassilo Horn
2009-10-15 6:52 ` Eric S Fraga, Eric S Fraga
2009-10-20 10:28 ` Carsten Dominik [this message]
2009-10-20 16:11 ` Eric S Fraga
2009-10-20 16:14 ` Carsten Dominik
2009-10-20 16:24 ` Eric S Fraga
2009-10-20 16:22 ` Carsten Dominik
2009-10-20 16:29 ` Eric S Fraga
2009-10-20 16:34 ` Carsten Dominik
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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 public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).