unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* commenting in Scheme mode
@ 2003-07-29 21:53 Lowell
  2003-07-30 13:59 ` Kai Großjohann
  2003-07-30 14:23 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Lowell @ 2003-07-29 21:53 UTC (permalink / raw)


When I use the command 'comment-region' in scheme mode, it inserts one 
semicolon at the beginning of each line. How can I make it insert 2 
semicolons instead?

Lowell

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

* Re: commenting in Scheme mode
  2003-07-29 21:53 commenting in Scheme mode Lowell
@ 2003-07-30 13:59 ` Kai Großjohann
  2003-07-31  7:29   ` Lowell
  2003-07-30 14:23 ` Stefan Monnier
  1 sibling, 1 reply; 5+ messages in thread
From: Kai Großjohann @ 2003-07-30 13:59 UTC (permalink / raw)


Lowell <lkirsh@cs.ubc.ca> writes:

> When I use the command 'comment-region' in scheme mode, it inserts one
> semicolon at the beginning of each line. How can I make it insert 2
> semicolons instead?

Does it help to frob the variable comment-start?

Maybe M-; instead of comment-region works better?  (Only in
transient-mark-mode, though, and only on Emacs 21.2 or 21.3.  I have
no idea what happens on XEmacs.)
-- 
~/.signature

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

* Re: commenting in Scheme mode
  2003-07-29 21:53 commenting in Scheme mode Lowell
  2003-07-30 13:59 ` Kai Großjohann
@ 2003-07-30 14:23 ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2003-07-30 14:23 UTC (permalink / raw)


> When I use the command 'comment-region' in scheme mode, it inserts one
> semicolon at the beginning of each line. How can I make it insert
> 2 semicolons instead?

Set `comment-add' in your scheme-mode-hook.
I also recommend setting comment-style to `indent' (or any other value than
the `plain' default).


        Stefan

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

* Re: commenting in Scheme mode
  2003-07-30 13:59 ` Kai Großjohann
@ 2003-07-31  7:29   ` Lowell
  2003-07-31 15:54     ` Kevin Rodgers
  0 siblings, 1 reply; 5+ messages in thread
From: Lowell @ 2003-07-31  7:29 UTC (permalink / raw)


 > Does it help to frob the variable comment-start?

What does frob mean?

 > Maybe M-; instead of comment-region works better?  (Only in

Nope. M-; also only adds one semicolon to the beginning of a line.


Lowell

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

* Re: commenting in Scheme mode
  2003-07-31  7:29   ` Lowell
@ 2003-07-31 15:54     ` Kevin Rodgers
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Rodgers @ 2003-07-31 15:54 UTC (permalink / raw)


Lowell wrote:

>  > Does it help to frob the variable comment-start?
> 
> What does frob mean?


http://catb.org/~esr/jargon/html/F/frob.html

-- 
Kevin Rodgers

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

end of thread, other threads:[~2003-07-31 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-29 21:53 commenting in Scheme mode Lowell
2003-07-30 13:59 ` Kai Großjohann
2003-07-31  7:29   ` Lowell
2003-07-31 15:54     ` Kevin Rodgers
2003-07-30 14:23 ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).