Re: Timeout for messages

Ram Krishnan <[email protected]> Thu, 20 Oct 2022 10:32:59 -0700
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>
I use something like the following to show the last 20 or so messages in a selection list, and picking one redisplays the message  will copy its contents into the clipboard.

(defcommand show-message-window-messages () ()
  "Display a list of message-window messages"
  (let* ((*record-last-msg-override* t)
         (screen (current-screen))
         (sel (select-from-menu screen
                                (screen-last-msg screen)
                                nil)))
    (when sel
      (echo-string-list screen sel)
      (set-x-selection (format nil "~{~a~^~%~}" sel) :clipboard))))

Hope this helps.

-ram


Eric S Fraga <[email protected]> writes:

> On Thursday, 20 Oct 2022 at 13:40, Michael Raskin wrote:
> > Are these the messages that follow stumpwm::*timeout-wait* for the
> > disappearance time?
> 
> Thank you!  I wanted to know this as well.
> 
> On a related note, are these messages logged anywhere or can they be
> logged if not already?  I get some strange messages using dynamic tiling
> groups and it would be good to be able to feed these back to this group,
> say.
> 
> Thanks again,
> eric