Re: How to wrap lines?

Roland Winkler <[email protected]> Tue, 17 Sep 2024 19:30:08 -0500
Newsgroups gmane.emacs.bbdb.user
Message-ID <[email protected]>
On Wed, Mar 27 2024, Barak A. Pearlmutter wrote:
> You can M-x turn-on-visual-line-mode in your *BBDB* buffer and it
> wraps fine. Or if you want something a bit more visually pleasing,
> albeit still not perfect, you can load the corresponding package and
> M-x adaptive-wrap-prefix-mode there instead.

I haven't tried adaptive-wrap-prefix-mode.  (In what sense is it "still
not perfect"?)  But isn't the following all you need?

(add-hook 'bbdb-display-hook
          '(lambda () (setq wrap-prefix (make-string 21 ?\s))))