From: David Abrahams <dave@boostpro.com>
To: emacs-pretest-bug@gnu.org
Cc: John Wiegley <johnw@newartisans.com>,
tramp-devel@mail.freesoftware.fsf.org, michael.albinus@gmx.de
Subject: bug#3071: 23.0.92; accept-process-output broken on MacOS
Date: Tue, 21 Apr 2009 08:52:04 -0400 [thread overview]
Message-ID: <m2iqkyqidn.fsf__7770.86492530561$1240325210$gmane$org@boostpro.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Opening remote files/directories via TRAMP is wicked slow on MacOS; the
same operation on a linux emacs running on the same hardware is
practically instantaneous. Turns out that applying the enclosed patch
makes the symptom go away. I'm not an expert on emacs process handling,
but that tells me emacs probably isn't detecting output from the process
until the timeout (usually 1 second for TRAMP) is reached.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: tramp.el.patch --]
[-- Type: text/x-patch, Size: 738 bytes --]
cvs diff: warning: failed to open /Users/dave/.cvspass for reading: No such file or directory
Index: tramp.el
===================================================================
RCS file: /sources/tramp/tramp/lisp/tramp.el,v
retrieving revision 2.686
diff -d -u -r2.686 tramp.el
--- tramp.el 12 Apr 2009 19:21:03 -0000 2.686
+++ tramp.el 21 Apr 2009 04:45:54 -0000
@@ -5864,7 +5864,7 @@
;; Under Windows XP, accept-process-output doesn't return
;; sometimes. So we add an additional timeout.
(with-timeout ((or timeout 1))
- (accept-process-output proc timeout timeout-msecs)))
+ (accept-process-output proc .01)))
(tramp-message proc 10 "\n%s" (buffer-string))))
(defun tramp-check-for-regexp (proc regexp)
[-- Attachment #3: Type: text/plain, Size: 3031 bytes --]
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Emacs.app/Contents/Resources/etc/DEBUG for instructions.
In GNU Emacs 23.0.92.1 (i386-apple-darwin9.6.2, NS apple-appkit-949.43)
of 2009-04-19 on zreba.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure '--with-ns' '--with-jpeg' '--with-tiff' '--with-gif''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: C/l
Minor modes in effect:
shell-dirtrack-mode: t
show-paren-mode: t
server-mode: t
global-auto-revert-mode: t
delete-selection-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t
Recent input:
C-n C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p
C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-b C-( C-p C-p C-p C-p
C-n C-n C-n C-p C-p C-p C-p C-x C-b C-x C-b M-x M-p
<return>
Recent messages:
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `ssh hydra.local -q -e none && exit || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Found remote shell prompt on `hydra.local' [3 times]
Quit [2 times]
Mark saved where search started
Quit
Mark saved where search started [4 times]
Quit
Mark saved where search started [2 times]
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
next reply other threads:[~2009-04-21 12:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-21 12:52 David Abrahams [this message]
2009-04-21 19:29 ` bug#3071: 23.0.92; accept-process-output broken on MacOS Michael Albinus
[not found] ` <87tz4hls94.fsf@gmx.de>
2009-04-22 13:09 ` David Abrahams
[not found] ` <D490528D-C6E7-439C-A327-A99025D7B02F@boostpro.com>
2009-04-22 13:59 ` Michael Albinus
[not found] ` <nqhc0glrh4.fsf@alcatel-lucent.de>
2009-04-22 14:52 ` David Abrahams
[not found] <mailman.5766.1240325046.31690.bug-gnu-emacs@gnu.org>
2009-04-21 15:20 ` Michael Albinus
[not found] ` <nqmyaaav9j.fsf@alcatel-lucent.de>
2009-04-21 16:40 ` David Abrahams
[not found] <m2iqkyqidn.fsf@boostpro.com>
2009-04-21 23:46 ` YAMAMOTO Mitsuharu
2016-02-11 20:24 ` Alan Third
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='m2iqkyqidn.fsf__7770.86492530561$1240325210$gmane$org@boostpro.com' \
--to=dave@boostpro.com \
--cc=3071@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=johnw@newartisans.com \
--cc=michael.albinus@gmx.de \
--cc=tramp-devel@mail.freesoftware.fsf.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.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).