[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] New package: arm-mode

From: Stefan Monnier
Subject: Re: [ELPA] New package: arm-mode
Date: Mon, 19 Aug 2019 16:53:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> Thank you for the code review Stefan. I have implemented most of the
> fixed you suggested.  Following is what I have a few questions about.
> I need that M-; key binding because a  /*  */ style comment should be
> inserted if on an empty line.  To my understanding comment-dwim would
> only insert @ style comments.

Hmm... comment-dwim doesn't care, AFAIK, it just inserts whatever you
have set for comment-start and comment-end, so it can definitely insert
/*...*/.  But I suspect you know that, so most likely I'm
misunderstanding something.

> The reason that (modify-syntax-entry ?_ "w" st) is there is actually define
> a help define what a word is for the \< and \> regexp. If it is left out
> then registers names or anything else used in labels will be highlighted in
> their own color.

Ah, I see.  You can probably solve this by using \_< and \_> which match
symbol-boundaries instead of word-boundaries.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]