From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24905 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-post-method and message-expand-group Date: 27 Aug 1999 23:29:22 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <86aerdosid.fsf@slowfox.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035162390 11266 80.91.224.250 (21 Oct 2002 01:06:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:06:30 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA14650 for ; Fri, 27 Aug 1999 17:31:06 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB23272; Fri, 27 Aug 1999 16:30:16 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 27 Aug 1999 16:30:51 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA14977 for ; Fri, 27 Aug 1999 16:30:32 -0500 (CDT) Original-Received: from quimbies.gnus.org (bang.netfonds.no [195.1.89.231]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA14579 for ; Fri, 27 Aug 1999 17:29:41 -0400 (EDT) Original-Received: (from larsi@localhost) by quimbies.gnus.org (8.8.7/8.8.7) id XAA13409; Fri, 27 Aug 1999 23:32:15 +0200 Mail-Copies-To: never X-Now-Reading: Adam Hochschild's _King Leopold's Ghost_ X-Now-Playing: Consolidated's _Dropped_: "Tin Man" Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "27 Aug 1999 22:52:58 +0200" User-Agent: Gnus/5.070097 (Pterodactyl Gnus v0.97) Emacs/20.4 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ Well, uh, message-x just calls message-tab in Gcc and Newsgroup > headers. Sorry about this, I forgot to mention it. Hm. So, > message-tab should look at the header, and if the header is Gcc, > behave as before, but if the header is Newsgroups, have a look at > gnus-post-method and use the groups from there. Hm. Maybe I can > produce a working patch, but I'm not sure if I'm up to it... Well, how about if we incorporate message-x in Gnus, remove message-expand-group and add instead an alist of abbrev expansion thingies. Like: (defvar message-header-expansion-functions ("^\\(Newsgroups\\|Followup-To\\|Posted-To\\|Gcc\\):" message-x-expand) ("Some-other: " other-expanding-function)) If none of these match, then we call `tab-to-tab-stop', which will do the abbrev abbrev expansion. Whaddayouthink? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen