From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Charles Jackson <charles.b.jackson@protonmail.com>
Cc: "rms@gnu.org" <rms@gnu.org>, "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package: arm-mode
Date: Mon, 19 Aug 2019 16:53:15 -0400 [thread overview]
Message-ID: <jwva7c4zxr4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <HxSgdNVFTmFaFQeXi01P-GtQF1-Od6z9N4D8U9B9nGCeT9k9NiJys3l8iV2FtB6kwCbeXvCF-WxvsioIWHOLfhICiR4VFIkt9W-4XQuB9eE=@protonmail.com> (Charles Jackson's message of "Sun, 18 Aug 2019 06:12:27 +0000")
> 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.
Stefan
next prev parent reply other threads:[~2019-08-19 20:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-08 21:18 [ELPA] New package: arm-mode Charles Jackson
2019-08-09 21:54 ` Stefan Monnier
2019-08-10 16:10 ` Charles Jackson
2019-08-10 2:30 ` Richard Stallman
2019-08-10 16:02 ` Charles Jackson
2019-08-11 2:37 ` Richard Stallman
2019-08-11 2:58 ` Charles Jackson
2019-08-12 1:36 ` Richard Stallman
2019-08-18 6:12 ` Charles Jackson
2019-08-19 20:53 ` Stefan Monnier [this message]
2019-08-20 4:52 ` Charles Jackson
2019-08-20 8:55 ` Stefan Monnier
2019-08-20 16:23 ` Charles Jackson
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=jwva7c4zxr4.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=charles.b.jackson@protonmail.com \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).