Problem with question mark in the filename

2010-07-29 Thread Hartmut Figge
Greetings,

i know that this is not the right place to open a bug, but i do miss a
guide 'how to submit bugs for mc' on
http://www.midnight-commander.org/wiki. ;)

Often i download patches for SeaMonkey and get files with a question
mark. One example is
https://bug579736.bugzilla.mozilla.org/attachment.cgi?id=458928. Using
wget to fetch this patch gives a file with the name
attachment.cgi?id=458928.

My build script for SM will automatically apply this patch. If i wish to
disable a patch for the next build a convenient way is to rename the
file by prefixing the filename with an x.

mc should be able to do this. But. *g*

Here is a testcase.

Create a new temp dir and change to it. Then issue
touch a1?b2
mc
Navigate to a1?b2 and press F6
a ESC TAB Home x gives xa1?b2 as intended
The filename changes to xa1a1?b2b2 after confirmation.

This result isn't really that one which was wanted. I am using

h...@e675 ~ $ mc --version
GNU Midnight Commander 4.7.3
[...]

Hartmut

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem with question mark in the filename

2010-07-29 Thread Yury V. Zaytsev
On Thu, 2010-07-29 at 14:19 +0200, Hartmut Figge wrote:
 a ESC TAB Home x gives xa1?b2 as intended
 The filename changes to xa1a1?b2b2 after confirmation.

I can't reproduce this, because after Esc Tab I don't get the filename
filled in on 4.7.0.7, but when I manually type in xa1?b2 the file just
doesn't get renamed...

Smells like a bug.
 
-- 
Sincerely yours,
Yury V. Zaytsev

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem with question mark in the filename

2010-07-29 Thread Slava Zanko

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

29.07.2010 15:19, Hartmut Figge wrote:

 i know that this is not the right place to open a bug,

Why not? :)

 but i do miss a guide 'how to submit bugs for mc' on
 http://www.midnight-commander.org/wiki. ;)

You've needed register before post a bugreport... then you'll see link
named 'New ticket'.

 Create a new temp dir and change to it. Then issue touch a1?b2 mc
 Navigate to a1?b2 and press F6 a ESC TAB Home x gives xa1?b2 as
 intended The filename changes to xa1a1?b2b2 after confirmation.
 This result isn't really that one which was wanted. I am using

This bug already fixed as part of
http://midnight-commander.org/ticket/2123
Now you'll see 'a1\?b2' in copy/move dialog and after pressing enter
this name will be 'unescaped' as well (I hope ;) ).

 h...@e675 ~ $ mc --version GNU Midnight Commander 4.7.3

Bugfix already in 'master' branch (in our git-repo) and this bugfix
awaiting for next release.
Thanks for bugreport.

- -- 
WBR, Slavaz.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAkxRfXUACgkQb3oGR6aVLprGxgCeJ/IFKwulcFRc30Bop9C3MmEq
wykAn1nBwwpaEia4e1GGbIikfZuHP1wZ
=NHc6
-END PGP SIGNATURE-

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem with question mark in the filename

2010-07-29 Thread Hartmut Figge
Slava Zanko:

Bugfix already in 'master' branch (in our git-repo) and this bugfix
awaiting for next release.

:)

Hartmut

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem with question mark in the filename

2010-07-29 Thread Hartmut Figge
Yury V. Zaytsev:
On Thu, 2010-07-29 at 14:19 +0200, Hartmut Figge wrote:

 a ESC TAB Home x gives xa1?b2 as intended
 The filename changes to xa1a1?b2b2 after confirmation.

I can't reproduce this, because after Esc Tab I don't get the filename
filled in on 4.7.0.7, [...]

Perhaps i was not clear enough. Before pressing ESC you have to press
the key a which is the beginning of the filename.

Hartmut

___
mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel