emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>
To: butz@sym.net
Cc: emacs-orgmode@gnu.org
Subject: Re: Lisp nesting exceeds `max-lisp-eval-depth'"
Date: Thu, 15 Sep 2011 12:46:47 +0200	[thread overview]
Message-ID: <87boum9j0v.fsf@rat.lan> (raw)
In-Reply-To: <4E71C870.5080900@sym.net> (Martin Butz's message of "Thu, 15 Sep 2011 11:42:08 +0200")

Martin Butz <butz@sym.net> writes:

> Am 15.09.2011 11:36, schrieb Olaf Dietsche:
>> Hi Martin,
>
> [...]
>
>>>    sr-speedbar-remember-window-width()
>>>    old-delete-window(#<window 20 on *Org Agenda*>)
>>
>> This one hints at speedbar. Are you using the speedbar module?
>
> Yes. Good advice. I have a (require 'sr-speedbar) in my .emacs, which
> I do not use anymore.
>
>>> ---- following lines are repeated several times--8<--------------------
>>>
>>>    (if (one-window-p t) (delete-frame) (old-delete-window
>>> (selected-window)))
>>>    (save-current-buffer (setq window (or window ...)) (select-window
>>> window) (if (one-window-p t) (delete-frame) (old-delete-window ...)))
>>>    ad-Orig-delete-window(#<window 20 on *Org Agenda*>)
>>>    old-delete-window(#<window 20 on *Org Agenda*>)
>>
>> And this one points to advice. Any advice usage here?
>
> "Advice". What's that in the org-mode context?

Advice is an emacs module for wrapping an already existing
function. Look at <http://www.emacswiki.org/emacs/AdvisingFunctions> for
example.

Orgmode uses defadvice, but not for delete-window, AFAICS.

Regards, Olaf

  parent reply	other threads:[~2011-09-15 10:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15  8:48 Lisp nesting exceeds `max-lisp-eval-depth'" Martin Butz
2011-09-15  9:36 ` Olaf Dietsche
     [not found]   ` <4E71C870.5080900@sym.net>
2011-09-15 10:46     ` Olaf Dietsche [this message]
2011-09-15 13:30 ` brian powell

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87boum9j0v.fsf@rat.lan \
    --to=olaf+list.orgmode@olafdietsche.de \
    --cc=butz@sym.net \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).