Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15763)

Issue 13656045: code review 13656045: go.tools/cmd/oracle: Encoding issue, Possible to descri...

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by mattn
Modified:
10 years, 7 months ago
Reviewers:
dsymonds, kisielk
CC:
golang-dev, kisielk, dsymonds, Dominik Honnef
Visibility:
Public.

Description

go.tools/cmd/oracle: Encoding issue, Possible to describe modified file line2byte doesn't handle non utf-8 fileencoding. So added s:getpos(). And also, changing errorformat is not right way on go filetype. Added range operations.

Patch Set 1 #

Patch Set 2 : diff -r e6067e8f6d11 https://code.google.com/p/go.tools #

Patch Set 3 : diff -r e6067e8f6d11 https://code.google.com/p/go.tools #

Patch Set 4 : diff -r e6067e8f6d11 https://code.google.com/p/go.tools #

Patch Set 5 : diff -r e6067e8f6d11 https://code.google.com/p/go.tools #

Total comments: 3

Patch Set 6 : diff -r e6067e8f6d11 https://code.google.com/p/go.tools #

Patch Set 7 : diff -r e6067e8f6d11 https://code.google.com/p/go.tools #

Patch Set 8 : diff -r e6067e8f6d11 https://code.google.com/p/go.tools #

Total comments: 4

Patch Set 9 : diff -r ff46809bc605 https://code.google.com/p/go.tools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -27 lines) Patch
M cmd/oracle/oracle.vim View 1 2 3 4 5 6 1 chunk +71 lines, -27 lines 0 comments Download

Messages

Total messages: 14
mattn
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.tools
10 years, 7 months ago (2013-09-12 04:00:11 UTC) #1
kisielk
https://codereview.appspot.com/13656045/diff/11001/cmd/oracle/oracle.vim File cmd/oracle/oracle.vim (right): https://codereview.appspot.com/13656045/diff/11001/cmd/oracle/oracle.vim#newcode21 cmd/oracle/oracle.vim:21: let go_oracle = globpath($GOPATH, '/bin/oracle' . ext) This isn't ...
10 years, 7 months ago (2013-09-12 04:49:45 UTC) #2
mattn
https://codereview.appspot.com/13656045/diff/11001/cmd/oracle/oracle.vim File cmd/oracle/oracle.vim (right): https://codereview.appspot.com/13656045/diff/11001/cmd/oracle/oracle.vim#newcode21 cmd/oracle/oracle.vim:21: let go_oracle = globpath($GOPATH, '/bin/oracle' . ext) globpath treat ...
10 years, 7 months ago (2013-09-12 05:25:59 UTC) #3
mattn
https://codereview.appspot.com/13656045/diff/11001/cmd/oracle/oracle.vim File cmd/oracle/oracle.vim (right): https://codereview.appspot.com/13656045/diff/11001/cmd/oracle/oracle.vim#newcode21 cmd/oracle/oracle.vim:21: let go_oracle = globpath($GOPATH, '/bin/oracle' . ext) On 2013/09/12 ...
10 years, 7 months ago (2013-09-12 05:30:33 UTC) #4
mattn
Done. And I didn't remove the part go_oracle_bin() that find executable. 'oracle' is too generaly ...
10 years, 7 months ago (2013-09-12 05:52:52 UTC) #5
kisielk
LGTM but probably someone with more vimscript experience should look at it too.
10 years, 7 months ago (2013-09-12 18:06:47 UTC) #6
mattn
dsymonds, could you please review this? On Friday, September 13, 2013 3:06:47 AM UTC+9, Kamil ...
10 years, 7 months ago (2013-09-14 16:13:36 UTC) #7
mattn
Added dsymonds as reviewer. Could you take a time to review?
10 years, 7 months ago (2013-09-17 07:11:05 UTC) #8
dsymonds
I haven't looked too closely, and haven't played with the oracle yet myself, but this ...
10 years, 7 months ago (2013-09-17 07:16:32 UTC) #9
Dominik Honnef
https://codereview.appspot.com/13656045/diff/25001/cmd/oracle/oracle.vim File cmd/oracle/oracle.vim (right): https://codereview.appspot.com/13656045/diff/25001/cmd/oracle/oracle.vim#newcode23 cmd/oracle/oracle.vim:23: let go_oracle = globpath($GOROOT, '/bin/oracle' . ext) On 2013/09/17 ...
10 years, 7 months ago (2013-09-17 07:24:40 UTC) #10
mattn
https://codereview.appspot.com/13656045/diff/25001/cmd/oracle/oracle.vim File cmd/oracle/oracle.vim (right): https://codereview.appspot.com/13656045/diff/25001/cmd/oracle/oracle.vim#newcode57 cmd/oracle/oracle.vim:57: if &encoding != 'utf-8' On 2013/09/17 07:16:32, dsymonds wrote: ...
10 years, 7 months ago (2013-09-17 07:33:14 UTC) #11
dsymonds
LGTM okay, seems good enough for now I guess.
10 years, 7 months ago (2013-09-18 04:01:46 UTC) #12
mattn
On 2013/09/18 04:01:46, dsymonds wrote: > LGTM > > okay, seems good enough for now ...
10 years, 7 months ago (2013-09-20 00:30:58 UTC) #13
dsymonds
10 years, 7 months ago (2013-09-20 01:09:34 UTC) #14
*** Submitted as
https://code.google.com/p/go/source/detail?r=3211db8ff86e&repo=tools ***

go.tools/cmd/oracle: Encoding issue, Possible to describe modified file
        line2byte doesn't handle non utf-8 fileencoding. So added s:getpos().
        And also, changing errorformat is not right way on go filetype.
        Added range operations.

R=golang-dev, kamil.kisiel, dsymonds, dominik.honnef
CC=golang-dev
https://codereview.appspot.com/13656045

Committer: David Symonds <dsymonds@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b