all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: Emacs Developers <emacs-devel@gnu.org>
Subject: Re: A cleaning-up patch for parse-time.el
Date: Fri, 25 Mar 2016 17:27:32 +0100	[thread overview]
Message-ID: <874mbur097.fsf@mbork.pl> (raw)
In-Reply-To: <m3h9fuoa0n.fsf@gnus.org>


On 2016-03-25, at 16:24, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> Marcin Borkowski <mbork@mbork.pl> writes:
>
> While the patch is obviously correct, parts of it isn't all that useful:
> [...]
> not vs null isn't very interesting, in my opinion.

While I don't agree with that particular point (and no wonder,
I wouldn't change it otherwise;-)), I agree generally that the most
useful part of my patch was the docstring.

>> -      (setq start index all-digits (eq c ?0))
>> +      (setq start index
>> +            all-digits (eq c ?0))
>
> This one makes sense, though (as does the comment fix).  I've applied
> those bits to the trunk.

Thanks.

I have to admit that my goal was also to "test"the community: are such
patches welcome?  Now I understand that (1) correcting docstrings is
probably seen as useful and (2) general cleaning of the code sometimes
is and sometimes not, depending on how nitpicky it is.

I hope to provide more such patches in the future.  I'm aware that it's
not the thing Emacs wants or needs the most, but if I'm reading some
code anyway, why not correct it?

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



  reply	other threads:[~2016-03-25 16:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-19  7:12 A cleaning-up patch for parse-time.el Marcin Borkowski
2016-03-19  7:41 ` John Wiegley
2016-03-19  7:49   ` Marcin Borkowski
2016-03-19 23:21     ` John Wiegley
2016-03-20 22:38       ` Michael Heerdegen
2016-03-21  0:12         ` Michael Heerdegen
2016-03-25 15:24 ` Lars Magne Ingebrigtsen
2016-03-25 16:27   ` Marcin Borkowski [this message]
2016-03-25 16:35     ` Lars Magne Ingebrigtsen
2016-03-26 22:16       ` John Wiegley

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=874mbur097.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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 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.