Patch 9.0.0729

7 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 12, 2022, 6:13:46 AM10/12/22
to vim...@googlegroups.com

Patch 9.0.0729 (after 9.0.0696)
Problem: The rightleft and arabic features are disabled.
Solution: Re-enable the features, some users want to use the functionality.
Files: runtime/doc/rileft.txt, src/feature.h


*** ../vim-9.0.0728/runtime/doc/rileft.txt 2022-06-28 11:21:06.000000000 +0100
--- runtime/doc/rileft.txt 2022-10-12 11:03:45.882886887 +0100
***************
*** 35,40 ****
--- 35,45 ----
as this kind of support is out of the scope of a simple addition to an
existing editor (and it's not sanctioned by Unicode either).

+ As many people working on the code do not use the right-to-left mode, this
+ feature may not work in some situations. If you can describe what is wrong
+ and how it would work when fixed, please create an issue on github, see
+ |bug-reports|.
+

Highlights
----------
*** ../vim-9.0.0728/src/feature.h 2022-10-08 19:26:35.698195391 +0100
--- src/feature.h 2022-10-12 10:58:33.664434309 +0100
***************
*** 186,192 ****
#endif

/*
! * +linebreak 'showbreak', 'breakat' and 'linebreak' options.
* Also 'numberwidth'.
*/
#ifdef FEAT_NORMAL
--- 186,192 ----
#endif

/*
! * +linebreak 'showbreak', 'breakat' and 'linebreak' options.
* Also 'numberwidth'.
*/
#ifdef FEAT_NORMAL
***************
*** 216,221 ****
--- 216,223 ----

/*
* +rightleft Right-to-left editing/typing support.
+ * Note that this isn't perfect, but enough users say they
+ * use it to keep supporting it.
*/
#if defined(FEAT_HUGE) && !defined(DISABLE_RIGHTLEFT)
# define FEAT_RIGHTLEFT
***************
*** 234,251 ****
# endif
#endif

- // It is unclear if there are any users of the +rightleft and +arabic fetures.
- // The lack of feedback and bug reports suggests that they are not actively
- // being used.
- // FOR NOW: disable the features here. If nobody complains the code can be
- // removed.
- #ifdef FEAT_RIGHTLEFT
- # undef FEAT_RIGHTLEFT
- #endif
- #ifdef FEAT_ARABIC
- # undef FEAT_ARABIC
- #endif
-
/*
* +emacs_tags When FEAT_EMACS_TAGS defined: Include support for
* emacs style TAGS file.
--- 236,241 ----
*** ../vim-9.0.0728/src/version.c 2022-10-11 23:12:55.624404996 +0100
--- src/version.c 2022-10-12 11:05:09.074559556 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 729,
/**/

--
"Hegel was right when he said that we learn from history that man can
never learn anything from history." (George Bernard Shaw)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages