unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: minibuffer-prompt-end badly named
       [not found] <20020813013725.QILD11162.mtiwmhc22.worldnet.att.net@SPIKE.att.net>
@ 2002-08-13 22:47 ` Richard Stallman
  2002-08-13 23:17   ` Thomas A. Horsley
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2002-08-13 22:47 UTC (permalink / raw)
  Cc: emacs-devel

I will improve this area.

    The function minibuffer-prompt-end (and all the other related functions
    added for emacs21) are very badly documented.

Could you give me a precise list of the functions that you think
are badly documented?  I could afford to look at specific functions
to try to improve their doc strings, but I'd rather not take the extra
time to hunt for the right functions.

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

* Re: minibuffer-prompt-end badly named
  2002-08-13 22:47 ` minibuffer-prompt-end badly named Richard Stallman
@ 2002-08-13 23:17   ` Thomas A. Horsley
  2002-08-14 23:13     ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Horsley @ 2002-08-13 23:17 UTC (permalink / raw)
  Cc: emacs-devel

>I will improve this area.
>
>    The function minibuffer-prompt-end (and all the other related functions
>    added for emacs21) are very badly documented.
>
>Could you give me a precise list of the functions that you think
>are badly documented?  I could afford to look at specific functions
>to try to improve their doc strings, but I'd rather not take the extra
>time to hunt for the right functions.

Upon further review, it may only be minibuffer-prompt-end that has the
really screwy doc string. The other functions right next to it all say they
must be used in the minibuffer, and in those cases, the rest of the doc
string is correct. I'd still like a function that actually does what the
current doc string for minibuffer-prompt-end claims to do :-).

The best I've come up with so far is:

(defun writable-point-min ()
"Return first writable position in current buffer."
   (let
      ( (rval (point-min)) )
      (if (get-text-property rval 'read-only)
         (setq rval (next-single-property-change rval 'read-only)) )
      rval ) )

--
>>==>> The *Best* political site <URL:http://www.vote-smart.org/> >>==+
      email: Tom.Horsley@worldnet.att.net icbm: Delray Beach, FL      |
<URL:http://home.att.net/~Tom.Horsley> Free Software and Politics <<==+

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

* Re: minibuffer-prompt-end badly named
  2002-08-13 23:17   ` Thomas A. Horsley
@ 2002-08-14 23:13     ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2002-08-14 23:13 UTC (permalink / raw)
  Cc: emacs-devel

I changed minibuffer-prompt-end so that outside the minibuffer
it always returns (point-beg).  Thanks for pointing out the problem.

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

end of thread, other threads:[~2002-08-14 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020813013725.QILD11162.mtiwmhc22.worldnet.att.net@SPIKE.att.net>
2002-08-13 22:47 ` minibuffer-prompt-end badly named Richard Stallman
2002-08-13 23:17   ` Thomas A. Horsley
2002-08-14 23:13     ` Richard Stallman

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