Coder Social home page Coder Social logo

bui.el's People

Contributors

alezost avatar tarsius avatar vapniks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bui.el's Issues

Dynamic columns?

Hi,

A feature I'm missing in tabulated-list-mode is dynamic columns, i.e. the columns and their formats are fixed, and just reordering the columns requires modifying a lot of code in different places. Have you thought about providing this functionality in bui?

Search functionality

Neat package. I'm thinking about building a https://www.gnu.org/software/recutils/manual/ front-end. However, I'm wondering if there is any search-filtering functionality? I saw the filter functions. Is there any hope there is real-time filter-while-you-type functionality similar to Helm? If not, is it a reasonable feature idea?

gensym wasn't added until Emacs 26.1

But bui specifies 24.3 as the minimal supported Emacs version.

lib/bui/bui-utils.el:484:1:Warning: the function ‘gensym’ is not known to be
    defined.

[[Inquiry]] Passing Entries Function to Interface After Creation?

So I have this situation: I have a list of objects that have these properties, each property having a name and a value.

I want to go through said list and, upon selecting an object, open a buffer from BUI containing the properties of said object.

Relatively uniform, I could do something like:

(bui-define-interface node_properties list
  :buffer-name          "*Object Properties*"
  :format               '((name nil 30 t) (value nil 70 t))
  :sort-key             '(name)))

The issue, though, is :get-entries-function; because the BUI buffer is being triggered from the object in the list, what the entries are depends on which object is selected.

I may've missed something that might help me so I thought I'd ask if there's a way to pull this off.

Are Times Able to be Sorted?

I have a list interface with the following :format:

'((name           nil               52 t)
  (version        nil               24 t)
  (size           nil               10 bui-list-sort-numerically-2 :right-align t)
  (lastUnpacked   bui-list-get-time 32 bui-list-sort-numerically-3 :right-align t)
  (lastUnpackedBy nil               21 t)
  (status         nil                7 t))

The lastUnpacked date is given as seconds.

Rendering the data, via bui-list-get-time works like a charm; no issues there. But sorting the column goes to Hell. The dates are in, seemingly, a random order or another column is being used to sort things when the third column is told to be sorted because similar names in the name column end up getting bunched together.

If I replace bui-list-get-time with nil, sorting works exactly as I'd expect and the dates are in proper order (though displayed as Epoch seconds instead of being formatted to date/times).

I thought maybe that the original numbers weren't being kept and so it was trying to sort Emacs time objects and tried removing bui-list-sort-numerically-3 but that just resulted in BUI saying it wasn't able to sort the column.

:revert-confirm? unusable

The default value of bui-revert-confirm is t, and :revert-confirm? nil means "do not set the value" rather than "set it to nil".

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.