unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tramp error on `file-newer-than-file-p'
@ 2003-12-28 18:23 Sam Steingold
  2003-12-28 21:46 ` ange-ftp error on `file-attributes' (was: tramp error on `file-newer-than-file-p') Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Steingold @ 2003-12-28 18:23 UTC (permalink / raw)


GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195)
 of 2003-12-28 on WINSTEINGOLDLAP
--with-msvc (12.00)

Debugger entered--Lisp error: (wrong-number-of-arguments #[(file) "Æ\b!\x10Ç\b!‰\x19ƒ–\0È\b!‰\x18ɘƒ\x1a\0Ê‚^[\0\b)ËÌ\b!!\x1a^[Í\v
\"…’\0	@	A@Î	8Ï\v
\"Ï\b\f\"\x1d\x1e\x1d\x1e\x1e\x1e\x1f\x1e \r„T\0\x0e!‰\x15T\x16!Ð\b\r\f#ˆ\x0e\x1d;ƒk\0Ñ\x0e\x1d!ƒk\0Ò\x0e\x1dÌ\b!\"‚m\0\x0e\x1dÓ‰‰ÔÕ\b!ÖÓ\x0e\x1d;ƒ€\0ׂŠ\0\x0e\x1dƒ‰\0Ø‚Š\0ÙÚPÛ\rÓ¯\f-*‚™\0Ü\b!)‡" [file parsed files part ange-ftp-inodes-hashtable inode expand-file-name ange-ftp-ftp-name file-name-nondirectory "" "." ange-ftp-get-files file-name-directory ange-ftp-hash-entry-exists-p 2 gethash puthash file-name-absolute-p ange-ftp-expand-symlink -1 (0 0) ange-ftp-file-modtime (0 0) "l" "d" "-" "?????????" nil ange-ftp-real-file-attributes dirp name user host ange-ftp-next-inode-number] 13] 2)
  ange-ftp-file-attributes("/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil)
  apply(ange-ftp-file-attributes ("/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil))
  ange-ftp-hook-function(file-attributes "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil)
  apply(ange-ftp-hook-function file-attributes ("/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil))
  tramp-ftp-file-name-handler(file-attributes "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil)
  apply(tramp-ftp-file-name-handler file-attributes ("/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil))
  tramp-file-name-handler(file-attributes "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil)
  file-attributes("/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc")
  ange-ftp-file-newer-than-file-p("d:/sds/.newsrc" "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc")
  apply(ange-ftp-file-newer-than-file-p ("d:/sds/.newsrc" "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc"))
  ange-ftp-hook-function(file-newer-than-file-p "d:/sds/.newsrc" "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc")
  apply(ange-ftp-hook-function file-newer-than-file-p ("d:/sds/.newsrc" "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc"))
  tramp-ftp-file-name-handler(file-newer-than-file-p "d:/sds/.newsrc" "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc")
  apply(tramp-ftp-file-name-handler file-newer-than-file-p ("d:/sds/.newsrc" "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc"))
  tramp-file-name-handler(file-newer-than-file-p "d:/sds/.newsrc" "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc")
  file-newer-than-file-p("~/.newsrc" "/sds@ftp.podval.org:~/.newsrc")

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
There are 3 kinds of people: those who can count and those who cannot.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* ange-ftp error on `file-attributes' (was: tramp error on `file-newer-than-file-p')
  2003-12-28 18:23 tramp error on `file-newer-than-file-p' Sam Steingold
@ 2003-12-28 21:46 ` Michael Albinus
  2004-01-04 23:04   ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2003-12-28 21:46 UTC (permalink / raw)
  Cc: emacs-devel

Sam Steingold <sds@gnu.org> writes:

I guess it's not a Tramp error. Interesting lines from your backtrace:

> GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195)
>  of 2003-12-28 on WINSTEINGOLDLAP
> --with-msvc (12.00)
>
> Debugger entered--Lisp error: (wrong-number-of-arguments #[(file) ...

[...]

>   ange-ftp-file-attributes("/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil)

[...]

>   tramp-file-name-handler(file-attributes "/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc" nil)
>   file-attributes("/sds@ftp.podval.org:/mnt/data/home/sds/.newsrc")

- `file-attributes' is called with one parameter.

- The corresponding Tramp file name handler is called with 2
  parameters. See `file-attributes' implementation in dired.c

- Tramp calls `ange-ftp-file-attributes' with the same 2
  parameters. Unfortunately, `ange-ftp-file-attributes' has not
  implemented yet the second (optional) parameter.

Best regards, Michael.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ange-ftp error on `file-attributes' (was: tramp error on `file-newer-than-file-p')
  2003-12-28 21:46 ` ange-ftp error on `file-attributes' (was: tramp error on `file-newer-than-file-p') Michael Albinus
@ 2004-01-04 23:04   ` Stefan Monnier
  2004-01-05 17:56     ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2004-01-04 23:04 UTC (permalink / raw)
  Cc: sds, emacs-devel

> - The corresponding Tramp file name handler is called with 2
>   parameters. See `file-attributes' implementation in dired.c

For backward compatibility with old file handlers, I think that dired.c
should be careful to call the `file-attributes' handler with two args only
in the case where the second arg is non-nil.


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ange-ftp error on `file-attributes' (was: tramp error on `file-newer-than-file-p')
  2004-01-04 23:04   ` Stefan Monnier
@ 2004-01-05 17:56     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2004-01-05 17:56 UTC (permalink / raw)
  Cc: Michael.Albinus, sds, emacs-devel

    For backward compatibility with old file handlers, I think that dired.c
    should be careful to call the `file-attributes' handler with two args only
    in the case where the second arg is non-nil.

Good point.  I will fix that.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-05 17:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-28 18:23 tramp error on `file-newer-than-file-p' Sam Steingold
2003-12-28 21:46 ` ange-ftp error on `file-attributes' (was: tramp error on `file-newer-than-file-p') Michael Albinus
2004-01-04 23:04   ` Stefan Monnier
2004-01-05 17:56     ` Richard Stallman

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).