From thierry.volpiatto@gmail.com Tue Dec 30 02:54:57 2008 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Dec 2008 10:54:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBUAsr2K015914 for ; Tue, 30 Dec 2008 02:54:54 -0800 Received: from mail.gnu.org ([199.232.76.166]:48795 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LHcEQ-0005Wk-5a for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 05:53:50 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LHcFM-0002ri-Ku for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 05:54:51 -0500 Received: from mail-bw0-f12.google.com ([209.85.218.12]:36456) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LHcFL-0002rM-Ie for emacs-pretest-bug@gnu.org; Tue, 30 Dec 2008 05:54:48 -0500 Received: by bwz5 with SMTP id 5so11185466bwz.18 for ; Tue, 30 Dec 2008 02:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=Dy0a8IqCFQwXkj7aw5krpbMDm4dkbSTgQJ5q75MKY9o=; b=WVyJzMs/Vq0Zy7yNfGXHTM7ossiaRpIM2nA7P/ceQGUiulqqFjVgaUCChnR0QefLKN kAcOco9bbu+iLpC0FJoA54qpyB7USqZkLbB3XF/1Ehj+uXI4QVG6Bcvrrxaz86n39R2y o+2N9zNmHFfl1cz5WHb3c5gjVIcyWtxU9zRd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=TI6fPXJaxyF6H6Q6oZuxcUAQ6nfVghduZJVT8PK+HFjCvOQa8iCSaFa1labJiRMXn6 DzI/CqTYEq3e8LNUoc8bI7Ow1HX6ihooo1cLFagaIX8w0KizApetNMkZZCVB9Bcn5vOD 621QTXXEYrNW4d8GobELGapRElSSfpoV/0KNE= Received: by 10.103.106.1 with SMTP id i1mr5220097mum.47.1230634482547; Tue, 30 Dec 2008 02:54:42 -0800 (PST) Received: from tux.homenetwork (117.77.197-77.rev.gaoland.net [77.197.77.117]) by mx.google.com with ESMTPS id u9sm31259759muf.4.2008.12.30.02.54.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Dec 2008 02:54:41 -0800 (PST) From: Thierry Volpiatto To: emacs-pretest-bug@gnu.org Subject: 23.0.60; vc fail to register file while logged as /su:: with tramp Date: Tue, 30 Dec 2008 11:48:34 +0100 Message-ID: <87vdt2ndkt.fsf@tux.homenetwork> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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: Hi, i can't register a file with vc/rcs when i am logged as root throught tramp. 1) C-x v i 2) Create RCS dir (y/n) ==> The dir is created. 3) But now ==> _Here the debug output_: ,---- | Debugger entered--Lisp error: (wrong-type-argument stringp nil) | file-exists-p(nil) | vc-insert-file(nil "^[0-9]") | vc-rcs-fetch-master-state("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-rcs-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | apply(vc-rcs-working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-call-backend(RCS working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-default-mode-line-string(RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | apply(vc-default-mode-line-string RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-call-backend(RCS mode-line-string "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-mode-line("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | run-hook-with-args(vc-mode-line "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") | vc-resynch-window("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) | vc-resynch-buffer("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) | | [...] | | [G70600 G70601 rev comment file --cl-dolist-temp-- | message "Registering %s... " mapc vc-file-clearprops vc-call-backend | register nil vc-file-setprop | vc-backend "Registering %s... done"] 6] (quote --files--) (quote --backend--) --cl-rest--))) | vc-register(nil) | call-interactively(vc-register nil nil) `---- _And if i want to delete RCS directory from dired_: ,---- | (file-error Couldn't delete /su:root@tux.homenetwork:/usr/local/bin/RCS) `---- However if i open an emacs root session i can register my file as normal. (It's a long time i have this problem and always forget to send bug - since emacs 22 i think) Thank you. Thierry. 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 /usr/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.14.5) of 2008-12-27 on tux Windowing system distributor `The X.Org Foundation', version 11.0.10300000 configured using `configure '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-freetype' '--with-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=i686 -pipe -O2' 'LDFLAGS=-Wl,-O1'' Important settings: value of $LC_ALL: fr_FR.UTF-8 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: fr_FR.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: icomplete-mode: t icicle-mode: t delete-selection-mode: t minibuffer-depth-indicate-mode: t auto-image-file-mode: t partial-completion-mode: t display-wireless-mode: t display-battery-mode: t display-time-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t recentf-mode: t savehist-mode: t desktop-save-mode: t tooltip-mode: t mouse-wheel-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 Recent input: $ @ C-x C-s a C-x b C-x v i C-x k C-x k C-x # C-x # f i n i s h C-x C-s C-x # m q q y a C-x v i y C-SPC 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-x r s a C-g q C-x C-f g D y C-h e C-SPC C-e C-x r s z C-g a M-! r m SPC - r f SPC R C S g M + w g a M-x r e p o r t - e m a Recent messages: (file-error Couldn't delete /su:root@tux.homenetwork:/usr/local/bin/RCS) Mark set Quit Loading /home/thierry/.emacs.d/emms/emms-globals-tags.el (source)...done Loading /home/thierry/.emacs.d/emms/emms-favourites-artists.el (source)...done Redisplaying...done Loading /home/thierry/.emacs.d/emms/emms-globals-tags.el (source)...done Loading /home/thierry/.emacs.d/emms/emms-favourites-artists.el (source)...done Computing completion candidates... -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France From lekktu@gmail.com Tue Mar 17 02:22:15 2009 Received: (at control) by emacsbugs.donarmstrong.com; 17 Mar 2009 09:22:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-ew0-f176.google.com (mail-ew0-f176.google.com [209.85.219.176]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2H9MCD0005523 for ; Tue, 17 Mar 2009 02:22:14 -0700 Received: by ewy24 with SMTP id 24so3991757ewy.1 for ; Tue, 17 Mar 2009 02:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=8kg3xZo7LkfeWm8/N+Bb5gCTHDvSowOAk/GT0NUKjNc=; b=sS/XKophFfzDqrpZxSKYexjpSHOEBgWFBIntADHTWgLQ7xAkX2LJay0VW5/a9alnYU JqK5mkqwrC9L2Iu+b+OHuLWMs4dh1ivw0p3TpVFe4KfkhmlI8VYyhAH9+vGdgV/V/aj8 ZjrZbQHD9z3NgdBNX9dcvrhXE1JDzicWFM4Uo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=epHiHh4jTH8hNQ3Z9W+sdmPMWG5K8t56w3EIXDv+nyc7uMUO0OebD87ssmj47nN/8V gEn2T5weZyGT7QqOtX3mDXQokeXZQjhWmeLaUkSzN5IXPiPJhZ8VSTSKiUUROU4m5YrP Wm9HxlDTvoTR98dZx15fhqd+5ewRn1t26NJDo= MIME-Version: 1.0 Received: by 10.210.139.15 with SMTP id m15mr4357553ebd.9.1237281726835; Tue, 17 Mar 2009 02:22:06 -0700 (PDT) Date: Tue, 17 Mar 2009 10:22:06 +0100 Message-ID: Subject: From: Juanma Barranquero To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit reassign 337 emacs,vc reassign 768 emacs,vc reassign 927 emacs,vc reassign 996 emacs,vc reassign 1098 emacs,vc reassign 1163 emacs,vc reassign 1256 emacs,vc reassign 1257 emacs,vc reassign 1408 emacs,vc reassign 1429 emacs,vc reassign 1589 emacs,vc reassign 1647 emacs,w32,vc reassign 1741 emacs,vc reassign 2093 emacs,vc reassign 2110 emacs,vc reassign 2117 emacs,vc reassign 2157 emacs,vc reassign 2338 emacs,vc reassign 2553 emacs,vc reassign 2598 emacs,vc reassign 2604 emacs,vc reassign 2612 emacs,vc reassign 2641 emacs,vc reassign 2652 emacs,vc reassign 2675 emacs,vc reassign 2676 emacs,vc reassign 2678 emacs,vc quit From dann@godzilla.ics.uci.edu Tue Apr 7 09:57:43 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 7 Apr 2009 16:57:43 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n37Gve0n000420 for <1741@emacsbugs.donarmstrong.com>; Tue, 7 Apr 2009 09:57:41 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n37GvIEB022585; Tue, 7 Apr 2009 09:57:18 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n37GvIau023055; Tue, 7 Apr 2009 09:57:18 -0700 (PDT) Date: Tue, 7 Apr 2009 09:57:18 -0700 (PDT) Message-Id: <200904071657.n37GvIau023055@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Thierry Volpiatto Cc: 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> X-Debbugs-No-Ack: yes In-Reply-To: <87vdt2ndkt.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Tue, 30 Dec 2008 11:48:34 +0100") Lines: 64 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n37GvIEB022585 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Thierry Volpiatto writes: > 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: > > Hi, > i can't register a file with vc/rcs when i am logged as root throught > tramp. > 1) C-x v i > 2) Create RCS dir (y/n) ==> The dir is created. > 3) But now ==> _Here the debug output_: > > ,---- > | Debugger entered--Lisp error: (wrong-type-argument stringp nil) > | file-exists-p(nil) > | vc-insert-file(nil "^[0-9]") > | vc-rcs-fetch-master-state("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | vc-rcs-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | apply(vc-rcs-working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | vc-call-backend(RCS working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | vc-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | vc-default-mode-line-string(RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | apply(vc-default-mode-line-string RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | vc-call-backend(RCS mode-line-string "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | vc-mode-line("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | run-hook-with-args(vc-mode-line "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > | vc-resynch-window("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) > | vc-resynch-buffer("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) > | > | [...] > | > | [G70600 G70601 rev comment file --cl-dolist-temp-- > | message "Registering %s... " mapc vc-file-clearprops vc-call-backend > | register nil vc-file-setprop > | vc-backend "Registering %s... done"] 6] (quote --files--) (quote --backend--) --cl-rest--))) > | vc-register(nil) > | call-interactively(vc-register nil nil) > `---- > > _And if i want to delete RCS directory from dired_: > > ,---- > | (file-error Couldn't delete /su:root@tux.homenetwork:/usr/local/bin/RCS) > `---- > > However if i open an emacs root session i can register my file as > normal. What happens is that vc-check-master-templates gets called with "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh", and it calls (file-exists-p "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") which returns nil. There's a few other `file-exists-p' calls in vc*.el, so it's likely that other things can go wrong if this one instance is somehow fixed. If someone familiar with what tramp needs wants to get this to work, about all vc calls need to be tested to make sure they don't do something that tramp can't do. From thierry.volpiatto@gmail.com Wed Apr 8 04:30:47 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 8 Apr 2009 11:30:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-bw0-f157.google.com (mail-bw0-f157.google.com [209.85.218.157]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n38BUgrJ020443 for <1741@emacsbugs.donarmstrong.com>; Wed, 8 Apr 2009 04:30:44 -0700 Received: by bwz1 with SMTP id 1so106035bwz.1 for <1741@emacsbugs.donarmstrong.com>; Wed, 08 Apr 2009 04:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :face:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=xJZ8kZq7nMdPZQMcdainN4u/lWfDu326GqJWWnYcb7k=; b=ioaKKkQOJS4Im+GJAjZ67XI/MgcVDGdsCGJa72trX/3CRAXOMbLmTN1LXc0+lR2eCP 52SHtD25MuZWtQrJcZBbAwuQURBq2OoaQUjRxk188Ad8fX+No0b3yReUxfQqdyMtCdc5 iQsv53LR23MnlVGvsHzojoHhAx488gdC0Rj5w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=tQDIZuFmpzp7s3VQgTYdn+izCoBtI81hEeCDPWcrpI0a/B/VFMjY0wYC9szXBOvWsC MF3m3OeTdJSZdwhoCZkqXMMMAjnuwA57nixPI9g63pnCOaporI/xSkaMaadP6vR1YLlo t39pqjl6NwTXyRh/ZgHwNvyBmLjUu9kq3gTPc= Received: by 10.103.246.1 with SMTP id y1mr489927mur.72.1239190237054; Wed, 08 Apr 2009 04:30:37 -0700 (PDT) Received: from tux.homenetwork (217.211.85-79.rev.gaoland.net [79.85.211.217]) by mx.google.com with ESMTPS id b9sm12765946mug.2.2009.04.08.04.30.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Apr 2009 04:30:36 -0700 (PDT) From: thierry.volpiatto@gmail.com To: Dan Nicolaescu Cc: 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHAwNfJRBVTESlTym0 RB/OwKFivhZqAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABeElE QVQ4y3VTW47CMAyMwwUyTfYfUvG/wfC/ET4B0t7/KmsHurRgXFVVPRm/xglhsRj2+npW98G3+Amp tS5BXxl3SqzcXGRuEyf7n5lPA9jXetNPRhE7EJkzfz8YWnIgBSwW95TK4H79/t4GINKNADWj4PgA DiJX/ZxFDzDXeb4oYMw7kNUvyMzcaj3ioICG4hCKEShkPpwQ49Q05nnkGAQLDFDdExjm0qpowBYA Wi61bDlFU1GW0WbY2dSJYX5ZD2S0AiZL+rPyE19TpMzP2IvNWly+NkuWNgD4pO2oL73IQXoSyVX2 NHna7tgadWRXoCdvf2guqEcvGHqZwE520iRD0/QCYiiTE+U21w1Qxvg6iSp9fbIiDCnSAelDkCVF Vn+HekqXzRybwJ40xF4DMRG6SWGK9G1lYzHSxLYEm05GWbpJCB6A9tb9A3BGn2XdwJbS/WuInj74 4QNF8sVFdP3vl+5tgYp4Ev7fyrfFMkXgElDgV4uV/w8TWEeLCIGJ/AAAACV0RVh0Y3JlYXRlLWRh dGUAMjAwOC0wNS0zMVQyMDoxNDoyMiswMDowMAS7YjIAAAARdEVYdGpwZWc6Y29sb3JzcGFjZQAy LHVVnwAAACB0RVh0anBlZzpzYW1wbGluZy1mYWN0b3IAMngyLDF4MSwxeDFJ+qa0AAAAJXRFWHRt b2RpZnktZGF0ZQAyMDA3LTEwLTI4VDE2OjA4OjQ4KzAwOjAw44nspgAAAABJRU5ErkJggg== Date: Wed, 08 Apr 2009 13:23:48 +0200 In-Reply-To: <200904071657.n37GvIau023055@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 7 Apr 2009 09:57:18 -0700 (PDT)") Message-ID: <87d4bnfkxn.fsf@tux.homenetwork> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Dan! Thank you to have a look at this bug. It's a long time, i didn't remember i sent this bug. The bug is still here.(23.0.92) Dan Nicolaescu writes: > Thierry Volpiatto writes: > > > 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: > > > > Hi, > > i can't register a file with vc/rcs when i am logged as root throught > > tramp. > > 1) C-x v i > > 2) Create RCS dir (y/n) ==> The dir is created. > > 3) But now ==> _Here the debug output_: > > > > ,---- > > | Debugger entered--Lisp error: (wrong-type-argument stringp nil) > > | file-exists-p(nil) > > | vc-insert-file(nil "^[0-9]") > > | vc-rcs-fetch-master-state("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | vc-rcs-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | apply(vc-rcs-working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | vc-call-backend(RCS working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | vc-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | vc-default-mode-line-string(RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | apply(vc-default-mode-line-string RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | vc-call-backend(RCS mode-line-string "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | vc-mode-line("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | run-hook-with-args(vc-mode-line "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > | vc-resynch-window("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) > > | vc-resynch-buffer("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) > > | > > | [...] > > | > > | [G70600 G70601 rev comment file --cl-dolist-temp-- > > | message "Registering %s... " mapc vc-file-clearprops vc-call-backend > > | register nil vc-file-setprop > > | vc-backend "Registering %s... done"] 6] (quote --files--) (quote --backend--) --cl-rest--))) > > | vc-register(nil) > > | call-interactively(vc-register nil nil) > > `---- > > > > _And if i want to delete RCS directory from dired_: > > > > ,---- > > | (file-error Couldn't delete /su:root@tux.homenetwork:/usr/local/bin/RCS) > > `---- > > > > However if i open an emacs root session i can register my file as > > normal. > > What happens is that vc-check-master-templates gets called with > "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh", and it calls > (file-exists-p "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > which returns nil. No, `file-exists-p' recognize tramp file name and return t. (file-exists-p "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") ==>t The problem is, i think, vc call `file-exists-p' with (vc-name fname) as argument instead of "file_name": ,----[ With a tramp filename return error ] | (file-exists-p (vc-name "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh")) | ==> | Debugger entered--Lisp error: (wrong-type-argument stringp nil) | file-exists-p(nil) | eval((file-exists-p (vc-name "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh"))) | eval-expression((file-exists-p (vc-name "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh")) nil) | call-interactively(eval-expression nil nil) `---- ,----[ With a regular filename return t ] | (file-exists-p (vc-name "~/bin/call-gnus.sh")) | ==>t `---- So it seem the problem come from vc that try to set properties on filename with `vc-name' and fail on tramp filename. (`vc-name' call `vc-file-getprop') Thought i didn't look at the code carefully, so i am may be wrong. > There's a few other `file-exists-p' calls in vc*.el, so it's likely that > other things can go wrong if this one instance is somehow fixed. > > If someone familiar with what tramp needs wants to get this to work, > about all vc calls need to be tested to make sure they don't do > something that tramp can't do. > -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France From dann@godzilla.ics.uci.edu Wed Apr 8 09:24:21 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 8 Apr 2009 16:24:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n38GOHDl014675 for <1741@emacsbugs.donarmstrong.com>; Wed, 8 Apr 2009 09:24:18 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n38GO6HP014094; Wed, 8 Apr 2009 09:24:06 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n38GO6D6013154; Wed, 8 Apr 2009 09:24:06 -0700 (PDT) Date: Wed, 8 Apr 2009 09:24:06 -0700 (PDT) Message-Id: <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> From: Dan Nicolaescu To: thierry.volpiatto@gmail.com Cc: 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> X-Debbugs-No-Ack: yes In-Reply-To: <87d4bnfkxn.fsf@tux.homenetwork> (thierry volpiatto's message of "Wed, 08 Apr 2009 13:23:48 +0200") Lines: 123 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n38GO6HP014094 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu thierry.volpiatto@gmail.com writes: > Hi Dan! > Thank you to have a look at this bug. > It's a long time, i didn't remember i sent this bug. > The bug is still here.(23.0.92) > > Dan Nicolaescu writes: > > > Thierry Volpiatto writes: > > > > > 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: > > > > > > Hi, > > > i can't register a file with vc/rcs when i am logged as root throught > > > tramp. > > > 1) C-x v i > > > 2) Create RCS dir (y/n) ==> The dir is created. > > > 3) But now ==> _Here the debug output_: > > > > > > ,---- > > > | Debugger entered--Lisp error: (wrong-type-argument stringp nil) > > > | file-exists-p(nil) > > > | vc-insert-file(nil "^[0-9]") > > > | vc-rcs-fetch-master-state("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | vc-rcs-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | apply(vc-rcs-working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | vc-call-backend(RCS working-revision "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | vc-working-revision("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | vc-default-mode-line-string(RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | apply(vc-default-mode-line-string RCS "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | vc-call-backend(RCS mode-line-string "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | vc-mode-line("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | run-hook-with-args(vc-mode-line "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > > | vc-resynch-window("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) > > > | vc-resynch-buffer("/su:root@tux.homenetwork:/usr/local/bin/editeur.sh" t t) > > > | > > > | [...] > > > | > > > | [G70600 G70601 rev comment file --cl-dolist-temp-- > > > | message "Registering %s... " mapc vc-file-clearprops vc-call-backend > > > | register nil vc-file-setprop > > > | vc-backend "Registering %s... done"] 6] (quote --files--) (quote --backend--) --cl-rest--))) > > > | vc-register(nil) > > > | call-interactively(vc-register nil nil) > > > `---- > > > > > > _And if i want to delete RCS directory from dired_: > > > > > > ,---- > > > | (file-error Couldn't delete /su:root@tux.homenetwork:/usr/local/bin/RCS) > > > `---- > > > > > > However if i open an emacs root session i can register my file as > > > normal. > > > > What happens is that vc-check-master-templates gets called with > > "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh", and it calls > > (file-exists-p "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > > which returns nil. > No, `file-exists-p' recognize tramp file name and return t. > > (file-exists-p "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh") > ==>t It's a bug in TRAMP: If I create a new file: "/su:root@localhost:/tmp/blah" then to C-x v v to register it, it fails. But I can see that the /tmp/RCS/blah,v is created. If after that I do: M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET the result is nil. If I start a new emacs and do: M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET the result is t. > The problem is, i think, vc call `file-exists-p' with (vc-name fname) as > argument instead of "file_name": > > ,----[ With a tramp filename return error ] > | (file-exists-p (vc-name "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh")) > | ==> > | Debugger entered--Lisp error: (wrong-type-argument stringp nil) > | file-exists-p(nil) > | eval((file-exists-p (vc-name "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh"))) > | eval-expression((file-exists-p (vc-name "/su:root@tux.homenetwork:/usr/local/bin/editeur.sh")) nil) > | call-interactively(eval-expression nil nil) > `---- > > ,----[ With a regular filename return t ] > | (file-exists-p (vc-name "~/bin/call-gnus.sh")) > | ==>t > `---- > > So it seem the problem come from vc that try to set properties on > filename with `vc-name' and fail on tramp filename. > (`vc-name' call `vc-file-getprop') > > Thought i didn't look at the code carefully, so i am may be wrong. > > > > There's a few other `file-exists-p' calls in vc*.el, so it's likely that > > other things can go wrong if this one instance is somehow fixed. > > > > If someone familiar with what tramp needs wants to get this to work, > > about all vc calls need to be tested to make sure they don't do > > something that tramp can't do. > > > > -- > A + Thierry Volpiatto > Location: Saint-Cyr-Sur-Mer - France From monnier@IRO.UMontreal.CA Wed Apr 8 10:53:46 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 8 Apr 2009 17:53:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n38HrfQs011264 for <1741@emacsbugs.donarmstrong.com>; Wed, 8 Apr 2009 10:53:43 -0700 Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n38Hrep9002202; Wed, 8 Apr 2009 13:53:40 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 688308091A; Wed, 8 Apr 2009 13:53:40 -0400 (EDT) From: Stefan Monnier To: Dan Nicolaescu Cc: 1741@debbugs.gnu.org, Michael Albinus Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> Date: Wed, 08 Apr 2009 13:53:40 -0400 In-Reply-To: <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 8 Apr 2009 09:24:06 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3249=0 > If I create a new file: "/su:root@localhost:/tmp/blah" > then to C-x v v to register it, it fails. But I can see that the > /tmp/RCS/blah,v is created. If after that I do: > M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET > the result is nil. > If I start a new emacs and do: > M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET > the result is t. Hmm... looks like a stale cache. Michael? Stefan From Michael.Albinus@alcatel-lucent.de Thu Apr 9 06:51:36 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 9 Apr 2009 13:51:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n39DpXSH015907 for <1741@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 06:51:34 -0700 Received: from slbhn1.alcatel.de ([149.204.90.35]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n39DpQTd011347; Thu, 9 Apr 2009 15:51:26 +0200 From: Michael Albinus To: Stefan Monnier Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> Date: Thu, 09 Apr 2009 15:51:21 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 08 Apr 2009 13:53:40 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 Stefan Monnier writes: >> If I create a new file: "/su:root@localhost:/tmp/blah" >> then to C-x v v to register it, it fails. But I can see that the >> /tmp/RCS/blah,v is created. If after that I do: > >> M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET >> the result is nil. > >> If I start a new emacs and do: >> M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET >> the result is t. > > Hmm... looks like a stale cache. > Michael? Yes, a stale cache. I've committed a patch, which adds a file name handler for `vc-registered'. There the cache is disabled temporarily. Works for me. Could you guys, please, check? > Stefan Best regards, Michael. From monnier@iro.umontreal.ca Thu Apr 9 07:38:22 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 9 Apr 2009 14:38:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n39EcJnI031614 for <1741@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 07:38:20 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar4FAOuk3UlMCqib/2dsb2JhbACBUs0bg3sGhRE X-IronPort-AV: E=Sophos;i="4.40,160,1238990400"; d="scan'208";a="36825920" Received: from 76-10-168-155.dsl.teksavvy.com (HELO pastel.home) ([76.10.168.155]) by ironport2-out.teksavvy.com with ESMTP; 09 Apr 2009 10:38:13 -0400 Received: by pastel.home (Postfix, from userid 20848) id B5BC37FB6; Thu, 9 Apr 2009 10:38:13 -0400 (EDT) From: Stefan Monnier To: Michael Albinus Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> Date: Thu, 09 Apr 2009 10:38:13 -0400 In-Reply-To: (Michael Albinus's message of "Thu, 09 Apr 2009 15:51:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>> If I create a new file: "/su:root@localhost:/tmp/blah" >>> then to C-x v v to register it, it fails. But I can see that the >>> /tmp/RCS/blah,v is created. If after that I do: >> >>> M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET >>> the result is nil. >> >>> If I start a new emacs and do: >>> M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET >>> the result is t. >> >> Hmm... looks like a stale cache. >> Michael? > Yes, a stale cache. I've committed a patch, which adds a file name > handler for `vc-registered'. There the cache is disabled temporarily. > Works for me. Could you guys, please, check? I'd rather find a more generic fix. E.g. can't you flush the cache when handling process-file? Stefan From Michael.Albinus@alcatel-lucent.de Thu Apr 9 08:06:14 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 9 Apr 2009 15:06:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n39F6AFD009336 for <1741@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 08:06:11 -0700 Received: from slbhn1.alcatel.de ([149.204.90.35]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n39F61Qv031409; Thu, 9 Apr 2009 17:06:01 +0200 From: Michael Albinus To: Stefan Monnier Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> Date: Thu, 09 Apr 2009 17:06:00 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 09 Apr 2009 10:38:13 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 Stefan Monnier writes: >>>> If I create a new file: "/su:root@localhost:/tmp/blah" >>>> then to C-x v v to register it, it fails. But I can see that the >>>> /tmp/RCS/blah,v is created. If after that I do: >>> >>>> M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET >>>> the result is nil. >>> >>>> If I start a new emacs and do: >>>> M-: (file-exists-p "/su:root@localhost:/tmp/RCS/blah,v") RET >>>> the result is t. >>> >>> Hmm... looks like a stale cache. >>> Michael? > >> Yes, a stale cache. I've committed a patch, which adds a file name >> handler for `vc-registered'. There the cache is disabled temporarily. >> Works for me. Could you guys, please, check? > > I'd rather find a more generic fix. E.g. can't you flush the cache when > handling process-file? That would be too invasive, I believe. The whole cache would be flushed, even all data which are not related too. And there might be the case, that a file is registered in RCS (or whatever backend is used) outside Emacs. Tramp would still have stale cache data for "/su:root@localhost:/tmp/RCS/blah,v" then. > Stefan Best regards, Michael. From monnier@iro.umontreal.ca Thu Apr 9 11:32:44 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 9 Apr 2009 18:32:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n39IWewj013775 for <1741@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 11:32:42 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtcEAP/b3UlMCqib/2dsb2JhbACBUs0og3sGhRI X-IronPort-AV: E=Sophos;i="4.40,161,1238990400"; d="scan'208";a="36839887" Received: from 76-10-168-155.dsl.teksavvy.com (HELO pastel.home) ([76.10.168.155]) by ironport2-out.teksavvy.com with ESMTP; 09 Apr 2009 14:32:34 -0400 Received: by pastel.home (Postfix, from userid 20848) id 4AB2C7FB6; Thu, 9 Apr 2009 14:23:37 -0400 (EDT) From: Stefan Monnier To: Michael Albinus Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> Date: Thu, 09 Apr 2009 14:23:37 -0400 In-Reply-To: (Michael Albinus's message of "Thu, 09 Apr 2009 17:06:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> I'd rather find a more generic fix. E.g. can't you flush the cache when >> handling process-file? > That would be too invasive, I believe. The whole cache would be flushed, > even all data which are not related too. It should be safe to only flush data related to the relevant host. > And there might be the case, that a file is registered in RCS (or > whatever backend is used) outside Emacs. Tramp would still have stale > cache data for "/su:root@localhost:/tmp/RCS/blah,v" then. This is unrelated to RCS, and is indeed a real problem. For that reason I'd expect the cache to be flushed very often, yes. E.g. in post-command-hook. When do you flush it currently? Stefan From michael.albinus@gmx.de Sun Apr 12 11:15:36 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 12 Apr 2009 18:15:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n3CIFWKJ032439 for <1741@emacsbugs.donarmstrong.com>; Sun, 12 Apr 2009 11:15:33 -0700 Received: (qmail invoked by alias); 12 Apr 2009 18:15:25 -0000 Received: from brln-4db96cba.pool.einsundeins.de (EHLO magdalene.local) [77.185.108.186] by mail.gmx.net (mp041) with SMTP; 12 Apr 2009 20:15:25 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19HzocQgLRHzr4tWg8pdYlaGOJZdpv1bwy5u4IPi+ poErZb+rTzkozL From: Michael Albinus To: Stefan Monnier Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> Date: Sun, 12 Apr 2009 20:15:23 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 09 Apr 2009 14:23:37 -0400") Message-ID: <87myalrb5w.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.61 Stefan Monnier writes: >>> I'd rather find a more generic fix. E.g. can't you flush the cache when >>> handling process-file? >> That would be too invasive, I believe. The whole cache would be flushed, >> even all data which are not related too. > > It should be safe to only flush data related to the relevant host. That I do already, of course. >> And there might be the case, that a file is registered in RCS (or >> whatever backend is used) outside Emacs. Tramp would still have stale >> cache data for "/su:root@localhost:/tmp/RCS/blah,v" then. > > This is unrelated to RCS, and is indeed a real problem. For that reason > I'd expect the cache to be flushed very often, yes. E.g. in > post-command-hook. When do you flush it currently? Currently, I try to avoid flushing data mostly. In fact, flushing happens file-wise or directory-wise only, when the file or directory changes. And also in `revert-buffer'. What I'm thinking about is using a time-stamp for cached data. Then one could introduce a user option `tramp-cache-ttl', which is set to the number of seconds a cache entry shall be kept. `nil' means no flush (as it is today); 0 means no caching at all. A value of 5 would have already benefit, because usually there are several calls of, for example, `file-attributes' during a short time, because of more complex operations. > Stefan Best regards, Michael. From monnier@iro.umontreal.ca Sun Apr 12 12:41:20 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 12 Apr 2009 19:41:20 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3CJfGfj022609 for <1741@emacsbugs.donarmstrong.com>; Sun, 12 Apr 2009 12:41:17 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkGACLh4UlLd+7D/2dsb2JhbACBUcVDg3wGhRY X-IronPort-AV: E=Sophos;i="4.40,176,1238990400"; d="scan'208";a="36928417" Received: from 75-119-238-195.dsl.teksavvy.com (HELO pastel.home) ([75.119.238.195]) by ironport2-out.teksavvy.com with ESMTP; 12 Apr 2009 15:41:10 -0400 Received: by pastel.home (Postfix, from userid 20848) id CF8107FE7; Sun, 12 Apr 2009 15:41:10 -0400 (EDT) From: Stefan Monnier To: Michael Albinus Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> Date: Sun, 12 Apr 2009 15:41:10 -0400 In-Reply-To: <87myalrb5w.fsf@gmx.de> (Michael Albinus's message of "Sun, 12 Apr 2009 20:15:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>> I'd rather find a more generic fix. E.g. can't you flush the cache when >>>> handling process-file? >>> That would be too invasive, I believe. The whole cache would be flushed, >>> even all data which are not related too. >> It should be safe to only flush data related to the relevant host. > That I do already, of course. process-file is something that it not used very often, so I think it's perfectly OK to flush the whole host's cache at that point. If it turns out to be a performance problem, we can refine this choice. Stefan From michael.albinus@gmx.de Sun Apr 12 12:56:30 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 12 Apr 2009 19:56:30 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n3CJuQ73026495 for <1741@emacsbugs.donarmstrong.com>; Sun, 12 Apr 2009 12:56:27 -0700 Received: (qmail invoked by alias); 12 Apr 2009 19:56:20 -0000 Received: from brln-4db96cba.pool.einsundeins.de (EHLO magdalene.local) [77.185.108.186] by mail.gmx.net (mp018) with SMTP; 12 Apr 2009 21:56:20 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19ClBcnkxFC7Ko5FYXWwb3PLZktJq/g/jQ1ooqEz+ 03yX7IBKX1RzOJ From: Michael Albinus To: Stefan Monnier Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> Date: Sun, 12 Apr 2009 21:56:18 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 12 Apr 2009 15:41:10 -0400") Message-ID: <87r5zxprx9.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 Stefan Monnier writes: > process-file is something that it not used very often, so I think it's > perfectly OK to flush the whole host's cache at that point. If it turns > out to be a performance problem, we can refine this choice. It depends on the use case. `find-grep-dired' is something I call permanently, for example. For a performance comparision, you could check the figures in . Tramp 2.0 has no cache, Tramp 2.1 does. The figures are some years old, but they shall be still valid. > Stefan Best regards, Michael. From monnier@iro.umontreal.ca Sun Apr 12 15:51:28 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 12 Apr 2009 22:51:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3CMpOl5011796 for <1741@emacsbugs.donarmstrong.com>; Sun, 12 Apr 2009 15:51:25 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkGAG8N4klLd+7D/2dsb2JhbACBUsVYg3wGhRY X-IronPort-AV: E=Sophos;i="4.40,177,1238990400"; d="scan'208";a="36931351" Received: from 75-119-238-195.dsl.teksavvy.com (HELO pastel.home) ([75.119.238.195]) by ironport2-out.teksavvy.com with ESMTP; 12 Apr 2009 18:51:18 -0400 Received: by pastel.home (Postfix, from userid 20848) id 009E47FE7; Sun, 12 Apr 2009 18:51:17 -0400 (EDT) From: Stefan Monnier To: Michael Albinus Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> <87r5zxprx9.fsf@gmx.de> Date: Sun, 12 Apr 2009 18:51:17 -0400 In-Reply-To: <87r5zxprx9.fsf@gmx.de> (Michael Albinus's message of "Sun, 12 Apr 2009 21:56:18 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> process-file is something that it not used very often, so I think it's >> perfectly OK to flush the whole host's cache at that point. If it turns >> out to be a performance problem, we can refine this choice. > It depends on the use case. `find-grep-dired' is something I call > permanently, for example. Sure. But think of how many Tramp operations take place between those calls to process-file and what proportion of those operations will be affected by the cache-flush: - X% will not be affected because it wasn't in the cache. - Y% will be affected. - the remaining (100-X-Y)% won't be affected because it touches the same data as the previous Y%. My guess is that Y is sufficiently low (e.g. compared to X) for it not to be a problem. > For a performance comparision, you could check the figures in > . > Tramp 2.0 has no cache, Tramp 2.1 does. The figures are some years old, > but they shall be still valid. This only measures the effectiveness of caching on synthetic benchmarks. I do not doubt that the cache is effective. Flushing will obviously have an effect on performance, but that doesn't mean that flushing the cache during process-file will cause a performance problem. AFAIK the main benefit of the cache is to bundle up all the redundant `file-attibutes' calls that take place during something like `find-file-noselect'. Such optimizations won't be affected by the cache-flush. So I expect that the cache-flush I suggest won't cause a performance problem. Stefan From michael.albinus@gmx.de Mon Apr 13 02:30:26 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 13 Apr 2009 09:30:26 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n3D9UMHx026826 for <1741@emacsbugs.donarmstrong.com>; Mon, 13 Apr 2009 02:30:24 -0700 Received: (qmail invoked by alias); 13 Apr 2009 09:30:16 -0000 Received: from brln-4db93298.pool.einsundeins.de (EHLO magdalene.local) [77.185.50.152] by mail.gmx.net (mp028) with SMTP; 13 Apr 2009 11:30:16 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+U9pNHJ+KUnom3SDUctNa61Aw6/FWGsaB2rKHiAk BpmW82QgVzesB1 From: Michael Albinus To: Stefan Monnier Cc: Michael Albinus , Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> <87r5zxprx9.fsf@gmx.de> Date: Mon, 13 Apr 2009 11:30:14 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 12 Apr 2009 18:51:17 -0400") Message-ID: <87prfgzys9.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.7 Stefan Monnier writes: > AFAIK the main benefit of the cache is to bundle up all the redundant > `file-attibutes' calls that take place during something like > `find-file-noselect'. Such optimizations won't be affected by the > cache-flush. So I expect that the cache-flush I suggest won't cause > a performance problem. Not only `file-attributes'; it is useful for other often-called primitives like `file-exists-p' as well. I'm not against regular cache flushing. But I would like to have a custom option for this, because people like me have not such a need for this. The default value could be "do flushing", though. Do you agree? And if yes, what shall be the values of such an option? Simple "yes/no", or more granular, like the ttl proposal I have done? > Stefan Best regards, Michael. From monnier@iro.umontreal.ca Mon Apr 13 05:24:52 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 13 Apr 2009 12:24:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3DCOnWG006943 for <1741@emacsbugs.donarmstrong.com>; Mon, 13 Apr 2009 05:24:50 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAFAE3L4klLd+7D/2dsb2JhbACBUshhg3wGhRY X-IronPort-AV: E=Sophos;i="4.40,179,1238990400"; d="scan'208";a="36943846" Received: from 75-119-238-195.dsl.teksavvy.com (HELO pastel.home) ([75.119.238.195]) by ironport2-out.teksavvy.com with ESMTP; 13 Apr 2009 08:24:43 -0400 Received: by pastel.home (Postfix, from userid 20848) id 7E7CE7FE7; Mon, 13 Apr 2009 08:24:43 -0400 (EDT) From: Stefan Monnier To: Michael Albinus Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> <87r5zxprx9.fsf@gmx.de> <87prfgzys9.fsf@gmx.de> Date: Mon, 13 Apr 2009 08:24:43 -0400 In-Reply-To: <87prfgzys9.fsf@gmx.de> (Michael Albinus's message of "Mon, 13 Apr 2009 11:30:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> AFAIK the main benefit of the cache is to bundle up all the redundant >> `file-attibutes' calls that take place during something like >> `find-file-noselect'. Such optimizations won't be affected by the >> cache-flush. So I expect that the cache-flush I suggest won't cause >> a performance problem. > Not only `file-attributes'; it is useful for other often-called > primitives like `file-exists-p' as well. Yes, of course. I'd expect `file-exists-p' to return data from the cache after a call to `file-attributes', tho. Have you actually tried such flushing? > Do you agree? And if yes, what shall be the values of such an option? > Simple "yes/no", or more granular, like the ttl proposal I have done? As explained, I'd just start with the simplest possible solution because I expect it will be sufficient. Stefan From Michael.Albinus@alcatel-lucent.de Tue Apr 14 08:19:41 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 14 Apr 2009 15:19:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay2.alcatel.de (mailrelay2.alcatel.de [194.113.59.96]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3EFJclw030862 for <1741@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 08:19:40 -0700 Received: from slbhn1.alcatel.de ([149.204.90.35]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n3EFJUNB002138; Tue, 14 Apr 2009 17:19:31 +0200 From: Michael Albinus To: Stefan Monnier Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> <87r5zxprx9.fsf@gmx.de> <87prfgzys9.fsf@gmx.de> Date: Tue, 14 Apr 2009 17:19:30 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 13 Apr 2009 08:24:43 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 Stefan Monnier writes: > As explained, I'd just start with the simplest possible solution because > I expect it will be sufficient. Committed. Let's see, whether people complain. > Stefan Best regards, Michael. From monnier@iro.umontreal.ca Tue Apr 14 10:06:15 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 14 Apr 2009 17:06:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=HAS_BUG_NUMBER,XIRONPORT autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3EH68Na030691 for <1741@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 10:06:09 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnwGANFf5ElLd+7D/2dsb2JhbACBUs8Pg3wGhRc X-IronPort-AV: E=Sophos;i="4.40,186,1238990400"; d="scan'208";a="37051503" Received: from 75-119-238-195.dsl.teksavvy.com (HELO pastel.home) ([75.119.238.195]) by ironport2-out.teksavvy.com with ESMTP; 14 Apr 2009 13:06:02 -0400 Received: by pastel.home (Postfix, from userid 20848) id 9D7687EF6; Tue, 14 Apr 2009 13:06:02 -0400 (EDT) From: Stefan Monnier To: Michael Albinus Cc: Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp Message-ID: References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> <87r5zxprx9.fsf@gmx.de> <87prfgzys9.fsf@gmx.de> Date: Tue, 14 Apr 2009 13:06:02 -0400 In-Reply-To: (Michael Albinus's message of "Tue, 14 Apr 2009 17:19:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> As explained, I'd just start with the simplest possible solution because >> I expect it will be sufficient. > Committed. Let's see, whether people complain. BTW, to improve the behavior in case of things like "git status", it might be worthwhile to add some way to indicate that a particular use of process-file is (supposed to be) free of side-effects. Stefan From dann@godzilla.ics.uci.edu Tue Apr 14 17:11:44 2009 Received: (at 1741-done) by emacsbugs.donarmstrong.com; 15 Apr 2009 00:11:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3F0Bfm3010854 for <1741-done@emacsbugs.donarmstrong.com>; Tue, 14 Apr 2009 17:11:42 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n3F0BTHl017133; Tue, 14 Apr 2009 17:11:29 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n3F0BT8Q005193; Tue, 14 Apr 2009 17:11:29 -0700 (PDT) Date: Tue, 14 Apr 2009 17:11:29 -0700 (PDT) Message-Id: <200904150011.n3F0BT8Q005193@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Michael Albinus Cc: 1741-done@debbugs.gnu.org, Stefan Monnier Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> <87r5zxprx9.fsf@gmx.de> <87prfgzys9.fsf@gmx.de> X-Debbugs-No-Ack: yes In-Reply-To: (Michael Albinus's message of "Tue, 14 Apr 2009 17:19:30 +0200") Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n3F0BTHl017133 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Michael Albinus writes: > Stefan Monnier writes: > > > As explained, I'd just start with the simplest possible solution because > > I expect it will be sufficient. > > Committed. Let's see, whether people complain. Thanks. Closing this bug. From michael.albinus@gmx.de Wed Apr 15 13:55:46 2009 Received: (at 1741) by emacsbugs.donarmstrong.com; 15 Apr 2009 20:55:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id n3FKtc5K001537 for <1741@emacsbugs.donarmstrong.com>; Wed, 15 Apr 2009 13:55:39 -0700 Received: (qmail invoked by alias); 15 Apr 2009 20:55:32 -0000 Received: from brln-4db960db.pool.einsundeins.de (EHLO arthur.local) [77.185.96.219] by mail.gmx.net (mp049) with SMTP; 15 Apr 2009 22:55:32 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+24fYxcz+2CX8PwuL911CO0k+32kmrGMb3KuYx33 GnUQCIy9Vk6Qm7 From: Michael Albinus To: Stefan Monnier Cc: Michael Albinus , Dan Nicolaescu , 1741@debbugs.gnu.org Subject: Re: bug#1741: 23.0.60; vc fail to register file while logged as /su:: with tramp References: <87vdt2ndkt.fsf@tux.homenetwork> <200904071657.n37GvIau023055@godzilla.ics.uci.edu> <87d4bnfkxn.fsf@tux.homenetwork> <200904081624.n38GO6D6013154@godzilla.ics.uci.edu> <87myalrb5w.fsf@gmx.de> <87r5zxprx9.fsf@gmx.de> <87prfgzys9.fsf@gmx.de> Date: Wed, 15 Apr 2009 22:55:29 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 14 Apr 2009 13:06:02 -0400") Message-ID: <87k55l1vsu.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Stefan Monnier writes: > BTW, to improve the behavior in case of things like "git status", it > might be worthwhile to add some way to indicate that a particular use of > process-file is (supposed to be) free of side-effects. Hmm, this must be an option. The parameter list of process-file is fixed. Something like (let ((no-side-effect t)) (process-file ...)) As usual, I have no idea for a good name of `no-side-effect'. It shall be not Tramp-specific. > Stefan Best regards, Michael. From unknown Tue Aug 19 14:23:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 May 2009 14:24:07 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator