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

Re: emacs or xemacs ?



On Wed, Sep 15, 1999 at 02:17:53AM -0400,
Rob Mahurin <robm@mad.scientist.com> wrote:
> I use emacs when I'm in a text terminal (like right now) because I
> haven't figured out how to use Xemacs' menus from the text terminal
> and some of the functions of Xemacs (e.g., syntax highlighting) seem
> inaccessible without mouse access to the proper menus.  In addition,
> the cut and paste works differently in Xemacs (in a text terminal)
> than in any other text-based program, and it always messes with me.  I
> am sure that these things are configureable, but I haven't found them
> and I don't feel like learning Lisp and reading the source.
> 

I'm not sure how to access the menus in a terminal, or why you'd even
want to, so I can't help with that. As far as the syntax highlighting
and cut-and-paste behavior go, here are the relevant snippets of my
.emacs. This tells XEmacs to always use the maximum amount of syntax
highlighting with colors rather than fonts, and to have mouse middle-clicks
paste wherever the cursor is rather than where the mouse is clicked. I
believe that's what you were looking for.

(custom-set-variables
 '(mouse-yank-at-point t)

 '(font-lock-use-fonts nil)
 '(font-lock-use-colors t)
 '(font-lock-maximum-size 256000))

(setq-default font-lock-maximum-decoration t)
(require 'font-lock)
(custom-set-faces)

-- 
Eric Gillespie, Jr. <*> epg@pobox.com

"Man is a rope, tied between beast and overman--a rope over an abyss.
 A dangerous across, a dangerous on-the-way, a dangerous looking-back,
 a dangerous shuddering and stopping."
 --Friedrich Nietzsche

Attachment: pgpaK0i4VKNav.pgp
Description: PGP signature


Reply to: