From: "Sebastian P. Luque" <spluque@gmail.com>
To: info-gnus-english@gnu.org
Subject: message-signature-file toggled to nil locally
Date: Sun, 03 Feb 2008 10:38:05 -0600 [thread overview]
Message-ID: <87hcgqov0y.fsf@patagonia.sebmags.homelinux.org> (raw)
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
next reply other threads:[~2008-02-03 16:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 16:38 Sebastian P. Luque [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hcgqov0y.fsf@patagonia.sebmags.homelinux.org \
--to=spluque@gmail.com \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).