all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: recursive load case in openp
Date: Mon, 8 Apr 2002 09:50:17 +0300 (IDT)	[thread overview]
Message-ID: <Pine.SUN.3.91.1020408093923.28095K@is> (raw)
In-Reply-To: <1018234542.17903.36.camel@space-ghost>


On 7 Apr 2002, Colin Walters wrote:

> What seems to be happening is that openp eventually calls
> encode_coding_string, which eventually calls temp_output_buffer_setup,
> which then runs the hook variable `temp-buffer-setup-hook', whose value
> defaults to the single symbol `help-mode-setup'.  Therefore, since
> help-mode is autoloaded, emacs will attempt to load it, and enter Fload,
> and therefore reenter openp, try to load help-mode again...
> 
> The following patch fixes the problem on my system; Does anyone have any
> objections to fixing the problem in this way?

I'd like to find a solution that doesn't prevent legitimate hooks from 
running.  The problem my change introduced is very specific, so I think 
we should try to find a solution that prevents this specific scenario 
from screwing up Emacs.

I will try to find such a solution.  Thanks for reporting the problem and 
its analysis.

  reply	other threads:[~2002-04-08  6:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-08  2:55 recursive load case in openp Colin Walters
2002-04-08  6:50 ` Eli Zaretskii [this message]
2002-04-09 12:07   ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-04-09 12:34 Kenichi Handa
2002-04-10 20:17 ` Richard Stallman
2002-04-10 23:43 Kenichi Handa
2002-04-11 13:01 ` Stefan Monnier
2002-04-12  3:13   ` Richard Stallman
2002-04-12  4:03     ` Stefan Monnier
2002-04-12  9:35       ` Kim F. Storm
2002-04-12  3:12 ` Richard Stallman
2002-04-12  6:48 Kenichi Handa

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=Pine.SUN.3.91.1020408093923.28095K@is \
    --to=eliz@is.elta.co.il \
    --cc=emacs-devel@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.