From: Osmo Karppinen <osmkarp@gmail.com>
To: 67209@debbugs.gnu.org
Cc: emacs-erc@gnu.org
Subject: bug#67209: [PATCH] /squery doesn't work in server buffer
Date: Fri, 17 Nov 2023 13:33:28 +0200 [thread overview]
Message-ID: <87h6lkwr5j.fsf__40576.3045929902$1700220876$gmane$org@pm.mail-host-address-is-not-set> (raw)
In-Reply-To: <87a5reyga1.fsf@pm.mail-host-address-is-not-set>
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
Tags: patch
Hello,
Here is patch for /squery bug descriped earlier posts. Setting
erc-cmd-SQUERY function property do-not-parse-args to true will
fix that bug.
Repository revision: c710bf48408aece9865eb07081ca93d905e3983d
Repository branch: master
System Description: Debian
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-erc-cmd-SQUERY-bug-by-setting-property-do-not-pa.patch --]
[-- Type: text/x-diff, Size: 770 bytes --]
From c710bf48408aece9865eb07081ca93d905e3983d Mon Sep 17 00:00:00 2001
From: Osmo Karppinen <osmkarp@gmail.com>
Date: Fri, 17 Nov 2023 12:31:50 +0200
Subject: [PATCH] Fix erc-cmd-SQUERY bug by setting property do-not-parse-args
to true.
---
lisp/erc/erc.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index edcfcf085e6..ef6d3e483d3 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -4592,6 +4592,8 @@ The rest of LINE is the message to send."
The rest of LINE is the message to send."
(erc-message "SQUERY" line))
+(put 'erc-cmd-SQUERY 'do-not-parse-args t)
+
(defun erc-cmd-NICK (nick)
"Change current nickname to NICK."
(erc-log (format "cmd: NICK: %s (erc-bad-nick: %S)" nick erc-bad-nick))
--
2.42.0
next prev parent reply other threads:[~2023-11-17 11:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 19:20 bug#67209: 29.1; ERC 5.5.0.29.1: /squery doesn't work in server buffer osmkarp
2023-11-15 20:24 ` J.P.
2023-11-17 11:33 ` Osmo Karppinen [this message]
[not found] ` <87h6lkwr5j.fsf@pm.mail-host-address-is-not-set>
2023-11-18 22:15 ` bug#67209: [PATCH] " 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='87h6lkwr5j.fsf__40576.3045929902$1700220876$gmane$org@pm.mail-host-address-is-not-set' \
--to=osmkarp@gmail.com \
--cc=67209@debbugs.gnu.org \
--cc=emacs-erc@gnu.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.