🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bob Doolittle Mon, 08 Apr 1991 14:45
Re: changing titles of screens
#2125
Author: Bob Doolittle
Date: Mon, 08 Apr 1991 14:45
29 lines
1601 bytes
I did something similar to this, but I still have to manually tell it when
to sync up the screen title to the buffer.  I haven't yet had time to think
about changing it to always keep in sync - if you come up with a clean way
of doing this, please post it!

I bound the "sync up" to a key as follows:

(when running-epoch
    (defun title-to-buffer-name ()
      "Change the title of the current epoch screen to the current buffer name"
      (interactive)
      (title (buffer-name))
      (icon-name (buffer-name))
    )
    (global-set-key "\C-Za" 'title-to-buffer-name)
)

BTW, I *really* dislike the use of "definteractive" with global-set-key in
the epoch elisp files.  I like the fact that it's so succinct, but
functions defined this way are almost "invisible" - they don't have names,
and they don't have doc text.  Someone who doesn't read the elisp files and
searches for a function via apropos will never realize that the function is
bound to a key already.

------------
Bob Doolittle
Thinking Machines Corporation
rad@think.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads