telephone-line icon indicating copy to clipboard operation
telephone-line copied to clipboard

I'm too dumb: passing arguments to segments?

Open c-alpha opened this issue 2 years ago • 3 comments

I have this in my config:

(setq telephone-line-rhs '((nil    . (telephone-line-misc-info-segment))
                           (accent . ((telephone-line-atom-eol-segment t) (telephone-line-atom-encoding-segment t)))
                           (evil   . (telephone-line-airline-position-segment))))

Apparently I'm trying to pass arguments to the two segments in the middle part. But to no avail; it still shows "LF UTF-8" despite passing t to the two hide arguments.

I searched the Interwebs, but couldn't find an example of how it's done. Any hints appreciated.

c-alpha avatar May 05 '22 23:05 c-alpha

ping?

c-alpha avatar May 09 '22 15:05 c-alpha

That should work. Is it maybe just that the config isn't applied on the current buffer yet? I can't really think of anything else.

dbordak avatar May 14 '22 14:05 dbordak

Thanks for responding!

That should work. Is it maybe just that the config isn't applied on the current buffer yet? I can't really think of anything else.

Hm, I put the above elsip snippet in the scratch buffer, then eval-region on it, and open a file in a new frame. LF and UTF-8 indicators are shown. Perhaps a funcall is needed somewhere?

c-alpha avatar May 16 '22 13:05 c-alpha