From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18921 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.gnus.user Subject: Re: How can I protect the gnus structure? Date: Mon, 11 Feb 2019 21:39:40 +0100 Message-ID: <87zhr2awkz.fsf@chopper> References: <87a7j2ce3k.fsf@chopper> <875ztqozv7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="145890"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Feb 11 21:39:59 2019 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtIMw-000bhO-ND for gegu-info-gnus-english@m.gmane.org; Mon, 11 Feb 2019 21:39:58 +0100 Original-Received: from localhost ([127.0.0.1]:55926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtIMv-0003kX-Bg for gegu-info-gnus-english@m.gmane.org; Mon, 11 Feb 2019 15:39:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtIMt-0003k5-5o for info-gnus-english@gnu.org; Mon, 11 Feb 2019 15:39:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtIMr-0007or-CH for info-gnus-english@gnu.org; Mon, 11 Feb 2019 15:39:55 -0500 Original-Received: from [195.159.176.226] (port=36860 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtIMr-0007mu-3t for info-gnus-english@gnu.org; Mon, 11 Feb 2019 15:39:53 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gtIMo-000bZG-3W for info-gnus-english@gnu.org; Mon, 11 Feb 2019 21:39:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:nm1/z5rbgUu34BP7i8RJRaqKMZo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18921 Archived-At: Eric Abrahamsen writes: > joakim@verona.se writes: > >> Hello, >> >> I misstakenly kill and/or unsubscribe groups pretty often. >> Also I randomly seem to press TAB, breaking my gnus topic structure. >> >> I would like to have some way to guard against such changes, perhaps >> with a prompt. Any idea how to do this? > > That happened to me a lot, and I did this: > > (eval-after-load "gnus-topic" > '(progn > (define-key gnus-topic-mode-map [tab] nil) > (define-key gnus-topic-mode-map "\C-i" nil) > ;; I keep deleting groups by accident. > (define-key gnus-topic-mode-map (kbd "C-k") nil) > (define-key gnus-topic-mode-map (kbd "c") nil) > (define-key gnus-topic-mode-map (kbd "C c") #'gnus-topic-catchup-articles))) > > Thanks! I will try this! -- Joakim Verona joakim@verona.se