diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:22:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:22:04 +0000 |
commit | 91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a (patch) | |
tree | 4633b3b9fc6b0a65333f51545214f29a3d0fd1b0 /debian/patches/mcedit_full_path.patch | |
parent | Adding upstream version 3:4.8.30. (diff) | |
download | mc-91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a.tar.xz mc-91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a.zip |
Adding debian version 3:4.8.30-1.debian/3%4.8.30-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/mcedit_full_path.patch')
-rw-r--r-- | debian/patches/mcedit_full_path.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/mcedit_full_path.patch b/debian/patches/mcedit_full_path.patch new file mode 100644 index 0000000..ab03e49 --- /dev/null +++ b/debian/patches/mcedit_full_path.patch @@ -0,0 +1,34 @@ +ast-Update: 2017-06-29 +Forwarded: not-needed +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764226 +Bug-Upstream: http://www.midnight-commander.org/ticket/3285 +Author: Dmitry Smirnov <onlyjob@member.fsf.org> +Updated-by: Denis Briand <debian@denis-briand.fr> +Description: 'mcedit' status line to show full path to file, like in 'mcview'. + +--- a/doc/man/mcedit.1.in ++++ b/doc/man/mcedit.1.in +@@ -604,9 +604,9 @@ + will be untouched. Default value is + "\fB-\fR\fB+\fR\fB*\fR\fB\\\fR\fB,\fR\fB.\fR\fB;\fR\fB:\fR\fB&\fR\fB>\fR". + .TP + .I editor_state_full_filename +-Show full path name in the status line. If disabled (default), only base name of the ++Show full path name in the status line. If disabled, only base name of the + file is shown. + .SH MISCELLANEOUS + The editor also displays non\-us characters (160+). When editing + binary files, you should set +--- a/src/editor/edit.c ++++ b/src/editor/edit.c +@@ -87,9 +87,9 @@ + .persistent_selections = TRUE, + .drop_selection_on_copy = TRUE, + .cursor_beyond_eol = FALSE, + .cursor_after_inserted_block = FALSE, +- .state_full_filename = FALSE, ++ .state_full_filename = TRUE, + .line_state = FALSE, + .line_state_width = 0, + .save_mode = EDIT_QUICK_SAVE, + .confirm_save = TRUE, |