From: jyangstat@yahoo.com (jyangstat@yahoo.com)
Subject: Re: Highlight comment in gauss mode
Date: 7 Jan 2004 05:33:32 -0800 [thread overview]
Message-ID: <65ef16d2.0401070533.2dee844@posting.google.com> (raw)
In-Reply-To: jwvn090372j.fsf-monnier+gnu.emacs.help@asado.iro.umontreal.ca
Stefan Monnier <monnier@iro.umontreal.ca> wrote in message news:<jwvn090372j.fsf-monnier+gnu.emacs.help@asado.iro.umontreal.ca>...
> > Thank you for your response and sorry for unclear information.
> > Based on Gauss, the valid comment format is anything between /* and */
> > (same as C) and between @ ... @ when @ ... @ is at the same line.
>
> But the question remains of whether or not
>
> @ foo
@ foo
is not valid Gauss. The valid Gauss comments are
/* this kind of comment can be nested */
@ this kind of comment cannot be nested @
For example, the followings are valid gauss comment:
Case 1:
/* foo1
/* foo2 */
*/
Case 2:
@ foo2@
Case 3:
@ foo3
@
>
> is valid Gauss (and whether it is a comment).
>
> > I just use the gauss mode implemented by Steve Berry. However, this
> > mode only supports @ ... @ type comment but not highlight the comment.
>
> Reading the code, I'd expect it to highlight them, although in `string'
> face rather than in `comment' face. Can you precisely (i.e. as if talking
> to a complete idiot) describe what you do, what you see, and what you
> expected instead ?
I just want to see the colors are different in comment areas. For example,
{ans1,ans2} = call_foo(arg1,arg2,arg3); @This is foo subroutine@
/* foo is calculating ....
....
*/
I would like to see highlight in
@This is foo subroutine@
/* foo is calculating ....
....
*/
Thanks.
James
>
>
> Stefan
next prev parent reply other threads:[~2004-01-07 13:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-06 15:00 Highlight comment in gauss mode jyangstat
2004-01-06 15:51 ` Highlight comment in HTML Gian Uberto Lauri
2004-01-06 18:39 ` Highlight comment in gauss mode Stefan Monnier
2004-01-07 0:20 ` jyangstat
2004-01-07 1:04 ` Stefan Monnier
2004-01-07 13:33 ` jyangstat [this message]
2004-01-07 15:30 ` Stefan Monnier
2004-01-08 21:30 ` jyangstat
2004-01-08 22:41 ` Stefan Monnier
2004-01-09 12:46 ` jyangstat
[not found] ` <mailman.29.1073407916.928.help-gnu-emacs@gnu.org>
2004-01-06 18:36 ` Highlight comment in HTML Tim McNamara
2004-01-06 18:57 ` Tim McNamara
2004-01-06 19:13 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=65ef16d2.0401070533.2dee844@posting.google.com \
--to=jyangstat@yahoo.com \
/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.
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).