all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kenneth johansson <ken@kenjo.org>
To: emacs-devel@gnu.org
Subject: emacs ltstat,readlink on slow filesyste.
Date: Sat, 14 Feb 2009 12:36:52 +0000 (UTC)	[thread overview]
Message-ID: <gn6dt4$f2l$1@ger.gmane.org> (raw)

I'm using emacs to edit files on a sshfs filesystem but have a problem
whith emacs doing lstat and readlink for files that do not exist. And on a
slow network this creates interruptions to scrolling in emacs since the lstat
and readlink is taking so long to complete.

I have been trying to figure out what in emacs is doing this but have so
far failed to find a way around it. 

to see what is happening do the following.

cd /tmp
num=0; while [ $num -lt 1000 ] ;do echo "line $num" ; num=$((num +1)) ; done   >test_file.c
strace -f -etrace=lstat,readlink  emacs -Q test_file.c 


then just move around in the file and you should see the lstats and readlink calls. 

anyone know a way to configure emacs so this is not happening ???








             reply	other threads:[~2009-02-14 12:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-14 12:36 kenneth johansson [this message]
2009-02-14 21:38 ` emacs ltstat,readlink on slow filesyste Stefan Monnier

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='gn6dt4$f2l$1@ger.gmane.org' \
    --to=ken@kenjo.org \
    --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.