all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "J.P." <jp@neverwas.me>
To: Guy Gastineau <strings.stringsandstrings@gmail.com>
Cc: larsi@gnus.org, emacs-erc@gnu.org, bandali@gnu.org,
	53617@debbugs.gnu.org
Subject: bug#53617: 28.0.90; duplicate checks in erc--switch-to-buffer
Date: Sat, 29 Jan 2022 15:49:24 -0800	[thread overview]
Message-ID: <878ruyqf0b.fsf__30525.5341388815$1643500225$gmane$org@neverwas.me> (raw)
In-Reply-To: <CAHgGP-+Z-GK7W2JYPrBFxyRbmyGk7WKkvdhemhDc0Zjmj+Y1Ug@mail.gmail.com> (Guy Gastineau's message of "Fri, 28 Jan 2022 23:29:31 -0500")

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

Guy Gastineau <strings.stringsandstrings@gmail.com> writes:

> Here it is. I don't think my pgp key is on any keyserver, but I signed
> it anyway.

I'm not sure if Emacs has a policy regarding the signing of everyday
contributions, but if your key isn't signed by anyone and not propagated
among the keyservers, then I'd guess you can probably just skip further
signing in the near term.

> Thank you for the encouragement.

My pleasure. This looks ready for Emacs 29. Thanks.

                              . . .

I've added the customary tweaks to the log message if someone wants to
glance at it (cc. bandali, Lars). Also, question: is there formal
recordkeeping going on re exempt lines accumulated per individual? And
if not, is the recommended way to get a tally just `git log --author=`?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Remove-redundant-checks-in-erc-switch-to-buffer.patch --]
[-- Type: text/x-patch, Size: 1294 bytes --]

From 12352c00544c1916210dd15002ef4ffe0f5efdc8 Mon Sep 17 00:00:00 2001
From: Guy Gastineau <strings.stringsandstrings@gmail.com>
Date: Fri, 28 Jan 2022 23:12:42 -0500
Subject: [PATCH] Remove redundant checks in erc--switch-to-buffer

* lisp/erc/erc.el (erc--switch-to-buffer): Commit
f925fc93bac41d7622d1af927e33b0e738ff55b0 "Add `predicate' arg to
`read-buffer' and use it for erc-iswitchb" meant to remove this, but
it was left behind. (Bug#53617).

Copyright-paperwork-exempt: yes
---
 lisp/erc/erc.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 9ee8d38b02..52fe106f2d 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -1761,12 +1761,7 @@ erc--switch-to-buffer
 		 (lambda (bufname)
 		   (let ((buf (if (consp bufname)
 				  (cdr bufname) (get-buffer bufname))))
-		     (when buf
-		       (erc--buffer-p buf (lambda () t) proc)
-		       (with-current-buffer buf
-			 (and (derived-mode-p 'erc-mode)
-			      (or (null proc)
-				  (eq proc erc-server-process))))))))))
+                     (and buf (erc--buffer-p buf (lambda () t) proc)))))))
 (defun erc-switch-to-buffer (&optional arg)
   "Prompt for an ERC buffer to switch to.
 When invoked with prefix argument, use all ERC buffers.  Without
-- 
2.34.1


  reply	other threads:[~2022-01-29 23:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29  0:10 bug#53617: 28.0.90; duplicate checks in erc--switch-to-buffer Guy Gastineau
2022-01-29  3:07 ` J.P.
2022-01-29  3:13   ` Guy Gastineau
2022-01-29  3:30     ` J.P.
2022-01-29  4:29       ` Guy Gastineau
2022-01-29 23:49         ` J.P. [this message]
     [not found]         ` <878ruyqf0b.fsf@neverwas.me>
2022-01-30  2:25           ` bug#53617: " Guy Gastineau
2022-01-30  6:34           ` Eli Zaretskii
     [not found]           ` <83a6fdbulb.fsf@gnu.org>
2022-01-30 15:43             ` J.P.
     [not found]             ` <878rux9ql2.fsf@neverwas.me>
2022-01-30 16:00               ` Lars Ingebrigtsen
     [not found]               ` <87bkztb4di.fsf@gnus.org>
2022-01-30 16:25                 ` Guy Gastineau
2022-01-31  3:22                 ` Michael Olson
2022-01-31  3:30                   ` Emanuel Berg via General discussion about ERC
2022-01-31  3:38                     ` Emanuel Berg via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-31  5:35                   ` J.P.
2022-01-31 12:31                   ` Eli Zaretskii
2022-03-14 13:33           ` J.P.
2022-03-19 10:08             ` J.P.

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='878ruyqf0b.fsf__30525.5341388815$1643500225$gmane$org@neverwas.me' \
    --to=jp@neverwas.me \
    --cc=53617@debbugs.gnu.org \
    --cc=bandali@gnu.org \
    --cc=emacs-erc@gnu.org \
    --cc=larsi@gnus.org \
    --cc=strings.stringsandstrings@gmail.com \
    /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.