- Subject: Re: File name in window title of xjed
- From: Romano Giannetti <romano@xxxxxxxxxxxxxxxx>
- Date: Wed, 18 Dec 2002 09:27:50 +0100
On Tue, Dec 17, 2002 at 04:33:50PM +0100, Dirk Pahl wrote:
> Hello,
>
> can anybody tell me, how I can show the file name in the window title
> bar of xjed. I don't like working with buffers, I always open many
> windows but all have the title XJed so I have problems to find the right
> one.
I have this in my .jedrc:
#ifdef XWINDOWS
define change_title ()
{
x_set_window_name(whatbuf());
}
append_to_hook ("_jed_switch_active_buffer_hooks", &change_title);
append_to_hook ("_jed_find_file_after_hooks", &change_title);
#endif
HTH,
Romano
--
Romano Giannetti - Univ. Pontificia Comillas (Madrid, Spain)
Electronic Engineer - phone +34 915 422 800 ext 2416 fax +34 915 411 132
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2002 date index]
[2002 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]