Re: [Ebib-users] Multiline fields in Index Entry
Brought to you by:
joostkremers
From: Joost K. <joo...@fa...> - 2010-04-07 19:26:19
|
On Wed, Apr 07, 2010 at 04:33:32PM +0200, Massimo Lauria wrote: > I have an issue with ebib. I set up the Index Display Fields > to show > Year; Author; Title. > > Sometimes these fields are multiline (notice that i've no full control > of all .bib files). > This results in some entries to span several lines in the index buffer. Mmm... This shouldn't really be happening... The index buffer uses ebib-index-mode, which sets the variable truncate-lines to t. That should cause lines that are too long for the window to be truncated rather than to be wrapped. > This produces two bugs: > - (minor) only one line of the entry is highlighted > - (major) > when I move up/down or using whatever keys trigger ebib-prev/next-entry, > the prev/next entry is correctly shown in the Entry buffer, but the > cursor only moves one line up/down. > Since there are entries spanning more than one line, this completely > disconnect position in the database with the > cursor position in the index buffer. This is ever weirder, because even if lines are too long for the window and are wrapped, Emacs should treat the wrapped line as a single line, so that moving the cursor down on such a line should actually move two screen lines... Try starting Emacs with the -Q option and then load ebib by hand (with M-x load-file RET /path/to/ebib.el RET followed by M-x ebib) and see if the problem still occurs. If not, then I suspect you have some setting that conflicts with truncate-lines. If that is the case, check if you have any word-wrap-related settings in your ~/.emacs, or send me your ~/.emacs so I can take a look. (BTW, 'emacs -Q' doesn't load ~/.emacs, so you'll have to customize Index Display Fields in the Emacs session before you can test it.) Joost -- Joost Kremers Life has its moments |