When invoked from Find File, mcedit does not go to the found text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mc
1. start terminal and get some files, for example, git clone git://gittup.
2. mc
3. F9 C F
4. Specify search parameters: File Name = "*.c", Content = "handle_file"
5. Enter (start search)
6. Go to line "147:ldpreload.c", press F4
7. see the bug:
Expected: opening the file with the cursor at line 147
Actual: the file is opened with the cursor at line 1
$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10
$ apt-cache policy mc
mc:
Installed: 3:4.7.0.6-1
Candidate: 3:4.7.0.6-1
Version table:
*** 3:4.7.0.6-1 0
500 http://
100 /var/lib/
Just in case, I ^C ^V the screen, but it's the default:
│ ┌──────
│ │ Start at: │
│ │ . [^] [ Tree ] │
│ │ │
│ │ File name: Content: │
│ │ *.c [^] handle_file [^] │
│ │ [x] Case sensitive [x] Case sensitive │
│ │ [x] Using shell patterns [ ] Regular expression │
│ │ [x] Find recursively [ ] First hit │
│ │ [ ] Skip hidden [ ] Whole words │
│ │ [ ] All charsets [ ] All charsets │
│ │ │
│ │ [< OK >] [ Cancel ] │
│ └──────
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: mc 3:4.7.0.6-1 [modified: usr/share/
ProcVersionSign
Uname: Linux 2.6.35-27-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Thu Mar 10 18:09:52 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: mc
This is not a bug in mc. Select mcedit as the internal editor in mc settings and it will work.