Skip to content

Commit bd8a195

Browse files
committed
Backup update
1 parent 457425c commit bd8a195

File tree

244 files changed

+58784
-3112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+58784
-3112
lines changed

last_update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-08T02:13:00Z
1+
2025-04-15T02:31:15Z

repositories/neovim/issues/1008.json

Lines changed: 74 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"assignee": null,
44
"assignees": [],
55
"author_association": "MEMBER",
6-
"body": "Followup of https://github.com/neovim/neovim/pull/978#issuecomment-49671122 . \n\nIn Neovim we are mostly using pipes instead of temp files for reliability and [performance](https://github.com/neovim/neovim/pull/978#issuecomment-50092527).\n\nBut there's an edge that mentioned in Vim `:help 'shelltemp'`:\n\n```\n The advantage of using a temp file is that the file type and encoding\n can be detected.\n```\n\nWe need to verify that this edge is not present in Neovim, or find a workaround, or update the documentation. [A vim-sensible issue](https://github.com/tpope/vim-sensible/issues/73) gives a couple examples of plugins that seem to be affected by this edge case.\n\nVim source and [unanswered question on vim_dev](https://groups.google.com/forum/#!msg/vim_dev/EHMfNBsdvrg/vVth0Wv90QcJ) do not give any more explanation about the edge case.\n\nHowever [this SO post](http://stackoverflow.com/a/17177904/152142) gives insight into the behavior of encodings on Windows.\n\n> if a string is not in the UTF-16LE encoding to begin with, a Win32 program must pass the correct codepage to MultiByteToWideChar. Also, WriteConsoleW will not work if the program’s output is redirected; more fiddling is needed in that case.\n\nThat post and the vim-sensible issue report suggest that this issue may be Windows-only, and possibly specific to cmd.exe. \n\nNext steps:\n- reproduce edge case in Vim, then try the same steps in Neovim\n- these plugins were [reported](https://github.com/tpope/vim-sensible/issues/73#issuecomment-49541650) to mess up with `set noshelltemp` and [`chcp 850`](https://github.com/tpope/vim-sensible/issues/73#issuecomment-50536097):\n - https://github.com/mileszs/ack.vim\n - https://github.com/dyng/ctrlsf.vim\n- is it Windows-only?\n - if so, is it specific to cmd.exe?\n - if so, perhaps we can avoid the issue entirely by using syscalls instead of building shell commands (@aktau's work achieves this [except for `do_filter`](https://github.com/neovim/neovim/pull/978#issuecomment-49699155)).\n\n---\n\nThe more I stare at the help text, the more I think this is related to Vim autocmds rather than some mysterious OS behavior. \n- Detecting the file type is _almost certainly_ a reference the `ftdetect` Vim mechanism.\n- Detecting the encoding _could_ refer to some feature of Vim that tries to infer the encoding based on the BOM or the presence of UTF8 sequences.\n\n---\n\nNotes on Windows:\n\nhttp://blogs.msdn.com/b/oldnewthing/archive/2005/03/08/389527.aspx\n- there are typically two 8-bit code pages active, the so-called \"ANSI\" code page and the so-called \"OEM\" code page\n- cmd.exe `/U` forces Unicode for piped/redirected output\n",
6+
"body": "Followup of https://github.com/neovim/neovim/pull/978#issuecomment-49671122 . \n\nIn Neovim we are mostly using pipes instead of temp files for reliability and [performance](https://github.com/neovim/neovim/pull/978#issuecomment-50092527).\n\nBut there's an edge that mentioned in Vim `:help 'shelltemp'`:\n\n```\n The advantage of using a temp file is that the file type and encoding\n can be detected.\n```\n\nWe need to verify that this edge is not present in Neovim, or find a workaround, or update the documentation. [A vim-sensible issue](https://github.com/tpope/vim-sensible/issues/73) gives a couple examples of plugins that seem to be affected by this edge case.\n\nVim source and [unanswered question on vim_dev](https://groups.google.com/forum/#!msg/vim_dev/EHMfNBsdvrg/vVth0Wv90QcJ) do not give any more explanation about the edge case.\n\nHowever [this SO post](http://stackoverflow.com/a/17177904/152142) gives insight into the behavior of encodings on Windows.\n\n> if a string is not in the UTF-16LE encoding to begin with, a Win32 program must pass the correct codepage to MultiByteToWideChar. Also, WriteConsoleW will not work if the program’s output is redirected; more fiddling is needed in that case.\n\nThat post and the vim-sensible issue report suggest that this issue may be Windows-only, and possibly specific to cmd.exe. \n\nNext steps:\n- reproduce edge case in Vim, then try the same steps in Neovim\n- these plugins were [reported](https://github.com/tpope/vim-sensible/issues/73#issuecomment-49541650) to mess up with `set noshelltemp` and [`chcp 850`](https://github.com/tpope/vim-sensible/issues/73#issuecomment-50536097):\n - https://github.com/mileszs/ack.vim\n - https://github.com/dyng/ctrlsf.vim\n- is it Windows-only?\n - if so, is it specific to cmd.exe?\n - if so, perhaps we can avoid the issue entirely by using syscalls instead of building shell commands (@aktau's work achieves this [except for `do_filter`](https://github.com/neovim/neovim/pull/978#issuecomment-49699155)).\n\n---\n\nThe more I stare at the help text, the more I think this is related to Vim autocmds rather than some mysterious OS behavior. \n- Detecting the file type is _almost certainly_ a reference the `ftdetect` Vim mechanism.\n- Detecting the encoding _could_ refer to some feature of Vim that tries to infer the encoding based on the BOM or the presence of UTF8 sequences.\n\n---\n\nNotes on Windows:\n\nhttp://blogs.msdn.com/b/oldnewthing/archive/2005/03/08/389527.aspx\n- there are typically two 8-bit code pages active, the so-called \"ANSI\" code page and the so-called \"OEM\" code page\n- cmd.exe `/U` forces Unicode (UTF-16LE) for piped/redirected output\n - can use `chcp 65001` to force the console codepage to utf8 for that session.\n- By default, PowerShell Core (`pwsh`) uses UTF-8 without BOM for redirected output.\n",
77
"closed_at": null,
88
"closed_by": null,
99
"comment_data": [
@@ -48,7 +48,8 @@
4848
"starred_url": "https://api.github.com/users/tarruda/starred{/owner}{/repo}",
4949
"subscriptions_url": "https://api.github.com/users/tarruda/subscriptions",
5050
"type": "User",
51-
"url": "https://api.github.com/users/tarruda"
51+
"url": "https://api.github.com/users/tarruda",
52+
"user_view_type": "public"
5253
}
5354
},
5455
{
@@ -92,7 +93,8 @@
9293
"starred_url": "https://api.github.com/users/aktau/starred{/owner}{/repo}",
9394
"subscriptions_url": "https://api.github.com/users/aktau/subscriptions",
9495
"type": "User",
95-
"url": "https://api.github.com/users/aktau"
96+
"url": "https://api.github.com/users/aktau",
97+
"user_view_type": "public"
9698
}
9799
},
98100
{
@@ -136,7 +138,8 @@
136138
"starred_url": "https://api.github.com/users/splinterofchaos/starred{/owner}{/repo}",
137139
"subscriptions_url": "https://api.github.com/users/splinterofchaos/subscriptions",
138140
"type": "User",
139-
"url": "https://api.github.com/users/splinterofchaos"
141+
"url": "https://api.github.com/users/splinterofchaos",
142+
"user_view_type": "public"
140143
}
141144
},
142145
{
@@ -180,7 +183,8 @@
180183
"starred_url": "https://api.github.com/users/aktau/starred{/owner}{/repo}",
181184
"subscriptions_url": "https://api.github.com/users/aktau/subscriptions",
182185
"type": "User",
183-
"url": "https://api.github.com/users/aktau"
186+
"url": "https://api.github.com/users/aktau",
187+
"user_view_type": "public"
184188
}
185189
},
186190
{
@@ -224,7 +228,8 @@
224228
"starred_url": "https://api.github.com/users/aktau/starred{/owner}{/repo}",
225229
"subscriptions_url": "https://api.github.com/users/aktau/subscriptions",
226230
"type": "User",
227-
"url": "https://api.github.com/users/aktau"
231+
"url": "https://api.github.com/users/aktau",
232+
"user_view_type": "public"
228233
}
229234
},
230235
{
@@ -248,7 +253,7 @@
248253
"total_count": 0,
249254
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/961308901/reactions"
250255
},
251-
"updated_at": "2021-11-04T18:29:17Z",
256+
"updated_at": "2025-04-11T09:40:24Z",
252257
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/961308901",
253258
"user": {
254259
"avatar_url": "https://avatars.githubusercontent.com/u/1234956?v=4",
@@ -268,11 +273,57 @@
268273
"starred_url": "https://api.github.com/users/n8henrie/starred{/owner}{/repo}",
269274
"subscriptions_url": "https://api.github.com/users/n8henrie/subscriptions",
270275
"type": "User",
271-
"url": "https://api.github.com/users/n8henrie"
276+
"url": "https://api.github.com/users/n8henrie",
277+
"user_view_type": "public"
278+
}
279+
},
280+
{
281+
"author_association": "MEMBER",
282+
"body": "## Status\n\nhttps://github.com/neovim/neovim/pull/33012 takes the first step: default to 'noshelltemp'.\n\nThis will help narrow the surface area of potential problems on Windows.\n\n## Next steps\n\nEven if it regresses something, we can continue with [this next step](https://github.com/neovim/neovim/issues/1008#issuecomment-50602022):\n\n> Find the code vim uses to detect encoding using temporary files\n> Refactor to enable usage of byte strings, and always apply it to the data read by filters\n\nThis may just mean \"ensure `readfile()` is called by `do_filter()` where necessary\", or it may mean we need to explicitly detect encoding in `do_filter()` by some other means.\n\nIf 'shelltemp' becomes a no-op, then these events are also no-ops/deprecated:\n\n> The |FilterReadPre|, |FilterReadPost| and |FilterWritePre|, |FilterWritePost| autocommands event are not triggered when 'shelltemp' is off.",
283+
"created_at": "2025-04-12T15:21:29Z",
284+
"html_url": "https://github.com/neovim/neovim/issues/1008#issuecomment-2798872917",
285+
"id": 2798872917,
286+
"issue_url": "https://api.github.com/repos/neovim/neovim/issues/1008",
287+
"node_id": "IC_kwDOAPphoM6m02lV",
288+
"performed_via_github_app": null,
289+
"reactions": {
290+
"+1": 1,
291+
"-1": 0,
292+
"confused": 0,
293+
"eyes": 0,
294+
"heart": 0,
295+
"hooray": 0,
296+
"laugh": 0,
297+
"rocket": 0,
298+
"total_count": 1,
299+
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/2798872917/reactions"
300+
},
301+
"updated_at": "2025-04-12T15:40:57Z",
302+
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/2798872917",
303+
"user": {
304+
"avatar_url": "https://avatars.githubusercontent.com/u/1359421?v=4",
305+
"events_url": "https://api.github.com/users/justinmk/events{/privacy}",
306+
"followers_url": "https://api.github.com/users/justinmk/followers",
307+
"following_url": "https://api.github.com/users/justinmk/following{/other_user}",
308+
"gists_url": "https://api.github.com/users/justinmk/gists{/gist_id}",
309+
"gravatar_id": "",
310+
"html_url": "https://github.com/justinmk",
311+
"id": 1359421,
312+
"login": "justinmk",
313+
"node_id": "MDQ6VXNlcjEzNTk0MjE=",
314+
"organizations_url": "https://api.github.com/users/justinmk/orgs",
315+
"received_events_url": "https://api.github.com/users/justinmk/received_events",
316+
"repos_url": "https://api.github.com/users/justinmk/repos",
317+
"site_admin": false,
318+
"starred_url": "https://api.github.com/users/justinmk/starred{/owner}{/repo}",
319+
"subscriptions_url": "https://api.github.com/users/justinmk/subscriptions",
320+
"type": "User",
321+
"url": "https://api.github.com/users/justinmk",
322+
"user_view_type": "public"
272323
}
273324
}
274325
],
275-
"comments": 6,
326+
"comments": 7,
276327
"comments_url": "https://api.github.com/repos/neovim/neovim/issues/1008/comments",
277328
"created_at": "2014-07-29T22:44:11Z",
278329
"events_url": "https://api.github.com/repos/neovim/neovim/issues/1008/events",
@@ -329,7 +380,7 @@
329380
"locked": false,
330381
"milestone": {
331382
"closed_at": null,
332-
"closed_issues": 645,
383+
"closed_issues": 709,
333384
"created_at": "2014-05-10T20:43:04Z",
334385
"creator": {
335386
"avatar_url": "https://avatars.githubusercontent.com/u/1359421?v=4",
@@ -349,7 +400,8 @@
349400
"starred_url": "https://api.github.com/users/justinmk/starred{/owner}{/repo}",
350401
"subscriptions_url": "https://api.github.com/users/justinmk/subscriptions",
351402
"type": "User",
352-
"url": "https://api.github.com/users/justinmk"
403+
"url": "https://api.github.com/users/justinmk",
404+
"user_view_type": "public"
353405
},
354406
"description": "Low priority items. We plan to work on this but don't have a target date.",
355407
"due_on": null,
@@ -358,10 +410,10 @@
358410
"labels_url": "https://api.github.com/repos/neovim/neovim/milestones/6/labels",
359411
"node_id": "MDk6TWlsZXN0b25lNjU1MDM3",
360412
"number": 6,
361-
"open_issues": 566,
413+
"open_issues": 637,
362414
"state": "open",
363415
"title": "backlog",
364-
"updated_at": "2024-09-09T18:06:19Z",
416+
"updated_at": "2025-04-12T17:52:52Z",
365417
"url": "https://api.github.com/repos/neovim/neovim/milestones/6"
366418
},
367419
"node_id": "MDU6SXNzdWUzOTA0NDAwNA==",
@@ -382,9 +434,15 @@
382434
"repository_url": "https://api.github.com/repos/neovim/neovim",
383435
"state": "open",
384436
"state_reason": null,
437+
"sub_issues_summary": {
438+
"completed": 0,
439+
"percent_completed": 0,
440+
"total": 0
441+
},
385442
"timeline_url": "https://api.github.com/repos/neovim/neovim/issues/1008/timeline",
386443
"title": "remove 'shelltemp'",
387-
"updated_at": "2024-09-04T13:46:42Z",
444+
"type": null,
445+
"updated_at": "2025-04-12T15:40:58Z",
388446
"url": "https://api.github.com/repos/neovim/neovim/issues/1008",
389447
"user": {
390448
"avatar_url": "https://avatars.githubusercontent.com/u/1359421?v=4",
@@ -404,6 +462,7 @@
404462
"starred_url": "https://api.github.com/users/justinmk/starred{/owner}{/repo}",
405463
"subscriptions_url": "https://api.github.com/users/justinmk/subscriptions",
406464
"type": "User",
407-
"url": "https://api.github.com/users/justinmk"
465+
"url": "https://api.github.com/users/justinmk",
466+
"user_view_type": "public"
408467
}
409468
}

0 commit comments

Comments
 (0)