unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Thuna <thuna.cing@gmail.com>
To: Philip Kaludercic <philipk@posteo.net>
Cc: 60191@debbugs.gnu.org
Subject: bug#60191: [PATCH] Fix `rcirc-buffer-process' not working on channel buffers
Date: Mon, 01 May 2023 22:05:35 +0200	[thread overview]
Message-ID: <87lei7es1c.fsf@gmail.com> (raw)
In-Reply-To: <875y9cqmtm.fsf@posteo.net>

> I do not understand what you mean by "not working" here, the code
> appears to do the same thing pre- and post-patch, in the process and the
> channel buffers.

The problem is that when `rcirc-buffer-process' is explicitly called
with a channel buffer it returns nil, as the local variable
`rcirc-process' is set only in server buffers and the function checks
the server buffer only if the BUFFER argument is nil.

This leads to a situation where `(rcirc-buffer-process)' and
`(rcirc-buffer-process (current-buffer))' do not behave in the same way
when called from channel buffers.





  reply	other threads:[~2023-05-01 20:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19  8:47 bug#60191: [PATCH] Fix `rcirc-buffer-process' not working on channel buffers Thuna
2023-05-01 12:05 ` Philip Kaludercic
2023-05-01 20:05   ` Thuna [this message]
2023-05-01 20:09     ` Philip Kaludercic
2023-05-01 21:34       ` Thuna

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lei7es1c.fsf@gmail.com \
    --to=thuna.cing@gmail.com \
    --cc=60191@debbugs.gnu.org \
    --cc=philipk@posteo.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).