From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Masatake YAMATO Newsgroups: gmane.emacs.devel Subject: Re: syntax table in minibuffer Date: Thu, 15 Sep 2011 17:56:49 +0900 (JST) Organization: Red Hat Japan, Inc. Message-ID: <20110915.175649.18849677874018401.yamato@redhat.com> References: <20110913.231751.588133360773035431.yamato@redhat.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316077021 7331 80.91.229.12 (15 Sep 2011 08:57:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2011 08:57:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: monnier@IRO.UMontreal.CA Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 15 10:56:56 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R47ke-0001ar-Ei for ged-emacs-devel@m.gmane.org; Thu, 15 Sep 2011 10:56:56 +0200 Original-Received: from localhost ([::1]:34904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R47kd-0007eI-I8 for ged-emacs-devel@m.gmane.org; Thu, 15 Sep 2011 04:56:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R47kb-0007eC-Fs for emacs-devel@gnu.org; Thu, 15 Sep 2011 04:56:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R47ka-0005jH-GK for emacs-devel@gnu.org; Thu, 15 Sep 2011 04:56:53 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:33653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R47ka-0005jA-7m for emacs-devel@gnu.org; Thu, 15 Sep 2011 04:56:52 -0400 Original-Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8F8upHr020922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Sep 2011 04:56:51 -0400 Original-Received: from localhost (beach.nrt.redhat.com [10.64.200.71]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8F8unnn015859; Thu, 15 Sep 2011 04:56:50 -0400 In-Reply-To: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144057 Archived-At: >> 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. Thanks. I rewrote the patch using the function. > BTW, another way to attack the problem is to leave the syntax-table > alone, but set forward-sexp-function. I have no idea which is better. However, it will be nice that minibuffer can has its own major mode. e.g. minibuffer-filename-mode. Masatake > > Stefan >