* How many 'comment-start' chars for 'comment-region'?
@ 2013-02-18 16:04 Thorsten Jolitz
2013-02-18 17:11 ` Andreas Röhler
2013-02-18 18:05 ` Stefan Monnier
0 siblings, 2 replies; 4+ messages in thread
From: Thorsten Jolitz @ 2013-02-18 16:04 UTC (permalink / raw)
To: help-gnu-emacs
Hi List,
is there any (major-mode) variable where the number of 'comment-start'
characters used when calling 'comment-region' is defined (I couldn't
find one).
E.g. its two in Emacs Lisp (';; text') but one in LaTeX ('% text').
Or is the only way to find out looking at the code of the respective
major-mode that implements the 'comment-region' function?
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How many 'comment-start' chars for 'comment-region'?
2013-02-18 16:04 How many 'comment-start' chars for 'comment-region'? Thorsten Jolitz
@ 2013-02-18 17:11 ` Andreas Röhler
2013-02-18 17:33 ` Thorsten Jolitz
2013-02-18 18:05 ` Stefan Monnier
1 sibling, 1 reply; 4+ messages in thread
From: Andreas Röhler @ 2013-02-18 17:11 UTC (permalink / raw)
To: help-gnu-emacs
Am 18.02.2013 17:04, schrieb Thorsten Jolitz:
>
> Hi List,
>
> is there any (major-mode) variable where the number of 'comment-start'
> characters used when calling 'comment-region' is defined (I couldn't
> find one).
>
> E.g. its two in Emacs Lisp (';; text') but one in LaTeX ('% text').
>
> Or is the only way to find out looking at the code of the respective
> major-mode that implements the 'comment-region' function?
>
comment-add?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How many 'comment-start' chars for 'comment-region'?
2013-02-18 17:11 ` Andreas Röhler
@ 2013-02-18 17:33 ` Thorsten Jolitz
0 siblings, 0 replies; 4+ messages in thread
From: Thorsten Jolitz @ 2013-02-18 17:33 UTC (permalink / raw)
To: help-gnu-emacs
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>> is there any (major-mode) variable where the number of 'comment-start'
>> characters used when calling 'comment-region' is defined (I couldn't
>> find one).
>
> comment-add?
Exactly what I was looking for - thanks.
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How many 'comment-start' chars for 'comment-region'?
2013-02-18 16:04 How many 'comment-start' chars for 'comment-region'? Thorsten Jolitz
2013-02-18 17:11 ` Andreas Röhler
@ 2013-02-18 18:05 ` Stefan Monnier
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2013-02-18 18:05 UTC (permalink / raw)
To: help-gnu-emacs
> is there any (major-mode) variable where the number of 'comment-start'
> characters used when calling 'comment-region' is defined (I couldn't
> find one).
comment-add?
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-18 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18 16:04 How many 'comment-start' chars for 'comment-region'? Thorsten Jolitz
2013-02-18 17:11 ` Andreas Röhler
2013-02-18 17:33 ` Thorsten Jolitz
2013-02-18 18:05 ` Stefan Monnier
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.