Draft for new metasymbols:#533
Conversation
- `!<` - refers to the left panel - `!>` - refers to the right panel
|
For traceability: forum discussion (in Russian). |
|
Re changes: IMHO the suggested help text lacks (1) references to Note 4 in each of new symbols' description and (2) mentions of the new symbols in the Note 4 itself. |
|
I thought about it. Even my first edition to the help text had already (1) and I was going to add (2). But I decided to remove any cross-referencing between the main text and the note 4. The main reason is that In the other hand, And thank you for the link to the forum discussion. |
|
@ildar-shaimordanov Could you please clarify the intended behavior? Should new metasymbols apply to the file spec they are attached to, or to rest of the command line? Assuming the file |
|
To the file spec only. The main purpose of new symbols is to refer to the particular panel explicitly or even straightforwardly, with no any reflections on active or passive panel it is.
Let's consider that the active panel is changed and it's right panel now: You can see that New symbols |
|
@ildar-shaimordanov What you describe means the new symbol will affect only one following symbol. Is it really what the implementation you suggest gives? In this case, e.g. Ideally, please make the exact experiment suggested and paste the result. |
|
OK. Wrong question. Sorry. Let's try again. I added the following test script to the user menu: Left panel is active. Here is the output: What is expected output of this command: Or this: Or this: Other variations on this theme? Could you please test it on your implementation? It's not an idle question. I will happily write help article for this new feature, both English and Russian, but I need to understand the behavior precisely. |
|
I am going to answer both of you in this post. After reviewing the code I suggested to discuss and implement I found that it should act the same way as Few days ago I tried to compile FAR using the latest version of MinGW but I'd got the weird error that |
|
Closing in favor of 050e3b4. |
!<- refers to the left panel!>- refers to the right panelIn comparison with the existing
!#and!^metasymbols, the new ones allow to pass files from both panels in their fixed order: the name from the left panel first, then the name from the right panel.