sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: neovim
Issue: remove 'shelltemp'
Labels: compatibility,needs:design,encoding,tui,system

Followup of https://github.com/neovim/neovim/pull/978#issuecomment-49671122 . 

In Neovim we are mostly using pipes instead of temp files for reliability and [performance](https://github.com/neovim/neovim/pull/978#issuecomment-50092527).

But there's an edge that mentioned in Vim `:help 'shelltemp'`:

```
    The advantage of using a temp file is that the file type and encoding
    can be detected.
```

We 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.

Vim 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.

However [this SO post](http://stackoverflow.com/a/17177904/152142) gives insight into the behavior of encodings on Windows.

> 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.

That post and the vim-sensible issue report suggest that this issue may be Windows-only, and possibly specific to cmd.exe. 

Next steps:
- reproduce edge case in Vim, then try the same steps in Neovim
- 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):
  - https://github.com/mileszs/ack.vim
  - https://github.com/dyng/ctrlsf.vim
- is it Windows-only?
  - if so, is it specific to cmd.exe?
    - 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)).

---

The more I stare at the help text, the more I think this is related to Vim autocmds rather than some mysterious OS behavior. 
- Detecting the file type is _almost certainly_ a reference the `ftdetect` Vim mechanism.
- 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.

---

Notes on Windows:

http://blogs.msdn.com/b/oldnewthing/archive/2005/03/08/389527.aspx
- there are typically two 8-bit code pages active, the so-called "ANSI" code page and the so-called "OEM" code page
- cmd.exe `/U` forces Unicode for piped/redirected output
Repository: TypeScript
Issue: Consider adding a module level visibility modifier.
Labels: Suggestion,Needs Proposal

Currently to protect integrity of data one can only use classes with private or protected fields. Classes are harder to work with compared to object literals. Being able to specify that certain fields are invisible to outside modules would be a valuable addition to support programming in functional style in TypeScript.

So what I am suggesting is to be able to specify whether a field of an interface is exported from a module or not. This also means that the instance of such interface can only be created within the module it is declared.

The similar features can be found in:
- F# called `signature files`: http://msdn.microsoft.com/en-us/library/dd233196.aspx
- Haskell called `export lists`: http://www.haskell.org/onlinereport/modules.html
Repository: youtube-dl
Issue: Feature request: Summary for batch downloads
Labels: request

Individual downloads have summary like that: 

```
[download] 100% of 643.4MiB in 04:01
```

It would be convenient if in the end of the batch download there was a summary like that:

```
video-list.txt : [download] 100% of 3.41GiB in 01:14:07
```
Repository: neovim
Issue: Better repeat
Labels: enhancement,multicursor

Quoting `:help cw`:

> If you prefer "cw" to include the space after a word, use this mapping: >
>     :map cw dwi

That makes me love vim, because that makes so much sense. Make a new command just by simply combining a few others!

Then comes what makes me not so happy about vim anymore. The above mapping does not work with <kbd>.</kbd> repeat, because only the `i` part of the command will be repeated. That’s not what you expect as a user. Especially since undo works as expected.

Instead, we have to write like 20 lines of vimscript to accomplish what we want (https://github.com/ap/vim-you-keep-using-that-word).

Similarly, after playing back a macro I’d also expect the _whole macro_ to be repeated.

It’s a shame that something like https://github.com/tpope/vim-repeat needs to exist.

Could neovim possibly sometime in the future repeat the whole last command, instead of just the last part of it?

<bountysource-plugin>

---

Want to back this issue? **[Place a bounty on it!](https://www.bountysource.com/issues/3460140-better-repeat?utm_campaign=plugin&utm_content=tracker%2F461131&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F461131&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Repository: neovim
Issue: Remove 'Press ENTER or type command to continue'
Labels: enhancement,ui,ux

I'm not very familiar with C or else I'd do it myself, but it would be great if the 'Press ENTER or type command to continue' line didn't print every time you ran an external command. It's something you only need to see once, and seeing it every time gets rather annoying. I think this message should just be removed and the behaviour it describes (hitting a key to go back to vim after running a shell command) be folded into the documentation (if it's not there already).
Repository: neovim
Issue: breadth-first search for :find, findfile(), etc.
Labels: enhancement

Vim searches directory structures using a depth-first algorithm. For example, let's say you have the following directory structure:

```
~/
  - apps/
    - (tons of stuff)
    - ...
    - barsoft/
      - licenses/
      - programs/
        - bazfest/
          - versions/
            - 2014/
              - foo
  - projects/
    - foo
```

If your current directory in vim is `~/` and you try to `:find foo` or put your cursor over the word `foo` and enter the normal command `gf`, it will (1) take forever, and (2) end up finding `~/apps/barsoft/programs/bazfest/versions/2014/foo`, which is probably not what you were after, because `~/projects/foo` is much "closer". This is a result of depth-first searching (meaning vim looks at children of a directory node before looking at siblings), and is dumb.

I implore you to use breadth-first searching instead (meaning vim should look at sibling nodes before child nodes), which is much better.
Repository: neovim
Issue: restore 'ttyfast'
Labels: defaults,refactor

default 'ttyfast' to ON, for reasons here: https://github.com/neovim/neovim/pull/1015#issuecomment-50975716

also remove:

vim_is_fastterm
vim_is_vt300

Edit: Vim later also did this. https://github.com/vim/vim/issues/11549#issuecomment-1314509323
Repository: rust
Issue: rustdoc: Allow customizing the crate list sidebar.
Labels: T-rustdoc,C-enhancement,A-rustdoc-ui,T-rustdoc-frontend

http://doc.servo.org/servo/index.html is the rustdoc documentation for Servo’s own crates, those of all dependencies (submodules), and Rust’s (for the version used by Servo, which is usually a few weeks behind Rust master.)

Currently, this is a total of 69 crates that are listed in alphabetical order. Instead, I would like the sidebar to have three sub-sections (Servo, submodules, and Rust) each listing the corresponding crates. The sidebar is generated by a copy of [`src/librustdoc/html/static/main.js`](https://github.com/rust-lang/rust/blob/8a02304a44/src/librustdoc/html/static/main.js#L682-L698), and therefore is not easy to customize.

Could rustdoc help with this? Perhaps, rather than adding a feature for exactly what Servo wants, enable arbitrary behavior by providing a hook for overriding the bit of JS that generates the sidebar?
Repository: TypeScript
Issue: JSDoc for methods with multiple signatures 
Labels: Suggestion,Awaiting More Feedback,Domain: JSDoc

First I've thought about union types but they can solve only part of the problem. Original discussion started [here](https://typescript.codeplex.com/discussions/470744). In case codeplex had been abandoned, I copy my question here. 

Please take a look at this function. https://github.com/digitalbazaar/forge/blob/master/js/rsa.js#L802-L885 As you can see from comments there are a lot of ways to use it. If I need to make a type definitions for it (actually I do) with JSDoc Intellisense support, then I have to copy general function description like 10 times. This will make my definition 3 times longer than source function and also very hard to modify. In libraries like forge almost all functions have being made that way.

Can you give me some tip about making definitions in such circumstances?
Repository: youtube-dl
Issue: can't watch xfinity.com video from Canada
Labels: site-support-request

Tried to watch http://www.tv.com/redir?url=http%3A//xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos%3Fcmpid%3Dsyn_rss .
midori said I have old version of Adobe Flash Player.

Tried youtube-dl. Here is my console output:
"youtube-dl --verbose 'http://xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos?cmpid=syn_rss'
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos?cmpid=syn_rss']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2014.07.25.1
[debug] Python version 2.7.5 - Linux-3.14.15-100.fc19.x86_64-x86_64-with-fedora-19-Schrödinger’s_Cat
[debug] Proxy map: {}
[generic] videos?cmpid=syn_rss: Requesting header
WARNING: Falling back on generic information extractor.
[generic] videos?cmpid=syn_rss: Downloading webpage
[generic] videos?cmpid=syn_rss: Extracting information
ERROR: Unsupported URL: http://xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos?cmpid=syn_rss; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 456, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 1418, in parse_xml
    return xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 37, column 139
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 169, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 751, in _real_extract
    raise ExtractorError('Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://xfinitytv.comcast.net/watch/Crossbones/5521595433157495112/314641475846/Crossbones/videos?cmpid=syn_rss; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Repository: TypeScript
Issue: Allow a module to implement an interface
Labels: Suggestion,Help Wanted

It would be useful when a module can implement an interface using the `implements` keyword. Syntax: `module MyModule implements MyInterface { ... }`.

Example:

``` typescript
interface Showable {
    show(): void;
}
function addShowable(showable: Showable) {

}

// This works:
module Login {
    export function show() {
        document.getElementById('login').style.display = 'block';
    }
}
addShowable(Login);

// This doesn't work (yet?)
module Menu implements Showable {
    export function show() {
        document.getElementById('menu').style.display = 'block';
    }
}
addShowable(Menu);
```
Repository: nvm
Issue: npm man pages not accessible
Labels: feature requests,needs followup

Problem:
npm man pages are not working for me when I run:
$ man npm

Reason:
npm man pages path (~NODE_PATH/npm/man) is not in $MANPATH

Solution:
npm man pages path (~NODE_PATH/npm/man) needs to be added to $MANPATH at:
https://github.com/creationix/nvm/blob/master/nvm.sh#L586
Repository: nvm
Issue: "npm command not found" on ARM arch
Labels: shell: zsh,OS: ubuntu,installing node,needs followup

Ubuntu 14, node v0.10.3 (arm7), chromebook with crouton. 

Nvm installed without issues.

Terminal restarted

nvm use 0.10.3

npm install (anything)

command not found.

Am I missing something?

If node is installed and in my path does that mean that npm is too?

Sorry if this is a dumb question.

Thanks in advance.
Repository: youtube-dl
Issue: Support for downloading HLS manifest files for the same videoid on iOS devices for youtube.
Labels: request

The tools gets most of the file format correctly by combining url_encoded_fmt_stream_map and adaptive_fmts based on a youtube video-id.

I would also like to get a list of file format when youtube playing back on iPhone/iPad which I believed it's using Http Live Streaming format, if we can enhance the tool to at least getting the manifest files used when playback youtube on iOS devices based on the same video-id that would be great.
Repository: youtube-dl
Issue: SWR Mediathek (German TV Broadcaster) not supported
Labels: site-support-request

The "Mediathek" of the German Broadcaster SWR isn't supported by youtube-dl.

Example link: http://www.swr.de/nachtcafe/nachtcafe-demenz-wie-damit-leben/-/id=200198/did=12840152/nid=200198/nykr9o/index.html
Repository: youtube-dl
Issue: [site-support-request] redflagnews.com
Labels: site-support-request

```
D:\youtube-dl>youtube-dl.exe --update
youtube-dl is up-to-date (2014.08.10)

D:\youtube-dl>youtube-dl.exe --verbose http://www.redflagnews.com/headlines/nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-s
tunned-by-what-the-officer-says-to-the-reporter
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.redflagnews.com/headlines/nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-b
e-stunned-by-what-the-officer-says-to-the-reporter']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.08.10
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned-by-what-the-officer-says-to-the-reporter: Requesting header

WARNING: Falling back on generic information extractor.
[generic] nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned-by-what-the-officer-says-to-the-reporter: Downloading webpa
ge
[generic] nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned-by-what-the-officer-says-to-the-reporter: Extracting inform
ation
ERROR: Unsupported URL: http://www.redflagnews.com/headlines/nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned-by-what-
the-officer-says-to-the-reporter; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include i
ts complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "youtube_dl\extractor\generic.pyo", line 457, in _real_extract
  File "youtube_dl\utils.pyo", line 1426, in parse_xml
  File "xml\etree\ElementTree.pyo", line 1300, in XML
  File "xml\etree\ElementTree.pyo", line 1642, in feed
  File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 516, in extract_info
  File "youtube_dl\extractor\common.pyo", line 170, in extract
  File "youtube_dl\extractor\generic.pyo", line 752, in _real_extract
ExtractorError: Unsupported URL: http://www.redflagnews.com/headlines/nbc-news-crew-threatened-with-arrest-for-filming-a-fema-camp-you-will-be-stunned
-by-what-the-officer-says-to-the-reporter; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and
include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
```
Repository: rust
Issue: Expected type for closure arguments not inferred through two nested func calls
Labels: A-closures,A-inference,C-bug

Test case:

```
struct Foo;

struct FooClosure<'a>(Option<|&mut Foo|:'a>);

fn foo(closure: |&mut Foo, &int|:'static, inputs: &[int]) {
    for input in inputs.iter() {
        FooClosure(Some(|f| closure(f, input)));
    }
}

fn main() {}
```

This yields an error:

```
/home/nmatsakis/tmp/foo.rs:7:20: 7:47 error: mismatched types: expected `core::option::Option<|&mut Foo|>` but found `core::option::Option<|&mut Foo|>` (expected concrete lifetime, but found bound lifetime parameter )                                                                                                                  
```

which occurs because we did not propagate the expected type and thus instantiated the type of the closure parameter with a fresh variable, rather than using a bound region. Another solution to this issue would be finding a better way to decide when we can generalize lifetimes in closure parameters, rather than relying on the closure type.

There is a workaround: just manually annotate the parameter type.
Repository: youtube-dl
Issue: [site-support-request] artistdirect.com
Labels: site-support-request

```
D:\youtube-dl>youtube-dl.exe --update
youtube-dl is up-to-date (2014.08.10)

D:\youtube-dl>youtube-dl.exe --verbose http://www.artistdirect.com/video/cledus-t-judd-how-do-you-milk-a-cow/42719
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.artistdirect.com/video/cledus-t-judd-how-do-you-milk-a-cow/42719']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.08.10
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] 42719: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 42719: Downloading webpage
[generic] 42719: Extracting information
ERROR: Unsupported URL: http://www.artistdirect.com/video/cledus-t-judd-how-do-you-milk-a-cow/42719; please report this issue on https://yt-dl.org/bug
 . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U
  to update.
Traceback (most recent call last):
  File "youtube_dl\extractor\generic.pyo", line 457, in _real_extract
  File "youtube_dl\utils.pyo", line 1426, in parse_xml
  File "xml\etree\ElementTree.pyo", line 1300, in XML
  File "xml\etree\ElementTree.pyo", line 1642, in feed
  File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: mismatched tag: line 41, column 2
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 516, in extract_info
  File "youtube_dl\extractor\common.pyo", line 170, in extract
  File "youtube_dl\extractor\generic.pyo", line 752, in _real_extract
ExtractorError: Unsupported URL: http://www.artistdirect.com/video/cledus-t-judd-how-do-you-milk-a-cow/42719; please report this issue on https://yt-d
l.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  yout
ube-dl -U  to update.

```
Repository: TypeScript
Issue: Support conditional compilation
Labels: Suggestion,Needs More Info

On codeplex this was a popular feature request:

https://typescript.codeplex.com/workitem/111
https://typescript.codeplex.com/workitem/1926

Personally I think preprocessor directives like #if, #elif, #else #endif with possibility to specify symbol to compiler would be very useful.
And a way to mark function (or ambient function declaration) as Conditional (something like [ConditionalAattribute](http://msdn.microsoft.com/en-us/library/system.diagnostics.conditionalattribute%28v=vs.110%29.aspx) in C#) would be great improvement too.
I have lot's of `console.log` like function calls that decrease performance of my application and ability to easily remove all calls to this function would be great.
Repository: youtube-dl
Issue: Add support for vaughnlive.tv
Labels: site-support-request

Hi, first please remove the Justin.tv plugin as the service has shutdown.  Second, can you add Vaughnlive.tv?
Repository: rust
Issue: make use of LLVM's scoped noalias metadata
Labels: A-LLVM,I-slow,C-enhancement,A-codegen,T-compiler,WG-llvm,C-optimization

Rust could pass along lots of aliasing information to LLVM via the new metadata.

http://llvm.org/docs/LangRef.html#noalias-and-alias-scope-metadata

<hr/>

**UPDATE**(@eddyb): Currently blocked on an Unsafe Code Guidelines decision, regarding the exact cases we can treat as UB, and optimize - see https://github.com/rust-lang/rust/issues/16515#issuecomment-377742892 below, and further comments.

While LLVM can and will convert `noalias` *attributes* in function signatures into *scoped `!noalias` metadata* on instructions, when inlining, we never *emit* any such metadata ourselves.

Furthermore, the LLVM conversion is conservative (i.e. scoped to the entire callee) in a way that can't easily be generalized intra-function, without deciding on what to define and what to leave as UB.
Repository: youtube-dl
Issue: Possible to add sox support (for mp3) [Request]
Labels: request

Hi,

Was wondering whether you guys would beable to add the ability to remove "silence" from the downloaded mp3 file as a flag? so we can get rid of the annoying few seconds of silence at the end that accompanies most youtube video mp3's?
This can be achieved using a tool called sox with a command like 
sox "music\Shaggy - Intoxication\6 - Woman Scorn.mp3" "music\Shaggy - Intoxication\6 - Woman Scorn.mp3" reverse silence 1 0.1 0.1% reverse ... Would be nice if you could add it as a flag and youtube-dl will do itself
Repository: rust
Issue: MinGW's linker does not create a reloc section for DYNAMICBASE executables
Labels: A-linkage,A-security,O-windows-gnu,C-bug

This issue exists to track the necessity of a workaround for this bug in the compiler.
Repository: nvm
Issue: `nvm install 0.6.21` installs `v0.6.21-pre`
Labels: installing node,bugs,pull request wanted

Related to #509, `nvm install 0.6.20` installs a node which reports the right version, but `nvm install 0.6` or `nvm install 0.6.21` installs a node which reports `v0.6.21-pre`.