Re: [Vim-latex-devel] Re: Bug in vim-latex
Brought to you by:
srinathava,
tmaas
From: Benji F. <be...@me...> - 2003-01-30 21:57:45
|
Srinath Avadhanula wrote: > On Thu, 30 Jan 2003, Benji Fisher wrote: > > >> I see that messages from the list now have a Reply-To line. Much >>better! >> > > Actually, I did that manually last time but I've changed the admin > preferences on the list now so all mails get a Reply-To line (I > hope).... I hope most people remember to include the original poster in > the reply when we get a mail from a person not subscribed to the list... It seems to be working. I think I am pretty aware of when the poster is an "outsider." Time will tell if I live up to this. >> I tried this, and it worked as expected. Either that other user >>has addded an IMAP (ending in "1" or "2") or something else is causing >>the problem. The reason I rushed to answer is that I, too, thought it >>might be an IMAP problem ... > > > Hmm... are you sure you tested with the latest version of latex-suite? > The latest version "protected" a few letters against expansion at the > beginning of `` and unfortunately, I "protected" the space as well... > > But even if you were using an older version, > :iab 12 twelve > still doesn't work when you press something like 12/ (and '/' is not in > 'iskeyword' because `/ is mapped to \frac{}{}). Yes, that could be the problem. Let's see what the OP says in response to my post on the vim users' list. >>>I haven't thought about how to take care of this problem... If it were >>>a map, we could have used Charles Campbell's SaveMaps() strategy, but >>>I do not know of an equivalent set up with abbreviations... Ofcourse, we >>>should in the meanwhile, put up a warning in bright red somewhere saying >>>that people who use latex-suite better use IMAP() instead of iab... Does >>>anyone know of something like hasabto()? >> >> I think there are three parts to the solution: >> >>(1) As you say, document it. >>(2) Advise users to replace :iab's with IMAP()'s if they are going to >>use imaps.vim . This is the advice I gave Preben. > > > Yes. I'll put these in the install directions. > > >>(3) Make the map that calls IMAP_LookupCharacter() buffer-local. I >>already tried this, but I did not realize that IMAP() was being called >>only once. The hard part will be calling IMAP() on every FileType tex >>event (or another autocommand that Latex Suite sets up). >> > > I think thats a good idea for the long term... Let's think about it. OK. --Benji |