all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Masatake YAMATO <yamato@redhat.com>
Cc: emacs-devel@gnu.org
Subject: Re: syntax table in minibuffer
Date: Tue, 13 Sep 2011 14:22:42 -0400	[thread overview]
Message-ID: <jwvk49c5mnm.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20110913.231751.588133360773035431.yamato@redhat.com> (Masatake YAMATO's message of "Tue, 13 Sep 2011 23:17:51 +0900 (JST)")

> I wanted to choose all chars which is defined as punctuation.
> I wanted to convert them to symbol. So \M-\C-f and \M-\C-b can
> ignore them. Is there any good way for choosing them?
> If not, I have to write a function traversing a given syntax table.

map-char-table should do the trick.

BTW, another way to attack the problem is to leave the syntax-table
alone, but set forward-sexp-function.


        Stefan



  reply	other threads:[~2011-09-13 18:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-09 23:00 syntax table in minibuffer Masatake YAMATO
2011-09-10  1:44 ` Stefan Monnier
2011-09-12  7:47   ` Masatake YAMATO
2011-09-13 13:48     ` Stefan Monnier
2011-09-13 14:17       ` Masatake YAMATO
2011-09-13 18:22         ` Stefan Monnier [this message]
2011-09-15  8:56           ` Masatake YAMATO
2011-09-15 13:09             ` Stefan Monnier
2011-09-15 14:18               ` Masatake YAMATO

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvk49c5mnm.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=yamato@redhat.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.
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.