Article View: gnu.emacs.bug
Article #98324Inconsistent use of optional arguments in motion commands
From: Jonas Jaernestroem TG/HDK
Date: Mon, 14 Oct 1991 19:22
Date: Mon, 14 Oct 1991 19:22
21 lines
1588 bytes
1588 bytes
In GNU Emacs 18.55.4 of Tue Mar 20 1990 on nericad (berkeley-unix)
I have been unable to find any rule of thumb of when the argument
is optional and when its compulsory in the basic motion commands.
I'm lazy so whenever the arg is optional I leave it out. That gives me
problems for some commands in the same "group" which has compulsory args
and so far I havent managed to learn them by heart.
For example forward-char, beginning-of-line, forward-line, forward-list,
forward-sexp has optional args,
but
forward-word, up-list, down-list, next-line has compulsory args.
I think this is an inconsistency that at least disturbes me in my
programming. I think it should be corrected, but I'm aware of that it could
affect many of the existing eLisp packages.
Jonas Jaernestroem email: etxjojm@ericad.ericsson.se
Ericsson Telecom STOCKHOLM
Technical Details
Message-ID:
<9110141343.AA19991@ericad.ericsson.se>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ericad.ericsson.SE!etxjojmShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,a465707878fe9c50 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-10-15 05:47:04 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ericad.ericsson.SE!etxjojm From: etxjojm@ericad.ericsson.SE (Jonas Jaernestroem TG/HDK) Newsgroups: gnu.emacs.bug Subject: Inconsistent use of optional arguments in motion commands Message-ID: <9110141343.AA19991@ericad.ericsson.se> Date: 14 Oct 91 19:22:44 GMT Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 Approved: bug-gnu-emacs@prep.ai.mit.edu