🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.mule
Article #949

Re: [Q] case sensitive dabbrev ?

#949
From: TAGA Nayuta
Date: Fri, 17 Jul 1998 00:00
29 lines
1798 bytes
Keiichi Suzuki <keiichi@mdcnet.co.jp> wrote:

 > 多賀> どなたかこのようにする方法を知りませんでしょうか?せっかくの便利な 
 > 多賀> dabbrev も, case insensitive なせいで, ソース編集には非常に使いにくい
 > 多賀> ものになっていると思うのですが… (それともそう思っているのは私だけ?)
 > 
 > 私は、 c-mode-hook から呼び出される関数の中に、次のものを加えています。
 > 
 >         (make-variable-buffer-local 'dabbrev-case-fold-search)
 >         (setq dabbrev-case-fold-search nil)
 >         (make-variable-buffer-local 'dabbrev-case-replace)
 >         (setq dabbrev-case-replace nil)
 > 
 > これだと、検索、置き換え、ともに大文字・小文字を区別します。
 > 
 > ;; 私は、 C言語のプログラム中では“hoge M-/”と“HOGE M-/”を明確に
 > ;; 区別したいもので。

やはりこういうのはあるんですね。mule 19.28 では

(setq case-fold-search nil)
(setq case-replace nil)

で OK でした。どうもありがとうございました。

--
∩∩ | TAGA Nayuta <nayuta@is.s.u-tokyo.ac.jp> 多賀 奈由太
"∪" | Department of Information Science, University of Tokyo
Technical Details
Message-ID: <19980717004814-4344E.nayuta@harp.is.s.u-tokyo.ac.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6ok9n0$633$3@mdcsv.mdcnet.co.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 10eba4,e3d99502639c2323
X-Google-Attributes: gid10eba4,public
From: TAGA Nayuta <nayuta@is.s.u-tokyo.ac.jp>
Subject: Re: [Q] case sensitive dabbrev ?
Date: 1998/07/17
Message-ID: <19980717004814-4344E.nayuta@harp.is.s.u-tokyo.ac.jp>
X-Deja-AN: 372058727
Content-Transfer-Encoding: 7bit
References: <6ok9n0$633$3@mdcsv.mdcnet.co.jp>
Content-Type: Text/Plain; charset=iso-2022-jp
X-Dispatcher: imput version 980119
Organization: Dept. of Info. Sci., Fac. of Sci, Univ. of Tokyo, Japan.
Mime-Version: 1.0
Newsgroups: fj.editor.mule