From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9648 Path: main.gmane.org!not-for-mail From: David Moore Newsgroups: gmane.emacs.gnus.general Subject: Re: message-expand-group doesn't grok "nnml:foo" groups Date: 27 Jan 1997 09:14:00 -0800 Sender: dmoore@sdnp5.ucsd.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149639 19645 80.91.224.250 (20 Oct 2002 21:33:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:33:59 +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 JAA24192 for ; Mon, 27 Jan 1997 09:28:24 -0800 Original-Received: from UCSD.EDU (mailbox1.ucsd.edu [132.239.1.53]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Mon, 27 Jan 1997 18:11:16 +0100 Original-Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.3/8.6.9) with SMTP id JAA27101 for ; Mon, 27 Jan 1997 09:11:04 -0800 (PST) Original-Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4) id JAA08733; Mon, 27 Jan 1997 09:14:01 -0800 Original-To: ding@ifi.uio.no X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L Mail-Copies-To: never In-Reply-To: Kai Grossjohann's message of 27 Jan 1997 12:12:58 +0100 Original-Lines: 23 X-Mailer: Gnus v5.4.3/XEmacs 19.15 Xref: main.gmane.org gmane.emacs.gnus.general:9648 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9648 Kai Grossjohann writes: > 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? You could set the beginning to the larger of the points found by your search with removed colon and the spot just after the ':' of the header name. Otherwise, things won't work well if someone has no space after the first colon. -- David Moore | Computer Systems Lab __o UCSD Dept. Computer Science - 0114 | Work: (619) 534-8604 _ \<,_ La Jolla, CA 92093-0114 | Fax: (619) 534-1445 (_)/ (_) | In a cloud bones of steel.