GNU bug report logs - #3856
23.0.96; doc string of `widget-complete'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 15 Jul 2009 15:55:05 UTC

Severity: minor

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3856 in the body.
You can then email your comments to 3856 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3856; Package emacs. (Wed, 15 Jul 2009 15:55:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 15 Jul 2009 15:55:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <emacs-pretest-bug <at> gnu.org>
Subject: 23.0.96; doc string of `widget-complete'
Date: Wed, 15 Jul 2009 08:51:07 -0700
Doc string:
 
  Complete content of editable field from point.
  When not inside a field, move to the previous button or field.
 
Remove the second sentence; it makes no sense.
`widget-complete' is used only for a field.
 
 
 
In GNU Emacs 23.0.96.1 (i386-mingw-nt5.1.2600)
 of 2009-07-09 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
 




Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Nov 2009 22:10:13 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#3856; Package emacs. (Tue, 12 Jul 2011 15:29:03 GMT) Full text and rfc822 format available.

Message #10 received at 3856 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 3856 <at> debbugs.gnu.org
Subject: Re: 23.0.96; doc string of `widget-complete'
Date: Tue, 12 Jul 2011 17:28:26 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> Doc string:
>
>   Complete content of editable field from point.
>   When not inside a field, move to the previous button or field.
>
> Remove the second sentence; it makes no sense.
> `widget-complete' is used only for a field.

This has been changed to:

---
;; This used to say:
;; "When not inside a field, move to the previous button or field."
;; but AFAICS, it has always just thrown an error.
(defun widget-complete ()
  "Complete content of editable field from point.
When not inside a field, signal an error."
---

But I think you're right, anyway.  This is only bound to a keystroke on
widget fields (as far as I can tell), so it seems unnecessary to say
anything about what happens if you call the function from somewhere
else.

Opinions?

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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#3856; Package emacs. (Tue, 12 Jul 2011 15:57:02 GMT) Full text and rfc822 format available.

Message #13 received at 3856 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 3856 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#3856: 23.0.96; doc string of `widget-complete'
Date: Tue, 12 Jul 2011 11:56:16 -0400
Lars Magne Ingebrigtsen <larsi <at> gnus.org> writes:

> (defun widget-complete ()
>   "Complete content of editable field from point.
> When not inside a field, signal an error."
>
> But I think you're right, anyway.  This is only bound to a keystroke on
> widget fields (as far as I can tell), so it seems unnecessary to say
> anything about what happens if you call the function from somewhere
> else.
>
> Opinions?

It's not important, but I think the docstring fine as is.  Closing.





bug closed, send any further explanations to 3856 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Tue, 12 Jul 2011 15:57:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Aug 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.