Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Organization
@ 2007-03-18  1:50 GB
  2007-03-18  6:21 ` Organization Glyn Millington
  0 siblings, 1 reply; 9+ messages in thread
From: GB @ 2007-03-18  1:50 UTC (permalink / raw)
  To: info-gnus-english

Hi, I am new to Gnus.

Could someone tell me how I could tell Gnus *not* to put the
Organization: line in the header?  Neither of these work:

(setq gnus-posting-styles
      '((message-news-p
			(name "GB")
			(address "...&gmail.com")
         (organization nil)))

(setq gnus-posting-styles
      '((message-news-p
			(name "GB")
			(address "...&gmail.com")
         (organization "")))

Thanks!
Greg

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

* Re: Organization
  2007-03-18  1:50 Organization GB
@ 2007-03-18  6:21 ` Glyn Millington
  2007-03-18 19:41   ` Organization Greg Bognar
  0 siblings, 1 reply; 9+ messages in thread
From: Glyn Millington @ 2007-03-18  6:21 UTC (permalink / raw)
  To: info-gnus-english

GB <greg.bognar@gmail.com> writes:

> Hi, I am new to Gnus.
>
> Could someone tell me how I could tell Gnus *not* to put the
> Organization: line in the header?  Neither of these work:
>
> (setq gnus-posting-styles
>       '((message-news-p
> 			(name "GB")
> 			(address "...&gmail.com")
>          (organization nil)))
>
> (setq gnus-posting-styles
>       '((message-news-p
> 			(name "GB")
> 			(address "...&gmail.com")
>          (organization "")))

Hi Greg,

Try ("Organization" nil)   in those posting styles.  If you can't see my
organization, then it works!

atb







Glyn

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

* Re: Organization
  2007-03-18  6:21 ` Organization Glyn Millington
@ 2007-03-18 19:41   ` Greg Bognar
  2007-03-18 19:45     ` Organization Greg Bognar
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Greg Bognar @ 2007-03-18 19:41 UTC (permalink / raw)
  To: info-gnus-english

Glyn Millington <wistanswick@linuxmail.org> writes:

> GB <greg.bognar@gmail.com> writes:
>
>> Hi, I am new to Gnus.
>>
>> Could someone tell me how I could tell Gnus *not* to put the
>> Organization: line in the header?  Neither of these work:
>>
>> (setq gnus-posting-styles
>>       '((message-news-p
>> 			(name "GB")
>> 			(address "...&gmail.com")
>>          (organization nil)))
>>
>> (setq gnus-posting-styles
>>       '((message-news-p
>> 			(name "GB")
>> 			(address "...&gmail.com")
>>          (organization "")))
>
> Hi Greg,
>
> Try ("Organization" nil)   in those posting styles.  If you can't see my
> organization, then it works!

Well, if you can't see my organization, then it did work.  Just out of
curiosity, what is it that puts this line in the header?  As far as I
can tell, I did not have it set anywhere in my Emacs.

Thanks,
Greg

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

* Re: Organization
  2007-03-18 19:41   ` Organization Greg Bognar
@ 2007-03-18 19:45     ` Greg Bognar
  2007-03-19  6:32       ` Organization Slackrat
  2007-03-18 23:04     ` Organization Reiner Steib
  2007-03-19 18:09     ` Organization Adam Sjøgren
  2 siblings, 1 reply; 9+ messages in thread
From: Greg Bognar @ 2007-03-18 19:45 UTC (permalink / raw)
  To: info-gnus-english

Greg Bognar <greg.bognar@gmail.com> writes:

> Glyn Millington <wistanswick@linuxmail.org> writes:
>
>> GB <greg.bognar@gmail.com> writes:
>>
>>> Hi, I am new to Gnus.
>>>
>>> Could someone tell me how I could tell Gnus *not* to put the
>>> Organization: line in the header?  Neither of these work:
>>>
>>> (setq gnus-posting-styles
>>>       '((message-news-p
>>> 			(name "GB")
>>> 			(address "...&gmail.com")
>>>          (organization nil)))
>>>
>>> (setq gnus-posting-styles
>>>       '((message-news-p
>>> 			(name "GB")
>>> 			(address "...&gmail.com")
>>>          (organization "")))
>>
>> Hi Greg,
>>
>> Try ("Organization" nil)   in those posting styles.  If you can't see my
>> organization, then it works!
>
> Well, if you can't see my organization, then it did work.  Just out of
> curiosity, what is it that puts this line in the header?  As far as I
> can tell, I did not have it set anywhere in my Emacs.
>
> Thanks,
> Greg

And it seems that it *did not* work.

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

* Re: Organization
  2007-03-18 19:41   ` Organization Greg Bognar
  2007-03-18 19:45     ` Organization Greg Bognar
@ 2007-03-18 23:04     ` Reiner Steib
  2007-03-19 18:09     ` Organization Adam Sjøgren
  2 siblings, 0 replies; 9+ messages in thread
From: Reiner Steib @ 2007-03-18 23:04 UTC (permalink / raw)
  To: info-gnus-english

On Sun, Mar 18 2007, Greg Bognar wrote:

> Well, if you can't see my organization, then it did work.  Just out of
> curiosity, what is it that puts this line in the header?  As far as I
> can tell, I did not have it set anywhere in my Emacs.

,----[ <f1> v message-required-news-headers RET ]
| message-required-news-headers is a variable defined in `message'.
| Its value is 
| (From Newsgroups Subject Date Message-ID
|       (optional . Organization)
|       (optional . User-Agent))
| 
| Documentation:
| *Headers to be generated or prompted for when posting an article.
| RFC977 and RFC1036 require From, Date, Newsgroups, Subject,
| Message-ID.  Organization, Lines, In-Reply-To, Expires, and
| User-Agent are optional.  If don't you want message to insert some
| header, remove it from this list.
| 
| You can customize this variable.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

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

* Re: Organization
  2007-03-18 19:45     ` Organization Greg Bognar
@ 2007-03-19  6:32       ` Slackrat
  2007-03-19  8:54         ` Organization Tassilo Horn
       [not found]         ` <mailman.1106.1174294575.7795.info-gnus-english@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Slackrat @ 2007-03-19  6:32 UTC (permalink / raw)
  To: info-gnus-english


* Greg Bognar <greg.bognar@gmail.com> a écrit
> Greg Bognar <greg.bognar@gmail.com> writes:
>
>> Glyn Millington <wistanswick@linuxmail.org> writes:
>>
>>> GB <greg.bognar@gmail.com> writes:
>>>
>>>> Hi, I am new to Gnus.
>>>>
>>>> Could someone tell me how I could tell Gnus *not* to put the
>>>> Organization: line in the header?  Neither of these work:
>>>>
>>>> (setq gnus-posting-styles
>>>>       '((message-news-p
>>>> 			(name "GB")
>>>> 			(address "...&gmail.com")
>>>>          (organization nil)))
>>>>
>>>> (setq gnus-posting-styles
>>>>       '((message-news-p
>>>> 			(name "GB")
>>>> 			(address "...&gmail.com")
>>>>          (organization "")))
>>>
>>> Hi Greg,
>>>
>>> Try ("Organization" nil)   in those posting styles.  If you can't see my
>>> organization, then it works!
>>
>> Well, if you can't see my organization, then it did work.  Just out of
>> curiosity, what is it that puts this line in the header?  As far as I
>> can tell, I did not have it set anywhere in my Emacs.
>>
>> Thanks,
>> Greg
>
> And it seems that it *did not* work.

;; HEADERS THAT I WOULD LIKE TO SEE
;; ################################
(setq gnus-visible-headers
      (quote ("^From:" "^Newsgroups:" "^Subject:" "^Date:"
              "^Followup-To:" "^Reply-To:" "^Summary:"
;;              "^Followup-To:" "^Reply-To:" "^Organization:" "^Summary:"
              "^Keywords:" "^To:" "^[BGF]?Cc:" "^Posted-To:"
              "^Mail-Copies-To:" "^Apparently-To:" "^Gnus-Warning:"
              "^Resent-From:" "^X-Sent:" "^X-Mailer:" "^User-Agent:"
              "^X-Newsreader" "Content-Type:")))

This works for me

Note the replaceable line with Organization in it

-- 
Regards, Slackrat [Bill Henderson] [No _4Q_ for direct email]

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

* Re: Organization
  2007-03-19  6:32       ` Organization Slackrat
@ 2007-03-19  8:54         ` Tassilo Horn
       [not found]         ` <mailman.1106.1174294575.7795.info-gnus-english@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Tassilo Horn @ 2007-03-19  8:54 UTC (permalink / raw)
  To: info-gnus-english

Slackrat <slackrat4Q@azurservers.com> writes:

Hi,

>>> Well, if you can't see my organization, then it did work.
>>
>> And it seems that it *did not* work.
>
> ;; HEADERS THAT I WOULD LIKE TO SEE
> ;; ################################
> (setq gnus-visible-headers
>       (quote ("^From:" "^Newsgroups:" "^Subject:" "^Date:"
>               "^Followup-To:" "^Reply-To:" "^Summary:"
> ;;              "^Followup-To:" "^Reply-To:" "^Organization:" "^Summary:"
>               "^Keywords:" "^To:" "^[BGF]?Cc:" "^Posted-To:"
>               "^Mail-Copies-To:" "^Apparently-To:" "^Gnus-Warning:"
>               "^Resent-From:" "^X-Sent:" "^X-Mailer:" "^User-Agent:"
>               "^X-Newsreader" "Content-Type:")))
>
> This works for me

This variable says only what header to display while reading, not what
headers to create when writing postings. For that purpose have a look at

,----[ C-h v message-default-headers RET ]
| message-default-headers is a variable defined in `message.el'.
| Its value is ""
| 
| 
| Documentation:
| *A string containing header lines to be inserted in outgoing messages.
| It is inserted before you edit the message, so you can edit or delete
| these lines.
`----

,----[ C-h v message-default-news-headers RET ]
| message-default-news-headers is a variable defined in `message.el'.
| Its value is ""
| 
| 
| Documentation:
| *A string of header lines to be inserted in outgoing news articles.
`----

,----[ C-h v message-default-mail-headers RET ]
| message-default-mail-headers is a variable defined in `message.el'.
| Its value is ""
| 
| 
| Documentation:
| *A string of header lines to be inserted in outgoing mails.
`----

Also have a look at the variables

,----[ C-h v message-required-headers RET ]
| message-required-headers is a variable defined in `message.el'.
| Its value is 
| ((X-Draft-From lambda nil
|                (gnus-inews-make-draft-meta-information "nntp+news.gmane.org:gmane.emacs.gnus.user"
|                                                        '((8808))))
|  (optional . References)
|  From)
| 
| Documentation:
| *Headers to be generated or prompted for when sending a message.
| Also see `message-required-news-headers' and
| `message-required-mail-headers'.
`----

,----[ C-h v message-required-news-headers RET ]
| message-required-news-headers is a variable defined in `message.el'.
| Its value is 
| (From Newsgroups Subject Date Message-ID
|       (optional . Organization)
|       (optional . User-Agent))
| 
| Documentation:
| *Headers to be generated or prompted for when posting an article.
| RFC977 and RFC1036 require From, Date, Newsgroups, Subject,
| Message-ID.  Organization, Lines, In-Reply-To, Expires, and
| User-Agent are optional.  If don't you want message to insert some
| header, remove it from this list.
`----

,----[ C-h v message-required-mail-headers RET ]
| message-required-mail-headers is a variable defined in `message.el'.
| Its value is 
| (From Subject Date
|       (optional . In-Reply-To)
|       Message-ID
|       (optional . User-Agent))
| 
| Documentation:
| *Headers to be generated or prompted for when mailing a message.
| It is recommended that From, Date, To, Subject and Message-ID be
| included.  Organization and User-Agent are optional.
`----

HTH,
Tassilo
-- 
      "DRM manages rights in the same way a jail manages freedom"

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

* Re: Organization
  2007-03-18 19:41   ` Organization Greg Bognar
  2007-03-18 19:45     ` Organization Greg Bognar
  2007-03-18 23:04     ` Organization Reiner Steib
@ 2007-03-19 18:09     ` Adam Sjøgren
  2 siblings, 0 replies; 9+ messages in thread
From: Adam Sjøgren @ 2007-03-19 18:09 UTC (permalink / raw)
  To: info-gnus-english

On Sun, 18 Mar 2007 15:41:36 -0400, Greg wrote:

> Well, if you can't see my organization, then it did work.  Just out of
> curiosity, what is it that puts this line in the header?  As far as I
> can tell, I did not have it set anywhere in my Emacs.

It could very well be the news-server you are posting through.

Perhaps you could ask Your Friendly News Admin(tm)?


  Best regards,

      Adam

-- 
 "I'm so indie my shirt don't fit"                            Adam Sjøgren
                                                         asjo@koldfront.dk

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

* Re: Organization
       [not found]         ` <mailman.1106.1174294575.7795.info-gnus-english@gnu.org>
@ 2007-03-20  4:53           ` Greg Bognar
  0 siblings, 0 replies; 9+ messages in thread
From: Greg Bognar @ 2007-03-20  4:53 UTC (permalink / raw)
  To: info-gnus-english

Feeling a bit ridiculous, but if this doesn't have that header line then
it was the variable `message-required-news-headers'...

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

end of thread, other threads:[~2007-03-20  4:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-18  1:50 Organization GB
2007-03-18  6:21 ` Organization Glyn Millington
2007-03-18 19:41   ` Organization Greg Bognar
2007-03-18 19:45     ` Organization Greg Bognar
2007-03-19  6:32       ` Organization Slackrat
2007-03-19  8:54         ` Organization Tassilo Horn
     [not found]         ` <mailman.1106.1174294575.7795.info-gnus-english@gnu.org>
2007-03-20  4:53           ` Organization Greg Bognar
2007-03-18 23:04     ` Organization Reiner Steib
2007-03-19 18:09     ` Organization Adam Sjøgren

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).