Ticket #39 (new enhancement)

Opened 15 years ago

Last modified 3 years ago

savannah: viewer position from "find file" dialog vs. parsed files

Reported by: ossi Owned by:
Priority: minor Milestone: Future Releases
Component: mcview Version:
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by ossi) (diff)

Original: http://savannah.gnu.org/bugs/?16017

Submitted by:Oswald Buddenhagen <ossi>Submitted on:Mon 06 Mar 2006 07:05:52 PM UTC
Category:ViewerSeverity:3 - Normal
Status:NonePrivacy:Public
Assigned to:NoneOpen/Closed:Open
Release:current (CVS or snapshot)Operating System:All

Original submission:

the "find file" dialog does seaching on unfiltered file contents. 
it tells the viewer to start viewing a the line of the match. 
however, if the file is filtered ("parsed", as opposed to "raw") 
before viewing (e.g., lynx -dump), the line number is applied to 
the filtered output - usually with "suboptimal" results.

i'm not sure what to do about this. translating the line numbers 
would require cooperation from the filter, which is sort of 
impossible for external filters. and grepping on filtered files 
would be sloooow. maybe like this: if matches are found and the 
file is "formattable", filter it and grep again and display that as 
the result. alternatively, force the viewer into raw mode, but i 
would not like this. 

Change History

comment:1 Changed 15 years ago by styx

  • Milestone set to future releases

comment:2 Changed 14 years ago by angel_il

  • Type changed from defect to enhancement
  • severity set to no branch

comment:3 Changed 14 years ago by ossi

  • Cc ossi@… added
  • Priority changed from major to minor
  • Component changed from mc-core to mcview

comment:4 Changed 10 years ago by ossi

  • Cc ossi@… removed
  • Description modified (diff)
  • Branch state set to no branch
  • Reporter changed from slavazanko to oss

comment:5 Changed 8 years ago by andrew_b

Ticket #3532 has been marked as a duplicate of this ticket.

comment:6 Changed 3 years ago by ossi

  • Reporter changed from oss to ossi
Note: See TracTickets for help on using tickets.