[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: syntax table in minibuffer
From: |
Masatake YAMATO |
Subject: |
Re: syntax table in minibuffer |
Date: |
Tue, 13 Sep 2011 23:17:51 +0900 (JST) |
On Tue, 13 Sep 2011 09:48:09 -0400, Stefan Monnier <address@hidden> wrote
>> Thank you. I've implemented base on your hit.
>> New behaviors of \M-\C-f and \M-\C-b in \C-x\C-f are nice.
>> I'd like you to include this into the offcial Emacs source tree.
>
> I'm not sure we want that by default.
>
>> We are in feature-freeze stage. What shoud I do?
>> Should I submit this to bug tracking system?
>
> Please do so, yes.
I'll do so.
>> +(defvar minibuffer-local-filename-syntax
>> + (let ((table (make-syntax-table)))
>> + (mapc
>> + (lambda (c)
>> + (modify-syntax-entry c "_" table))
>> + '(?~ ?` ?! ?@ ?# ?$ ?% ?^ ?& ?* ?( ?) ?- ?_ ?= ?+
>> + ?{ ?} ?[ ?] ?| ?\; ?\" ?'
>> + ?, ?< ?. ?> ??))
>
> Why this particular list? Please represent the list of chars in a way
> that makes it more clear why it's chosen that way.
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.
Masatake YAMATO
>
> Stefan
- syntax table in minibuffer, Masatake YAMATO, 2011/09/09
- Re: syntax table in minibuffer, Stefan Monnier, 2011/09/09
- Re: syntax table in minibuffer, Masatake YAMATO, 2011/09/12
- Re: syntax table in minibuffer, Stefan Monnier, 2011/09/13
- Re: syntax table in minibuffer,
Masatake YAMATO <=
- Re: syntax table in minibuffer, Stefan Monnier, 2011/09/13
- Re: syntax table in minibuffer, Masatake YAMATO, 2011/09/15
- Re: syntax table in minibuffer, Stefan Monnier, 2011/09/15
- Re: syntax table in minibuffer, Masatake YAMATO, 2011/09/15