all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Amin Bandali <bandali@gnu.org>, "J.P." <jp@neverwas.me>
Cc: 50908@debbugs.gnu.org, emacs-erc@gnu.org
Subject: bug#50908: [PATCH] erc-user-mode: Set "+i" by default
Date: Mon, 4 Oct 2021 01:47:17 +0000	[thread overview]
Message-ID: <CADwFkmn=Cehyw3-zy5xoE+dR6sFnQf-UkZ4C=QYuxh0Wg=1cag__13343.6358113372$1633312099$gmane$org@mail.gmail.com> (raw)
In-Reply-To: <87ilyg5exd.fsf@gnu.org>

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

Amin Bandali <bandali@gnu.org> writes:

> I'll review and merge Stefan's patch once he sends it.

See attached.

[-- Attachment #2: 0001-lisp-erc-erc.el-erc-user-mode-Set-i-by-default.patch --]
[-- Type: text/x-diff, Size: 930 bytes --]

From ec9e8a9961362cd238879c9e96617ebd2f64af9a Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefan@marxist.se>
Date: Thu, 30 Sep 2021 01:49:42 +0200
Subject: [PATCH] * lisp/erc/erc.el (erc-user-mode): Set "+i" by default.

---
 lisp/erc/erc.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 7fa2d37c9f..cad7793fb6 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -188,10 +188,12 @@ erc-password
 It is not strictly necessary to provide this, since ERC will
 prompt you for it.")
 
-(defcustom erc-user-mode nil
+(defcustom erc-user-mode "+i"
+  ;; +i "Invisible".  Hides user from global /who and /names.
   "Initial user modes to be set after a connection is established."
   :group 'erc
-  :type '(choice (const nil) string function))
+  :type '(choice (const nil) string function)
+  :version "28.1")
 
 
 (defcustom erc-prompt-for-password t
-- 
2.30.2


  parent reply	other threads:[~2021-10-04  1:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  0:08 bug#50908: [PATCH] erc-user-mode: Set "+i" by default Stefan Kangas
2021-10-01  5:47 ` Amin Bandali
     [not found] ` <871r55i9ee.fsf@gnu.org>
2021-10-01 11:15   ` Stefan Kangas
2021-10-01 12:23   ` J.P.
     [not found]   ` <CADwFkmm+2A+C47daU6Qqmkc85jWxrMmhJ_-ZKKcrn1euPmEN3w@mail.gmail.com>
2021-10-02  2:34     ` Amin Bandali
     [not found]   ` <87bl49x7ay.fsf@neverwas.me>
2021-10-02  2:38     ` Amin Bandali
     [not found]     ` <87ilyg5exd.fsf@gnu.org>
2021-10-04  1:47       ` Stefan Kangas [this message]
     [not found]       ` <CADwFkmn=Cehyw3-zy5xoE+dR6sFnQf-UkZ4C=QYuxh0Wg=1cag@mail.gmail.com>
2021-10-04  3:16         ` Amin Bandali
     [not found]         ` <87lf39mqcc.fsf@gnu.org>
2021-10-05  4:09           ` 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='CADwFkmn=Cehyw3-zy5xoE+dR6sFnQf-UkZ4C=QYuxh0Wg=1cag__13343.6358113372$1633312099$gmane$org@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=50908@debbugs.gnu.org \
    --cc=bandali@gnu.org \
    --cc=emacs-erc@gnu.org \
    --cc=jp@neverwas.me \
    /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.