all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#3856: 23.0.96; doc string of `widget-complete'
@ 2009-07-15 15:51 Drew Adams
  2011-07-12 15:28 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2009-07-15 15:51 UTC (permalink / raw)
  To: emacs-pretest-bug

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)'
 






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

* bug#3856: 23.0.96; doc string of `widget-complete'
  2009-07-15 15:51 bug#3856: 23.0.96; doc string of `widget-complete' Drew Adams
@ 2011-07-12 15:28 ` Lars Magne Ingebrigtsen
  2011-07-12 15:56   ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-12 15:28 UTC (permalink / raw)
  To: Drew Adams; +Cc: 3856

"Drew Adams" <drew.adams@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/





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

* bug#3856: 23.0.96; doc string of `widget-complete'
  2011-07-12 15:28 ` Lars Magne Ingebrigtsen
@ 2011-07-12 15:56   ` Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2011-07-12 15:56 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 3856

Lars Magne Ingebrigtsen <larsi@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.






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

end of thread, other threads:[~2011-07-12 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 15:51 bug#3856: 23.0.96; doc string of `widget-complete' Drew Adams
2011-07-12 15:28 ` Lars Magne Ingebrigtsen
2011-07-12 15:56   ` Chong Yidong

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.