GNU bug report logs - #5558
23.1.92; sending an email takes much long then previous emacs version

Previous Next

Package: emacs;

Reported by: Warren L Dodge <warrend <at> Tektronix.com>

Date: Wed, 10 Feb 2010 21:44:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5558 in the body.
You can then email your comments to 5558 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5558; Package emacs. (Wed, 10 Feb 2010 21:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Warren L Dodge <warrend <at> Tektronix.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 10 Feb 2010 21:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Warren L Dodge <warrend <at> Tektronix.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1.92; sending an email takes much long then previous emacs version
Date: Wed, 10 Feb 2010 13:34:59 -0800
emacs-23.1.92 -Q
c-x m

fill in To: to be myUserName

c-c c-c

It takes a few seconds to send this email versus almost instantly  in
previous emacs versions.

This will be a big pain for the way I work.



In GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.6)
 of 2010-02-09 on zephyr
Windowing system distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure  '--prefix=/tools/wdtgnu/emacs-23.1.92' '--disable-nls''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> C-x m w a r r e n d C-c C-c <escape> x 
e m a c s <backspace> <backspace> <backspace> <backspace> 
<backspace> r e p o r t SPC e <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Parsing /login/warrend/.mailrc... done
Sending...
Sending via mail...
Sending...done

Load-path shadows:
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/etach hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/etach-1.4.1/etach
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/etach hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/etach-1.4.3/etach
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/speedbar/speedbar hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/speedbar
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/speedbar/sb-image hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/sb-image
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/ezimage hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/ezimage
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/speedbar/dframe hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/dframe
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/verilog-mode hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/progmodes/verilog-mode
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-custom hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-custom
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-speedbar hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-speedbar
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-opt hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-opt
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-comp hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-comp
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/eieio-base hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/eieio-base
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/eieio/chart hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/emacs-lisp/chart
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/cedet-files hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/cedet-files
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/semantic/semantic hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/semantic
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/mode-local hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/mode-local
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/inversion hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/inversion
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/ede/ede hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/ede
/tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/site-lisp/cedet/common/cedet hides /tools/wdtgnu/emacs-23.1.92/share/emacs/23.1.92/lisp/cedet/cedet

Features:
(shadow emacsbug gnus-msg gnus-art mm-uu mml2015 epg-config mm-view
smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source
format-spec gnus-start gnus-spec gnus-int gnus-range gnus-win gnus
gnus-ems mail-extr sort message sendmail regexp-opt ecomplete rfc822 mml
easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces
cus-face files text-properties overlay md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote
make-network-process dbusbind font-render-setting gtk x-toolkit x
multi-tty emacs)

-- 
Warren Dodge,   Application Engineer phone - (503) 627-4888
Tektronix Inc.  MS 39-515            fax   - (503) 627-2528
14180 S.W. Karl Braun Drive          Email - warren.l.dodge <at> tektronix.com
P.O. Box 500    Beaverton, OR 97077    






Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5558; Package emacs. (Thu, 11 Feb 2010 20:10:03 GMT) Full text and rfc822 format available.

Message #8 received at 5558 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Warren L Dodge <warrend <at> Tektronix.com>
Cc: 5558 <at> debbugs.gnu.org
Subject: Re: bug#5558: 23.1.92;
	sending an email takes much long then previous emacs version
Date: Thu, 11 Feb 2010 15:09:31 -0500
Warren L Dodge wrote:

> emacs-23.1.92 -Q
> c-x m
>
> fill in To: to be myUserName
>
> c-c c-c
>
> It takes a few seconds to send this email versus almost instantly  in
> previous emacs versions.

What does 

C-h v message-send-mail-function

say?

What value did you use for send-mail-function in Emacs 22.3?

Does it help to set message-send-mail-function to that value?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5558; Package emacs. (Thu, 11 Feb 2010 20:35:02 GMT) Full text and rfc822 format available.

Message #11 received at 5558 <at> debbugs.gnu.org (full text, mbox):

From: Warren Dodge <warren.l.dodge <at> Tektronix.com>
To: Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#5558: 23.1.92;
	sending an email takes much long then previous emacs version
Date: Thu, 11 Feb 2010 12:23:18 -0800
emacs-23.1.92 -Q
c-x m
C-h v message-send-mail-function

message-send-mail-function is a variable defined in `message.el'.
Its value is 
message-send-mail-with-sendmail


When I do the c-c c-c it says "Sending via mail ...."




emacs-22.3 -Q
c-x m
-h v send-mail-function

send-mail-function is a variable defined in `.../emacs-22.3/share/emacs/22.3/lisp/mail/sendmail.elc'.
Its value is sendmail-send-it

>  CC: 5558 <at> debbugs.gnu.org
>  From: Glenn Morris <rgm <at> gnu.org>
>  Date: Thu, 11 Feb 2010 15:09:31 -0500
>  MIME-Version: 1.0
>  Content-Type: text/plain; charset="us-ascii"
>  
>  Warren L Dodge wrote:
>  
>  > emacs-23.1.92 -Q
>  > c-x m
>  >
>  > fill in To: to be myUserName
>  >
>  > c-c c-c
>  >
>  > It takes a few seconds to send this email versus almost instantly  in
>  > previous emacs versions.
>  
>  What does 
>  
>  C-h v message-send-mail-function
>  
>  say?

emacs-23.1.92 -Q
c-x m
C-h v message-send-mail-function

message-send-mail-function is a variable defined in `message.el'.
Its value is 
message-send-mail-with-sendmail


When I do the c-c c-c it says "Sending via mail ...."

>  
>  What value did you use for send-mail-function in Emacs 22.3?
>  

emacs-22.3 -Q
c-x m
-h v send-mail-function

send-mail-function is a variable defined in `.../emacs-22.3/share/emacs/22.3/lisp/mail/sendmail.elc'.
Its value is sendmail-send-it


>  Does it help to set message-send-mail-function to that value?
>  
>  
That value is not available in the customize list.


 Operate on all settings in this buffer that are not marked HIDDEN:
 Set for current session 
 Undo edits Reset to saved    Exit

Message Send Mail Function: Hide Value
(*) message-send-mail-with-sendmail
        Send off the prepared buffer with sendmail.
( ) message-send-mail-with-mh
        Send the prepared message buffer with mh.
( ) message-send-mail-with-qmail
        Pass the prepared message buffer to qmail-inject. More
( ) message-smtpmail-send-it
        Send the prepared message buffer with `smtpmail-send-it'. More
( ) smtpmail-send-it
        Not documented More
( ) feedmail-send-it
        Send the current mail buffer using the Feedmail package. More
( ) message-send-mail-with-mailclient
        Send the prepared message buffer with `mailclient-send-it'. More
( ) Other: ignore
   State: EDITED, shown value does not take effect until you set or save it.
   Function to call to send the current buffer as mail. Hide Rest   
   The headers should be delimited by a line whose contents match the
   variable `mail-header-separator'.
   
   Valid values include `message-send-mail-with-sendmail'
   `message-send-mail-with-mh', `message-send-mail-with-qmail',
   `message-smtpmail-send-it', `smtpmail-send-it',
   `feedmail-send-it' and `message-send-mail-with-mailclient'.  The
   default is system dependent and determined by the function
   `message-send-mail-function'.
  





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5558; Package emacs. (Thu, 11 Feb 2010 21:00:03 GMT) Full text and rfc822 format available.

Message #14 received at 5558 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: warren.l.dodge <at> Tektronix.com
Cc: 5558 <at> debbugs.gnu.org
Subject: Re: bug#5558: 23.1.92;
	sending an email takes much long then previous emacs version
Date: Thu, 11 Feb 2010 15:59:10 -0500
[ Please keep 5558 in the cc ]

Warren Dodge wrote:

> emacs-22.3 -Q
> c-x m
> -h v send-mail-function
>
> send-mail-function is a variable defined in `.../emacs-22.3/share/emacs/22.3/lisp/mail/sendmail.elc'.
> Its value is sendmail-send-it

I wasn't asking about the -Q value, I was asking if you had customized
it (eg to smtpmail-send-it). If so, try using that value for message.
If you haven't customized it, this is not relevant.

Did this problem also occur in 23.1, or is it new in 23.1.92?

If it occurs in 23.1, does it make a difference to set
mail-interactive to nil?

If new in 23.1.92, does it make a difference to set
message-interactive to nil?

If new in 23.1.92, is it still slow if you

(setq mail-user-agent 'sendmail-user-agent)




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5558; Package emacs. (Thu, 11 Feb 2010 21:32:02 GMT) Full text and rfc822 format available.

Message #17 received at 5558 <at> debbugs.gnu.org (full text, mbox):

From: Warren Dodge <warren.l.dodge <at> Tektronix.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5558 <at> debbugs.gnu.org
Subject: Re: bug#5558: 23.1.92;
	sending an email takes much long then previous emacs version
Date: Thu, 11 Feb 2010 13:30:48 -0800

>  CC: 5558 <at> debbugs.gnu.org
>  From: Glenn Morris <rgm <at> gnu.org>
>  Date: Thu, 11 Feb 2010 15:59:10 -0500
>  MIME-Version: 1.0
>  Content-Type: text/plain; charset="us-ascii"
>  
>  
>  [ Please keep 5558 in the cc ]
>  
>  Warren Dodge wrote:
>  
>  > emacs-22.3 -Q
>  > c-x m
>  > -h v send-mail-function
>  >
>  > send-mail-function is a variable defined in `.../emacs-22.3/share/emacs/22.3/lisp/mail/sendmail.elc'.
>  > Its value is sendmail-send-it
>  
>  I wasn't asking about the -Q value, I was asking if you had customized
>  it (eg to smtpmail-send-it). If so, try using that value for message.
>  If you haven't customized it, this is not relevant.
>  
   I have not customised it

>  Did this problem also occur in 23.1, or is it new in 23.1.92?
>  
   Yes

>  If it occurs in 23.1, does it make a difference to set
>  mail-interactive to nil?
>  
   If I set it in the scratch buffer the first c-x m c-c c-c is fast

   If I set the value once in the *mail* buffer.
   Yes it is real quick with that

>  If new in 23.1.92, does it make a difference to set
>  message-interactive to nil?

   If I set it in the scratch buffer the first c-x m c-c c-c is slow but
   the second is fast

   If I set the value once in the *mail* buffer.
   It is real quick with the first c-c c-c
>  
>  If new in 23.1.92, is it still slow if you
>  
>  (setq mail-user-agent 'sendmail-user-agent)
>  
>  
   It isn't new in23.1.92 but yes is it slow with this setting





Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 12 Feb 2010 05:23:01 GMT) Full text and rfc822 format available.

Notification sent to Warren L Dodge <warrend <at> Tektronix.com>:
bug acknowledged by developer. (Fri, 12 Feb 2010 05:23:02 GMT) Full text and rfc822 format available.

Message #22 received at 5558-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 5558-done <at> debbugs.gnu.org
Subject: Re: bug#5558: 23.1.92;
	sending an email takes much long then previous emacs version
Date: Fri, 12 Feb 2010 00:22:52 -0500
OK, so it sounds like the issue here was the change of the default
value of `mail-interactive' from nil to t in Emacs 23.1. This should
have been in NEWS but was not (added now).

It means that Emacs will wait for the sendmail process to return and
report any errors, rather than returning immediately and letting
sendmail send a mail in case of error. If it causes unacceptable
delays for you, just set it back to nil.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5558; Package emacs. (Fri, 12 Feb 2010 07:28:02 GMT) Full text and rfc822 format available.

Message #25 received at 5558 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 5558 <at> debbugs.gnu.org
Cc: Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#5558: 23.1.92;
	sending an email takes much long then previous emacs version
Date: Fri, 12 Feb 2010 02:27:02 -0500
> OK, so it sounds like the issue here was the change of the default
> value of `mail-interactive' from nil to t in Emacs 23.1. This should
> have been in NEWS but was not (added now).

> It means that Emacs will wait for the sendmail process to return and
> report any errors, rather than returning immediately and letting
> sendmail send a mail in case of error. If it causes unacceptable
> delays for you, just set it back to nil.

BTW, shouldn't we have it set to `async' instead (which probably
requires implementing the corresponding feature)?


        Stefan




bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 12 Mar 2010 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.