@brammool Take care of yourself, and get better soon!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
It looks that this change is unexpected.
Should be reverted, I think:
--- a/src/Makefile +++ b/src/Makefile @@ -355,7 +355,7 @@ CClink = $(CC) #CONF_OPT_GUI = --enable-gui=gnome2 --disable-gtktest #CONF_OPT_GUI = --enable-gui=gtk3 #CONF_OPT_GUI = --enable-gui=gtk3 --disable-gtktest -CONF_OPT_GUI = --enable-gui=motif +#CONF_OPT_GUI = --enable-gui=motif #CONF_OPT_GUI = --enable-gui=motif --with-motif-lib="-static -lXm -shared" # Uncomment this line to run an individual test with gvim.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Anyway, please take care of yourself.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
While compiling I get error:
bufwrite.c: In function ‘buf_write’:
bufwrite.c:2055:45: error: invalid type argument of ‘->’ (have ‘struct bw_info’)
2055 | (void)write_eintr(write_info->bw_fd, "\x1a", 1);
| ^~
make[1]: *** [Makefile:3098: objects/bufwrite.o] Error 1
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
It should be endoffile?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
make it like this;
(void)write_eintr(write_info.bw_fd, "\x1a", 1);
note -> not right, use .
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
it compiles but errors with:
~/prj/vim $ vim
E356: get_varp ERROR
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
diff --git a/src/bufwrite.c b/src/bufwrite.c index 713dac561..12c5c7a47 100644 --- a/src/bufwrite.c +++ b/src/bufwrite.c @@ -2052,7 +2052,7 @@ restore_backup: } if (!buf->b_p_fixeol && buf->b_p_eof) // write trailing CTRL-Z - (void)write_eintr(write_info->bw_fd, "\x1a", 1); + (void)write_eintr(write_info.bw_fd, "\x1a", 1); // write failed or last line has no EOL: stop here if (end == 0 diff --git a/src/option.c b/src/option.c index 329781008..87764e231 100644 --- a/src/option.c +++ b/src/option.c @@ -5490,6 +5490,7 @@ get_varp(struct vimoption *p) #ifdef FEAT_EVAL case PV_TFU: return (char_u *)&(curbuf->b_p_tfu); #endif + case PV_EOF: return (char_u *)&(curbuf->b_p_eof); case PV_EOL: return (char_u *)&(curbuf->b_p_eol); case PV_FIXEOL: return (char_u *)&(curbuf->b_p_fixeol); case PV_ET: return (char_u *)&(curbuf->b_p_et);
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
About the change at src/Makefile:258:
I leave the Makefile unchanged and I set my configure parameters by means of environment variables (each set of which is kept written up in a script to be sourced by bash). This way I can compile five Vim executables (each in its own shell and in its own shadow directory) at the same time with a single Makefile:
Best regards,
Tony.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
yes, that works for me @mattn
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
There are two 'endofline' in options.txt
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
please suggest a git
command for more info on the commit if needed.
I personally use git commit -v which shows a diff of what's being committed.
This is quite handy and saved me a bunch of times.
If you notice something is missing, quit the editor without saving the changes and the commit will be aborted. Then you can add the missing stuff with git add.
And if something got added by mistake, you can clear it with git restore --staged and then selectively add things with git add -p.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
I personally use git commit -v which shows a diff of what's being committed.
I agree and I have set the following to always include a diff below the actual commit message, to verify what I will commit
git config --global commit.verbose true
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()
I use shadow directories with the following caveats:
—
Reply to this email directly, view it on GitHub.
You are receiving this because you commented.![]()