unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: auto-fill-mode and docstring
Date: Mon, 13 Sep 2004 15:33:53 +0900	[thread overview]
Message-ID: <b9yacvuu17y.fsf@jpl.org> (raw)

Hi,

Recently, I rearranged docstrings in some ELisp files using
auto-fill-mode and noticed it inserts undesired spaces in the
beginning of lines.  For instance, when I type space just after
`jumps' in the following form

(defun quick-brown-fox (jumps-over &optional the-lazy-dog)
  "The quich brown fox jumps over the lazy dog.
The quich brown fox jumps over the lazy dog.  The quich brown fox jumps

, it is folded as follows:

(defun quick-brown-fox (jumps-over &optional the-lazy-dog)
  "The quich brown fox jumps over the lazy dog.
The quich brown fox jumps over the lazy dog.  The quich brown fox
  jumps 

Is inserting fill-prefix there an intended behavior?  I also
noticed it can be avoided by setting adaptive-fill-mode as nil,
and finished the work smoothly.

In addition, emacs-lisp-docstring-fill-column doesn't seem to be
effective when folding docstring lines.  Is it right?

Regards,

             reply	other threads:[~2004-09-13  6:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13  6:33 Katsumi Yamaoka [this message]
2004-09-13 13:14 ` auto-fill-mode and docstring Robert J. Chassell
2004-09-14 14:07   ` Richard Stallman
2004-09-15  9:33     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9yacvuu17y.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).