From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: syntax table in minibuffer Date: Fri, 09 Sep 2011 21:44:19 -0400 Message-ID: References: <20110910.080052.2096906504209212106.yamato@redhat.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315619073 26562 80.91.229.12 (10 Sep 2011 01:44:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2011 01:44:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Masatake YAMATO Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 10 03:44:29 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 1R2CcP-0006DI-Jf for ged-emacs-devel@m.gmane.org; Sat, 10 Sep 2011 03:44:29 +0200 Original-Received: from localhost ([::1]:45771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2CcP-0007My-6I for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2011 21:44:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2CcM-0007Mr-BX for emacs-devel@gnu.org; Fri, 09 Sep 2011 21:44:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2CcL-0006yM-ET for emacs-devel@gnu.org; Fri, 09 Sep 2011 21:44:26 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:43076 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2CcL-0006yF-AU for emacs-devel@gnu.org; Fri, 09 Sep 2011 21:44:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoFALvAak64rwMJ/2dsb2JhbABCoVqGPXmBUgEBBAFWIwULCzQSFBgNJIgJtyuGbgSgL4RC X-IronPort-AV: E=Sophos;i="4.68,359,1312171200"; d="scan'208";a="135416078" Original-Received: from 184-175-3-9.dsl.teksavvy.com (HELO pastel.home) ([184.175.3.9]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 09 Sep 2011 21:44:20 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 03A22589E5; Fri, 9 Sep 2011 21:44:19 -0400 (EDT) In-Reply-To: <20110910.080052.2096906504209212106.yamato@redhat.com> (Masatake YAMATO's message of "Sat, 10 Sep 2011 08:00:52 +0900 (JST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:143837 Archived-At: > When emacs reading file name, I'd like to make the point in minibuffer > to "/", the file name separator, with \M-\C-b and \M-\C-f. > Do you want, too? I'm not sure I'd want that, but it does sound like a reasonable desire, yes. > In my knowledge, I have to modify syntax table for minibuffer for > doing that. However, I cannot find something link > `minibuffer-local-filename-syntax-table'. > Could you give me hints for that? I think you'll need to use minibuffer-with-setup-hook around the relevant completing-read so as to setup the syntax-table with set-syntax-table. Stefan