all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Changing emacs syntax highlighting options?
@ 2008-08-30 19:01 Ibrahim Awwal
  2008-08-30 19:58 ` Pascal J. Bourguignon
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ibrahim Awwal @ 2008-08-30 19:01 UTC (permalink / raw)
  To: help-gnu-emacs

Hi, I'm completely new to emacs. I'm using it for a computer science
at UC Berkeley, either through PuTTY or Xming. When using Xming I get
the X version of emacs, which has the options menu and allows me to
specify syntax highlighting and parenthesis matching. However, for the
command line version over PuTTY I can't seem to do that. I see the
same menus at the top but I don't know how to get to them. I've read
the tutorial but maybe I missed something? Can someone help me enable
parenthesis matching? It's a lot faster using PuTTY than Xming and I
don't need the graphical emacs, but programming Scheme is a pain
without parenthesis matching. Thanks for the help.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Changing emacs syntax highlighting options?
  2008-08-30 19:01 Changing emacs syntax highlighting options? Ibrahim Awwal
@ 2008-08-30 19:58 ` Pascal J. Bourguignon
  2008-08-30 23:15 ` Lennart Borgman (gmail)
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Pascal J. Bourguignon @ 2008-08-30 19:58 UTC (permalink / raw)
  To: help-gnu-emacs

Ibrahim Awwal <ibrahim.awwal@gmail.com> writes:

> Hi, I'm completely new to emacs. I'm using it for a computer science
> at UC Berkeley, either through PuTTY or Xming. When using Xming I get
> the X version of emacs, which has the options menu and allows me to
> specify syntax highlighting and parenthesis matching. However, for the
> command line version over PuTTY I can't seem to do that. I see the
> same menus at the top but I don't know how to get to them. I've read
> the tutorial but maybe I missed something? 

M-`


> Can someone help me enable
> parenthesis matching? It's a lot faster using PuTTY than Xming and I
> don't need the graphical emacs, but programming Scheme is a pain
> without parenthesis matching. Thanks for the help.

Fetch and use the paredit mode.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
You never feed me.
Perhaps I'll sleep on your face.
That will sure show you.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Changing emacs syntax highlighting options?
  2008-08-30 19:01 Changing emacs syntax highlighting options? Ibrahim Awwal
  2008-08-30 19:58 ` Pascal J. Bourguignon
@ 2008-08-30 23:15 ` Lennart Borgman (gmail)
       [not found] ` <mailman.18023.1220138120.18990.help-gnu-emacs@gnu.org>
  2008-09-06  8:16 ` Andy Stewart
  3 siblings, 0 replies; 6+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-30 23:15 UTC (permalink / raw)
  To: Ibrahim Awwal; +Cc: help-gnu-emacs

Ibrahim Awwal wrote:
> Hi, I'm completely new to emacs. I'm using it for a computer science
> at UC Berkeley, either through PuTTY or Xming. When using Xming I get
> the X version of emacs, which has the options menu and allows me to
> specify syntax highlighting and parenthesis matching. However, for the
> command line version over PuTTY I can't seem to do that. I see the
> same menus at the top but I don't know how to get to them. I've read
> the tutorial but maybe I missed something? Can someone help me enable
> parenthesis matching? It's a lot faster using PuTTY than Xming and I
> don't need the graphical emacs, but programming Scheme is a pain
> without parenthesis matching. Thanks for the help.

Do you mean show-paren-mode?




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Changing emacs syntax highlighting options?
       [not found] ` <mailman.18023.1220138120.18990.help-gnu-emacs@gnu.org>
@ 2008-08-31  1:07   ` Ibrahim Awwal
  2008-08-31 18:05     ` formido
  0 siblings, 1 reply; 6+ messages in thread
From: Ibrahim Awwal @ 2008-08-31  1:07 UTC (permalink / raw)
  To: help-gnu-emacs

On Aug 30, 4:15 pm, "Lennart Borgman (gmail)"
<lennart.borg...@gmail.com> wrote:
> Ibrahim Awwal wrote:
> > Hi, I'm completely new to emacs. I'm using it for a computer science
> > at UC Berkeley, either through PuTTY or Xming. When using Xming I get
> > the X version of emacs, which has the options menu and allows me to
> > specify syntax highlighting and parenthesis matching. However, for the
> > command line version over PuTTY I can't seem to do that. I see the
> > same menus at the top but I don't know how to get to them. I've read
> > the tutorial but maybe I missed something? Can someone help me enable
> > parenthesis matching? It's a lot faster using PuTTY than Xming and I
> > don't need the graphical emacs, but programming Scheme is a pain
> > without parenthesis matching. Thanks for the help.
>
> Do you mean show-paren-mode?

Do you mean this? http://www.emacswiki.org/cgi-bin/wiki/ShowParenMode
This is the contents of my .emacs file:
(load-file "~$MASTER/adm/class.emacs")
(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/
paste it!
  ;; Your init file should contain only one such instance.
 '(case-fold-search t)
 '(current-language-environment "ASCII")
 '(global-font-lock-mode t nil (font-lock))
 '(show-paren-mode t nil (paren)))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste
it!
  ;; Your init file should contain only one such instance.
 '(menu ((((type x-toolkit)) (:width normal :family "Courier")))))

One other question, when I am running emacs and I have two buffers
open together (editing on top and scheme on the bottom) in the X
version I can click on the top half to get back to my editing window,
but with the command line version I can't. I've been resorting to c-x
1 c-x b to switch back to the editing buffer but I'm sure there's a
better way. Sorry for my noobishness, I have about two days worth of
emacs experience.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Changing emacs syntax highlighting options?
  2008-08-31  1:07   ` Ibrahim Awwal
@ 2008-08-31 18:05     ` formido
  0 siblings, 0 replies; 6+ messages in thread
From: formido @ 2008-08-31 18:05 UTC (permalink / raw)
  To: help-gnu-emacs

> One other question, when I am running emacs and I have two buffers
> open together (editing on top and scheme on the bottom) in the X
> version I can click on the top half to get back to my editing window,
> but with the command line version I can't. I've been resorting to c-x
> 1 c-x b to switch back to the editing buffer but I'm sure there's a
> better way. Sorry for my noobishness, I have about two days worth of
> emacs experience.

In just that situation you describe, I've been using C-x o for
switching back and forth. There might be an even _better_ way if you
install one of these 3rd party window or buffer management kits, but I
haven't got around to trying any yet. In particular, something similar
to the Windows/Mac alt/command-tab window switching behavior would be
helpful.

Michael


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Changing emacs syntax highlighting options?
  2008-08-30 19:01 Changing emacs syntax highlighting options? Ibrahim Awwal
                   ` (2 preceding siblings ...)
       [not found] ` <mailman.18023.1220138120.18990.help-gnu-emacs@gnu.org>
@ 2008-09-06  8:16 ` Andy Stewart
  3 siblings, 0 replies; 6+ messages in thread
From: Andy Stewart @ 2008-09-06  8:16 UTC (permalink / raw)
  To: help-gnu-emacs

Hi.

Use paredit.el.
It's a great mode to parenthesis editing. 
You can download it from:

http://mumble.net/~campbell/emacs/paredit.el

And you can also use highlight-parentheses.el.
It's helpful also. :)
You can download it from:
http://nschum.de/src/emacs/highlight-parentheses/

Have fun!

Andy.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-06  8:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-30 19:01 Changing emacs syntax highlighting options? Ibrahim Awwal
2008-08-30 19:58 ` Pascal J. Bourguignon
2008-08-30 23:15 ` Lennart Borgman (gmail)
     [not found] ` <mailman.18023.1220138120.18990.help-gnu-emacs@gnu.org>
2008-08-31  1:07   ` Ibrahim Awwal
2008-08-31 18:05     ` formido
2008-09-06  8:16 ` Andy Stewart

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.