[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fill docstring (Re: new *Help* argument highlighting)
From: |
Kenichi Handa |
Subject: |
fill docstring (Re: new *Help* argument highlighting) |
Date: |
Thu, 13 May 2004 08:28:44 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Miles Bader <address@hidden> writes:
> On Wed, May 12, 2004 at 03:15:01PM +0200, Juanma Barranquero wrote:
>> > What do you mean? The first `sentence' should never be
>> > broken into multiple lines. So only the meaningful "fix"
>> > for fill is to make it recognize the emacs-lisp docstrings
>> > and keep the first line untouched.
> It already does that.
Wow! I didn't know that. But, it seems that there's a bug.
When I move point in the following docstring and type M-q:
(defun temp ()
"This is a fairly long first line of a function documentation string."
nil)
the result is:
(defun temp ()
"This is a fairly long first line of a function documentation
string." nil)
Another test:
(defun temp ()
"This is a short documentation string."
nil)
is filled as:
(defun temp ()
"This is a short documentation string." nil)
If the docstring is more than two lines, it works as
expected. So, perhaps, I should not try to fill a single
line docstring which is anyway a nonsense thing.
But I found another problem.
(defun temp ()
(interactive)
"This is a fairly long long long long first line of an embedded Lisp string.
The second line." )
The string part is not filled, perhaps because it is
detected as a docstring?
---
Ken'ichi HANDA
address@hidden
- Re: new *Help* argument highlighting, (continued)
- Re: new *Help* argument highlighting, Kenichi Handa, 2004/05/12
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/12
- Re: new *Help* argument highlighting, Miles Bader, 2004/05/12
- Re: new *Help* argument highlighting, Kim F. Storm, 2004/05/12
- Re: new *Help* argument highlighting, Miles Bader, 2004/05/12
- Re: new *Help* argument highlighting, Kenichi Handa, 2004/05/16
- Re: new *Help* argument highlighting, Miles Bader, 2004/05/16
- Re: new *Help* argument highlighting, Kenichi Handa, 2004/05/18
- Re: new *Help* argument highlighting, Kim F. Storm, 2004/05/17
- Re: new *Help* argument highlighting, Miles Bader, 2004/05/17
- fill docstring (Re: new *Help* argument highlighting),
Kenichi Handa <=
- Re: new *Help* argument highlighting, Kenichi Handa, 2004/05/16
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/17
- Re: new *Help* argument highlighting, Kenichi Handa, 2004/05/17
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/12
- Re: new *Help* argument highlighting, Kenichi Handa, 2004/05/12
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/12
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/11
- Re: new *Help* argument highlighting, Kenichi Handa, 2004/05/10
- Re: new *Help* argument highlighting, Juanma Barranquero, 2004/05/11
- Re: new *Help* argument highlighting, Richard Stallman, 2004/05/11