Saturday, January 26, 2019

Re: (editor/vim) Re: strange stray unicode character on the second line of all files



On Sat, Jan 26, 2019 at 10:56 AM Aryeh Friedman <aryeh.friedman@gmail.com> wrote:


On Sat, Jan 26, 2019 at 9:54 AM Adam Weinberger <adamw@freebsd.org> wrote:
On Sat, Jan 26, 2019 at 1:59 AM Aryeh Friedman <aryeh.friedman@gmail.com> wrote:
>
> Note I have added the maintainer of the vim port on FreeBSD to the To header for reasons given in the body of the reply
>
> On Fri, Jan 25, 2019 at 6:43 PM Tony Mechelynck <antoine.mechelynck@gmail.com> wrote:
>>
>> On Sat, Jan 26, 2019 at 12:31 AM Aryeh Friedman
>> <aryeh.friedman@gmail.com> wrote:
>> >
>> > Forgot to mention that hitting ^R or ^L will clear the character from the screen
>> >
>> > On Fri, Jan 25, 2019 at 4:40 AM Aryeh Friedman <aryeh.friedman@gmail.com> wrote:
>> >>
>> >> For some odd reason (bug?) a stray unprintable unicode character appears several spaces over on the second line of every file I edit (even when the second line is nothing more then a new line):
>> >>
>> >> // src/java/specmed/devinv/DevInvUtil.java
>> >>   � <-- The stray unicode character
>> >> Here is the output for cat -e of the first two lines of the same file:
>> >>
>> >> // src/java/specmed/devinv/DevInvUtil.java$
>> >> $


Appears to happen if, and ONLY if, the second line is blank (i.e. ^$ will match it as a regex)
 

I update the FreBSD Vim port on the first of every month, but I'm
happy to update early if there's a breakage.

Updating is a matter of changing PORTVERSION in
/usr/ports/editors/vim/Makefile, and running 'make makesum' from that
dir.

Updated to 822 with no effect (see below)


Does this behavior change if you change TERM (say, screen-256color)?

No (with screen-256color)
 
If you ssh from the console? If you use a different terminal emulator?

If I use xterm (default settings and -rv) it disappears.

--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: