Public bug reported:

Binary package hint: mc

1. start terminal and get some files, for example, git clone 
git://gittup.org/tup.git; cd tup
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://ru.archive.ubuntu.com/ubuntu/ maverick/universe amd64 
Packages
        100 /var/lib/dpkg/status


Just in case, I ^C ^V the screen, but it's the default:

│                                ┌────────────────────────── Find File 
───────────────────────────┐ 
│                                │ 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/mc/skins/default.ini]
ProcVersionSignature: Ubuntu 2.6.35-27.48-generic 2.6.35.11
Uname: Linux 2.6.35-27-generic x86_64
NonfreeKernelModules: nvidia
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

** Affects: mc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732652

Title:
  When invoked from Find File, mcedit does not go to the found text

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to