all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mingde (Matthew) Zeng" <matthewzmd@gmail.com>
To: Amin Bandali <bandali@gnu.org>
Cc: "Mingde \(Matthew\) Zeng" <matthewzmd@gmail.com>,
	Lars Ingebrigtsen <larsi@gnus.org>,
	emacs-devel@gnu.org
Subject: Re: [PATCHv3] erc: fix erc-reuse-buffers behavior
Date: Mon, 03 Aug 2020 23:00:32 -0400	[thread overview]
Message-ID: <87k0yfyv1r.fsf@gmail.com> (raw)
In-Reply-To: <87tuxjvk10.fsf@gnu.org>


Amin Bandali <bandali@gnu.org> writes:

> Thanks for the patch, Matthew.
>
> I just noticed Lars installed 6f94c2405f4c82b63da19de89549aff1fad7e594
> on master, changing erc-generate-new-buffer-name.  Will your patch
> require adjusting to accommodate Lars's changes?

I had a look at Lars' change, that particular commit simply changes target to (not target), it is not enough to fix the problem entirely (as outlined in my commit message). Also, changing to (not target) technically does avoid this specific problem, but imo it logically doesn't make sense. When invoking `erc-generate-new-buffer-name`, target is not an optional parameter and should never be nil, that line is unnecessary amd therefore removed from my commit.

Yes, I could adjust to accommodate Lars' changes, but I would remove the (not target) line, following my original logic, which is the only line Lars changed. Unless I am convinced that (not target) line is necessary to exist.


I have another question, since I've never contributed to Emacs directly before, can you tell me is there any way to quickly find out whether a bug is tracked by GNU bug reports or not?

>
> Minor nits:
>
> - Please omit the "Signed-off-by:" from your commit messages to Emacs.
> - Consider dropping the second "* lisp/erc/erc.el" for (erc-cmd-JOIN),
>   since the previous entry (erc-generate-new-buffer-name) was also a
>   change to lisp/erc/erc.el.

Will fix them in a future patch, after the above is resolved.

>
> Thanks.


--
Mingde (Matthew) Zeng



  reply	other threads:[~2020-08-04  3:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-31 13:58 [PATCHv3] erc: fix erc-reuse-buffers behavior Mingde (Matthew) Zeng
2020-08-03 15:14 ` Amin Bandali
2020-08-04  3:00   ` Mingde (Matthew) Zeng [this message]
2020-08-04  8:30     ` Lars Ingebrigtsen
2020-08-04 17:08       ` Mingde (Matthew) Zeng
2020-08-04 17:33         ` Lars Ingebrigtsen
2020-08-04 17:36           ` Noam Postavsky

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=87k0yfyv1r.fsf@gmail.com \
    --to=matthewzmd@gmail.com \
    --cc=bandali@gnu.org \
    --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.