From: Karl Kleinpaste <karl@jprc.com>
Subject: Re: messkeyw.el [patch]
Date: 30 Oct 1998 06:57:08 -500 [thread overview]
Message-ID: <vxk7lxijm97.fsf@pocari-sweat.jprc.com> (raw)
In-Reply-To: Karl Kleinpaste's message of "28 Oct 1998 14:23:08 -500"
Thanx to Jean-Yves Perrier, who found an Emacs /vs/ XEmacs
compatibility bug. Apparently, buffer-substring's START and END args
aren't optional in Emacs.
--karl
--- messkeyw.el.~1~ Fri Oct 30 06:17:27 1998
+++ messkeyw.el Fri Oct 30 06:18:31 1998
@@ -170,7 +170,7 @@
(unless (message-fetch-field "keywords")
; get full article text, including header & signature.
(setq quickbuf (generate-new-buffer " *BodyOnly*"))
- (insert-string (buffer-substring) quickbuf)
+ (insert-string (buffer-substring (point-min) (point-max)) quickbuf)
(set-buffer quickbuf)
(narrow-to-region (message-goto-body)
(progn (message-goto-signature)
@@ -187,7 +187,7 @@
(if (> count message-keyword-short-article-limit)
message-keyword-long-count
message-keyword-short-count)
- (buffer-substring)))
+ (buffer-substring (point-min) (point-max))))
","))
(kill-this-buffer)))
; back in *message* buffer now.
next prev parent reply other threads:[~1998-10-30 11:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-28 19:23 messkeyw.el Karl Kleinpaste
1998-10-30 11:57 ` Karl Kleinpaste [this message]
1998-10-30 13:46 ` messkeyw.el [patch] William M. Perry
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=vxk7lxijm97.fsf@pocari-sweat.jprc.com \
--to=karl@jprc.com \
/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).