[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
message-signature-file toggled to nil locally
From: |
Sebastian P. Luque |
Subject: |
message-signature-file toggled to nil locally |
Date: |
Sun, 03 Feb 2008 10:38:05 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
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 "["
| (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
- message-signature-file toggled to nil locally,
Sebastian P. Luque <=