Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* message-signature-file toggled to nil locally
@ 2008-02-03 16:38 Sebastian P. Luque
  2008-02-03 17:12 ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian P. Luque @ 2008-02-03 16:38 UTC (permalink / raw)
  To: info-gnus-english

Hi,

I noticed that message-signature-file gets set to nil when composing
messages, even though the signature is chosen correctly, based on
gnus-posting-styles:

,-----[ C-h v message-signature-file RET ]
| message-signature-file is a variable defined in `message.el'.
| Its value is nil
| Local in buffer *posting on gmane.emacs.gnus.user*; global value is "professional"
| 
| Documentation:
| *Name of file containing the text inserted at end of message buffer.
| Ignored if the named file doesn't exist.
| If nil, don't insert a signature.
| If a path is specified, the value of `message-signature-directory' is ignored,
| even if set.
`-----

The gnus-posting-styles is pretty simple:


,-----[ C-h v gnus-posting-styles RET ]
| gnus-posting-styles is a variable defined in `gnus-msg.el'.
| Its value is shown below.
| 
| Documentation:
| *Alist of styles to use when posting.
| See Info node `(gnus)Posting Styles'.
| 
| You can customize this variable.
| 
| Value: 
| ((".*"
|   (body "\n\n\nCheers,\n"))
|  ((message-news-p)
|   (signature "Seb")
|   (address "spluque@gmail.com"))
|  ((message-mail-p)
|   (signature-file "professional")))
`-----

I can't see anything wrong with message-setup-hook (in this buffer for
instance) neither:


,-----[ C-h v message-setup-hook RET ]
| message-setup-hook is a variable defined in `message.el'.
| Its value is shown below.
| 
| Documentation:
| Normal hook, run each time a new outgoing message is initialized.
| The function `message-setup' runs this hook.
| 
| You can customize this variable.
| 
| Value: 
| ((lambda nil
|    (set
|     (make-local-variable 'user-mail-address)
|     "spluque@gmail.com")
|    (let
|        ((user-full-name "Sebastian P. Luque")
| 	(user-mail-address "spluque@gmail.com"))
|      (save-excursion
|        (message-remove-header "From")
|        (message-goto-eoh)
|        (insert "From: "
| 	       (message-make-from)
| 	       "\n"))))
|  (lambda nil
|    (save-excursion
|      (let
| 	 ((message-signature "Seb\n"))
|        (when message-signature
| 	 (message-insert-signature)))))
|  (lambda nil
|    (save-excursion
|      (message-remove-header "Organization")
|      (let
| 	 ((value "Org"))
|        (when value
| 	 (message-goto-eoh)
| 	 (insert "Organization" ": " value)
| 	 (unless
| 	     (bolp)
| 	   (insert "\n"))))))
|  (lambda nil
|    (save-excursion
|      (let
| 	 ((message-signature "My Sig"))
|        (when message-signature
| 	 (message-insert-signature)))))
|  (lambda nil
|    (save-excursion
|      (message-goto-body)
|      (insert "\n\n\nCheers,\n")))
|  t)
| 
| Local in buffer *mail*; global value is 
| ((lambda nil
|    (define-key message-mode-map "\x03["
|      (lambda nil
|        (interactive)
|        (require 'reftex)
|        (let
| 	   ((reftex-cite-format 'locally))
| 	 (reftex-citation)))))
|  (lambda nil
|    (bbdb-define-all-aliases)
|    (require 'footnote))
|  bbdb-insinuate-message)
`-----

Any suggestions what might be setting this variable?


Cheers,

-- 
Seb

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

end of thread, other threads:[~2008-02-04 10:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-03 16:38 message-signature-file toggled to nil locally Sebastian P. Luque
2008-02-03 17:12 ` Reiner Steib
2008-02-03 17:59   ` Sebastian P. Luque
2008-02-03 18:53     ` Reiner Steib
2008-02-03 23:10       ` Sebastian P. Luque
2008-02-03 22:18     ` Sebastian P. Luque
     [not found]     ` <mailman.6907.1202077097.18990.info-gnus-english@gnu.org>
2008-02-04 10:42       ` Slackrat

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