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


Lars Ingebrigtsen <larsi@gnus.org> writes:

> "Mingde (Matthew) Zeng" <matthewzmd@gmail.com> writes:
>
>> 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.
>
> The only usage of that function is (indirectly) from here:
>
> (defun erc-open (&optional server port nick full-name
>                            connect passwd tgt-list channel process)
>
> [...]
>
>         (buffer (erc-get-buffer-create server port channel))
>
> So I assumed that target could indeed be nil -- especially since that
> function has always checked whether target is nil or not, only that the
> previous check was reverse of what it should have been.

Okay that sounds right, I'll rebase my patch.

>
>> 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?
>
> The bug tracker has a search field, if that's what you're asking?

I see, found it.

Also, is there a way to respond to a bug (i.e  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40121) without subscribing to bug-gnu-emacs? I cannot find a "Comment" button similar to a bug-tracking site like bugzilla (which is what i'm more familiar with). Really like to avoid multiple people working on the same bug in the future.

--
Mingde (Matthew) Zeng



  reply	other threads:[~2020-08-04 17:08 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
2020-08-04  8:30     ` Lars Ingebrigtsen
2020-08-04 17:08       ` Mingde (Matthew) Zeng [this message]
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=87sgd2e3u6.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.