What gets displayed?
Does this happen on gVim as well?
Do Chinese characters appear correctly in the console window when using
other programs?
-Original Message-
From: Mike Li [mailto:[EMAIL PROTECTED]
Sent: Monday, March 05, 2007 10:04 PM
To: vim-dev@vim.org
Subject: Re: bug: gvim
Hi,
I've searched for this for some time now but it's either not available
or I have to hone my search skills a lot.
Most of the time I have multiple xterms opened, running vim sessions
within the same project. The files are tagged and I'm using :ta and :tj
a lot. It happens often that I'm
for big-endian, the following is displayed:
[EMAIL PROTECTED]@
for little-endian, the following is displayed:
8l^M^@
^@
^@ and ^M are control characters.
this definitely happens on gvim as well as console vim under windows
xp. i'm not sure if it happens with other programs in the console
one point of clarification: the correcly functioning fedora console
vim binaries were run under x11 (rxvt-unicode) with appropriate
truetype fonts.
-x
On 3/5/07, Mike Li [EMAIL PROTECTED] wrote:
gvim 7.0 (patches 1-205) under windows xp, built with the mingw
compiler under cygwin (gcc
So, the bottom line is, I'm looking for is a way to open a file
automatically in r/o mode if I'm going to jump to a tag in that file
and the file is opened in another session.
hi,
I've thought about the same feature. I think there are three solutions now:
1. use one xterm with tabs instead
one more update: if i add the following two lines to my _vimrc, then
the ucs-2le text file works:
set fileencodings+=ucs-2le
set encoding=utf-8
note that both need to be set before i edit the file. once i load the
file, setting them no longer helps.
-x
On 3/6/07, Mike Li [EMAIL PROTECTED]
On Mar 6 11:54, Milan Vancura wrote:
So, the bottom line is, I'm looking for is a way to open a file
automatically in r/o mode if I'm going to jump to a tag in that file
and the file is opened in another session.
hi,
I've thought about the same feature. I think there are three
Mike Li wrote:
one more update: if i add the following two lines to my _vimrc, then
the ucs-2le text file works:
set fileencodings+=ucs-2le
set encoding=utf-8
note that both need to be set before i edit the file. once i load the
file, setting them no longer helps.
-x
Of course:
- Vim needs
Patch 7.0.208 (after 7.0.171 and 7.0.180)
Problem:VMS: changes to path handling cause more trouble than they solve.
Solution: Revert changes.
Files: src/buffer.c, src/memline.c, src/os_unix.c
*** ../vim-7.0.207/src/buffer.c Tue Nov 28 17:44:51 2006
--- src/buffer.cMon Mar 5
Using gVim, if I load your file normally, I do get ASCII instead of Unicode.
But if I then type:
:e ++enc=ucs-2
it appears to work. I don't have a Chinese font, so I get a box, but it is a
single character and it is double-width, so it appears to be interpreted
correctly by Vim. The same thing
much thanks to Doug and A.J. -- i now see that it wasn't a bug at all.
sorry for the noise.
-x
On 3/6/07, Doug Cook [EMAIL PROTECTED] wrote:
Using gVim, if I load your file normally, I do get ASCII instead of Unicode.
But if I then type:
:e ++enc=ucs-2
it appears to work. I don't have a
Hi Gary,
On 3/6/07, Gary Johnson [EMAIL PROTECTED] wrote:
If I open a new window, read into it the results of a grep command,
e.g.,
:r !grep -nH somepattern somefileset
and then try to use that buffer as a quickfix list or location list
with either the :cb or :lb commands, respectively, I
Cyril Slobin wrote:
On 3/6/07, Bram Moolenaar [EMAIL PROTECTED] wrote:
It will help a lot to understand what you are talking about if you
include an example script. Details might matter.
Well. In my _vimrc I set up an autocommand
autocmd BufWritePre * ks|call TimeStamp()|'s
I believe that
Hi all!
In color xterm color 1 for is #0c (red), but in dos32 it is #0c
(blue). (Strictly speaking, VGA standard palette is different, but xterm
colors are good enough approximation in practice). This makes very hard
to write portable scripts dealing with colors. Does a better way to
Hi,
I've been given some html which, oddly, is half in nicely quoted
attributes+values:
span class=good
and half not
span class=bad
I'm trying to write a regex to add quotes around the ones without. I can
do this in perl, but not in vim, and I'd like to know what I'm doing
wrong because
span class=good
and half not
span class=bad
I'm trying to write a regex to add quotes around the ones without. I can
do this in perl, but not in vim, and I'd like to know what I'm doing
wrong because I've run across this problem before.
This was my attempt:
:%s/=\([^]\+\)\{-}\([
On Mon, 5 Mar 2007 at 1:26pm, Tom Purl wrote:
Here's my view of where we are regarding the Vim Tips wiki conversion
project:
1. The Google wiki seems to be a poor option due to the difficulty
involved in registering.
2. Multiple other wiki engines have been discussed, and the clear
I found a partial answer to my question here:
http://tech.groups.yahoo.com/group/vim/message/68078
However, not sure why would the following be declared
as an invalid C code:
struct foo { /* ... */ };
typedef struct foo foo_t;
int main() {
foo myfoo;
/* ... */
}
In fact, I have a lot of
Hari Krishna Dara wrote:
[...]
I have been reading posts on this subject with interest and think that
this is going to be a good decision. My only concern is on how we are
planning to support the existing rating system going forward and if we
can enforce a fixed style on commenting such that the
Hi,
You can try this C++ omnicomplete plugin
http://www.vim.org/scripts/script.php?script_id=1520
It will work for C files if you copy the file
~/.vim/after/ftplugin/cpp.vim to ~/.vim/after/ftplugin/c.vim (I'll
add it for the next release).
Best regards,
Vissale
2007/3/6, Zarko Coklin [EMAIL
From: Hari Krishna Dara, Tue, March 06, 2007 11:33 am
My only concern is on how we are planning to support the existing
rating system going forward
I don't see how this can be accomplished in a wiki, but on the plus
side we'll be able to categorize and structure the tips better, as
well as
On Tue, Mar 06, 2007 at 11:04:11AM -0500, Timothy Adams wrote:
Hi,
I've been given some html which, oddly, is half in nicely quoted
attributes+values:
Have you considered using a tool that is designed to fix up your html?
Such as HTML Tidy?
--
Bill Moseley
[EMAIL PROTECTED]
Yes, there are tools, but I had it open in vim for editing already,
anyways.
Plus, the \{- is something I've been missing out on for a long time, so
I'm glad I got it sorted out now.
Tim's solutions all worked well.
(the other) *tim*
-Original Message-
From: Bill Moseley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 6-Mar-07, at 3:34 PM, Denis Perelyubskiy wrote:
On Tue, 06 Mar 2007 11:31:53 -0700, Steve Hall
[EMAIL PROTECTED] said:
From: Hari Krishna Dara, Tue, March 06, 2007 11:33 am
and if we can enforce a fixed style on commenting such that the
On Tue, March 6, 2007 2:34 pm, Denis Perelyubskiy wrote:
Finally, on the subject of converting the comments - it is entirely a
manual process, that can not be automated. Comments need to be
integrated into the body of the main tip (maybe the tip needs to be
adjusted, reworded, etc). We
On Tue, 6 Mar 2007 15:00:30 -0600 (CST), Tom Purl [EMAIL PROTECTED]
said:
On Tue, March 6, 2007 2:34 pm, Denis Perelyubskiy wrote:
Finally, on the subject of converting the comments - it is entirely a
manual process, that can not be automated. Comments need to be
integrated into the body
Hi,
What is the difference between imap or iabbr?
Or in other words, when should you use imap and when to iabbr?
Rgds,
Eric
_
Find what you need at prices youll love. Compare products and save at MSN®
Shopping.
On Tue, 2007-03-06 at 18:38 +0200, Ali Polatel wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* Zdenek Sekera ([EMAIL PROTECTED]) wrote:
-Original Message-
From: Spencer Collyer [mailto:[EMAIL PROTECTED]
Sent: 06 March 2007 08:31
Cc: Vim Mailing List
Subject: Re:
What is the difference between imap or iabbr? Or in other
words, when should you use imap and when to iabbr?
Sometimes, they have similar results, while other times they have
disjoint purposes. My general guidline:
- use :iab only those times when expanding some short text into
some long
On Tue, 06 Mar 2007 13:24:09 -0800, Denis Perelyubskiy
[EMAIL PROTECTED] said:
[snip]
so, i propose we move to agreeing what the format should be.
..and after thinking about this a bit more:
- format?
- karma/rating (i think someone already brought it up). How do we do
this here? The use seems
My apologies for barging in this discussion this late. However, I
wanted to make sure all alternatives are being given a fair chance. It
seems that wikibooks.org is the most popular choice. I just want to
throw out a couple of other free, hosted Wiki alternatives for people
to look at:
o
On Tue, 6 Mar 2007 at 12:34pm, Denis Perelyubskiy wrote:
On Tue, 06 Mar 2007 11:31:53 -0700, Steve Hall
[EMAIL PROTECTED] said:
From: Hari Krishna Dara, Tue, March 06, 2007 11:33 am
and if we can enforce a fixed style on commenting such that the
comments don't look like a mess. I
On Tue, 6 Mar 2007 15:23:41 -0800, Diwaker Gupta
[EMAIL PROTECTED] said:
[snip]
IMHO, the best solution is to setup a blog. There are several free
Wordpress based blog services. There are several free Wordpress
plugins to implement rating for posts, most popular posts and such.
Commenting is
Using many colorschemes 't h i s' message appears yellow and is therefore
hardly to read inside of a light background cterm.
Auslagerungsdatei .post.swp ist bereits vorhanden!
Nur zum [L]esen ffnen, Trotzdem (e)ditieren, (W)iederherstellen, (B)eenden,
(A)bbrechen:
After a long long time
On Tue, Mar 06, 2007 at 06:45:51PM +1100, John Beckett wrote:
Tom Purl wrote:
I looked into the anti-spam features of Wikibooks, and they basically do
the basics: blacklists for abusers and easy rollbacks. So the top 2% of
spammers/vandalizers will be blocked, and it will be easy for the
35 matches
Mail list logo