Re: how to change xterm title depending on current mailbox

2002-01-23 Thread Thomas E. Dickey
On Wed, 23 Jan 2002, David T-G wrote: > Sam -- > > ...and then Samuel Padgett said... > % > % darren chamberlain <[EMAIL PROTECTED]> writes: > % > % > In vim: > % > > % > set titleold=My\ Old\ Xterm\ Title > % > > % > and it will restore the xterm's title to that string. > % > % Yes, but I'd li

Re: how to change xterm title depending on current mailbox

2002-01-23 Thread David T-G
Sam -- ...and then Samuel Padgett said... % % darren chamberlain <[EMAIL PROTECTED]> writes: % % > In vim: % > % > set titleold=My\ Old\ Xterm\ Title % > % > and it will restore the xterm's title to that string. % % Yes, but I'd like Vim to restore the XTerm title to whatever it % was bef

Re: how to change xterm title depending on current mailbox

2002-01-23 Thread Samuel Padgett
darren chamberlain <[EMAIL PROTECTED]> writes: > In vim: > > set titleold=My\ Old\ Xterm\ Title > > and it will restore the xterm's title to that string. Yes, but I'd like Vim to restore the XTerm title to whatever it was before I started Vim. This might be something different each time.

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Igor Pruchanskiy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > since the first bit presumably is doing some sanity checking as well, it > > MIGHT work to take out the 'else if' line entirely, but i don't really > > know. > > > > /* Make sure that the terminal can take the control codes */ > >

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Dan Boger blurted > > I guess something like this? (I'm not a vim guru though) > > set editor="vim -c 'set tw=72 et;:0;/^$'" My Vim didn't like that but I think I've got it licked now :) Cheers - -- Nick Wilson Tel:+45 33

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Maarten den Braber
* Will Yardley <[EMAIL PROTECTED]> [020122 19:05]: > since the first bit presumably is doing some sanity checking as well, it > MIGHT work to take out the 'else if' line entirely, but i don't really > know. > > /* Make sure that the terminal can take the control codes */ > if (ep

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Gary Johnson
On Tue, Jan 22, 2002 at 11:18:14AM -0800, Will Yardley wrote: > Nick Wilson wrote: > > > > How might I incorporate a tw command in that? > > This is what I have for mine (nicked it from somewhere else so I don't > > understand all of it but it works :) > > > > set editor="vim -c 'set tw=72 et'"

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Dan Boger
On Tue, Jan 22, 2002 at 07:53:05PM +0100, Nick Wilson wrote: > > set editor="vim -u ~/.mutt/vimrc -c ':0;/^$'" > > Fantastic! > How might I incorporate a tw command in that? I guess something like this? (I'm not a vim guru though) set editor="vim -c 'set tw=72 et;:0;/^$'" -- Dan Boger [E

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Will Yardley
Nick Wilson wrote: > > How might I incorporate a tw command in that? > This is what I have for mine (nicked it from somewhere else so I don't > understand all of it but it works :) > > set editor="vim -c 'set tw=72 et'" i have set editor="vim +'/^$/+1' -c 'set nohlsearch' +':set textwidth=72'

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 22-01-02 at 19:31 * Dan Boger said > I have in my muttrc this line: > > set editor="vim -u ~/.mutt/vimrc -c ':0;/^$'" > > which will tell vim to start after the headers, so I'll be positioned to > trim the quoted text. Fantastic! How

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread David Champion
On 2002.01.22, in <[EMAIL PROTECTED]>, "John Buttery" <[EMAIL PROTECTED]> wrote: > > By the way, is there any way to get mutt to start composing _after_ > the quoted text instead of before it when replying? set editor="vi '+$;?^>?;+'" + begin vi initialization commands $

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Dan Boger
On Tue, Jan 22, 2002 at 11:52:11AM -0600, John Buttery wrote: > By the way, is there any way to get mutt to start composing _after_ > the quoted text instead of before it when replying? it's not for mutt to do, it's your editor :) I have in my muttrc this line: set editor="vim -u ~/.mutt/vi

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Will Yardley
Nick Wilson wrote: > > > Is there any folder-hook, to change the xterm-title displaying the name > > of the mailbox i'm changing in? > > Why? Sorry I can't answer, just curious :) why? it's very useful to have information in the title bar when you have lots of windows open. i put lots of stuf

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Will Yardley
Will Yardley wrote: > > i can put the xtitles patch version relative to 1.3.2x up somewhere for > you, or send you the patch via email if you'd like. [disclaimer... i did NOT write this patch] ok here's the patch (it documents itself). i took the one on the mutt site and patched by hand for 1.

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread John Buttery
On Tue, Jan 22, 2002 at 09:48:58AM -0800, Will Yardley wrote: >Christoph Kampe wrote: >> >> Is there any folder-hook, to change the xterm-title displaying the name >> of the mailbox i'm changing in? > >only if you patch mutt. i think the debian package has the patch >already. > >i can put the xt

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread David T-G
Christoph -- ...and then Christoph Kampe said... % % Hello, Hi! % % Please, if its possible, can anyone tell me how to change the % xterm-title depending on the mailbox i'm browsing in? % % history: % Im using vim as my prefered editor in mutt. Everytime i use vim, it % changes the Xterm-Ti

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Dan Boger
On Tue, Jan 22, 2002 at 06:45:21PM +0100, Christoph Kampe wrote: > Please, if its possible, can anyone tell me how to change the > xterm-title depending on the mailbox i'm browsing in? > > history: > Im using vim as my prefered editor in mutt. Everytime i use vim, it > changes the Xterm-Title to

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 22-01-02 at 18:51 * Christoph Kampe said > Is there any folder-hook, to change the xterm-title displaying the name > of the mailbox i'm changing in? Why? Sorry I can't answer, just curious :) - -- Nick Wilson Tel:+45 3325 0688 Fa

Re: how to change xterm title depending on current mailbox

2002-01-22 Thread Will Yardley
Christoph Kampe wrote: > > Is there any folder-hook, to change the xterm-title displaying the name > of the mailbox i'm changing in? only if you patch mutt. i think the debian package has the patch already. i can put the xtitles patch version relative to 1.3.2x up somewhere for you, or send yo

how to change xterm title depending on current mailbox

2002-01-22 Thread Christoph Kampe
Hello, Please, if its possible, can anyone tell me how to change the xterm-title depending on the mailbox i'm browsing in? history: Im using vim as my prefered editor in mutt. Everytime i use vim, it changes the Xterm-Title to the current edited file. When im leaving vim it changes to "Thanks fo