From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: compact-docstrings Date: Wed, 29 Jun 2016 15:00:17 +0000 Message-ID: References: <57701142.1040001@gmail.com> <5773CDAA.6020409@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114db45284ea9805366c031b X-Trace: ger.gmane.org 1467212635 18529 80.91.229.3 (29 Jun 2016 15:03:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2016 15:03:55 +0000 (UTC) To: =?UTF-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 17:03:54 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bIH1p-0002yc-Ux for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2016 17:03:50 +0200 Original-Received: from localhost ([::1]:44292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIH1p-0005zo-7b for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2016 11:03:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIGya-00036L-TK for emacs-devel@gnu.org; Wed, 29 Jun 2016 11:00:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIGyZ-0007RU-R5 for emacs-devel@gnu.org; Wed, 29 Jun 2016 11:00:28 -0400 Original-Received: from mail-vk0-x241.google.com ([2607:f8b0:400c:c05::241]:35130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIGyZ-0007R1-M5 for emacs-devel@gnu.org; Wed, 29 Jun 2016 11:00:27 -0400 Original-Received: by mail-vk0-x241.google.com with SMTP id e187so6759949vkb.2 for ; Wed, 29 Jun 2016 08:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=2vx2iMHrZFKwWNriiUR0e746dRA5Jk0wFFHxQF11XUo=; b=Lyh4ofHagWtqSIAHf82Z2Gw7K9kTWtioQTBssYNrBsX14DaPL+fvgFTO69l1472MI/ BS4bmOzbfOi8Rzcn2BBSUkI3LdXJfCYZ8uksh8VyE2guCc6CBZifH000LoPN2kw37139 cLtgacJlYFbC03zE5o4LBdKUKOkQT3CFZpsk8njzMfgx+F5yfz39LNU+TXK7xw9AlR/P NXmT/ia02QupqQHsyIcwLivm2fsNXNzweTgcd44XTLP+mfF/hJupR3WPKml/mnmgXtfK pG4QtC20w4czkBZGtVmM0jk/yImsVFUqlfFlfOkQ3ztx2y+wetyMIoPn9QlSWZLU6JMo NVbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=2vx2iMHrZFKwWNriiUR0e746dRA5Jk0wFFHxQF11XUo=; b=Sb0k7GW4i7kUcQRytLAiWlmGftYKjyM31FEVXVyEEMgKQtxIsr24xwicLbU3FWF5QB GsFDBak2FzK8DRrG4vH1Tipp4qt0vq7uDO6MXfrylwfjxQuQMpV9SYBcUydS9ueShhyY +19lioKCpwE/m9aterSjeAmQyrVsSizsL8XTxVrebTEHBci7tkbQQTX30JknzgKSYkH8 hahAdGpeYjhxbdcl+T5MbLifaTPny2O5SAxTGRDAbFpcVyylUVitGvotfp+IPfBxgzRH lR1iQ35jX0vJngjoQKidONUgFdromqp3F6TkBA8t+rVKAdQH62Y8J2IKe3vTWCTPlKgR Q6OA== X-Gm-Message-State: ALyK8tKE0pe3IMJK4elAiIdSeMg4s0I566TQM1J4ZFCRBlTuLgA2V2MIqc9HjtREGqH31jt6AzQBsErl2o9IzA== X-Received: by 10.31.75.198 with SMTP id y189mr3913540vka.81.1467212426961; Wed, 29 Jun 2016 08:00:26 -0700 (PDT) In-Reply-To: <5773CDAA.6020409@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::241 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:204928 Archived-At: --001a114db45284ea9805366c031b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2016-06-26 13:30, Cl=C3=A9ment Pit--Claudel wrote: > As a follow-up to the recent discussion on docstring styles (see > https://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00240.html), > I just pushed the attached package to scratch/compact-docstrings > (this is my first push to ELPA, so please excuse potential > mistakes). > Just merged it into master. Hi Cl=C3=A9ment, Thanks for this package, it's pretty nice! I couldn't get it to work on empty lines inside comments though. I set compact-docstrings-only-doc-blocks to nil, and turned on the minor-mode, but I don't see any effect on comments (docstrings and regular strings work fine). Maybe I misunderstand the scenario? Am I correct in thinking that it should shrink the empty line in the following example? ``` ;;; compact-docstrings.el --- Shrink blank lines in docstrings and doc comments ;; Copyright (C) 2016 Free Software Foundation, Inc. ``` Cheers, Artur --001a114db45284ea9805366c031b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 2016-06-26 13:30, Cl=C3=A9ment Pit--Claudel wrote:
= > As a follow-up to the recent discussion on docstring styles (see
&= gt; https://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00240.h= tml),
> I just pushed the attached package to scratch/compact-do= cstrings
> (this is my first push to ELPA, so please excuse potentia= l
> mistakes).

> Just merged it into master.

=
Hi Cl=C3=A9ment,
Thanks for this package, it's pretty nic= e!

I couldn't get it to work on empty lines inside comments thou= gh. I set compact-docstrings-only-doc-blocks to nil, and turned on the mino= r-mode, but I don't see any effect on comments (docstrings and regular = strings work fine).

Maybe I misunderstand the scenario? Am I correct= in thinking that it should shrink the empty line in the following example?=
```
;;; compact-docstrings.el --- Shrink blank lines in docstrings a= nd doc comments

;; Copyright (C) 2016 Free Software Foundation, Inc.=
```

Cheers,
Artur
--001a114db45284ea9805366c031b--