Re: emacs compatibility

2000-05-31 Thread Pete Forman

Kai Großjohann writes:
  Joe Stoy [EMAIL PROTECTED] writes:
  
   (1) base64.el[c] is not known to emacs;
   (2) nor is eval-when-feature.
  
  I have changed from eval-when-feature to eval-after-load.  And
  base64 support is native in Emacs 20.4 or 20.5 or something, if I'm
  not mistaken.  (By `native', I meant coded in C.)
  
  base64.el comes with Gnus.  Hm.  Maybe I should extract base64.el
  from Gnus 5.8, like I did with format-spec.el.  Yes, I'll do that.

It also comes with W3.  It looks like the original was in VM, with
vm-mime- prefixes.

XEmacs 21.2 also has native base64 support.  Any load or require of
base64 should be wrapped in a test.  The functions may be builtin or
already loaded from Gnus or W3.
-- 
Pete Forman  | Disclaimer: This posting is originated by
Western Geophysical  | myself and does not represent the opinion
[EMAIL PROTECTED]  | of Baker Hughes or its divisions.




Re: emacs compatibility

2000-05-31 Thread Daniel Pittman

On Wed, 31 May 2000, Pete Forman [EMAIL PROTECTED]
wrote:

 Kai Großjohann writes:
   Joe Stoy [EMAIL PROTECTED] writes:
   
(1) base64.el[c] is not known to emacs;
(2) nor is eval-when-feature.
   
   I have changed from eval-when-feature to eval-after-load.  And
   base64 support is native in Emacs 20.4 or 20.5 or something, if I'm
   not mistaken.  (By `native', I meant coded in C.)
   
   base64.el comes with Gnus.  Hm.  Maybe I should extract base64.el
   from Gnus 5.8, like I did with format-spec.el.  Yes, I'll do that.
 
 It also comes with W3.  It looks like the original was in VM, with
 vm-mime- prefixes.
 
 XEmacs 21.2 also has native base64 support.  Any load or require of
 base64 should be wrapped in a test.  The functions may be builtin or
 already loaded from Gnus or W3.

FWIW, XEmacs 21.2 and Emacs 20.6 have the builtin function - and they
have '(featurep 'base64) = t'. No issues with a require there. :)

It will also fail to load the base64 library if it is already loaded. I
think it's only an issue if you can find a broken base64 function that
does not '(provide 'base64)' or something.

Daniel

-- 
Change is disruptive -- that's the point!
-- Karen Bredfeldt




Re: emacs compatibility

2000-05-31 Thread Kai Großjohann

Pete Forman [EMAIL PROTECTED] writes:

 XEmacs 21.2 also has native base64 support.  Any load or require of
 base64 should be wrapped in a test.  The functions may be builtin or
 already loaded from Gnus or W3.

It should be safe to (require 'base64).  Either the feature is already
there, then it does nothing, or the feature isn't there, then the
version from Gnus or the version provided with RAMP is used.

kai
-- 
I like BOTH kinds of music.




Re: Emacs 19

2000-05-31 Thread Yuji Yamano

 "Daniel Pittman" [EMAIL PROTECTED] writes:
 
  What are the missing/non-working functions? If you could send the list
  of issues, etc, to the list, that would possibly help in getting the
  support rolled into the distribution.

The missing function is `save-current-buffer'.

I stolen `with-temp-buffer' and `with-current-buffer' from Emacs 20.4,
but I can't do `save-current-buffer' because it's a built-in function.

My old Emacs is GNU Emacs 19.34.1/Mule Version 2.3 (SUETSUMUHANA).


P.S.

For your information, with very old Emacs (Emacs 19.28.1/Mule Version 2.3), 
I've got error message `Cannot open load file: custom'. I think I can fix it 
by installation custom package.

-- 
Yuji Yamano




check in by grossjoh: 'tramp/lisp tramp-vc.el,1.4'

2000-05-31 Thread Kai Grossjohann

Update of /services/emacs-rcp/cvsroot/tramp/lisp
In directory lucy:/export/home/grossjoh/work/emacs-tramp/tramp/lisp

Modified Files:
tramp-vc.el 
Log Message:
Name change.




check in by grossjoh: 'tramp Makefile,1.11'

2000-05-31 Thread Kai Grossjohann

Update of /services/emacs-rcp/cvsroot/tramp
In directory lucy:/export/home/grossjoh/work/emacs-tramp/tramp

Modified Files:
Makefile 
Log Message:
Name change.




check in by grossjoh: 'tramp/texi tramp.texi,1.25'

2000-05-31 Thread Kai Grossjohann

Update of /services/emacs-rcp/cvsroot/tramp/texi
In directory lucy:/export/home/grossjoh/work/emacs-tramp/tramp/texi

Modified Files:
tramp.texi 
Log Message:
Name change.




check in by grossjoh: 'tramp/lisp Makefile,1.7'

2000-05-31 Thread Kai Grossjohann

Update of /services/emacs-rcp/cvsroot/tramp/lisp
In directory lucy:/export/home/grossjoh/work/emacs-tramp/tramp/lisp

Modified Files:
Makefile 
Log Message:
Name change.




check in by grossjoh: 'tramp/texi Makefile,1.11'

2000-05-31 Thread Kai Grossjohann

Update of /services/emacs-rcp/cvsroot/tramp/texi
In directory lucy:/export/home/grossjoh/work/emacs-tramp/tramp/texi

Modified Files:
Makefile 
Log Message:
Leftovers from name change.




Re: Unidentified subject!

2000-05-31 Thread Daniel Pittman

On Wed, 31 May 2000, Joe Stoy [EMAIL PROTECTED] wrote:

 Apologies for what may be another half-baked late-evening report. But
 I'm having repeatable trouble with filename completion in a long
 directory. 

Hrm. I couldn't get this to break on my Linux machine with around 6K
files. Darn. Can you step through the code with the debugger and see
where it is losing?

Daniel

-- 
It is disconcerting to reflect on the number of students we have flunked in
chemistry for not knowing what we later found to be untrue.
-- quoted by Robert L. Weber's, _Science With a Smile_ (1992)




Re: help with rcp problem?

2000-05-31 Thread Tom Roche

On Wed, 31 May 2000, Tom Roche [EMAIL PROTECTED] wrote:
 FWIW: to improve/ease support, perhaps it would be wise to implement
 something like ramp-submit-problem-report, and then upgrade the

"Daniel Pittman" [EMAIL PROTECTED] 5/31/00 9:35:25 PM 
 M-x rcp-bug is your friend. Your documented friend, at that.

doh! That hollow sound you hear is the resonant frequency of my
skull after self-applied dope slap.

[EMAIL PROTECTED] 




tramp ($Id: tramp.el,v 1.368 2000/05/31 22:24:21 grossjoh Exp $); tramp-check-ls-command error

2000-05-31 Thread Hal Snyder

OpenBSD is OS locally and on remote host.

tramp-check-ls-command seems to be looking at wrong place in the scp
buffer on its first use. All I have to do is "C-x C-f /r:megalon:foo"
and I get the error shown in the backtrace below. I can make the
bug go away by inserting
  (forward-line 1)
just after (goto-char (point-min)), but then run into other problems
immediately (file name is garbled)

Location of point in scp buffer at time of error is shown by "@".

--*tramp/scp hal@megalon*--
/bin/ls@-lnd / /dev/null 21 ; echo $?
0

--*backtrace*--
Signaling: (wrong-type-argument number-char-or-marker-p /bin/ls)
  tramp-check-ls-command(nil "scp" "hal" "megalon" "/bin/ls")
  tramp-check-ls-commands(nil "scp" "hal" "megalon" "ls" ("/bin" "/usr/bin" 
"/usr/sbin" "/usr/local/bin" "/usr/ccs/bin" "/local/bin" "/local/freeware/bin" 
"/local/gnu/bin"))
  tramp-find-ls-command(nil "scp" "hal" "megalon")
  tramp-post-connection(nil "scp" "hal" "megalon")
  tramp-open-connection-rsh(nil "scp" "hal" "megalon")
  tramp-maybe-open-connection(nil "scp" "hal" "megalon")
  tramp-send-command(nil "scp" "hal" "megalon" "cd ~; pwd")
  tramp-handle-expand-file-name("/r:megalon:foo" nil)
  apply(tramp-handle-expand-file-name ("/r:megalon:foo" nil))
  tramp-file-name-handler(expand-file-name "/r:megalon:foo" nil)
  expand-file-name("/r:megalon:foo")
  find-file-noselect("/r:megalon:foo")
  ad-Orig-find-file("/r:megalon:foo" nil)
  (setq ad-return-value (ad-Orig-find-file filename codesys))
)
  (let (ad-return-value) (setq ad-return-value (ad-Orig-find-file filename codesys)) 
ad-return-value)
)
  (lambda (filename optional codesys) "$ad-doc: find-file$" (interactive (cons ... 
...)) (let (ad-return-value) (setq ad-return-value ...) 
ad-return-value))("/r:megalon:foo")
  call-interactively(find-file)
---

Emacs  : XEmacs 21.1 (patch 9) "Canyonlands" [Lucid] (i386-unknown-openbsd2.6) of Fri 
Apr 28 2000 on ghidra.vail
Package: tramp ($Id: tramp.el,v 1.368 2000/05/31 22:24:21 grossjoh Exp $)

current state:
==
(setq
 tramp-ls-command nil
 tramp-current-method nil
 tramp-current-user nil
 tramp-current-host nil
 tramp-auto-save-directory nil
 tramp-default-method "scp"
 tramp-rsh-end-of-line "\n"
 tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin"
 "/usr/ccs/bin" "/local/bin" "/local/freeware/bin"
 "/local/gnu/bin")
 tramp-login-prompt-regexp ".*ogin: *$"
 tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\):
 tramp-wrong-passwd-regexp "^.*\\(Permission denied.\\|Login [Ii]ncorrect\\|Received 
signal [0-9]+\\|Connection \\(refused\\|closed\\)\\|Sorry, try again.\\).*$"
 tramp-temp-name-prefix "tramp."
 tramp-file-name-structure 
'("\\`/r\\(@\\([a-z0-9]+\\)\\)?:\\(\\([a-z0-9_#]+\\)@\\)?\\([a-z0-9.-]+\\):\\(.*\\)\\'"
 2 4 5 6)
 tramp-file-name-regexp "\\`/r[@:]"
 tramp-make-tramp-file-format "/r@%m:%u@%h:%p"
 tramp-end-of-output "/"
 shell-prompt-pattern "^[^#$%\n]*[#$%] *"
 )




Re: help with rcp problem?

2000-05-31 Thread Kai Großjohann

"Tom Roche" [EMAIL PROTECTED] writes:

 FWIW: to improve/ease support, perhaps it would be wise to implement
 something like ramp-submit-problem-report, and then upgrade the docs.

What do you think about M-x tramp-bug RET?

kai
-- 
I like BOTH kinds of music.




Re: help with tramp problem?

2000-05-31 Thread Tom Roche


"Tom Roche" [EMAIL PROTECTED] writes:
 FWIW: to improve/ease support, perhaps it would be wise to
 implement something like ramp-submit-problem-report

Kai Großjohann [EMAIL PROTECTED] 5/31/00 6:30:39 PM 
 What do you think about M-x tramp-bug RET?

Sure. Maybe tramp-bug-report: the function should not return a bug :-)

[EMAIL PROTECTED] 





Re: Emacs 19

2000-05-31 Thread Kai Großjohann

Yuji Yamano [EMAIL PROTECTED] writes:

  "Daniel Pittman" [EMAIL PROTECTED] writes:
  
   What are the missing/non-working functions? If you could send the list
   of issues, etc, to the list, that would possibly help in getting the
   support rolled into the distribution.
 
 The missing function is `save-current-buffer'.

Hm.  I just grepped all the *.el files and couldn't find
save-current-buffer.  I could find save-excursion,
save-window-excursion, and save-match-data, though.

A typo?

Hm.  I'm ready to accept patches for old Emacsen, but I don't think I
can bring up the energy to try it old those, myself.  So, don't
hesitate to send patches (or to just check in to CVS).

kai
-- 
I like BOTH kinds of music.




Re: help with rcp problem?

2000-05-31 Thread Kai Großjohann

Can you please (setq rcp-debug-buffer t), then try again and send the
contents of the *debug rcp/foo* buffer?
kai
-- 
I like BOTH kinds of music.




Re: help with rcp problem?

2000-05-31 Thread Daniel Pittman

On Wed, 31 May 2000, Tom Roche [EMAIL PROTECTED] wrote:

 Kai Großjohann [EMAIL PROTECTED] 5/31/00 3:26:03 PM
 
 Can you please (setq rcp-debug-buffer t), then try again and send
 the contents of the *debug rcp/foo* buffer?
 
 FWIW: to improve/ease support, perhaps it would be wise to implement
 something like ramp-submit-problem-report, and then upgrade the docs.

M-x rcp-bug is your friend. Your documented friend, at that.

OTOH, it just sets up the mail. What we often need is the output of the
debug run added to the mail.

Hrm. I might try extending the documentation to cover that as well.

Daniel

-- 
Cease to be a drudge; seek to be an artist. 
-- Mary McLeod Bethune




NAME CHANGE!

2000-05-31 Thread Kai Großjohann

rcp is now called tramp.

CVS users remove your working directory and check out a new one; the
new directory is named `tramp' rather than `rcp'.

kai
-- 
I like BOTH kinds of music.