🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98802

Emacs Suggestion

#98802
From: John Hagerman
Date: Fri, 01 Mar 1991 16:20
29 lines
1688 bytes
This suggestion has to do with (interactive).  I think (interactive)
should handle more of the cases I currently write myself.

Specifically, I am interested in functions that operate on an X, where
an X is prompted for, with a default of "the X at point."  X's I have
encountered include words, symbols, and variables; others are obvious.

By "default" I mean "value used when nothing is entered to a prompt";
"nothing entered" must be carefully defined.

Maybe new (interactive) code letters would suffice:

W -- Any string of word-syntax characters, default is the word at point.
I -- Any symbol ("identifier"), default is the symbol at point.
V -- Any variable, default is the variable at point.

(This choice of letters is meant to imply the addition of the letters
`w' for word-syntax and `i' to replace `S'.)

Or maybe a special character (`.'?) following a code letter would be
better, since capitalization is already overloaded.

Implementing this will require functions that will do minibuffer reads
with defaults for all X's of interest.

Comments?

- John
hagerman@ece.cmu.edu
Technical Details
Message-ID: <9103011620.AA20347@rx7.ece.cmu.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,be27ae11527e70dc,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-02 02:36:24 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!unreplyable!garbage
From: hagerman@RX7.ECE.CMU.EDU (John Hagerman)
Newsgroups: gnu.emacs.bug
Subject: Emacs Suggestion
Message-ID: <9103011620.AA20347@rx7.ece.cmu.edu>
Date: 1 Mar 91 16:20:08 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 29
Approved: bug-gnu-emacs@prep.ai.mit.edu