🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.emacs
Article #3289

Re: abbrev in minibuffer

#3289
From: INAMURA =JANE= You
Date: Wed, 19 Feb 1992 00:46
32 lines
1923 bytes
$B:#$N$H$3$m2sEz$O$3$A$i$^$GFO$$$F$^$;$s$N(B$B$G!"7k9=6/0z$G$9$,!"(B
$B;W$$IU$$$?J}K!$r>R2p$7$^$9!#;29M$K$J$l$P9,$$$G$9!#(B


>>In article <SHUGO.92Feb8143222@presto.bi.a.u-tokyo.ac.jp>,
>>	shugo@bi.a.u-tokyo.ac.jp (Nakamura Shugo) writes:

NS> nemacs $B$N(B minibuffer $B$+$i(B string $B$r(B abbreviation $B$r;H$$$J$,$iFI$_9~$_(B
NS> $B$?$$$N$G$9$,!"(Belisp $B$G(B $B$I$&<B8=$7$?$i(B$B$h$$$N$+(B ($B$"$k$$$O<B8=2DG=$J$N$+(B
NS> $B$I$&$+(B) $B$o$+$j$^$;$s!#(B


(defun insert-after-abbrev-expansion ()
  (interactive)
  (expand-abbrev)
  (insert-char last-input-char 1))

$B$J$I$H$$$&4X?t$rDj5A$7$F$*$$$F(B

(setq input (let ((minibuffer-local-map
		   (append minibuffer-local-map
			   (list '(?  . insert-after-abbrev-expansion)
				 '(?, . insert-after-abbrev-expansion)
				 '(?. . insert-after-abbrev-expansion)
				 '(?! . insert-after-abbrev-expansion)))))
	      (read-string "Please Input: ")))

$B$H$d(B$B$C$F$d$j$^$9$H!"(Bminibuffer  $B$NCf$G!H(BSPC$B!I!H(B,$B!I!H(B.$B!I!H(B!$B!I(B
$B$rC!$$$?;~$K(B abbrev-expansion $B$,9T$o$l$k$h$&(B$B$K$J$j$^$9!#G!2?!)(B


$B0pB<!w#I#C#O#T(B
Technical Details
Message-ID: <INAMURA.92Feb19094659@icot21.icot.or.jp>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ccut!s.u-tokyo!riksun!rknss1!rkna50!nttlab!icot32!inamura
References: <SHUGO.92Feb8143222@presto.bi.a.u-tokyo.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: ff358,3fb669dc789e51d6
X-Google-Attributes: gidff358,public
X-Google-ArrivalTime: 1992-02-19 02:47:56 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ccut!s.u-tokyo!riksun!rknss1!rkna50!nttlab!icot32!inamura
From: inamura@icot.or.jp (INAMURA =JANE= You)
Newsgroups: fj.editor.emacs
Subject: Re: abbrev in minibuffer
Message-ID: <INAMURA.92Feb19094659@icot21.icot.or.jp>
Date: 19 Feb 92 00:46:59 GMT
References: <SHUGO.92Feb8143222@presto.bi.a.u-tokyo.ac.jp>
Sender: news@icot32.icot.or.jp
Reply-To: inamura@icot.or.jp
Distribution: fj
Organization: Institute for New Generation Computer Technology, Tokyo, Japan.
Lines: 32
In-reply-to: shugo@bi.a.u-tokyo.ac.jp's message of 8 Feb 92 05:32:22 GMT