unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13437: 24.3.50; doc of `but-last'
@ 2013-01-14 17:39   ` Drew Adams
  2014-02-01  7:55     ` Lars Ingebrigtsen
  2014-02-01 19:58     ` bug#13437: control message for bug 13437 Glenn Morris
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2013-01-14 17:39 UTC (permalink / raw)
  To: 13437

Doc string:
 
 Return a copy of LIST with the last N elements removed.
 
It is better for the first line to describe the behavior with null
optional args.  E.g.:
 
 Return a copy of LIST with the last element removed.
 Optional arg N is the number of elements to remove.
 
Similarly, the doc string of `nbutlast' - e.g.,
 
 Modify LIST by removing the last element.
 Optional arg N is the number of elements to remove.

In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2012-12-31 on ODIEONE
Bzr revision: 111388 rudalics@gmx.at-20121231113513-subz2dazg6yjukzh
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13437: control message for bug 13437
       [not found] <E1UmvsE-0006jG-0G@fencepost.gnu.org>
@ 2014-02-01  7:48 ` Lars Ingebrigtsen
  2013-01-14 17:39   ` bug#13437: 24.3.50; doc of `but-last' Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-01  7:48 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 13437

Glenn Morris <rgm@gnu.org> writes:

> # cf forward-char, forward-line etc etc
> tag 13437 wontfix

forward-char is an interactive built-in function in `C source code'.

[...]

If N is omitted or nil, move point 1 character forward.
----

I think it would make sense to say what an omitted N in butlast means.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13437: 24.3.50; doc of `but-last'
  2013-01-14 17:39   ` bug#13437: 24.3.50; doc of `but-last' Drew Adams
@ 2014-02-01  7:55     ` Lars Ingebrigtsen
  2014-02-01 19:58     ` bug#13437: control message for bug 13437 Glenn Morris
  1 sibling, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-01  7:55 UTC (permalink / raw)
  To: Drew Adams; +Cc: 13437

"Drew Adams" <drew.adams@oracle.com> writes:

> Doc string:
>
>  Return a copy of LIST with the last N elements removed.
>
> It is better for the first line to describe the behavior with null
> optional args.  E.g.:
>
>  Return a copy of LIST with the last element removed.
>  Optional arg N is the number of elements to remove.
>
> Similarly, the doc string of `nbutlast' - e.g.,
>
>  Modify LIST by removing the last element.
>  Optional arg N is the number of elements to remove.

Fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#13437: control message for bug 13437
  2013-01-14 17:39   ` bug#13437: 24.3.50; doc of `but-last' Drew Adams
  2014-02-01  7:55     ` Lars Ingebrigtsen
@ 2014-02-01 19:58     ` Glenn Morris
  1 sibling, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2014-02-01 19:58 UTC (permalink / raw)
  To: 13437

Lars Ingebrigtsen wrote:

> Glenn Morris <rgm@gnu.org> writes:
>
>> # cf forward-char, forward-line etc etc
>> tag 13437 wontfix
>
> forward-char is an interactive built-in function in `C source code'.
>
> [...]
>
> If N is omitted or nil, move point 1 character forward.

forward-char did not use to say that until recently (and forward-line
etc still does not).

Pretending it's not obvious that N defaults to 1 for all such functions
is just being tediously literal-minded IMO.

But it's obviously not worth arguing about.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-01 19:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1UmvsE-0006jG-0G@fencepost.gnu.org>
2014-02-01  7:48 ` bug#13437: control message for bug 13437 Lars Ingebrigtsen
2013-01-14 17:39   ` bug#13437: 24.3.50; doc of `but-last' Drew Adams
2014-02-01  7:55     ` Lars Ingebrigtsen
2014-02-01 19:58     ` bug#13437: control message for bug 13437 Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).