all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chong Yidong'" <cyd@gnu.org>, "'Lawrence Mitchell'" <wence@gmx.li>
Cc: 7751@debbugs.gnu.org
Subject: bug#7751: 24.0.50; `fill-paragraph' on doc string with colons
Date: Fri, 17 Feb 2012 06:55:24 -0800	[thread overview]
Message-ID: <B4B7DE099C674C23B0CFA27B49BBD636@us.oracle.com> (raw)
In-Reply-To: <87fwe935vj.fsf@gnu.org>

> the colon is there so that forms like
> (defcustom foo nil
>   :bar 3)
> 
> Don't get refilled to
> (defcustom foo nil :bar 3)
> 
> when you type M-q.

And just why is that important?

If there is room for it given the value of `fill-column', such filling makes
sense - a good thing, not a bad thing.

Sure, it would be best if a keyword and its value were always (`fill-column'
permitting) on the same line.  But that's a nice-to-have - it should not be the
first priority or the reason for mangling filling of doc strings.

Anyway, the #7751 bug report is not about that, at all.

It's about using `M-q' on a _doc string_.  It's not about using `M-q' on a sexp
such as you present above (which has no strings at all).  Let's not take a
detour.  If the current code does not distinguish the doc-string case, maybe it
should.






  reply	other threads:[~2012-02-17 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28 20:45 bug#7751: 24.0.50; `fill-paragraph' on doc string with colons Drew Adams
2010-12-28 21:36 ` Lawrence Mitchell
2012-02-17 12:55   ` Lawrence Mitchell
2012-02-17 14:13     ` Chong Yidong
2012-02-17 14:55       ` Drew Adams [this message]
2012-09-17  0:15         ` Drew Adams
2016-04-28 10:05   ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=B4B7DE099C674C23B0CFA27B49BBD636@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=7751@debbugs.gnu.org \
    --cc=cyd@gnu.org \
    --cc=wence@gmx.li \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.