-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add here feature #15
base: master
Are you sure you want to change the base?
Add here feature #15
Conversation
Hi, A few comments:
Thanks. |
If the library can hide non-essential information and allow the user to focus on the essential information, I think the library should implement that function. The second point is that the original I will ask for the @ShingoFukuyama opinion about naming. |
There is a limit to how far that principle can be taken. For example, it's very common in Elisp to do The more functions there are, the more the user must be familiar with. So users who already know what In my experience, one of the hardest things to remember when programming is subtle differences between ambiguously named functions. When I'm writing code using this library, I already have to refer to the documentation frequently to figure out which function to use and what arguments it requires. I think adding these functions would make it more difficult for users to learn the library for the small benefit of sometimes omitting one argument. |
Talking to you won't get we anywhere. |
Many Emacs packages and their authors use this library, of which I am one. For example, I proposed a patch at #14 over 1.5 years ago, and the author has never responded. It's important to consider feedback from users, not just the library's author--who hasn't updated this library in 4 years. There's no need to be offended. My feedback is about the code proposed in this PR, not you personally. |
Anyway, I will wait for the author's reply. Because only authors can modify the code in this repository. (Does this repository have collaborators?) If I don't have a comment in my PR for a long time and I think he actually abandoning this repository, then someone with a maintenance passion will consider registering with MELPA with a fork with commit rights. |
Of course, we need to register under a different name. This is essential for other packages to work unchanged. |
Hi! This package is really great!
I added
ov-*-here
functions to make/move overlay at point.Below document is added README, and you can test practically.
Make/Move here overlay
Make/Move here overlay functions.
Those functions recieve one
point
argument and pass regularov
functions as 0 width region.ov-here
(point &rest properties)
Make 0 width overlay (with properties).
This overlay is useful for displaying overlay text that is simply not inserted into the buffer.
ov-make-here
(point)
Make 0 width overlay.
This overlay is useful for displaying overlay text that is simply not inserted into the buffer.
ov-move-here
(ov point &optional buffer shrink)
Move overlay to
point
(atbuffer
).If
shrink
is non-nil, shrink overlay to 0 width.Best,