Christian Weisgerber wrote: > > In article <[EMAIL PROTECTED]>, shaul <[EMAIL PROTECTED]> > wrote: > > > By the way, how can I tell the aliases in my .bashrc to work only when I am > > using X (I don't need xemacs -geometry 87x28 when I am not using X) ? > > Use a function such as > > xemacs() { > if [ -n "$DISPLAY" ]; then > command xemacs -geometry 87x28 "$@" > else > command xemacs "$@" > fi > } >
I believe that this could also be accomplished (in a simpler but less interesting way) by setting the geometry resource in your ~/.Xdefaults file. Something like the line "emacs.geometry: 87x28", though I double check that. HTH, Keith -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]