From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5100 Path: main.gmane.org!not-for-mail From: larsi@ifi.uio.no (Lars Magne Ingebrigtsen) Newsgroups: gmane.emacs.gnus.general Subject: Re: Q: Stop "?" and "!" moving forward? Date: 13 Feb 1996 19:50:22 +0100 Organization: Dept. of Informatics, University of Oslo, Norway Sender: larsi@ifi.uio.no Message-ID: References: <199602131009.LAA01349@filippo.sfs.nphil.uni-tuebingen.de> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035145750 31792 80.91.224.250 (20 Oct 2002 20:29:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:29:10 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by miranova.com (8.7.3/8.6.9) with SMTP id MAA21008 for ; Tue, 13 Feb 1996 12:02:52 -0800 Original-Received: from surt.ifi.uio.no (4867@surt.ifi.uio.no [129.240.76.2]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Tue, 13 Feb 1996 19:50:24 +0100 Original-Received: (from larsi@localhost) by surt.ifi.uio.no ; Tue, 13 Feb 1996 19:50:24 +0100 Original-To: ding@ifi.uio.no In-Reply-To: John Griffith's message of Tue, 13 Feb 1996 11:09:46 +0100 Original-Lines: 32 Xref: main.gmane.org gmane.emacs.gnus.general:5100 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5100 John Griffith writes: > So shouldn't gnus-summary-tick-article be interactive like *-forward > and *-backward? Otherwise I have to write something like I've now made that function interactive. > I was also thinking that if the non-movement versions of these > commands were given numerical arguments, it would be nice if the next > n articles were marked, but the current article stayed the same. > Here's as near as I could come up with for dormant articles on short > notice. (I hope it doesn't make anyone feel sick) > > (define-key gnus-summary-mode-map "?" > (lambda (n) (interactive "p") > (progn > (gnus-summary-mark-as-dormant n) > (previous-line n)))) (define-key gnus-summary-mode-map "?" (lambda (n) (interactive "p") (save-excursion (gnus-summary-mark-as-dormant n)))) will do the trick. Perhaps you could put lots on non-moving ticking commands (like this) on `M-C-?', `M-C-u', `M-C-d' (or wherever)? I don't feel that things like this should go into the distribution, though. -- "Yes. The journey through the human heart would have to wait until some other time."