Comments (4)
I second @jmercouris.
Maybe we could make the "current value" be the value of the slot in a brand new instance of a class. That's not always the same as the default value, since it can be changed with
define-configuration
,configure-slot
or some other configuration methods.
I believe that this may be a slightly different topic. Let's think of an example, say slot nyxt/mode/hint:hints-alphabet
. The default value is "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
. Now say that the user starts Nyxt and sets the slot to "TOMATO"
. I believe that the default value of said slot (shown in describe-slot
) should now be "TOMATO"
. Unfortunately, as of today, it will continue to show "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
. I can image that, in practice, this may more difficult to reliably do than it may look like at first sight.
from nyxt.
The current value, for which object? I mean there could be an infinite amount of objects. In some cases it is obvious, like the current buffer object, but what about the ambiguous cases?
from nyxt.
I have to agree.
I like the idea, but now that I think about it, I don't know how feasible it is.
For example, there are slots like current-zoom-ratio
or modes
that can be different for each buffer. How do we pick the current value for those slots?
Another issue would be slots for classes like prompt-buffer
that aren't always instantiated.
Maybe we could make the "current value" be the value of the slot in a brand new instance of a class. That's not always the same as the default value, since it can be changed with define-configuration
, configure-slot
or some other configuration methods.
What do you think? @jmercouris
from nyxt.
cool cool. Thx all.
from nyxt.
Related Issues (20)
- Invalid Git submodule HOT 2
- Render Dark/Transparent/Blurred Screen When Loading Instead of White Flash HOT 3
- Function imports in cl-gobject-introspection & fset are incompatible with SBCL 2.4.5 HOT 3
- Unhandled floating point interrupt when starting Nyxt on the most recent SBCL (2.4.5) HOT 3
- Keys missing in Emacs key mode HOT 2
- Youtube keeps asking for device info permission HOT 3
- Customizable Prompt Buffer Placement (Top/Bottom) HOT 3
- `render-menu` UI bug
- `(url (current-buffer))` when panel buffers are open HOT 1
- copy-to-clipboard failing to find existing external utilities HOT 2
- `prompter:marks` should reflect the order by which the user selected the suggestions
- Deprecate use of `nclasses:define-generic` HOT 1
- nyxt on windows? HOT 3
- Startup routine opens two windows instead of one
- Structural clipboard API/design HOT 1
- toggle-debug-on-error has no effect HOT 3
- Crash when trying to re-open a window when previously exited HOT 2
- `save-new-password` does not connect to password interface HOT 2
- Some help needed for finishing the FreeBSD Port HOT 3
- Bookmarks panel UX is terrible HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyxt.