🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98323

Inconsistent use of optional arguments in motion commands

#98323
From: Jonas Jaernestroem TG/HDK
Date: Mon, 14 Oct 1991 19:22
25 lines
1696 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,
(The reference manual 1.02 doesnt mention that forward-list and 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 may 
affect many of the existing eLisp packages.

Jonas Jaernestroem              email:  etxjojm@ericad.ericsson.se
Ericsson Telecom STOCKHOLM     
                          
Technical Details
Message-ID: <9110141349.AA20010@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!etxjojm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,a465707878fe9c50,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-10-15 05:46:36 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: <9110141349.AA20010@ericad.ericsson.se>
Date: 14 Oct 91 19:22:44 GMT
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25
Approved: bug-gnu-emacs@prep.ai.mit.edu