From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Abbrev , as ,_
Date: Thu, 30 Oct 2003 17:06:11 GMT [thread overview]
Message-ID: <jwvd6celksu.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: mailman.2813.1067525348.21628.help-gnu-emacs@gnu.org
[ Try to use TAB to indent your code, so it's easier to read for others. ]
> (let* ((face (get-text-property (point) 'face )))
> (if
> (or (equal face 'font-lock-comment-face)
> (equal face 'font-lock-string-face)
> (equal face 'font-lock-warning-face)
> (equal face 'font-lock-doc-face))
> (insert ",")
> (insert ", ")
> ))))
AKA
(insert
(if (member (get-text-property (point) 'face)
'(font-lock-comment-face font-lock-string-face
font-lock-warning-face font-lock-doc-face))
"," ", "))
-- Stefan
next parent reply other threads:[~2003-10-30 17:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2813.1067525348.21628.help-gnu-emacs@gnu.org>
2003-10-30 17:06 ` Stefan Monnier [this message]
2003-10-30 14:46 Abbrev , as ,_ Roberto Huelga
-- strict thread matches above, loose matches on Subject: below --
2003-10-30 0:27 Jiri Pejchal
2003-10-30 1:27 ` Jesper Harder
2003-10-30 4:27 ` Dan Anderson
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=jwvd6celksu.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
--to=monnier@iro.umontreal.ca \
/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).