all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RMAIL, summary buffer need not be marked as modified
@ 2003-02-12 21:17 Alexander Pohoyda
  2003-03-06 16:48 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Pohoyda @ 2003-02-12 21:17 UTC (permalink / raw)


Hi again,

I have to admit that the modified *RMAIL-summary* buffer irritates
me. This buffer is generated by emacs, so there is nothing user should
care about.

The patch follows:

--- rmailsum.el.orig    Sun Jan  5 23:01:28 2003
+++ rmailsum.el Sun Jan  5 23:01:40 2003
@@ -254,6 +254,8 @@
          ;; We do this here to make the window the proper size.
          (rmail-select-summary nil)
          (set-buffer rmail-summary-buffer)))
+    ;; There is no need for the summary buffer to be marked as modified.
+    (set-buffer-modified-p nil)
     (rmail-summary-goto-msg mesg t t)
     (rmail-summary-construct-io-menu)
     (message "Computing summary lines...done")))


-- 
Alexander Pohoyda
<alexander.pohoyda@gmx.net>

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

* Re: RMAIL, summary buffer need not be marked as modified
  2003-02-12 21:17 RMAIL, summary buffer need not be marked as modified Alexander Pohoyda
@ 2003-03-06 16:48 ` Thien-Thi Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2003-03-06 16:48 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Alexander Pohoyda <alexander.pohoyda@gmx.net> writes:

   Hi again,

   I have to admit that the modified *RMAIL-summary* buffer irritates
   me. This buffer is generated by emacs, so there is nothing user should
   care about.

   +    ;; There is no need for the summary buffer to be marked as modified.
   +    (set-buffer-modified-p nil)

probably a better approach would be to use a mode-line format for RMAIL
summary mode that omits the superfluous information.

thi

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

end of thread, other threads:[~2003-03-06 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-12 21:17 RMAIL, summary buffer need not be marked as modified Alexander Pohoyda
2003-03-06 16:48 ` Thien-Thi Nguyen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.