unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* rmail-reply creates *mail* and *mail*<2>
@ 2005-09-15  1:24 Kenichi Handa
  2005-09-15 14:52 ` Chong Yidong
  2005-09-15 15:55 ` Chong Yidong
  0 siblings, 2 replies; 3+ messages in thread
From: Kenichi Handa @ 2005-09-15  1:24 UTC (permalink / raw)


With the latest CVS code, when I type r in RMAIL buffer,
buffer *mail* and *mail*<2> are created and the latter is
selected.

When I cancel this change:

2005-09-13  Chong Yidong  <cyd@stupidchicken.com>

	* simple.el (sendmail-user-agent-compose): Use a new mail buffer
	if `continue' is nil, rather than signal an error.

the problem is solved.

---
Kenichi Handa
handa@m17n.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rmail-reply creates *mail* and *mail*<2>
  2005-09-15  1:24 rmail-reply creates *mail* and *mail*<2> Kenichi Handa
@ 2005-09-15 14:52 ` Chong Yidong
  2005-09-15 15:55 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2005-09-15 14:52 UTC (permalink / raw)
  Cc: emacs-devel

Kenichi Handa <handa@m17n.org> writes:

> With the latest CVS code, when I type r in RMAIL buffer,
> buffer *mail* and *mail*<2> are created and the latter is
> selected.

This patch fixes the problem.  Could you try it?


*** emacs/lisp/simple.el.~1.749.~	2005-09-13 06:28:14.000000000 -0400
--- emacs/lisp/simple.el	2005-09-15 10:49:43.000000000 -0400
***************
*** 4440,4446 ****
  	    (special-display-regexps nil)
  	    (same-window-buffer-names nil)
  	    (same-window-regexps nil))
! 	(funcall switch-function "*mail*")))
    (let ((cc (cdr (assoc-string "cc" other-headers t)))
  	(in-reply-to (cdr (assoc-string "in-reply-to" other-headers t)))
  	(body (cdr (assoc-string "body" other-headers t))))
--- 4440,4446 ----
  	    (special-display-regexps nil)
  	    (same-window-buffer-names nil)
  	    (same-window-regexps nil))
! 	(funcall switch-function nil)))
    (let ((cc (cdr (assoc-string "cc" other-headers t)))
  	(in-reply-to (cdr (assoc-string "in-reply-to" other-headers t)))
  	(body (cdr (assoc-string "body" other-headers t))))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: rmail-reply creates *mail* and *mail*<2>
  2005-09-15  1:24 rmail-reply creates *mail* and *mail*<2> Kenichi Handa
  2005-09-15 14:52 ` Chong Yidong
@ 2005-09-15 15:55 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2005-09-15 15:55 UTC (permalink / raw)
  Cc: emacs-devel

> With the latest CVS code, when I type r in RMAIL buffer,
> buffer *mail* and *mail*<2> are created and the latter is
> selected.

On second thought, I have reverted my changes.  Sorry for the
inconvenience.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-15 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15  1:24 rmail-reply creates *mail* and *mail*<2> Kenichi Handa
2005-09-15 14:52 ` Chong Yidong
2005-09-15 15:55 ` Chong Yidong

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).