unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24936: 26.0.50; tramp-mode (on FTP): tramp-file-name-for-operation: unknown file I/O primitive: file-name-case-insensitive-p
@ 2016-11-13 14:05 José L. Doménech
  2016-11-13 14:43 ` Ken Brown
  0 siblings, 1 reply; 5+ messages in thread
From: José L. Doménech @ 2016-11-13 14:05 UTC (permalink / raw)
  To: 24936

To reproduce it:

1. Start Emacs:
emacs -Q

2. Open a dired view of a FTP remote directory:
C-x C-f
> /ftp:anonymous@ftp.gnu.org:/

3. Over a directory (/tmp seems a goog one) press:
C

4. Select a local directory as destination.

The message "tramp-file-name-for-operation: unknown file I/O primitive:
file-name-case-insensitive-p" appears.

I think this is due to a change in the last two days on master.

In GNU Emacs 26.0.50.36 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2016-11-13 built on jose-ThinkPad-Edge-E330
Repository revision: 2809012c8f9485d8dc54b186f989f289b2797892
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description:	Linux Mint 18 Sarah

Recent messages:
Listing /ftp:anonymous@213.141.130.11:/storage/Music/NIRVANA/...done
Dired-Hide-Details mode enabled in current buffer
Making completion list... [2 times]
C-c C-g is undefined
tramp-file-name-for-operation: unknown file I/O primitive: file-name-case-insensitive-p
command-execute: Command attempted to use minibuffer while in minibuffer
Doing CD...done
> ftp:anonymous@213.141.130.11:/storage/Music/NIRVANA/1993.09.21 - In Utero/...
> anonymous@213.141.130.11:/storage/Music/NIRVANA/1993.09.21 - In Utero/...done
Making completion list...

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LANG: es_ES.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Dired by name

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message subr-x puny seq rfc822 mml
mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils dired-aux dired dired-loaddefs tramp-cache ange-ftp tramp-ftp
tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete
comint ansi-color ring format-spec advice auth-source cl-seq eieio
byte-opt bytecomp byte-compile cl-extra help-mode easymenu cconv
eieio-core cl-macs gv eieio-loaddefs cl-loaddefs pcase cl-lib
password-cache time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 228334 19669)
 (symbols 48 22213 0)
 (miscs 40 77 251)
 (strings 32 24704 5180)
 (string-bytes 1 801838)
 (vectors 16 38021)
 (vector-slots 8 713845 9875)
 (floats 8 243 239)
 (intervals 56 574 0)
 (buffers 976 18)
 (heap 1024 40512 1417))





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

* bug#24936: 26.0.50; tramp-mode (on FTP): tramp-file-name-for-operation: unknown file I/O primitive: file-name-case-insensitive-p
  2016-11-13 14:05 bug#24936: 26.0.50; tramp-mode (on FTP): tramp-file-name-for-operation: unknown file I/O primitive: file-name-case-insensitive-p José L. Doménech
@ 2016-11-13 14:43 ` Ken Brown
  2016-11-13 14:58   ` Ken Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Ken Brown @ 2016-11-13 14:43 UTC (permalink / raw)
  To: José L. Doménech, 24936; +Cc: Michael Albinus

On 11/13/2016 9:05 AM, José L. Doménech wrote:
> The message "tramp-file-name-for-operation: unknown file I/O primitive:
> file-name-case-insensitive-p" appears.

This is due to commit 2809012 that I made last night.  Michael, did I 
push this too soon?  Should I have waited for you to write a handler for 
file-name-case-insensitive-p?

If so, I apologize.

Ken






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

* bug#24936: 26.0.50; tramp-mode (on FTP): tramp-file-name-for-operation: unknown file I/O primitive: file-name-case-insensitive-p
  2016-11-13 14:43 ` Ken Brown
@ 2016-11-13 14:58   ` Ken Brown
  2016-11-13 15:33     ` Michael Albinus
  0 siblings, 1 reply; 5+ messages in thread
From: Ken Brown @ 2016-11-13 14:58 UTC (permalink / raw)
  To: José L. Doménech, 24936; +Cc: Michael Albinus

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

On 11/13/2016 9:43 AM, Ken Brown wrote:
> On 11/13/2016 9:05 AM, José L. Doménech wrote:
>> The message "tramp-file-name-for-operation: unknown file I/O primitive:
>> file-name-case-insensitive-p" appears.
>
> This is due to commit 2809012 that I made last night.

I think I see the problem.  Does the attached patch fix it?

Ken



[-- Attachment #2: tramp.patch --]
[-- Type: text/plain, Size: 636 bytes --]

diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 00ecb37..c92c705 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1910,7 +1910,8 @@ tramp-file-name-for-operation
 	      file-accessible-directory-p file-attributes
 	      file-directory-p file-executable-p file-exists-p
 	      file-local-copy file-modes
-	      file-name-as-directory file-name-directory
+	      file-name-as-directory file-name-case-insensitive-p
+	      file-name-directory
 	      file-name-nondirectory file-name-sans-versions
 	      file-ownership-preserved-p file-readable-p
 	      file-regular-p file-remote-p file-symlink-p file-truename

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

* bug#24936: 26.0.50; tramp-mode (on FTP): tramp-file-name-for-operation: unknown file I/O primitive: file-name-case-insensitive-p
  2016-11-13 14:58   ` Ken Brown
@ 2016-11-13 15:33     ` Michael Albinus
  2016-11-13 16:39       ` Ken Brown
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2016-11-13 15:33 UTC (permalink / raw)
  To: Ken Brown; +Cc: 24936, José L. Doménech

Ken Brown <kbrown@cornell.edu> writes:

Hi ken,

>>> The message "tramp-file-name-for-operation: unknown file I/O primitive:
>>> file-name-case-insensitive-p" appears.
>>
>> This is due to commit 2809012 that I made last night.
>
> I think I see the problem.  Does the attached patch fix it?

It should make Tramp quiet, yes. So you might commit it.

I'm already planning to write a proper handler for
file-name-case-insensitive-p, soon. But first I need to finish my work
on connection-local variables.

> Ken

Best regards, Michael.





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

* bug#24936: 26.0.50; tramp-mode (on FTP): tramp-file-name-for-operation: unknown file I/O primitive: file-name-case-insensitive-p
  2016-11-13 15:33     ` Michael Albinus
@ 2016-11-13 16:39       ` Ken Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Ken Brown @ 2016-11-13 16:39 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 24936-done, José L. Doménech

On 11/13/2016 10:33 AM, Michael Albinus wrote:
> It should make Tramp quiet, yes. So you might commit it.

OK, I've pushed it and I am closing the bug.  José, please reopen if 
this doesn't fix the problem.

Ken






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

end of thread, other threads:[~2016-11-13 16:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-13 14:05 bug#24936: 26.0.50; tramp-mode (on FTP): tramp-file-name-for-operation: unknown file I/O primitive: file-name-case-insensitive-p José L. Doménech
2016-11-13 14:43 ` Ken Brown
2016-11-13 14:58   ` Ken Brown
2016-11-13 15:33     ` Michael Albinus
2016-11-13 16:39       ` Ken Brown

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