From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.devel Subject: [PATCH] Add more autoloads to sendmail.el Date: Mon, 12 Sep 2005 15:18:46 +0300 Organization: Private Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126528840 14791 80.91.229.2 (12 Sep 2005 12:40:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2005 12:40:40 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 12 14:40:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EEnZQ-0005YS-VE for ged-emacs-devel@m.gmane.org; Mon, 12 Sep 2005 14:38:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EEnZQ-0003LH-9L for ged-emacs-devel@m.gmane.org; Mon, 12 Sep 2005 08:38:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EEnYK-00030z-Lg for emacs-devel@gnu.org; Mon, 12 Sep 2005 08:36:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EEnYJ-0002zk-6Z for emacs-devel@gnu.org; Mon, 12 Sep 2005 08:36:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EEnX4-0002MX-QB for emacs-devel@gnu.org; Mon, 12 Sep 2005 08:35:34 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1EEnKi-0005Hc-Of for emacs-devel@gnu.org; Mon, 12 Sep 2005 08:22:49 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EEnIi-0005Eq-Ct for emacs-devel@gnu.org; Mon, 12 Sep 2005 14:20:44 +0200 Original-Received: from a81-197-0-130.elisa-laajakaista.fi ([81.197.0.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Sep 2005 14:20:44 +0200 Original-Received: from jari.aalto by a81-197-0-130.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Sep 2005 14:20:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 104 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: a81-197-0-130.elisa-laajakaista.fi User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:RrflwZbuKkYzEVeCyuq5Q9qvfzc= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42838 Archived-At: Variable mail-yank-prefix is currently defined in sendmail.el, so in order to access it's default value, one would formally need to load sendmail: (require 'sendmail) Perhaps few ###autoloads would be in place here? Proposed patch follows. 2005-09-12 Mon Jari Aalto * mail/sendmail.el: Added more ###autoloads statements above defcustom variables. *** modified file 'mail/sendmail.el' --- mail/sendmail.el +++ mail/sendmail.el @@ -169,6 +169,7 @@ :type '(choice (const nil) file) :group 'sendmail) +;;;###autoload (defcustom mail-setup-hook nil "Normal hook, run each time a new outgoing mail message is initialized. The function `mail-setup' runs this hook." @@ -176,6 +177,7 @@ :options '(fortune-to-signature spook mail-abbrevs-setup) :group 'sendmail) +;;;###autoload (defvar mail-aliases t "Alist of mail address aliases, or t meaning should be initialized from your mail aliases file. @@ -187,17 +189,20 @@ (defvar mail-alias-modtime nil "The modification time of your mail alias file when it was last examined.") +;;;###autoload (defcustom mail-yank-prefix nil "*Prefix insert on lines of yanked message being replied to. nil means use indentation." :type '(choice (const nil) string) :group 'sendmail) +;;;###autoload (defcustom mail-indentation-spaces 3 "*Number of spaces to insert at the beginning of each cited line. Used by `mail-yank-original' via `mail-indent-citation'." :type 'integer :group 'sendmail) + (defvar mail-yank-hooks nil "Obsolete hook for modifying a citation just inserted in the mail buffer. Each hook function can find the citation between (point) and (mark t). @@ -225,6 +230,7 @@ This enables the hook functions to see the whole message header regardless of what part of it (if any) is included in the cited text.") +;;;###autoload (defcustom mail-citation-prefix-regexp "[ \t]*[-a-z0-9A-Z]*>+[ \t]*\\|[ \t]*" "*Regular expression to match a citation prefix plus whitespace. It should match whatever sort of citation prefixes you want to handle, @@ -248,7 +254,6 @@ removed from alias expansions." nil) -;;;###autoload (defcustom mail-signature nil "*Text inserted at end of mail buffer when a message is initialized. If t, it means to insert the contents of the file `mail-signature-file'. @@ -264,6 +269,7 @@ :group 'sendmail) (put 'mail-signature 'risky-local-variable t) +;;;###autoload (defcustom mail-signature-file "~/.signature" "*File containing the text inserted at end of mail buffer." :type 'file @@ -275,6 +281,7 @@ (put 'mail-reply-action 'permanent-local t) (put 'mail-send-actions 'permanent-local t) +;;;###autoload (defcustom mail-default-headers nil "*A string containing header lines, to be inserted in outgoing messages. It is inserted before you edit the message, @@ -282,6 +289,7 @@ :type '(choice (const nil) string) :group 'sendmail) +;;;###autoload (defcustom mail-bury-selects-summary t "*If non-nil, try to show RMAIL summary buffer after returning from mail. The functions \\[mail-send-on-exit] or \\[mail-dont-send] select @@ -290,6 +298,7 @@ :type 'boolean :group 'sendmail) +;;;###autoload (defcustom mail-send-nonascii 'mime "*Specify whether to allow sending non-ASCII characters in mail. If t, that means do allow it. nil means don't allow it.