From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1856 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.user Subject: Re: nnmh: updating unseen sequence? Date: Sun, 12 Jan 2003 16:18:35 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <877kdaecy5.fsf@antithese.de> <87el7ifmk1.fsf@antithese.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668498 12972 80.91.229.2 (31 Jan 2006 00:48:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:48:18 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:29:48 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1042385077 14528 80.91.231.2 (12 Jan 2003 15:24:37 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 12 Jan 2003 15:24:37 GMT Mail-Copies-To: never X-Now-Playing: DJ Brokenwindow's _Parallel Universe #1_: "Me So Yashar" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAKlBMVEWkpaoFAwTu5uLg0cpH hD1MjEW/xsolHBsHBAYMCQqFbVlJe0JxVkF0nIlDAhOSAAACXElEQVR4nIWSv2sUQRTHhxMjmFyx 3aaT2burPJALXidYzNqEgMVMGThyeoVgYQonAxHcyhmwMBbubrAQm+CS6yJpUsXiuGOL40QDMfu/ +ObN7iYGxS9s8z77/b4fuyQrCnJNBeic3Fj7u8jwvyDo0YDS4DqglYJ/gv5oWIP+CISwczvP82y+ NHRgVOn5ZCJTJeXupxGCQVXflalVHMtXxM4zWHJ1qVKDQMYSAC2BrWvtgFRkrVeCwZlKtDZgkWCI HSBQX5aJTjVGqVjVgJATpa1cEyUR2JPemiQIyubQgzpwvGNfR0cMhpT0qI0iy1KXctPGleNMVcCk EnbHPTqENGVS1We5wh6wQp+QX1VSvIBTPptCVJZBUNMlGf1xC2/fmSoA2bhOMovyq3QUmTnggl5S nBFsdx1YcTO9gUpXcMZ+UopgjvfT+p2ti5Ax9r0CsHak9WcaCMFYyHnYQFDAnXxIovSpEJwzwfhj klsgEby2BsHtw8IS7Pm+p9/TNhRFKGweyWfZ+FxGvh/pU3oT32b2cUBFYNANag22yhzILpQX+ZHp dRzgV4EHwC6BugQ7kedrQ9shTlU6gFzAfgjKFrwGeBBDW5izca+MAhAh2GrBpIw9CuqoA20tptFi m5C08eAKgH8jMaftcF4Ugl02P0zgb9J6uxuGmwVp/qibZwle/QOGi2LeLLgFeTZW2P0t5QyHFQXh DkwiT3vQ/QkrFbqo8XTPA/nb3a+8QujIvrywwGaF/A9woCxYNYv7WFw/Yg8dOIwtiMx+wNddj5US SGjir/rptzviyIK5+g3eacPhVy2dkwAAAABJRU5ErkJggg== User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.2.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:Fng5q52z1yDpUEf/H368vqOOyjU= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1996 Original-Lines: 19 X-Gnus-Article-Number: 1996 Tue Jan 17 17:29:48 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1856 Archived-At: Michael Below writes: > Hmmm... If its not too much hassle, could you tell me how to make > nnmh call > > /usr/bin/mh/mark +[Folder] -sequence unseen -delete [MH-Messagenumber] > > each time I read a message through nnmh? Try writing a function that checks (when (string-match "nnmh" (car gnus-article-current) (shell-command (format "...mark ... %d" (cdr gnus-article-current))))) and put that in `gnus-article-prepare-hook'. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen