[Pkg-mc-devel] [Bug 732652] Re: When invoked from Find File, mcedit does not go to the found text

Yury V. Zaytsev yury at shurup.com
Mon Mar 14 18:01:19 UTC 2011


This is not a bug in mc. Select mcedit as the internal editor in mc
settings and it will work.

-- 
You received this bug notification because you are a member of Debian MC
Packaging Group, which is subscribed to mc in ubuntu.
https://bugs.launchpad.net/bugs/732652

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

Status in “mc” package in Ubuntu:
  Invalid

Bug description:
  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



More information about the Pkg-mc-devel mailing list