* kill-region in mml-sec.el (patch)
@ 2003-02-07 3:08 Vasily Korytov
2003-02-07 12:11 ` Simon Josefsson
0 siblings, 1 reply; 2+ messages in thread
From: Vasily Korytov @ 2003-02-07 3:08 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 273 bytes --]
I have mml-unsecure-message in some hooks (long to explain =). And it
annoys me a lot, it copies the mml tag in the kill ring (and also in
xclipboard, if it's active). Are there reasons to use there kill-region,
not delete-region?
If not, this patch works here. =))
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: mml-sec.el.patch --]
[-- Type: text/x-patch, Size: 630 bytes --]
Index: mml-sec.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mml-sec.el,v
retrieving revision 1.20
diff -u -r1.20 mml-sec.el
--- mml-sec.el 21 Jan 2003 15:47:26 -0000 1.20
+++ mml-sec.el 7 Feb 2003 03:06:38 -0000
@@ -219,7 +219,7 @@
(save-excursion
(goto-char (point-max))
(when (re-search-backward "^<#secure.*>\n" nil t)
- (kill-region (match-beginning 0) (match-end 0)))))
+ (delete-region (match-beginning 0) (match-end 0)))))
(defun mml-secure-message-sign-smime ()
"Add MML tag to encrypt/sign the entire message."
[-- Attachment #1.3: Type: text/plain, Size: 194 bytes --]
--
With respect, Vasily Korytov
I accept RFC3156 and RFC1991-compatible encrypted mail.
PGP key fingerprint: 123A 7CCE 6E26 6233 0D87 E01A A0F8 3524 FCD8 1841
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: kill-region in mml-sec.el (patch)
2003-02-07 3:08 kill-region in mml-sec.el (patch) Vasily Korytov
@ 2003-02-07 12:11 ` Simon Josefsson
0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 2003-02-07 12:11 UTC (permalink / raw)
deskpot@myrealbox.com (Vasily Korytov) writes:
> I have mml-unsecure-message in some hooks (long to explain =). And it
> annoys me a lot, it copies the mml tag in the kill ring (and also in
> xclipboard, if it's active). Are there reasons to use there kill-region,
> not delete-region?
No.
> If not, this patch works here. =))
Installed, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-07 12:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-07 3:08 kill-region in mml-sec.el (patch) Vasily Korytov
2003-02-07 12:11 ` Simon Josefsson
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).