Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nano editor started with incorrect options #3058

Closed
mc-butler opened this issue Aug 18, 2013 · 1 comment
Closed

nano editor started with incorrect options #3058

mc-butler opened this issue Aug 18, 2013 · 1 comment
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3058
Reporter schuay (jakob.gruber@….com)

This bug report is copied from https://bugs.archlinux.org/task/36131?project=5&dev=3843:

Description:
If you set [mc] external editor Nano. That [mc] runs it with the wrong parameters "%filename +%lineno". while the Nano requires reverse order "Usage: nano [OPTIONS] [[+ LINE, COLUMN] FILE] ...".

Additional info:
mc-4.8.9

it is treated with:
edit /usr/share/mc/mc.lib
instead of
...
nano=%filename +%lineno
...

should be
...
nano=+%lineno %filename
...

Steps to reproduce:
1) set external editor Nano
2) open any file to edit
3) will open the file in nano
4) after close nano, will be opened "temp" file with name "+1" or same

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Aug 18, 2013 at 10:42 UTC (comment 1)

  • Resolution set to duplicate
  • Milestone Future Releases deleted
  • Status changed from new to closed

Duplicate of #3044.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress
Development

No branches or pull requests

1 participant