all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Hansen <larsh@math.ku.dk>
Cc: "Kim F. Storm" <storm@cua.dk>, emacs-devel@gnu.org
Subject: Re: emacs hangs when loading image
Date: Sun, 26 Dec 2004 10:10:48 +0100	[thread overview]
Message-ID: <41CE8018.4030704@math.ku.dk> (raw)
In-Reply-To: <87zn02djst.fsf@confusibombus.emacswiki.org>

Alex Schroeder wrote:
> In this session I was repeatedly opening a small number of files from
> dired with auto-image-file-mode enabled.  When I hit RET on one of
> them, Emacs hangs.  I attach GDB and hit bt.  Looks like Emacs is
> waiting for something that isn't coming.

In the thread "Emacs loops on large images" from the start of december I 
reported that Emacs often loops when trying to display images larger 
than the window. Maybe the problem you have seen is the same.

With gdb I found out that Emacs loops in the while loop in xdisp.c: 
back_to_previous_visible_line_start. It seems that the code searches for 
a completely visible line, but there is no such line because the image 
is larger than the window. I haven't had time to look further into the 
problem and I know nothing about xdisp.c.

I am cc'ing Kim hoping for help.

  reply	other threads:[~2004-12-26  9:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-25 23:45 emacs hangs when loading image Alex Schroeder
2004-12-26  9:10 ` Lars Hansen [this message]
2004-12-27  1:20   ` Alex Schroeder
2004-12-27 18:06     ` Richard Stallman
2004-12-27 18:06     ` Richard Stallman
2004-12-27  4:09   ` Richard Stallman
2004-12-27  9:28     ` Lars Hansen
2004-12-27 22:35       ` Richard Stallman
2004-12-28  8:27         ` Lars Hansen
2004-12-28 20:57           ` Richard Stallman

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=41CE8018.4030704@math.ku.dk \
    --to=larsh@math.ku.dk \
    --cc=emacs-devel@gnu.org \
    --cc=storm@cua.dk \
    /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.