From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Newsgroups: gmane.emacs.help Subject: Re: Basic emacs lisp question Date: Wed, 10 Sep 2014 10:31:36 -0400 Message-ID: <87vbovbl87.fsf@gmail.com> References: <87egvkvb6o.fsf@gmail.com> <8761gwy2ue.fsf@debian.uxu> <874mwgv93m.fsf@gmail.com> <871trky15l.fsf@debian.uxu> <87y4tsts4t.fsf@gmail.com> <87wq9cwhmq.fsf@debian.uxu> <871trk9snl.fsf@gmail.com> <87lhpsc8w0.fsf@nowhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410359609 9786 80.91.229.3 (10 Sep 2014 14:33:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2014 14:33:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: glyn.millington@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 10 16:33:22 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XRiwW-0002kg-2M for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Sep 2014 16:32:20 +0200 Original-Received: from localhost ([::1]:56721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRiwV-0000KG-MZ for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Sep 2014 10:32:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRiw6-0000Db-Ur for help-gnu-emacs@gnu.org; Wed, 10 Sep 2014 10:32:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRivx-0008Vq-Ta for help-gnu-emacs@gnu.org; Wed, 10 Sep 2014 10:31:54 -0400 Original-Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:56478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRivx-0008Vj-Lt for help-gnu-emacs@gnu.org; Wed, 10 Sep 2014 10:31:45 -0400 Original-Received: by mail-qc0-f173.google.com with SMTP id w7so19316779qcr.32 for ; Wed, 10 Sep 2014 07:31:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=UsVVV4KlnweBeQ5H6UfcMAFdoKfNsExUoNqHJ1qBdYc=; b=qISUoexfQksgrR3KNQLOsDSe7vynMWEsv4RYYenulh9RPsnrP21L/cn+ESIwUiZzdz UxYD0w1FC/P6wAH7t2iaO7bwMyM6aKng7+53Miqz7UL7u1YolX0LWET1HgBnkscYeMpf 8Dym8Z5up15ac7+kj19NxMpOO4uX9Et5TQtPufc36lo30w7LVY3mAQ6yrPT2EzhuVvS3 aDfRff136ekHMruQD+twLX5BoMH8/zY/BwhH/BjXm5vklzqd9mIl0WkF1j8L2no88pIk TZ33z2DUsTLEP3y/shWwYkLHID9gzzWXaIaDqlhrcIT8Lo0McUhIHnreh0veCIgfEgOR woGQ== X-Received: by 10.224.88.198 with SMTP id b6mr28498895qam.97.1410359504282; Wed, 10 Sep 2014 07:31:44 -0700 (PDT) Original-Received: from localhost (pool-71-126-60-127.bstnma.east.verizon.net. [71.126.60.127]) by mx.google.com with ESMTPSA id e64sm12420791qgd.37.2014.09.10.07.31.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Sep 2014 07:31:43 -0700 (PDT) Original-Received: by localhost (Postfix, from userid 1000) id 16B89406E2; Wed, 10 Sep 2014 10:31:37 -0400 (EDT) In-Reply-To: <87lhpsc8w0.fsf@nowhere.org> (Glyn Millington's message of "Wed, 10 Sep 2014 07:00:31 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::22d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99784 Archived-At: Glyn Millington writes: > > Hi Ken, > > Bung this snippet into your .gnus file. Gnus will then ask you if you > REALLY want to send an email when you are in a news group. > > > > ;; prompt for mail replies to newsgroups!!!!! > (defadvice gnus-summary-reply (around reply-in-news activate) > (interactive) > (when (or (not (gnus-news-group-p gnus-newsgroup-name)) > (y-or-n-p "REALLY reply with a personal mail? ")) > ad-do-it)) > Thanks, Glyn. It's added so it should fix that problem. :-) Ken -- Q: How do you catch a unique rabbit? A: Unique up on it! Q: How do you catch a tame rabbit? A: The tame way!