Tomasz Buchert <[email protected]> writes:
>
> when I'm in verbiste buffer (i.e., verbiste-mode) and I press c (or d)
> and I give a word, then *another* buffer opens with
> conjugation/deconjugation.  I would actually expect the buffer
> contents to be replaced with a result of conjugation/deconjugation.

Maybe that's the author's preference, opening a separate window below
without switching away from the text you're working on.  I like that for
programming documentation lookups (M-x info-lookup-symbol etc).

For comparison, dictem.el opens a new buffer for each of its dictionary
lookups, but it switches to that buffer too.

> If you run "M-x verbiste-conjugate", I can live with a new buffer
> opened every time. What do you think? Would you happen to know how to
> implement this?

Usually it'd be to have a single buffer name, and turn off
buffer-read-only to erase and rewrite it.  It'd probably be easier to
make the rewrite synchronous, rather than the way the current code runs
the subprocess in the background (I think that possibility came up
before).

With a little care you could act on the current buffer if it's in
verbiste-mode, irrespective of buffer name.  That allows usually a
single buffer but if you rename-buffer or clone-buffer then each buffer
can work independently.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to