Ticket #1841 (closed enhancement: fixed)
Document ctrl-t and alt-e codepage selection in editor/viewer
Reported by: | osgx | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.7.0 |
Component: | documentation | Version: | 4.7.0-pre4 |
Keywords: | codepage encoding source_codepage for_FAQ | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
Hello
I can't select file codepage in viewer/editor with Ctrl-T.
There is not dialog window.
4.7.0-pre4
I can set source codepage only via ~/.mc/ini
Change History
comment:2 Changed 15 years ago by slavazanko
- Status changed from new to closed
- Keywords codepage encoding for_FAQ added; codepage, encoding, removed
- Resolution set to invalid
- Milestone 4.7 deleted
Now used new hotkey: alt-e
See #1390 for details.
Feel free to change your /etc/mc/mc.keymap file like:
--- mc.keymap.orig<---->2009-11-23 14:21:22.000000000 +0200 +++ mc.keymap<->2009-11-24 12:56:11.000000000 +0200 @@ -155,7 +155,7 @@ EditLoadPrevFile = alt-minus EditLoadNextFile = alt-plus . -SelectCodepage = alt-e +SelectCodepage = ctrl-t . [viewer] ViewHelp = f1 @@ -181,7 +181,7 @@ ViewNewBookmark = r ViewNextFile = ctrl-f ViewPrevFile = ctrl-b -SelectCodepage = alt-e +SelectCodepage = ctrl-t ShowCommandLine = ctrl-o ViewToggleRuler = alt-r . @@ -255,7 +255,7 @@ . [panel] PanelStartSearch = ctrl-s; alt-s -PanelMarkFile = insert; ctrl-t +PanelMarkFile = insert; alt-e PanelMoveDown = down; ctrl-n PanelMoveUp = up; ctrl-p PanelMoveLeft = left @@ -282,7 +282,7 @@ PanelGotoMiddleFile = alt-r PanelSyncOtherPanel = alt-i PanelGotoTopFile = alt-g -PanelSetPanelEncoding = alt-e +PanelSetPanelEncoding = ctrl-t PanelMoveHome = alt-lt; home PanelMoveEnd = alt-gt; end PanelSelectSortOrder=
comment:3 Changed 15 years ago by osgx
- Status changed from closed to reopened
- Resolution invalid deleted
- Type changed from defect to enhancement
Please, document this change.
May be in "Changes" or "Whats new" ?
comment:4 Changed 15 years ago by osgx
And add this keystroke to builtin help (F1 in viewer). There is no "Alt-e" in this help for ru: and en: translations.
comment:5 Changed 15 years ago by osgx
mc.hlp has "C-t" "to change charset of panel you may use C-t"
And this section must be fixed and duplicated for Viewer and Editor help.
comment:6 Changed 15 years ago by osgx
- Priority changed from major to minor
- Component changed from mc-core to documentation
- Milestone set to 4.7
comment:7 Changed 15 years ago by andrew_b
- Priority changed from minor to major
- Milestone changed from 4.7 to 4.7.0
comment:8 Changed 15 years ago by slavazanko
- Status changed from reopened to closed
- Resolution set to fixed
Yes, you right, thanks for reminder.
Direct changeset in master:
- 1b5768e2ad748968b3403390b7e1c54e3bb8b02d - Update NEWS file
- 8eaf9b549c78463da57b2493af0cd5a4c0ed9ff6 - Update man-pages.
comment:9 Changed 15 years ago by osgx
- Status changed from closed to reopened
- Resolution fixed deleted
- Summary changed from ctrl-t does not work in editor/viewer to Document ctrl-t and alt-e codepage selection in editor/viewer
Thanks.
What about builtin help (F1 in viewer)? Add section about codepage conversion to the viewer's and editor's help sections.
Current paragraph from the man describes usage of Alt-E in panels, not in viewer/editor:
478 .TP
479 .B M\-e
480 to change charset of panel you may use M\-e (Alt\-e).
481 Recoding is made from selected codepage into system codepage. To
482 cancel the recoding you may select "directory up" (..) in active panel.
483 To cancel the charsets in all directories, select "No translation " in
484 the dialog of encodings.
Please, add some text to
2541 .SH "Internal File Viewer"
and
2652 .\"NODE "Internal File Editor"
comment:10 Changed 15 years ago by slavazanko
- Status changed from reopened to closed
- Resolution set to fixed
- 72a3b33f80dd62ea1114ea776f9a03368b4bb376: Added descriptions of M-e hotkey into help of editor and viewer.
If you have any other proposals: reopen this ticket with a patch, please.