From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9420 Path: news.gmane.org!not-for-mail From: someusernamehere Newsgroups: gmane.emacs.gnus.user Subject: Re: Insert message-insert-disposition-notification-to in Posting Styles Date: Mon, 30 Jul 2007 09:51:13 -0700 Organization: http://groups.google.com Message-ID: <1185814273.782278.66100@x40g2000prg.googlegroups.com> References: <1185811384.131546.52430@x35g2000prf.googlegroups.com> <46ae0ea9$0$6967$426a74cc@news.free.fr> <1185812794.948766.170180@z28g2000prd.googlegroups.com> <46ae12d3$0$16611$426a74cc@news.free.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1185817253 22386 80.91.229.12 (30 Jul 2007 17:40:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2007 17:40:53 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jul 30 19:40:46 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IFZEc-0006gl-GM for gegu-info-gnus-english@m.gmane.org; Mon, 30 Jul 2007 19:40:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFZEb-0006Ri-Vf for gegu-info-gnus-english@m.gmane.org; Mon, 30 Jul 2007 13:40:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!x40g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 32 Original-NNTP-Posting-Host: 189.149.140.189 Original-X-Trace: posting.google.com 1185814274 24380 127.0.0.1 (30 Jul 2007 16:51:14 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 30 Jul 2007 16:51:14 +0000 (UTC) In-Reply-To: <46ae12d3$0$16611$426a74cc@news.free.fr> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061201 Firefox/2.0.0.4 (Ubuntu-feisty),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: x40g2000prg.googlegroups.com; posting-host=189.149.140.189; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79612 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9420 Archived-At: On 30 jul, 11:33, Damien Wyart wrote: > > Hey, how you can change the "reply phrase", I mean this: > > * someusernamehere in gnu.emacs.gnus: > > My function to handle this is a bit complicated. Here it is as an > example, you might need to learn a bit more of Gnus and Emacs Lisp to > fully understand it. > > (defun dw-message-insert-citation-line () > "Function that inserts a simple citation line." > (when message-reply-headers > (cond > ((string-match "nnml:mail" gnus-newsgroup-name) > (insert "* " > (mail-header-from message-reply-headers) > " [" > (format-time-string "%y%m%d %H:%M" > (gnus-date-get-time > (mail-header-date message-reply-headers))) > "]:\n\n")) > ((gnus-news-group-p gnus-newsgroup-name) > (insert "* " > (mail-header-from message-reply-headers) > " in " > gnus-newsgroup-name > ":\n\n"))))) > > (setq message-citation-line-function 'dw-message-insert-citation-line) Is your .gnus online? :D