Re: Issue 355 in vim: :swapname prints different string at different occasions

2015-04-29 Fir de Conversatie vim


Comment #2 on issue 355 by istjanic...@gmail.com: :swapname prints  
different string at different occasions

https://code.google.com/p/vim/issues/detail?id=355

Thanks for the patch and the workaround, but ... the patch doesn't fix the  
problem for me. I applied it, but the behavior is the same as before.

After all, you can easily work around it so it's not a big deal.

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message from the vim_dev 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_dev group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: vim.org is down

2015-04-29 Fir de Conversatie Marvin Renich
* MC Andre andrew.penneba...@gmail.com [150428 13:26]:
 No, the point is for **newbies** to be able to reach vim.org and have
 an automatic redirect to www.vim.org, without requiring any special
 user configuration. Tips like modify your hosts file assume the user
 is already an advanced user, defeating the whole purpose of this
 request.
 
 Could the DNS admin please drop in whatever configuration is necessary
 to achieve this redirect?

No, the point is that in «http://example.org/some/page», example.org is
a host name, not a domain name or service name.  This is by design.  The
hostmaster is free to make www.example.org and example.org point to the
same host, if he desires, but it is not now, nor ever has been,
mandatory.  If you are given a URL, use it; don't strip the leading www.
If you are not given a URL, Google for Vim to get the correct URL.  This
is what I would expect a newbie to do.  I see nothing wrong with not
having the domain name be a synonym for the web-serving host.

This topic has been discussed on this list several times before, with
the same answer every time.  If the hostmasters were so inclined, they
would have changed this already.

...Marvin

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


text-object with single quoted string

2015-04-29 Fir de Conversatie mattn

call s:foo_func(\%(foo\))
call s:foo_func('\%(foo\)')

When type vi( on '%' in above, it should select like below.

http://go-gyazo.appspot.com/ce98f67480ace7b0.png

but not selected in latest of vim. And when type vi( on 'f', it should not 
select anything because it contains \%().

This behavior caused that the string is quoted by single-quote. I'm thinking 
vim have better to handle single-quote and double-quote for text-object on 
string literals.

https://gist.github.com/mattn/5f388e4fdba9a69a49a2

This patch handle single quote as same as double quote for text-object on 
string literals.

How do you think?

- mattn

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: vim.org is down

2015-04-29 Fir de Conversatie Andrew Pennebaker
Let's have the hostmaster do this.

On Wed, Apr 29, 2015 at 7:42 AM, Marvin Renich m...@renich.org wrote:

 * MC Andre andrew.penneba...@gmail.com [150428 13:26]:
  No, the point is for **newbies** to be able to reach vim.org and have
  an automatic redirect to www.vim.org, without requiring any special
  user configuration. Tips like modify your hosts file assume the user
  is already an advanced user, defeating the whole purpose of this
  request.
 
  Could the DNS admin please drop in whatever configuration is necessary
  to achieve this redirect?

 No, the point is that in «http://example.org/some/page», example.org is
 a host name, not a domain name or service name.  This is by design.  The
 hostmaster is free to make www.example.org and example.org point to the
 same host, if he desires, but it is not now, nor ever has been,
 mandatory.  If you are given a URL, use it; don't strip the leading www.
 If you are not given a URL, Google for Vim to get the correct URL.  This
 is what I would expect a newbie to do.  I see nothing wrong with not
 having the domain name be a synonym for the web-serving host.

 This topic has been discussed on this list several times before, with
 the same answer every time.  If the hostmasters were so inclined, they
 would have changed this already.

 ...Marvin

 --
 --
 You received this message from the vim_dev 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_dev group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to vim_dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: text-object with single quoted string

2015-04-29 Fir de Conversatie Ben Fritz
On Wednesday, April 29, 2015 at 11:06:20 AM UTC-5, mattn wrote:
 call s:foo_func(\%(foo\))
 call s:foo_func('\%(foo\)')
 
 When type vi( on '%' in above, it should select like below.
 
 http://go-gyazo.appspot.com/ce98f67480ace7b0.png
 
 but not selected in latest of vim. 

I can confirm this, I would expect the whole outer parenthesis content to be 
selected, instead, nothing at all happens on the second line. The first line 
works as expected.

 And when type vi( on 'f', it should not select anything because it contains 
 \%().
 

You lost me here. I would either expect this to select foo\, or if it's 
smart, to do the same as before and select just the outer parenthesis. Neither 
happens. In the first line (double quote case) nothing at all happens. In the 
second line, foo\)' is selected, which is obviously wrong here.

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: vim.org is down

2015-04-29 Fir de Conversatie Lane East
在 2011年4月23日星期六 UTC+8上午8:22:06,Ben Schmidt写道:
 Jason wrote:
  There is no A record for the domain name vim.org. That is,
  this link shouldn't work:
 
  http://vim.org/
 
 That's correct, actually. Not only doesn't it work, but it shouldn't
 work. It is a shame people have abused DNS and expect it to work.
 
 Marc wrote:
  There have been lot's of discussion about this on the mailinglist.
  That this topic is being written about again and again is a reason to
  change it. IMHO.
 
 To some extent, I agree. It'd be nice to 'fix' this, just to silence the
 noise on the mailing list.
 
 But how?
 
 We can't CNAME it; it would be against spec, and would break things. We
 can't add an A record, because sourceforge might change it under us
 and/or we don't know what magic they might be doing with load balancing,
 etc. that we would irresponsibly bypass if we did that.
 
 Perhaps the simplest thing is to get some cheap 'DNS hosting' that
 offers a 'redirect' function. Basically the function just has a server
 listen on port 80 for requests and return a 3xx (preferably 301 in our
 case) redirect (to http://www.vim.org/ in our case) whenever it gets
 one. No smart URL rewriting or anything. We might already have it (it
 commonly is included with domain names in my experience) and just need
 to set it up. If not, in my experience, it's very cheap, something like
 a year's worth of hosting for the price of a glass of fruit juice.
 Because it's actually a webserver, not done in DNS, it bypasses the
 DNS-related difficulties, and because it's such a simple task and it
 should be low-traffic anyway, loading isn't an issue.
 
 Ben.

I know wwwizer provides a server for this, just point vim.org to 
174.129.25.170, it'll do a 301 redirection to www.vim.org

-- 
-- 
You received this message from the vim_dev 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_dev group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.