Re: tramp ($Id: tramp.el,v 1.409 2000/08/29 16:30:45 grossjoh Exp $); Tramp doesn't allow `-' remote usernames (fix included)

2000-08-31 Thread Skip Montanaro
e characters in the range chr(35) to chr(0177). I think that second line should read (list "\\`/r\\(@\\([a-z0-9]+\\)\\)?:\\(\\([-a-z0-9_#]+\\)@\\)?\\([-a-z0-9.]+\\):\\(.*\\)\\'" -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/ http://www.musi-cal.com/

Re: Find out if file exists?

2000-08-29 Thread Skip Montanaro
Kai PS: Must remember the find command, which seems to be useful for many Kai interesting tricks. Yes, but highly non-portable, so you have to be very careful in what subsets of its command set you use... -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/ http://www.musi

Re: tramp ($Id: tramp.el,v 1.409 2000/08/29 16:30:45 grossjoh Exp $); Tramp doesn't allow `-' remote usernames (fix included)

2000-09-01 Thread Skip Montanaro
n alphabet string using either package. There are so many regular expression packages out there these days, I guess it always pays to read the documentation and try an experiment for potential marginal cases. Apologies for the time waster... -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/ http://www.musi-cal.com/

tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-04 Thread Skip Montanaro
cases: (tramp-tramp-file-p "/r:dolphin.mojam.com:delq.mc") (tramp-tramp-file-p "/r@scp:dolphin.mojam.com:delq.mc") which seemed pretty odd to me. Any clues about what the real solution should be? -- Skip Montanaro ([EMAIL PROTECTED]) Support the Mojam.com Affiliates Program: http://www.mojam.com/affl/ (847)971-7098

Re: tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-04 Thread Skip Montanaro
I'm still generally unable to use ediff with tramp file specs (I asked back Stefan Does `ediff-buffers' work ? Yes, but it's obviously not as transparent as using ediff-files. Skip

Re: tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-05 Thread Skip Montanaro
Edward It returns non-nil if it is a tramp file. It's not exactly Edward intuitive, but zero is non-nil, so `tramp-tramp-file-p' is Edward working as documented. Ah, thanks. That's my Python background (and years of no Lisp) showing through. -- Skip Montanaro ([EMAIL PROTECTED

Re: tramp equivalent of efs-ftp-path or file-remote-p?

2000-12-05 Thread Skip Montanaro
Kai Maybe it would be better to call find-file-name-handler ... I don't know. With Edward's reminder that 0 != nil, I was able to generate a version of ediff-file-remote-p that works for tramp: (defun ediff-file-remote-p (file-name) (car (cond ((featurep 'efs-auto) (efs-ftp-path

Why is Bash's HISTIGNORE not working with tramp's commands?

2001-01-08 Thread Skip Montanaro
it? Thx, -- Skip Montanaro ([EMAIL PROTECTED]) Support the Mojam.com Affiliates Program: http://www.mojam.com/affl/ (847)971-7098

Re: Why is Bash's HISTIGNORE not working with tramp's commands?

2001-01-09 Thread Skip Montanaro
und and see if I can figure something else out. -- Skip Montanaro ([EMAIL PROTECTED]) Support the Mojam.com Affiliates Program: http://www.mojam.com/affl/ (847)971-7098

Re: Why is Bash's HISTIGNORE not working with tramp's commands?

2001-01-09 Thread Skip Montanaro
Pete The Linux installations that I've seen do have bash 2.03 in Pete /bin/bash2. I would suggest modifying tramp-find-shell to look Pete for "bash2" between "ksh" and "bash". It's not clear that would help me. I have a number of RH-derived systems. Here's what I see: RH5.2:

Re: Why is Bash's HISTIGNORE not working with tramp's commands?

2001-01-09 Thread Skip Montanaro
). I also tried it against RH6.1 and Mandrake6.1 with no problems. This command has the nice side effect of not causing a fuss with other shells that might object to "set +o history". -- Skip Montanaro ([EMAIL PROTECTED]) Support the Mojam.com Affiliates Program: http://www.mojam.com

Re: Why is Bash's HISTIGNORE not working with tramp's commands?

2001-01-09 Thread Skip Montanaro
Kai Does it work to say "unset HISTFILE" to turn off bash1's history Kai saving mechanism? That would work as well. Skip

Re: Go from /r: to /tr: when on Windows?

2001-01-13 Thread Skip Montanaro
Kai Do you think I should replace "/r:" in the Tramp file names with Kai "/tr:" for Windows systems? Kai For all systems, maybe? What's the rationale? Just more mnemonic? -- Skip Montanaro ([EMAIL PROTECTED]) Support the Mojam.com Affiliates Program: http:

Re: Go from /r: to /tr: when on Windows?

2001-01-13 Thread Skip Montanaro
Kai People have reported problems with "/r:" -- Windows seemed to think Kai this was a drive letter. If /tr: works I'd suggest using it everywhere. Makes documentation more consistent if nothing else. Skip

Re: various problems with tramp-edited files

2001-01-14 Thread Skip Montanaro
-auto-save-directory. Sounds like just what the doctor ordered. -- Skip Montanaro ([EMAIL PROTECTED]) Support the Mojam.com Affiliates Program: http://www.mojam.com/affl/ (847)971-7098

odd search order looking for perl?

2001-01-17 Thread Skip Montanaro
I noticed this odd sequence of tests for perl in my tramp debug buffer: $ test -x /bin/perl5 ; echo tramp_exit_status $? tramp_exit_status 1 $ test -x /usr/bin/perl5 ; echo tramp_exit_status $? tramp_exit_status 1 $ test -x /usr/sbin/perl5 ; echo tramp_exit_status $?

rsync method frequently fails when reading remote file

2001-01-25 Thread Skip Montanaro
" in the apply call. Any suggestions about how to debug from this point? -- Skip Montanaro ([EMAIL PROTECTED]) Support Mojam Musi-Cal: http://www.musi-cal.com/sponsor.shtml (847)971-7098

Re: rsync method frequently fails when reading remote file

2001-02-17 Thread Skip Montanaro
in the rsync logic after looking through a couple calls. I'm not entirely sure what code is actually exiting with a status of 144, ssh (aka RSYNC_RSH)? -- Skip Montanaro ([EMAIL PROTECTED]) Support Mojam Musi-Cal: http://www.musi-cal.com/sponsor.shtml (847)971-7098

Re: Time for Tramp 2.0?

2001-02-25 Thread Skip Montanaro
is necessary for packages/programs in widespread use, but for smaller distributions such as tramp, it's probably more trouble than it's worth. -- Skip Montanaro ([EMAIL PROTECTED]) Support Mojam Musi-Cal: http://www.musi-cal.com/sponsor.shtml (847)971-7098

Re: Time for Tramp 2.0?

2001-02-27 Thread Skip Montanaro
Daniel Er, yes. Does Emacs even support DECNET systems these days? If some version of Emacs runs on OpenVMS I wouldn't be surprised to find that some DECNET support is available. Daniel Anyway, I don't understand DECNET. Is the '::' part of a Daniel distributed file path when used,

Re: compilation, version control, was: cleaner tramp-aware bindings

2001-03-18 Thread Skip Montanaro
Kai I just look at the indentation to see the structure. Seems like you'd like Python... ;-) S

Re: tramp ($Id: tramp.el,v 2.19 2001/05/02 22:15:29 grossjoh Exp $); preserve permission

2001-06-11 Thread Skip Montanaro
Spencer with files under CVS control (I visit many that are and many Spencer that aren't), but I will pay attention now. This happens to me as well. I've only noticed it for files under CVS control, but it doesn't happen all the time. -- Skip Montanaro ([EMAIL PROTECTED]) (847)971-7098

Tramp compilation error

2001-07-31 Thread Skip Montanaro
toplevel forms in file /home/skip/emacs/tramp/lisp/tramp.el: !! File error ((Cannot open load file timer)) Error occurred processing tramp.el: Cannot open load file: timer Any ideas where this came from? Interactively executing (require 'timer) worked for me just now. -- Skip Montanaro

Re: Tramp compilation error

2001-07-31 Thread Skip Montanaro
Error occurred processing tramp.el: Cannot open load file: timer A bit more input on this. Manually executing byte-compile-file on tramp.el from inside a running XEmacs worked fine. -- Skip Montanaro ([EMAIL PROTECTED]) http://www.mojam.com/ http://www.musi-cal.com/