From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9438 Path: news.gmane.org!not-for-mail From: Exal de Jesus Garcia Carrillo Newsgroups: gmane.emacs.gnus.user Subject: Re: Insert message-insert-disposition-notification-to in Posting Styles Date: Wed, 01 Aug 2007 10:04:40 -0500 Organization: GNU Project Message-ID: <87ejingut3.fsf@gnu.org> 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> Reply-To: PutMyFirstNameHere@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185982852 11314 80.91.229.12 (1 Aug 2007 15:40:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2007 15:40:52 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Aug 01 17: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 1IGGJa-00021R-0V for gegu-info-gnus-english@m.gmane.org; Wed, 01 Aug 2007 17: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 1IGGJZ-0000t3-CQ for gegu-info-gnus-english@m.gmane.org; Wed, 01 Aug 2007 11:40:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!news.antakira.com!cagarruta.escomposlinux.org!hercules.escomposlinux.org!escomposlinux.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 55 Original-NNTP-Posting-Host: 189.149.99.39 Original-X-Trace: hercules.cohp1 1185980682 12305 189.149.99.39 (1 Aug 2007 15:04:42 GMT) Original-X-Complaints-To: newsmaster@news-17.escomposlinux.org Original-NNTP-Posting-Date: Wed, 1 Aug 2007 15:04:42 +0000 (UTC) User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEVhMhLH4vqfwuZ1SSse DwcOAgEuGwxFJA6ozPF3hozIQAg/AAACJElEQVQ4jV2TTWvcQAyGBQP12XuKry6F9c10YJfc CrVn/4CnuQbizrA3Q7MWOWZPs7cSpwH/20oaf+zmvdjWM3olDRbkeb5NQ8jPQ1uRzMsbRcZx BHrkFM8/KmutoLcVbMP546km0EQyrqB4GhjEpKOAs1i96zbGa04REDijqCprV3IUEM7Fji0M ReroZSK4TO5SmVhjzIuAf7MLIceoYS8IF3ulphXiCKTf7I0a7oO8ID3dAlsh1TyOsFlPSstN p/fWPoyQLQNLt43rtD7ZZgZ03jmOHxC07q3VE6iMw7ZuTOtahx7qhwSyeKvOY89TGNeg0qcf CtJp7l+ILVcxRmm9eyTwPnlhf2ir1nS9JnmENPttnyvvKlM/9pXx6BmUBEiZuLgDOt97pYVE oHu6OdhRuIMIQMD3wbfGKZ0gTPEIsp/DnlwUf4KeJBlFphO+CnK+BZsREVV0gGtA1aFUsZmJ xK7SDb0ReO6AVfJ7BOlAoAOyY6BgBSObJB2UgBHNICOQIAcnuxlQEZ6OmsNbcDfoLzFjkorg LhQ6abslnDAIoovex/MyC4MwaSi5RAQJdiXchTmFp1ZyLQl3kC4pegHSRbqmcI7i872n52ua hrOQgs5yY+hcp2gNOCUX/eX5sHeV/yOLQ8sWQUEeyP9LJ+u8pYRtznA79I7l7+c9500X5V+5 8v2y57LqsbUSUY9xz8NVBk2j5DyBV+rqChTjpOWuPoP/U7tIMkJ5H34AAAAASUVORK5CYII= X-Face: ]<$a35w/^kL?^9?L{7k\=g_Awap1@vQFx]n4)fx\4L5Ed)r'i1o%s$eg&+xeUPoz5a0V7? H, cQB=C`>33{q/9_anQx1QMfsY:z/m5phLHwAX|cb 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:9438 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Damien Wyart no gnu.emacs.gnus escreveu : [...] > 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) There are a way for show only for example the `user from name'? or only the `user e-mail address?, I mean, the mail-header-from var show both, how I can show only one? regards - -- Spam protection: In my e-mail remplace the words `no-spam' with `exal'. . -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8+ iD8DBQFGsKEHoZmxoVJRtGIRAom5AJ44VDmiWYWf8Xy25zPepSI1AUeEqACeIe/l sAV0TIyKH0iFXobLF7y9868= =f8Be -----END PGP SIGNATURE-----