LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-18-2006, 06:05 AM   #1
lublum1
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
showing emacs filename/buffer in kde panel?


Hello,
I would appreciate if someone could point me in the right direction: I am using emacs as the editor for matlab files and end up with a lot of windows open. However, the KDE panel does not show the respective filenames for each of the emacs windows.

This makes it impossible to find the right window without clicking through all instances of 'emacs@xxxx.ac.uk' (which is the text shown for each window instance).


in advance, thanks.

Lublum1
 
Old 07-19-2006, 04:48 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Hi,

And welcome to LQ!

Well, I guess, first you need to understand that what the panel displays
is what the windows title-bar contains. It's not the panels job to try
and gather other windows information ..

That said: try putting this
Code:
(setq frame-title-format "%b - emacs")
in your .emacs file ... :}


Cheers,
Tink
 
Old 07-19-2006, 05:16 AM   #3
lublum1
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster
Hi,

And welcome to LQ!

Well, I guess, first you need to understand that what the panel displays
is what the windows title-bar contains. It's not the panels job to try
and gather other windows information ..

That said: try putting this
Code:
(setq frame-title-format "%b - emacs")
in your .emacs file ... :}


Cheers,
Tink

Thanks Tinkster!

The tip worked nicely, I can now see the filenames of open emacs windows in the panel and on the window title-bar.

regards,
Lublum1
 
Old 07-19-2006, 05:18 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Welcome mate :}


Cheers,
Tink
 
Old 09-20-2008, 11:02 AM   #5
linux_is_gr8
LQ Newbie
 
Registered: Sep 2008
Location: England
Distribution: opensuse 10.1
Posts: 2

Rep: Reputation: 0
Thanks!

I wanted to know the solution to this problem too leading me here and I was so impressed with the result that I decided to join the forum.

Thank you Tinkster!

Now where would I need to look to learn to understand the code in the .emacs file so that I could make further customisations? Are there any on-line references or websites that you could recommend?

Thanks.
 
Old 09-20-2008, 07:03 PM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,076
Blog Entries: 52

Rep: Reputation: Disabled
Lots of useful stuff about emacs here:

http://www.emacswiki.org/cgi-bin/wiki
 
Old 09-21-2008, 05:26 AM   #7
linux_is_gr8
LQ Newbie
 
Registered: Sep 2008
Location: England
Distribution: opensuse 10.1
Posts: 2

Rep: Reputation: 0
Just what I was looking for --- thanks brianL.
 
  


Reply

Tags
emacs, kde, panel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
when i minimize the xterm window it disappears, instead of showing on the panel below anshul Linux - Newbie 5 05-15-2014 05:37 AM
emacs #filename# file question Guvvy Linux - Newbie 3 01-31-2005 07:26 PM
GTK themes not showing up until I go into GNOME control panel nagromo Linux - Software 2 12-12-2004 02:36 PM
Lisp/Emacs: How to do a macro on a buffer-name with another extension LuisG Linux - Software 3 10-25-2004 10:26 PM
emacs buffer ! black Linux - Software 3 07-21-2004 10:57 PM


All times are GMT -5. The time now is 11:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration