From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9427 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 12:17:57 -0700 Organization: http://groups.google.com Message-ID: <1185823077.391768.81020@m37g2000prh.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 1185824430 22229 80.91.229.12 (30 Jul 2007 19:40:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2007 19:40:30 +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 21:40:24 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 1IFb6N-0007iM-GZ for gegu-info-gnus-english@m.gmane.org; Mon, 30 Jul 2007 21:40:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFb6M-0003uC-SC for gegu-info-gnus-english@m.gmane.org; Mon, 30 Jul 2007 15:40:22 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!out04b.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!postnews.google.com!m37g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 39 Original-NNTP-Posting-Host: 189.149.140.189 Original-X-Trace: posting.google.com 1185823078 17674 127.0.0.1 (30 Jul 2007 19:17:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 30 Jul 2007 19:17:58 +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: m37g2000prh.googlegroups.com; posting-host=189.149.140.189; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79616 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:9427 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) mmm sure, I dont know hot to setup this :-(, I have copy-pasted your code in my .gnus but doesn't work, is needed some additional, can you tell me what please ? :-D many thanks for your replies.