Re: Can emacs and xemacs coexist?

1998-04-20 Thread Keith Beattie
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]


Re: Can emacs and xemacs coexist?

1998-04-18 Thread Christian Weisgerber
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
}

-- 
Christian "naddy" Weisgerber  [EMAIL PROTECTED]
  See another pointless homepage at http://home.pages.de/~naddy/>.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Can emacs and xemacs coexist?

1998-04-18 Thread shaul
You can use xemacs in a VT.

> I've got xemacs installed on my stable Debian 1.3.1, and it works just fine,
> but I want to use emacs for file viewing and manipulation in a normal
> console because I don't like vi. I tried to install emacs in dselect but it
> tells me I have to take components of xemacs out, because they conflict. Is
> this a small conflict that would be OK to force using dpkg, or do I have to
> choose between them?

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) ?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Can emacs and xemacs coexist?

1998-04-17 Thread Keith Beattie
Tristan Day wrote:

> I've got xemacs installed on my stable Debian 1.3.1, and it works just fine,
> but I want to use emacs for file viewing and manipulation in a normal
> console because I don't like vi. I tried to install emacs in dselect but it
> tells me I have to take components of xemacs out, because they conflict. Is
> this a small conflict that would be OK to force using dpkg, or do I have to
> choose between them?
> 

xemacs (when run with the -nw flag) will run in a normal console as
you desire.

HTH,
Keith


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Can emacs and xemacs coexist?

1998-04-17 Thread David Z. Maze

Tristan Day <[EMAIL PROTECTED]> writes:
TD> I've got xemacs installed on my stable Debian 1.3.1, and it works
TD> just fine, but I want to use emacs for file viewing and
TD> manipulation in a normal console because I don't like vi. I tried
TD> to install emacs in dselect but it tells me I have to take
TD> components of xemacs out, because they conflict. Is this a small
TD> conflict that would be OK to force using dpkg, or do I have to
TD> choose between them?

I can't answer your question directly, but:

-- You _can_ use xemacs on the console; try "xemacs file".
-- Debian 2.0 deals with this properly, and if everything works
   properly you can have no less than four Emacsen simultaneously
   present on your system, and they'll all work properly.

-- 
 _
/ \   "Dad was reading a book called
|  David Maze | _Schroedinger's Kittens_.  Asexual
| [EMAIL PROTECTED]   |  reproduction?  Only one cat is in the box."
| http://donut.mit.edu/dmaze/ |   -- Abra Mitchell
\_/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Can emacs and xemacs coexist?

1998-04-17 Thread Tristan Day
I've got xemacs installed on my stable Debian 1.3.1, and it works just fine,
but I want to use emacs for file viewing and manipulation in a normal
console because I don't like vi. I tried to install emacs in dselect but it
tells me I have to take components of xemacs out, because they conflict. Is
this a small conflict that would be OK to force using dpkg, or do I have to
choose between them?

Thanks,

Tristan




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]