[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: minibuffer-prompt-end badly named

From: Thomas A. Horsley
Subject: Re: minibuffer-prompt-end badly named
Date: 13 Aug 2002 19:17:42 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>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."
      ( (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: address@hidden icbm: Delray Beach, FL      |
<URL:http://home.att.net/~Tom.Horsley> Free Software and Politics <<==+

reply via email to

[Prev in Thread] Current Thread [Next in Thread]