Re: [eclim-user] GVim vs Vim shortcut

2018-09-13 Thread Odne Hellebø
https://stackoverflow.com/questions/7722177/how-do-i-map-ctrl-x-ctrl-o-to-ctrl-space-in-terminal-vim

On Tuesday, September 11, 2018 at 4:59:52 AM UTC+2, Eric Van Dewoestine 
wrote:
>
> Terminal key codes can differ from the gvim key codes. For gvim you 
> can probably use . 
>
> On 2018-09-07 11:11:59, sam_w...@hotmail.com  wrote: 
> > Hey guys, 
> > I've been using Headless eclim for some time now and wanted to switch 
> back 
> > to the embedded eclim for a bigger project I'm am working on. Everything 
> > was working great until I tried to hit my autocomplete remap and all it 
> did 
> > was enter a space. My insert remap is set to  which is just 
> > ctrl-space, I can confirm this is not a problem on normal console vim as 
> > the key works but it doesn't work in non-embedded gvim, I can also 
> confirm 
> > that it is not a issue with autocomplete as that works too. it seems to 
> not 
> > even show up on :map even if I set it manually. 
> > here is what I set it with "inoremap  " 
> > thank you 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "eclim-user" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to eclim-user+...@googlegroups.com . 
> > To post to this group, send email to eclim...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/eclim-user. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
> -- 
> eric 
>

-- 
You received this message because you are subscribed to the Google Groups 
"eclim-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to eclim-user+unsubscr...@googlegroups.com.
To post to this group, send email to eclim-user@googlegroups.com.
Visit this group at https://groups.google.com/group/eclim-user.
For more options, visit https://groups.google.com/d/optout.


Re: [eclim-user] Problem with photon

2018-08-27 Thread Odne Hellebø
Also worth noting is that the file is latin1, you can convert back and 
forth with :w ++enc=latin1/utf8

On Monday, August 27, 2018 at 10:16:09 PM UTC+2, Odne Hellebø wrote:
>
> I finally found an example. Go to  ErrorMapper.addError and then do 
> :JavaSearchContext, and you should see no search result. Remove line 18 or 
> one of the bad chars and then it works.
>
> On Thursday, August 2, 2018 at 7:54:03 PM UTC+2, Odne Hellebø wrote:
>>
>> I just installed jdk10 and closed vim and eclimd. Then tried again and 
>> still got no results. 
>>
>> I'd love to make you a succinct example, but to be honest I'm not sure 
>> how to. It is "own" code base. But it is pretty big so it is not easy to 
>> narrow it down. But I tried looking for the java_search in the eclim source 
>> and couldn't immediately see that the encoding was used in one of the 
>> SearchCommand.executeSearch(CommandLine commandLine). Is that something to 
>> go on maybe?
>>
>> On Thursday, August 2, 2018 at 7:28:19 PM UTC+2, Eric Van Dewoestine 
>> wrote:
>>>
>>> Do you have jdk9 or jdk10 installed (even if you aren't using them)? 
>>> In my environment, simply having one of those installed caused eclipse 
>>> to start returning module based source locations for standard libs. 
>>>
>>> Also, what are you searching for? java*. packages or are you searching 
>>> within your own code base? If you can create a small working example 
>>> that you can share, that'll make it easier to see what's going on. 
>>>
>>> On 2018-08-02 10:17:24, Odne Hellebø wrote: 
>>> > I'm using java-8-openjdk. 
>>> > I put eclimlogging on trace and got this 
>>> > (0s) system: 
>>> > 
>>> "/org.eclipse.platform_4.8.0_155965261_linux_gtk_x86_64/plugins/org.eclim_2.8.0/bin/eclim"
>>>  
>>>
>>> > --nailgun-server localhost --nailgun-port 9091 -editor vim -command 
>>> > java_search -n "dds" -f "" -o 57088 -e latin1 -l 11 
>>> > Anything else that you need to narrow down the problem I'm here :) 
>>> > 
>>> > 
>>> > On Thursday, August 2, 2018 at 6:47:50 PM UTC+2, Eric Van Dewoestine 
>>> wrote: 
>>> > > 
>>> > > What jdk version are you running? The introduction of java modules 
>>> > > broke a lot of stuff in eclim that I haven't had time to fix. Some 
>>> > > issues are with eclipse (I can reproduce some searching issues in 
>>> the 
>>> > > UI), but others are unfortunately changes they made that make life 
>>> > > more difficult. 
>>> > > 
>>> > > On 2018-08-02 07:23:33, Odne Hellebř wrote: 
>>> > > > I've installed latest eclipse that is in repo on arch 02082018. 
>>> Eclipse 
>>> > > > photon 4.8.2, and for some reason using JavaSearchContext in some 
>>> files 
>>> > > > doesn't work. The project is compiled with mvn. It works in 
>>> Eclipse 
>>> > > program 
>>> > > > and in Netbeans. One difference between the files is the encoding 
>>> and 
>>> > > was 
>>> > > > wondering if that could have something to do with it. 
>>> > > > One file that doesn't work is: Java source, ISO-8859 text, with 
>>> very 
>>> > > long 
>>> > > > lines 
>>> > > > One file that does work is: UTF-8 Unicode text, with CRLF line 
>>> > > terminators 
>>> > > > 
>>> > > > I'm just grasping here. Is there some settings that need to be 
>>> set? 
>>> > > > 
>>> > > > -- 
>>> > > > You received this message because you are subscribed to the Google 
>>> > > Groups "eclim-user" group. 
>>> > > > To unsubscribe from this group and stop receiving emails from it, 
>>> send 
>>> > > an email to eclim-user+...@googlegroups.com . 
>>> > > > To post to this group, send email to eclim...@googlegroups.com 
>>> > > . 
>>> > > > Visit this group at https://groups.google.com/group/eclim-user. 
>>> > > > For more options, visit https://groups.google.com/d/optout. 
>>> > > 
>>> > > 
>>> > > -- 
>>> > > eric 
>>> > > 
>>> > 
>>> > -- 
>>> > You received this message because you are subscribed to the Google 
>>> Groups "eclim-user" group. 
>>> > To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to eclim-user+...@googlegroups.com. 
>>> > To post to this group, send email to eclim...@googlegroups.com. 
>>> > Visit this group at https://groups.google.com/group/eclim-user. 
>>> > For more options, visit https://groups.google.com/d/optout. 
>>>
>>>
>>> -- 
>>> eric 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"eclim-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to eclim-user+unsubscr...@googlegroups.com.
To post to this group, send email to eclim-user@googlegroups.com.
Visit this group at https://groups.google.com/group/eclim-user.
For more options, visit https://groups.google.com/d/optout.


Re: [eclim-user] Problem with photon

2018-08-27 Thread Odne Hellebø
I finally found an example. Go to  ErrorMapper.addError and then do 
:JavaSearchContext, and you should see no search result. Remove line 18 or 
one of the bad chars and then it works.

On Thursday, August 2, 2018 at 7:54:03 PM UTC+2, Odne Hellebø wrote:
>
> I just installed jdk10 and closed vim and eclimd. Then tried again and 
> still got no results. 
>
> I'd love to make you a succinct example, but to be honest I'm not sure how 
> to. It is "own" code base. But it is pretty big so it is not easy to narrow 
> it down. But I tried looking for the java_search in the eclim source and 
> couldn't immediately see that the encoding was used in one of the 
> SearchCommand.executeSearch(CommandLine commandLine). Is that something to 
> go on maybe?
>
> On Thursday, August 2, 2018 at 7:28:19 PM UTC+2, Eric Van Dewoestine wrote:
>>
>> Do you have jdk9 or jdk10 installed (even if you aren't using them)? 
>> In my environment, simply having one of those installed caused eclipse 
>> to start returning module based source locations for standard libs. 
>>
>> Also, what are you searching for? java*. packages or are you searching 
>> within your own code base? If you can create a small working example 
>> that you can share, that'll make it easier to see what's going on. 
>>
>> On 2018-08-02 10:17:24, Odne Hellebø wrote: 
>> > I'm using java-8-openjdk. 
>> > I put eclimlogging on trace and got this 
>> > (0s) system: 
>> > 
>> "/org.eclipse.platform_4.8.0_155965261_linux_gtk_x86_64/plugins/org.eclim_2.8.0/bin/eclim"
>>  
>>
>> > --nailgun-server localhost --nailgun-port 9091 -editor vim -command 
>> > java_search -n "dds" -f "" -o 57088 -e latin1 -l 11 
>> > Anything else that you need to narrow down the problem I'm here :) 
>> > 
>> > 
>> > On Thursday, August 2, 2018 at 6:47:50 PM UTC+2, Eric Van Dewoestine 
>> wrote: 
>> > > 
>> > > What jdk version are you running? The introduction of java modules 
>> > > broke a lot of stuff in eclim that I haven't had time to fix. Some 
>> > > issues are with eclipse (I can reproduce some searching issues in the 
>> > > UI), but others are unfortunately changes they made that make life 
>> > > more difficult. 
>> > > 
>> > > On 2018-08-02 07:23:33, Odne Hellebř wrote: 
>> > > > I've installed latest eclipse that is in repo on arch 02082018. 
>> Eclipse 
>> > > > photon 4.8.2, and for some reason using JavaSearchContext in some 
>> files 
>> > > > doesn't work. The project is compiled with mvn. It works in Eclipse 
>> > > program 
>> > > > and in Netbeans. One difference between the files is the encoding 
>> and 
>> > > was 
>> > > > wondering if that could have something to do with it. 
>> > > > One file that doesn't work is: Java source, ISO-8859 text, with 
>> very 
>> > > long 
>> > > > lines 
>> > > > One file that does work is: UTF-8 Unicode text, with CRLF line 
>> > > terminators 
>> > > > 
>> > > > I'm just grasping here. Is there some settings that need to be set? 
>> > > > 
>> > > > -- 
>> > > > You received this message because you are subscribed to the Google 
>> > > Groups "eclim-user" group. 
>> > > > To unsubscribe from this group and stop receiving emails from it, 
>> send 
>> > > an email to eclim-user+...@googlegroups.com . 
>> > > > To post to this group, send email to eclim...@googlegroups.com 
>> > > . 
>> > > > Visit this group at https://groups.google.com/group/eclim-user. 
>> > > > For more options, visit https://groups.google.com/d/optout. 
>> > > 
>> > > 
>> > > -- 
>> > > eric 
>> > > 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "eclim-user" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to eclim-user+...@googlegroups.com. 
>> > To post to this group, send email to eclim...@googlegroups.com. 
>> > Visit this group at https://groups.google.com/group/eclim-user. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>
>> -- 
>> eric 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"eclim-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to eclim-user+unsubscr...@googlegroups.com.
To post to this group, send email to eclim-user@googlegroups.com.
Visit this group at https://groups.google.com/group/eclim-user.
For more options, visit https://groups.google.com/d/optout.
import java.util.Locale;
import java.text.DecimalFormatSymbols;
public class A {
public static void main(String args[]) {
Locale locale = new Locale("nb");
DecimalFormatSymbols dfs = new DecimalFormatSymbols(locale);
System.out.println(dfs.getDecimalSeparator());

}
}


Re: [eclim-user] Problem with photon

2018-08-02 Thread Odne Hellebø
I just installed jdk10 and closed vim and eclimd. Then tried again and 
still got no results. 

I'd love to make you a succinct example, but to be honest I'm not sure how 
to. It is "own" code base. But it is pretty big so it is not easy to narrow 
it down. But I tried looking for the java_search in the eclim source and 
couldn't immediately see that the encoding was used in one of the 
SearchCommand.executeSearch(CommandLine commandLine). Is that something to 
go on maybe?

On Thursday, August 2, 2018 at 7:28:19 PM UTC+2, Eric Van Dewoestine wrote:
>
> Do you have jdk9 or jdk10 installed (even if you aren't using them)? 
> In my environment, simply having one of those installed caused eclipse 
> to start returning module based source locations for standard libs. 
>
> Also, what are you searching for? java*. packages or are you searching 
> within your own code base? If you can create a small working example 
> that you can share, that'll make it easier to see what's going on. 
>
> On 2018-08-02 10:17:24, Odne Hellebø wrote: 
> > I'm using java-8-openjdk. 
> > I put eclimlogging on trace and got this 
> > (0s) system: 
> > 
> "/org.eclipse.platform_4.8.0_155965261_linux_gtk_x86_64/plugins/org.eclim_2.8.0/bin/eclim"
>  
>
> > --nailgun-server localhost --nailgun-port 9091 -editor vim -command 
> > java_search -n "dds" -f "" -o 57088 -e latin1 -l 11 
> > Anything else that you need to narrow down the problem I'm here :) 
> > 
> > 
> > On Thursday, August 2, 2018 at 6:47:50 PM UTC+2, Eric Van Dewoestine 
> wrote: 
> > > 
> > > What jdk version are you running? The introduction of java modules 
> > > broke a lot of stuff in eclim that I haven't had time to fix. Some 
> > > issues are with eclipse (I can reproduce some searching issues in the 
> > > UI), but others are unfortunately changes they made that make life 
> > > more difficult. 
> > > 
> > > On 2018-08-02 07:23:33, Odne Hellebř wrote: 
> > > > I've installed latest eclipse that is in repo on arch 02082018. 
> Eclipse 
> > > > photon 4.8.2, and for some reason using JavaSearchContext in some 
> files 
> > > > doesn't work. The project is compiled with mvn. It works in Eclipse 
> > > program 
> > > > and in Netbeans. One difference between the files is the encoding 
> and 
> > > was 
> > > > wondering if that could have something to do with it. 
> > > > One file that doesn't work is: Java source, ISO-8859 text, with very 
> > > long 
> > > > lines 
> > > > One file that does work is: UTF-8 Unicode text, with CRLF line 
> > > terminators 
> > > > 
> > > > I'm just grasping here. Is there some settings that need to be set? 
> > > > 
> > > > -- 
> > > > You received this message because you are subscribed to the Google 
> > > Groups "eclim-user" group. 
> > > > To unsubscribe from this group and stop receiving emails from it, 
> send 
> > > an email to eclim-user+...@googlegroups.com . 
> > > > To post to this group, send email to eclim...@googlegroups.com 
> > > . 
> > > > Visit this group at https://groups.google.com/group/eclim-user. 
> > > > For more options, visit https://groups.google.com/d/optout. 
> > > 
> > > 
> > > -- 
> > > eric 
> > > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "eclim-user" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to eclim-user+...@googlegroups.com . 
> > To post to this group, send email to eclim...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/eclim-user. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
> -- 
> eric 
>

-- 
You received this message because you are subscribed to the Google Groups 
"eclim-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to eclim-user+unsubscr...@googlegroups.com.
To post to this group, send email to eclim-user@googlegroups.com.
Visit this group at https://groups.google.com/group/eclim-user.
For more options, visit https://groups.google.com/d/optout.