From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: parenthesis matching in lisp mode
Date: Sun, 19 Jan 2003 11:07:19 +0100 [thread overview]
Message-ID: <u4r85pi5k.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: mailman.536.1042927135.21513.help-gnu-emacs@gnu.org
Phillip Garland <pgarland@u.washington.edu> writes:
> When in a lisp mode buffer do
>
> M-x show-paren-mode
>
> or add this in your .emacs file to have this done automatically:
>
> (add-hook 'lisp-mode-hook (lambda () (show-paren-mode)))
>
> ~Phillip
David mentioned already that this should be `(show-paren-mode 1)'.
Besides that `show-paren-mode' is a _global_ minor mode. So a simple
(show-paren-mode 1)
in your .emacs would do. You have it in all major mode then, but that
won't hurt IMO. If you really want it *only* in lisp-mode, you have to
make it buffer local first:
(add-hook 'lisp-mode-hook
(lambda ()
(make-local-variable 'show-paren-mode)
(show-paren-mode 1)))
Oliver
--
30 Nivôse an 211 de la Révolution
Liberté, Egalité, Fraternité!
next prev parent reply other threads:[~2003-01-19 10:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.536.1042927135.21513.help-gnu-emacs@gnu.org>
2003-01-18 22:17 ` parenthesis matching in lisp mode David Kastrup
2003-01-19 12:24 ` Ehud Karni
2003-01-19 10:07 ` Oliver Scholz [this message]
2003-01-18 21:44 Zimmen Gnauh
2003-01-18 21:54 ` Phillip Garland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u4r85pi5k.fsf@ID-87814.user.dfncis.de \
--to=alkibiades@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.