Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Changing Subject prefix of a forwarded mail
@ 2012-08-02 23:56 Ashish SHUKLA
  2012-08-03  6:00 ` Tassilo Horn
  0 siblings, 1 reply; 3+ messages in thread
From: Ashish SHUKLA @ 2012-08-02 23:56 UTC (permalink / raw)
  To: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 472 bytes --]

Hi,

I'm wondering if there is any way to change the subject prefix of the forwarded email
in Gnus, so that email with Subject "Hi!" from "User" looks like "Fwd: Hi!"
instead of "[User] Hi!".

I'm running Emacs (from bzr HEAD) with Gnus shipped with Emacs.

Thanks in advance
-- 
Ashish SHUKLA

“ECC curves are divided into three groups, weak curves, inefficient
curves, and curves patented by Certicom” (Peter Gutmann, 2001-08-10)

Sent from my Emacs

[-- Attachment #1.2: Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Changing Subject prefix of a forwarded mail
  2012-08-02 23:56 Changing Subject prefix of a forwarded mail Ashish SHUKLA
@ 2012-08-03  6:00 ` Tassilo Horn
  2012-08-03 12:20   ` Ashish SHUKLA
  0 siblings, 1 reply; 3+ messages in thread
From: Tassilo Horn @ 2012-08-03  6:00 UTC (permalink / raw)
  To: info-gnus-english

wahjava.ml@gmail.com (Ashish SHUKLA) writes:

Hi!

> I'm wondering if there is any way to change the subject prefix of the
> forwarded email in Gnus, so that email with Subject "Hi!" from "User"
> looks like "Fwd: Hi!"  instead of "[User] Hi!".

Sure, have a look at:

,----[ C-h v message-make-forward-subject-function RET ]
| message-make-forward-subject-function is a variable defined in `message.el'.
| Its value is message-forward-subject-name-subject
| 
|   This variable is potentially risky when used as a file local variable.
| 
| Documentation:
| *List of functions called to generate subject headers for forwarded messages.
| The subject generated by the previous function is passed into each
| successive function.
| 
| The provided functions are:
| 
| * `message-forward-subject-author-subject' Source of article (author or
|       newsgroup), in brackets followed by the subject
| * `message-forward-subject-name-subject' Source of article (name of author
|       or newsgroup), in brackets followed by the subject
| * `message-forward-subject-fwd' Subject of article with 'Fwd:' prepended
|       to it.
`----

You want the last one.

Bye,
Tassilo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Changing Subject prefix of a forwarded mail
  2012-08-03  6:00 ` Tassilo Horn
@ 2012-08-03 12:20   ` Ashish SHUKLA
  0 siblings, 0 replies; 3+ messages in thread
From: Ashish SHUKLA @ 2012-08-03 12:20 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1502 bytes --]

On Fri, 03 Aug 2012 08:00:12 +0200, Tassilo Horn <tsdh@gnu.org> said:
> wahjava.ml@gmail.com (Ashish SHUKLA) writes:

> Hi!

>> I'm wondering if there is any way to change the subject prefix of the
>> forwarded email in Gnus, so that email with Subject "Hi!" from "User"
>> looks like "Fwd: Hi!"  instead of "[User] Hi!".

> Sure, have a look at:

> ,----[ C-h v message-make-forward-subject-function RET ]
> | message-make-forward-subject-function is a variable defined in `message.el'.
> | Its value is message-forward-subject-name-subject
> | 
> |   This variable is potentially risky when used as a file local variable.
> | 
> | Documentation:
> | *List of functions called to generate subject headers for forwarded messages.
> | The subject generated by the previous function is passed into each
> | successive function.
> | 
> | The provided functions are:
> | 
> | * `message-forward-subject-author-subject' Source of article (author or
> |       newsgroup), in brackets followed by the subject
> | * `message-forward-subject-name-subject' Source of article (name of author
> |       or newsgroup), in brackets followed by the subject
> | * `message-forward-subject-fwd' Subject of article with 'Fwd:' prepended
> |       to it.
> `----

> You want the last one.

> Bye,
> Tassilo

Thanks, that did it. :)

-- 
Ashish SHUKLA

“There is no reason anyone would want a computer in their home.” (Ken
Olson, founder of DEC, 1977)

Sent from my Emacs

[-- Attachment #1.2: Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-03 12:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-02 23:56 Changing Subject prefix of a forwarded mail Ashish SHUKLA
2012-08-03  6:00 ` Tassilo Horn
2012-08-03 12:20   ` Ashish SHUKLA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).