On Aug 14 12:07, Peter Penz wrote:
> Hello,
> 
> thanks for the patch! I like the idea that the user can configure the 
> start-index for renaming but (at least I) was confused with the "(000)" 
> string and was not sure whether the parenthesis will get now part of the 
> name. Also I was not sure whether the numbering will start with 0 or 1 (I 
> only knew it after reading the code ;-)).
> 
> My suggestion would be:
> - leave the # as replacement (it seemed to work well judging from the 
> bug-reports)
> - Change the comment to "# will be replaced by ascending numbers starting 
> with" [XXX]
>   (where XXX is a KIntSpinBox-widget defaulted to 1)
> 
> What do you think about this?

Yes its a better idea indeed, removes ambiguity and leaves us with the
well-tested code. KIntSpinBox will solve our problem. And with this, the
user will be able to rename files with different extensions in a
sequence. Though right now, we don't preserve the extension while
renaming, and let the user write the extension for himself. I am
thinking that it will be really good if we can have the option of
preserving extensions and only change the first part of the files.

My idea of extracting numbers from string was to cater to alphabets
also. Something like, if the user writes FILE-(A), then he/she should
have FILE-A, FILE-B, FILE-C, and so on. I have done this also in a
separate code but have not tried it with dolphin as yet.  But yes, this
will become a little more complicated. As I was seeing it, we should be
able to do complex renaming also, like FILE-A01, FILE-A02, ... ,
FILE-C04, and so on. I don't know how we should go about achieving it,
if at all its required?


> BTW: The general mailing-list for Dolphin and Konqueror is kfm-de...@kde.org, 
> but I'd suggest to just continue the discussion here. As Raphael already 
> mentioned generally it would be better to post this patch to 
> https://git.reviewboard.kde.org instead (at least for future patches ;-)).

Okay I have subscribed to the kfm-devel list also. I am going through
the reviewboard tutorial here:
http://techbase.kde.org/Development/Review_Board, I think I am able to
understand this. I will create the request for the current patch so that
we have the patch in record, and make the required changes based on our
discussion above. But as I see on the git URL, it needs a login which I
don't have. Do I need that?


-- 
Regards
Chirag Anand


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to