Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Questions for vcscommand plugin users
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bob Hiestand  
View profile  
 More options Sep 30 2011, 11:33 am
From: Bob Hiestand <bob.hiest...@gmail.com>
Date: Fri, 30 Sep 2011 10:33:03 -0500
Local: Fri, Sep 30 2011 11:33 am
Subject: Questions for vcscommand plugin users
vcscommand plugin users,

I'm currently working on some changes to the vcscommand plugin to make
it play more nicely in localized environments.  Unfortunately, I don't
have a good sense of how people use the various dials vim provides to
customize such a setting, or how that interacts with localization
settings outside of vim.  I would therefore very much appreciate any
help that could be provided by users whose environment isn't straight
utf-8 across the board.

Please feel free to reply off-list if appropriate.

The changes I'm considering can be found in the dev/encoding branch in
the plugin repo:

http://repo.or.cz/w/vcscommand.git/shortlog/refs/heads/dev/encoding

A copy of the plugin with the proposed changes can be downloaded at:

http://repo.or.cz/w/vcscommand.git/snapshot/e144820c27acff083aaa1ddc3...

The rules I am considering following are as follow:

1.  When reading the output of a VCS command execution:
1A.  If &tenc and &enc differ, transcode the output from &tenc to &enc;
1B.  Otherwise if the command is one of (Diff, Annotate, Review), and
&fenc differs from &enc, transcode from &fenc to &enc

2.  When committing, if &tenc and &enc differ, transcode the message
from &enc to &tenc.

(1A) was a patch from Xavier Wang.  (1B) is made under the assumption
that the file output coming from the VCS is encoded as &fenc as well.
This may fail in annotate if the annotations added by the VCS are not
in the same encoding as the file content.

(2) is made under the assumption that the user expects the encoding of
the log message to respect &tenc.

I have tested a few scenarios that I guessed are likely, but I am a
novice with respect to typical usage of localization settings.  Do the
assumptions above make sense?

Thank you for your help,

bob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.