unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Daiki Ueno <ueno@unixuser.org>
To: Michael Olson <mwolson@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: patch to include EasyPG to Emacs
Date: Mon, 11 Feb 2008 06:29:44 +0900	[thread overview]
Message-ID: <87r6fksdo7.fsf@broken.deisui.org> (raw)
In-Reply-To: <87abm8msuu.fsf@grepfind.mwolson.org> (Michael Olson's message of "Sun, 10 Feb 2008 14:58:17 -0600")

Michael Olson <mwolson@gnu.org> writes:

> Applied, with typo fix.

Thanks.  And sorry for bothering you again and again, could you rename
epa-mail-minor-mode with epa-global-mail-mode (from Stefan's choices)?
Here is a patch.

Index: lisp/ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.12752
diff -c -r1.12752 ChangeLog
*** lisp/ChangeLog	10 Feb 2008 20:57:45 -0000	1.12752
--- lisp/ChangeLog	10 Feb 2008 21:18:33 -0000
***************
*** 6,12 ****
  	(epg-bug-report-address): New constant.
  
  	* epa-mail.el (epa-mail-mode): Add autoload cookie.
! 	(epa-mail-minor-mode): New global minor mode.
  
  	* epa-file.el (epa-file-mode): New global minor mode.
  
--- 6,12 ----
  	(epg-bug-report-address): New constant.
  
  	* epa-mail.el (epa-mail-mode): Add autoload cookie.
! 	(epa-global-mail-mode): New global minor mode.
  
  	* epa-file.el (epa-file-mode): New global minor mode.
  
Index: lisp/epa-mail.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/epa-mail.el,v
retrieving revision 1.3
diff -c -r1.3 epa-mail.el
*** lisp/epa-mail.el	10 Feb 2008 20:57:47 -0000	1.3
--- lisp/epa-mail.el	10 Feb 2008 21:18:34 -0000
***************
*** 175,185 ****
    (epa-import-armor-in-region (point-min) (point-max)))
  
  ;;;###autoload
! (define-minor-mode epa-mail-minor-mode
    "Minor mode to hook EasyPG into Mail mode."
    :global t :init-value nil :group 'epa-mail :version "23.1"
    (remove-hook 'mail-mode-hook 'epa-mail-mode)
!   (if epa-mail-minor-mode
        (add-hook 'mail-mode-hook 'epa-mail-mode)))
  
  (provide 'epa-mail)
--- 175,185 ----
    (epa-import-armor-in-region (point-min) (point-max)))
  
  ;;;###autoload
! (define-minor-mode epa-global-mail-mode
    "Minor mode to hook EasyPG into Mail mode."
    :global t :init-value nil :group 'epa-mail :version "23.1"
    (remove-hook 'mail-mode-hook 'epa-mail-mode)
!   (if epa-global-mail-mode
        (add-hook 'mail-mode-hook 'epa-mail-mode)))
  
  (provide 'epa-mail)
Index: lisp/epa.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/epa.el,v
retrieving revision 1.4
diff -c -r1.4 epa.el
*** lisp/epa.el	10 Feb 2008 20:57:47 -0000	1.4
--- lisp/epa.el	10 Feb 2008 21:18:34 -0000
***************
*** 47,53 ****
  
  (defcustom epa-global-minor-modes '(epa-dired-mode
  				    epa-file-mode
! 				    epa-mail-minor-mode
  				    epa-menu-mode)
    "Globally defined minor modes to hook into other modes."
    :type '(repeat symbol)
--- 47,53 ----
  
  (defcustom epa-global-minor-modes '(epa-dired-mode
  				    epa-file-mode
! 				    epa-global-mail-mode
  				    epa-menu-mode)
    "Globally defined minor modes to hook into other modes."
    :type '(repeat symbol)

Regards,
-- 
Daiki Ueno




  reply	other threads:[~2008-02-10 21:29 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07  4:58 patch to include EasyPG to Emacs Daiki Ueno
2008-02-07  5:13 ` Dan Nicolaescu
2008-02-07  9:28   ` Daiki Ueno
2008-02-07 16:24     ` Leo
2008-02-08  4:42       ` Daiki Ueno
2008-02-08  7:15     ` Dan Nicolaescu
2008-02-08  4:14 ` Richard Stallman
2008-02-08  7:03 ` Michael Olson
2008-02-10  7:04   ` Daiki Ueno
2008-02-10 15:44     ` Stefan Monnier
2008-02-10 19:15       ` Daiki Ueno
2008-02-10 19:30         ` Daiki Ueno
2008-02-10 20:58           ` Michael Olson
2008-02-10 21:29             ` Daiki Ueno [this message]
2008-02-11  0:03               ` Michael Olson
2008-02-10 19:46         ` Stefan Monnier
2008-02-10 22:36         ` Dan Nicolaescu
2008-02-10 23:34           ` Daiki Ueno
2008-02-11  6:30             ` Daiki Ueno
2008-02-12  1:24               ` Michael Olson
2008-02-12  3:48               ` Dan Nicolaescu
2008-02-12  6:04                 ` Daiki Ueno
2008-02-12 17:45                 ` Richard Stallman
2008-02-13 17:28                   ` Dan Nicolaescu
2008-02-14  4:43                     ` Richard Stallman
2008-02-14 11:26                       ` Daiki Ueno
2008-02-14 15:37                         ` Sascha Wilde
2008-02-14 18:43                           ` Daiki Ueno
2008-02-15 10:07                             ` Sascha Wilde
2008-02-15 17:05                               ` Daiki Ueno
2008-02-15 18:34                                 ` Sascha Wilde
2008-02-16  5:53                               ` Richard Stallman
2008-02-16 10:25                                 ` Jan Djärv
2008-02-16 11:16                                   ` Andreas Schwab
2008-02-16 23:00                                     ` Jeremy Maitin-Shepard
2008-02-17 20:29                                       ` Richard Stallman
2008-02-17 13:23                                   ` Richard Stallman
2008-02-18  6:58                                     ` Jan Djärv
2008-02-18  7:11                                       ` Miles Bader
2008-02-15  0:02                         ` Richard Stallman
2008-02-15  2:20                           ` Daiki Ueno
2008-02-18  8:55                         ` auto-encryption-mode, etc. (Re: " Daiki Ueno
2008-02-18 17:30                           ` Richard Stallman
2008-02-18 19:51                           ` Dan Nicolaescu

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6fksdo7.fsf@broken.deisui.org \
    --to=ueno@unixuser.org \
    --cc=emacs-devel@gnu.org \
    --cc=mwolson@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).