Gnus development mailing list
 help / color / mirror / Atom feed
From: Colin Marquardt <colin.marquardt@usa.alcatel.com>
Subject: Small Gnus UI patch
Date: 08 Mar 2001 18:04:02 -0800	[thread overview]
Message-ID: <ysd6g0gnem0d.fsf_-_@sol-cmarquar.pet.usa.alcatel.com> (raw)
In-Reply-To: <m3pufrhhm1.fsf@h0050bad6338d.ne.mediaone.net>

Hi,

here is a small patch which makes Gnus a bit clearer about what is
meant ("partially" could also mean "cut off the rest and send only
the first part").

Ideally, you would have the choice between three options here: 
  * send message in parts, 
  * send in one big message, 
  * cancel.
I don't know enough about Emacs LISP to do that though...

The first part of the patch fixes a plain typo (or Freudian slip?).

Cheers,
  Colin


*** /tmp/message.el.orig	Thu Mar  8 17:57:07 2001
--- /tmp/message.el	Thu Mar  8 17:57:07 2001
***************
*** 2358,2364 ****
      (pop actions)))
  
  (defun message-send-mail-partially ()
!   "Sendmail as message/partial."
    ;; replace the header delimiter with a blank line
    (goto-char (point-min))
    (re-search-forward
--- 2358,2364 ----
      (pop actions)))
  
  (defun message-send-mail-partially ()
!   "Send mail as message/partial."
    ;; replace the header delimiter with a blank line
    (goto-char (point-min))
    (re-search-forward
***************
*** 2483,2489 ****
  	    (message-insert-courtesy-copy))
  	  (if (or (not message-send-mail-partially-limit)
  		  (< (point-max) message-send-mail-partially-limit)
! 		  (not (y-or-n-p "The message size is too large, should it be sent partially? ")))
  	      (mm-with-unibyte-current-buffer
  		(funcall message-send-mail-function))
  	    (message-send-mail-partially)))
--- 2483,2489 ----
  	    (message-insert-courtesy-copy))
  	  (if (or (not message-send-mail-partially-limit)
  		  (< (point-max) message-send-mail-partially-limit)
! 		  (not (y-or-n-p "Message exceeds message-send-mail-partially-limit, send in parts? ")))
  	      (mm-with-unibyte-current-buffer
  		(funcall message-send-mail-function))
  	    (message-send-mail-partially)))


  reply	other threads:[~2001-03-09  2:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-08 17:01 help, lost messages in ognus Nick Papadonis
2001-03-08 19:23 ` Alexandre Oliva
2001-03-09  1:10   ` Nick Papadonis
2001-03-09  2:04     ` Colin Marquardt [this message]
2001-03-09 12:41       ` Small Gnus UI patch Kai Großjohann
2001-03-09 19:21         ` Colin Marquardt
2001-03-09 20:48           ` Kai Großjohann
2001-03-09 23:53           ` Daniel Pittman
2001-03-10  0:47             ` Colin Marquardt
2001-03-10 15:11               ` Toby Speight
2001-03-12  1:17                 ` Colin Marquardt
2001-03-08 19:27 ` help, lost messages in ognus Paul Jarc

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=ysd6g0gnem0d.fsf_-_@sol-cmarquar.pet.usa.alcatel.com \
    --to=colin.marquardt@usa.alcatel.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).