Re: [Vim-latex-devel] new version of plugin/imaps.vim
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2002-12-14 06:17:59
|
Hello! I just got done with an exam. So a little time for vimming. I will mostly do the outstanding things like the web-page cvs screw up and a few other things. I will also put this new version of imaps.vim into a new branch which I shall call... lets see... b-newimaps (Lets make it convention to name all branch tags with a leading 'b-'). Next time, keep your old copy of the repository and check out the new version into a new directory using cvs checkout -r b-newimaps -d newdir Then newdir will contain the new branch files. BTW, branching in CVS is _extremeley_ easy, contrary to popular opinion. All that needs to be done is: 1. go to the local repository. 2. "cvs update" to bring things up to date. 3. "cvs tag trunk-<date>" (replace <date> with current date). this step is not essential. But it helps to keep a tagged version at the root of every branch. 4. "cvs tag -b b-newimaps" thats it! then do the checkout thing I mention earlier. Further reading: http://cvsbook.red-bean.com/cvsbook.html#Branches The link has a very nice explanation of all these concepts, including ofcourse how to merge changes from the branch onto the trunk. Recommended reading for any hacker :) ------ IMPORTANT --------- Its very important to tag the whole branch repository every time a change from it is merged into the main trunk. I suppose we should somehow automate this... This is important because if we want to merge from the branch onto the main trunk more than once, then we cvs needs to know the 2 revs from which it calculates the diff. ------ IMPORTANT --------- In the web cvs, you will need to select the correct branch to view the branch versions of the files. Hopefully, this email will serve as a future short reference for cvs branching. Srinath On Fri, 13 Dec 2002, Benji Fisher wrote: > Sorry, I should really start a new branch, but I have not done > that before, so I am just attaching a file. The new syntax is > > :call IMAP("tex", "foo", "b", "", "ar") > > I have tested this: typing "foo" gives > > b|ar > > with | indicating the cursor position. So far so good! > > BUT it does not work if 'enc' is set to utf-8 and I use "\xab" and > "\xbb" as place holders. I'll post a question to the vim users' list. > > Since this is in transition, it is not a good time to add new > packages, etc. If you want to add them with the old syntax, please use > Tex_IMAP() and Tex_PutTextWithMovement() for now. > > --Benji > |