unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: A Soare <alinsoar@voila.fr>
To: "Emacs   Dev  [emacs-devel]" <emacs-devel@gnu.org>
Subject: a principle for lisp-fill-paragraph
Date: Fri, 20 Apr 2007 17:03:17 +0200 (CEST)	[thread overview]
Message-ID: <8279891.653291177081397290.JavaMail.www@wwinf4105> (raw)

There is not normal always to bring 2 lines on a single line by fill-paragraph in lisp mode.

;; Indent each line of the list starting just after point.
;; A prefix argument specifies pretty-printing.

by evaluation gives:

;; Indent each line of the list starting just after point.  A prefix
;; argument specifies pretty-printing.

Evaluating fill-paragraph will bring the 2 lines on a single line.

I propose this principle:

When we want to keep a paragraph on a new line, we must insert 3 spaces from the last comment symbol.

Just in the the case of 1 or 2 spaces we merge 2 lines. So after evaluating (lisp-fill-paragraph) on

;;  Indent each line of the list starting just after point.
;;   A prefix argument specifies pretty-printing

should keep the text the same.


Can somebody else propose a new principle for this?

If you agree, I will make this change.

             reply	other threads:[~2007-04-20 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20 15:03 A Soare [this message]
2007-04-21 14:30 ` a principle for lisp-fill-paragraph Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-04-20 19:53 A Soare

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=8279891.653291177081397290.JavaMail.www@wwinf4105 \
    --to=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.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).