Charles,
On Mo, 25 Aug 2025, Charles Campbell wrote:
> I think it would be a Good Idea to have a procedure for this sort of thing,
> and to publish it in the Vim Manual someplace.
>
> *1 announce that something is being considered for deprecation (comments
> accepted)
> *2 deprecate by surrounding the relevant code with #ifdef blocks and await
> any screams of protest. With this approach you'll get notified if anyone is
> using the feature/support and they can reverse it by putting a #define
> SOMETHING in vim.h.
> *3 release vim with the #ifdef SOMETHING blocks
> *4 next release remove the SOMETHING blocks
>
> At any point until the last one reversal of the change is easy. *2 is likely
> to get protestations amongst those who pay attention to the vim/vimdev
> groups. *3 will get protestations from those who are using the deprecated
> feature. Finally, *4 will remove the feature/support.
Thanks, that makes a lot of sense. Yes I need to document this, it's
been on my list for a while already.
Thanks,
Christian
--
Canada Post doesn't really charge 32 cents for a stamp. It's 2 cents
for postage and 30 cents for storage.
-- Gerald Regan, Cabinet Minister, 12/31/83 Financial Post
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aK4SPucmbMA0zO0m%40256bit.org.
Tuesday, August 26, 2025
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment