[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can emacs and xemacs coexist?



Christian Weisgerber wrote:
>
> In article <m0yQLA4-000qGzC@rakefet>, shaul <beitamos@inter.net.il>
> 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 debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: