From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9641 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: message-expand-group doesn't grok "nnml:foo" groups Date: 27 Jan 1997 12:12:58 +0100 Sender: grossjoh@charly.informatik.uni-dortmund.de Message-ID: Reply-To: Kai Grossjohann NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.100) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035149633 19607 80.91.224.250 (20 Oct 2002 21:33:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:33:53 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.5/8.8.5) with SMTP id DAA23594 for ; Mon, 27 Jan 1997 03:25:33 -0800 Original-Received: from waldorf.informatik.uni-dortmund.de (waldorf.informatik.uni-dortmund.de [129.217.4.42]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 27 Jan 1997 12:13:04 +0100 Original-Received: from naunet.informatik.uni-dortmund.de (naunet.informatik.uni-dortmund.de [129.217.20.111]) by waldorf.informatik.uni-dortmund.de with SMTP id MAA01501 for ; Mon, 27 Jan 1997 12:12:59 +0100 (MET) Original-Received: by naunet.informatik.uni-dortmund.de id MAA07307; Mon, 27 Jan 1997 12:12:59 +0100 Original-To: ding@ifi.uio.no Original-Lines: 19 X-Mailer: Gnus v5.4.3/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:9641 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9641 Yo, I'd like to use message-expand-group for my Gcc header, but the group name is determined by going back to the first ":" (or ",", or " ") then looking at the name. This won't work for groups with names like "nnml:foo", of course. I have done a quick hack which sort of seems to work: ;; from message.el (defun message-expand-group () (let* ((b (save-excursion (skip-chars-backward "^, :\t\n") (point))) ^ removed colon here ---' What's the right way to do this? kai -- Signature? What signature?