GithubHelp home page GithubHelp logo

Comments (4)

marhop avatar marhop commented on August 11, 2024

The actual actual behavior is this: First JPEG file is opened (because Verso opens only the first file given on the command line and ignores the rest), "next" opens next file in directory with one of the extensions configured in verso.conf (or {jpg,jpeg,JPG,JPEG} if none are configured).

from verso.

marhop avatar marhop commented on August 11, 2024

Idea:

  • If exactly one file/directory is given, initialize the file list with all files in the given directory/the directory containing the given file, filtered by the extensions configured in verso.conf (or default as above). Just as before. No recursion!
  • If more than one file/directory (or combination thereof) is given, initialize the file list with exactly the given files, regardless of extensions, plus all files in the given directories, filtered by the configured extensions.
  • Party on, Wayne!

Or think about removing the extension filter from the config file. Seems to make things rather complicated. Wouldn't be backwards compatible though.

from verso.

marhop avatar marhop commented on August 11, 2024

Another idea:

  • For each file given, add all files in the directory containing the given file to the file list.
  • For each directory given, add all files in the directory to the file list. No recursion.
  • Filter the file list by the extensions configured in verso.conf (or default as above). Change extension filter in default config file to extension *, thus effectively disabling it. Maybe remove the filter in the future.

from verso.

marhop avatar marhop commented on August 11, 2024

First idea is better. Make it so.

from verso.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.