From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Filling the docstring generated by define-minor-mode Date: Tue, 11 Jun 2019 03:14:13 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="89490"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Juanma Barranquero To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 11 09:15:04 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1haazn-000N9q-8n for ged-emacs-devel@m.gmane.org; Tue, 11 Jun 2019 09:15:03 +0200 Original-Received: from localhost ([::1]:52312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haazm-00046a-8E for ged-emacs-devel@m.gmane.org; Tue, 11 Jun 2019 03:15:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33325) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haaz8-00043N-3V for emacs-devel@gnu.org; Tue, 11 Jun 2019 03:14:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haaz6-00048r-ED for emacs-devel@gnu.org; Tue, 11 Jun 2019 03:14:21 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:50634) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1haaz6-00044d-6K for emacs-devel@gnu.org; Tue, 11 Jun 2019 03:14:20 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 435F981180; Tue, 11 Jun 2019 03:14:17 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F0B9180BAF; Tue, 11 Jun 2019 03:14:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1560237256; bh=fNElF4FPDixgdOhHGTpfdQIEuf5T2P7LsJ0ZlCH1JMs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=XGirUlps4gR2WPjVUYAzC6+6eQSSoqOFJ3r9hrtHGZuHB7Fz9Kdb2dtfTJG0oyzZq biGxTqPXFxfYTPMyLGXDleAc0XV5vVqyjzsd8b9PTpdiu2huioisOKfXFDkBkDu83S HNN7p7sCkiRu8dzYHs7QFy3p/Yhpce+IVrZ6KthLfvgNAFYZCMJP35Sk1dX1ktn6v9 pAXvEAPSu4Rnc1UqTQGfG8u9FGdka81hvAqOiQ6wcMOIJa5EfShjC4QkvhhH8llvpV svFZaWlcmfFHZmuEezfwrstatn9EB1lqzU3YrRkF3FV+Z1O50UZn0ymi8TwKzTvaEP n9gv0KWApfj4A== Original-Received: from alfajor (unknown [157.157.58.170]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 67CBB1204BB; Tue, 11 Jun 2019 03:14:15 -0400 (EDT) Cancel-Lock: sha1:dVRwytW3waO1x7tZdSTeVXACfhE= In-Reply-To: (Juanma Barranquero's message of "Mon, 10 Jun 2019 21:15:03 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237430 Archived-At: >> Filling is probably a better solution in that it's more general (of >> course, that presumes there's no embedded code examples which could be >> mis-filled, but in this particular case it seems like a non-issue). > That's why I think is a good fit for this particular case, Agreed. > but not for filling docstrings as a rule. [ Actually, I think we should aim for automatic refilling in the longer run. That means using a format that unambiguously distinguishes prose from preformatted contents. But that's another discussion. ] Stefan