* a principle for lisp-fill-paragraph
@ 2007-04-20 15:03 A Soare
2007-04-21 14:30 ` Richard Stallman
0 siblings, 1 reply; 3+ messages in thread
From: A Soare @ 2007-04-20 15:03 UTC (permalink / raw)
To: Emacs Dev [emacs-devel]
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: a principle for lisp-fill-paragraph
@ 2007-04-20 19:53 A Soare
0 siblings, 0 replies; 3+ messages in thread
From: A Soare @ 2007-04-20 19:53 UTC (permalink / raw)
To: Emacs Dev [emacs-devel]
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.
In fact, for a new paragraph now I see that it is sufficient to keep a blank line:
;; A
;;
;; B
And the lines will not be merged...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-21 14:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 15:03 a principle for lisp-fill-paragraph A Soare
2007-04-21 14:30 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2007-04-20 19:53 A Soare
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).