Wednesday, December 10, 2014

Re: Problem with 'gx'

On 10/12/2014 11:15 a.m., Charles Campbell wrote:
> Cesar Romani wrote:
>> On 08/12/2014 05:29 p.m., Charles E Campbell wrote:
>>> Cesar Romani wrote:
>>>> I'm using vim 7.4.542 on Windows 7.
>>>> When I do 'gx' on an url I always get:
>>>> Press<cr> to continue
>>>>
>>>> How can I suppress it?
>>>>
>>>> Many thanks in advance,
>>>>
>>> Try :set ch=2
>>>
>>> Regards,
>>> Chip Campbell
>>
>> It doesn't help. I always get:
>> Press<cr> to continue
>>
> Some questions...
>
> * What does: :echo v:scrollstart show when the message appears?
> * What o/s are you using?
> * Are you using ftp, scp, or what?
> * You may want to look at ":help netrw-debug' and use that to find out
> which command netrw is actually using. What happens when you try that
> command manually? From inside vim?

I already said, that I'm using vim 7.4.542 on Windows 7.

If I have an url on a file, say https://www.google.com, and I put the
cursor over it, and type 'gx' I get the page started, but on the file I
always have at the bottom:
Press <cr> to continue

How to turn it off?

On :echo v:scrollstart' I don't get anything!

I installed Decho.vim and when I do 'gx' on 'https://www.google.com' I
get:

--------------------
Error detected while processing C:\Vim\vimfiles\autoload\netrw.vim:
line 308:
E121: Undefined variable: not
E116: Invalid arguments for function Decho
--------------------


The file saved from the debugging is:

-----------------------------
Remote Decho Debugging Window
-----------------------------
doing autoload/netrw.vim version v153j
varname<g:netrw_dirhist_cnt> value=0
varname<s:THINLIST> value=0
varname<s:LONGLIST> value=1
varname<s:WIDELIST> value=2
varname<s:TREELIST> value=3
varname<s:MAXLIST> value=4
varname<g:netrw_use_errorwindow> value=1
varname<g:netrw_http_xcmd> value=-o
varname<g:netrw_http_put_cmd> value=curl -T
varname<g:netrw_rcp_cmd> value=rcp
varname<g:netrw_rsync_cmd> value=rsync
varname<g:netrw_scp_cmd> value=scp -q
varname<g:netrw_sftp_cmd> value=sftp
varname<g:netrw_ssh_cmd> value=ssh
varname<g:netrw_alto> value=0
varname<g:netrw_altv> value=0
varname<g:netrw_banner> value=1
varname<g:netrw_browse_split> value=0
varname<g:netrw_bufsettings> value=noma nomod nonu nobl nowrap ro nornu
varname<g:netrw_chgwin> value=-1
varname<g:netrw_compress> value=gzip
varname<g:netrw_ctags> value=ctags
varname<g:netrw_cursor> value=2
varname<g:netrw_cygdrive> value=/cygdrive
varname<s:didstarstar> value=0
varname<g:netrw_dirhist_cnt> value=0
varname<g:netrw_decompress> value={ ".gz" : "gunzip", ".bz2" :
"bunzip2", ".zip" : "unzip", ".tar" : "tar -xf", ".xz" : "unxz" }
varname<g:netrw_dirhistmax> value=10
varname<g:netrw_errorlvl> value=0
varname<g:netrw_fastbrowse> value=1
varname<g:netrw_ftp_browse_reject>
value=^total\s\+\d\+$\|^Trying\s\+\d\+.*$\|^KERBEROS_V\d
rejected\|^Security extensions not\|No such file\|: connect to address
[0-9a-fA-F:]*: No route to host$
varname<g:netrw_ftpmode> value=binary
varname<g:netrw_hide> value=1
varname<g:netrw_keepdir> value=1
varname<g:netrw_list_hide> value=
varname<g:netrw_remote_mkdir> value=mkdir
varname<g:netrw_liststyle> value=0
varname<g:netrw_markfileesc> value=*./[\~
varname<g:netrw_maxfilenamelen> value=32
varname<g:netrw_menu> value=1
varname<g:netrw_mkdir_cmd> value=ssh USEPORT HOSTNAME mkdir
varname<g:netrw_mousemaps> value=1
varname<g:netrw_retmap> value=0
varname<g:netrw_chgperm> value=cacls FILENAME /e /p PERM
varname<g:netrw_preview> value=0
varname<g:netrw_scpport> value=-P
varname<g:netrw_servername> value=NETRWSERVER
varname<g:netrw_sshport> value=-p
varname<g:netrw_rename_cmd> value=ssh USEPORT HOSTNAME mv
varname<g:netrw_rm_cmd> value=ssh USEPORT HOSTNAME rm
varname<g:netrw_rmdir_cmd> value=ssh USEPORT HOSTNAME rmdir
varname<g:netrw_rmf_cmd> value=ssh USEPORT HOSTNAME rm -f
varname<g:netrw_quickhelp> value=0
varname<g:netrw_sepchr> value=ÿ
varname<s:netrw_silentxfer> value=keepj
varname<g:netrw_sort_by> value=name
varname<g:netrw_sort_options> value=
varname<g:netrw_sort_direction> value=normal
varname<g:netrw_special_syntax> value=0
varname<g:netrw_ssh_browse_reject> value=^total\s\+\d\+$
varname<g:netrw_use_noswf> value=1
varname<g:netrw_timefmt> value=%c
varname<g:NetrwTopLvlMenu> value=Netrw.
varname<g:netrw_win95ftp> value=1
varname<g:netrw_winsize> value=50
varname<g:netrw_fname_escape> value= ?&;%
varname<g:netrw_glob_escape> value=*?`{[]$
varname<g:netrw_menu_escape> value=.&? \
varname<g:netrw_tmpfile_escape> value= &;
varname<s:netrw_map_escape> value=<|^J^M\^V"
installed beval events
loading netrw#BalloonHelp()
netrw#CheckIfRemote() {
|return netrw#CheckIfRemote 0 }
NetrwBrowseX(fname<https://www.google.com> remote=0) {
|netrw#SavePosn() line#1 col#22 winline#1 wincol#26 {
||netrw#RestorePosn() a:0=0 winnr=1 line=1 col=22 hline=1 {
|||return netrw#RestorePosn : line#1 col#22 winline#1 wincol#26 }
||return netrw#SavePosn : winnr=1 line=1 col=22 hline=1 }
|exten<com>
|setting s:haskdeinit=0
|local: a:remote=0: handling local copy of <https://www.google.com>
|fname<https://www.google.com>
|exten<com> netrwFileHandlers#NFH_com():exists=0
|set up redirection: redir{>nul 2>&1} srr{>%s 2>&1}
|extract any viewing options
|execute the file handler (if any)
|windows
|exe sil !rundll32 url.dll,FileProtocolHandler "https://www.google.com"
|deleting temporary file<https://www.google.com>
|netrw#RestorePosn() a:0=1 winnr=1 line=1 col=22 hline=1 {
||return netrw#RestorePosn : line#1 col#22 winline#1 wincol#26 }
|return NetrwBrowseX }


Many thanks in advance,

--
Cesar

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

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

No comments: