Hi Srinath,
* On 25 Mar 2006 * Srinath Avadhanula wrote:
> Hi Fabian,
>
> On 3/24/06, Fabian Braennstroem <f.b...@gm...> wrote:
> > ... but when I try to display all entries after I used the
> > filter, I get:
> >
> > Error detected while processing function
> > Tex_HandleBibShortcuts..Tex_DisplayBibList:
> > line 22:
> > Traceback (most recent call last):
> > File "<string>", line 1, in ?
> > File "/home/fab/.vim/ftplugin/latex-suite/bibtools.py",
> > line 198, in __str__
> > if b['key'] and b.satisfies(self.filters):
> > File "/home/fab/.vim/ftplugin/latex-suite/bibtools.py",
> > line 152, in satisfies
> > for field, regexp in filters:
> > ValueError: need more than 1 value to unpack
>
> This problem has been fixed in SVN.
>
>
> > and one small feature request :-) When I use the filter like
> > 'a Searched_Author <CR>', I get and have to press <CR> again
> > to display the results:
> >
> > (a) all (f) filter (s) sort (n) next (p) previous (q) quit (<CR>) choose
> > Hit ENTER or type command to continue
> >
> > Would that work without a second <CR>,too?
>
> This has been fixed as well.
There is a small problem in bibtools.py from line 84:
else:
<<<<<<< .mine
mn = re.search(r',|$', body)
if not mn:
return None
value = m.group(2) + body[:(mn.start(0))].rstrip()
=======
# $ always matches. So we do not need to do any
# error-checking.
mn = re.search(r',|$', body)
value = m.group(2) + body[:(mn.start(0))].rstrip()
>>>>>>> .r1004
Those >>>>>> ========== appeared; I do not know if it is bad
svn usage from me...
Anyways, commenting those lines out, everything works very
nice!
Thanks!
Fabian
|