{"action":"created","issue":{"url":"https://api.github.com/repos/vim/vim/issues/870","repository_url":"https://api.github.com/repos/vim/vim","labels_url":"https://api.github.com/repos/vim/vim/issues/870/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/870/comments","events_url":"https://api.github.com/repos/vim/vim/issues/870/events","html_url":"https://github.com/vim/vim/issues/870","id":160598026,"number":870,"title":"E575: viminfo: Illegal starting char in line","user":{"login":"mgedmin","id":159967,"avatar_url":"https://avatars.githubusercontent.com/u/159967?v=3","gravatar_id":"","url":"https://api.github.com/users/mgedmin","html_url":"https://github.com/mgedmin","followers_url":"https://api.github.com/users/mgedmin/followers","following_url":"https://api.github.com/users/mgedmin/following{/other_user}","gists_url":"https://api.github.com/users/mgedmin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgedmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgedmin/subscriptions","organizations_url":"https://api.github.com/users/mgedmin/orgs","repos_url":"https://api.github.com/users/mgedmin/repos","events_url":"https://api.github.com/users/mgedmin/events{/privacy}","received_events_url":"https://api.github.com/users/mgedmin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-06-16T07:47:36Z","updated_at":"2016-06-21T05:53:48Z","closed_at":"2016-06-21T05:53:48Z","body":"Lastest vim (7.4.1941) produces this error on startup and also right before exiting:\r\n```\r\nE575: viminfo: Illegal starting char in line: ^Ihi</i>^[llx\r\nPress ENTER or type command to continue\r\n```\r\n\r\nI think this is a bug since vim itself is the program responsible for writing to my .viminfo.\r\n\r\nLooking at the .viminfo itself, here's what I see:\r\n```\r\n\"o\tCHAR\t0\r\n\thi</i>\u001Bllx\r\n|3,0,24,0,1,0,0,\"hi</i>\u001Bllx\"\r\n```\r\n\r\nThere's an ESC character in front of 'llx', in case it doesn't make it through email.  Also, there are no spaces on those three lines, just tabs.\r\n\r\nIn case the problem is on a previous line that somehow makes vim lose sync, here's what comes before:\r\n```\r\n\"m\tCHAR\t0\r\n\t\u0016807\r\n<mgggg€kd€kd€kd€kd€kd€kd€ku€ku€ku€ku*'''.€kr€klbidatetime.€@7€kl(2, 0)\u001B:w\r\n\u0017€kr\u0017€kd€kd€kd€kd€kd€kd€kd€kd€kd€ku€ku€ku€ku€ku€ku€ku\u0017€klo\u001Bdd€ku\u0017€kr\u0017€kd€kN€kN€kN€kN\u0017€klo\r\ntiemlog.window_for_dat(€kb€kby(date€kb€kb€kbda€kb€kbatetime.date('€kb2014, 11, 12))€kh€kr€kr€kr€kr€kr€kr€kr€kr€kr€kr€kr€kb€kre€kh\u001B[1;5Cw = \u001B\u0017€kr\u0017€kdgg/TimeWindow\r\n€kN€kN€k3€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN\u0017€kloself.asseert€kb€kb€kbrtEqual(list(w.all_entries), [])\u001Bo\r\ntimeo€kblog.add_entry\u001B\u0017€kr/add_ent\r\n/add_e\u0003/add€kb€kbppend_en\r\n/€kb\u0017€ku\u0017q/class Tim\r\n€k3zMzr€kN\u0017€kl€kl€kl€kl€kl€kl€kl€klCppend('started **')\u001B\u0017€kr\u0017€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€ku€kl€kr€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€ku€ku€ku€ku€ku€ku€ku€ku€ku€kd€kd\u0017€żUi, now=datetime.datetime(2014, 11, 12, 10, 00€@7)\u001B%\u001B\r\n|3,0,22,0,1,0,0,>806\r\n|<\"mgggg€kd€kd€kd€kd€kd€kd€ku€ku€ku€ku*'''.€kr€klbidatetime.€@7€kl(2, 0)\u001B:w\r\n\u0017€kr\u0017€kd€kd€kd€kd€kd€kd€kd€kd€kd€ku€ku€ku€ku€ku€ku€ku\u0017€klo\u001Bdd€ku\u0017€kr\u0017€kd€kN€kN€kN€kN\u0017€klo\r\ntiemlog.window_for_dat(€kb€kby(date€kb€kb€kbda€kb€kbatetime.date('€kb2014, 11, 12))€kh€kr€kr€kr€kr€kr€kr€kr€kr€kr€kr€kr€kb€kre€kh\u001B[1;5Cw = \u001B\u0017€kr\u0017€kdgg/TimeWindow\r\n€kN€kN€k3€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN€kN\u0017€kloself.asseert€kb€kb€kbrtEqual(list(w.all_entries), [])\u001Bo\r\ntimeo€kblog.add_entry\u001B\u0017€kr/add_ent\r\n|</add_e\u0003/add€kb€kbppend_en\r\n/€kb\u0017€ku\u0017q/class Tim\r\n€k3zMzr€kN\u0017€kl€kl€kl€kl€kl€kl€kl€klCppend('started **')\u001B\u0017€kr\u0017€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€ku€kl€kr€kd€kd€kd€kd€kd€kd€kd€kd€kd€kd€ku€ku€ku€ku€ku€ku€ku€ku€ku€kd€kd\u0017€żUi, now=datetime.datetime(2014, 11, 12, 10, 00€@7)\u001B%\u001B\"\r\n```\r\n\r\nThis looks like a macro, possibly recorded by accident by accidentally hitting q.\r\n\r\nWhen I run vim, register \"o looks just like in viminfo (`\"hi</i><esc>llx\"`), while register \"m is blank.\r\n\r\nvim 1.689 doesn't complain and it can load register \"m fine."},"comment":{"url":"https://api.github.com/repos/vim/vim/issues/comments/227347284","html_url":"https://github.com/vim/vim/issues/870#issuecomment-227347284","issue_url":"https://api.github.com/repos/vim/vim/issues/870","id":227347284,"user":{"login":"mgedmin","id":159967,"avatar_url":"https://avatars.githubusercontent.com/u/159967?v=3","gravatar_id":"","url":"https://api.github.com/users/mgedmin","html_url":"https://github.com/mgedmin","followers_url":"https://api.github.com/users/mgedmin/followers","following_url":"https://api.github.com/users/mgedmin/following{/other_user}","gists_url":"https://api.github.com/users/mgedmin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgedmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgedmin/subscriptions","organizations_url":"https://api.github.com/users/mgedmin/orgs","repos_url":"https://api.github.com/users/mgedmin/repos","events_url":"https://api.github.com/users/mgedmin/events{/privacy}","received_events_url":"https://api.github.com/users/mgedmin/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T05:53:48Z","updated_at":"2016-06-21T05:53:48Z","body":"Fixed in ecefe71704850b94df44f65fc756c1551ec68388 (7.4.1947)."}}
{"actor":{"display_login":"mgedmin"}}