all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Nonsense in gnus-uu.el
@ 2015-04-10 14:42 Stefan Monnier
  2015-04-15 13:20 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2015-04-10 14:42 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: emacs-devel

Could someone fix the problem below?


        Stefan


diff --git a/lisp/gnus/gnus-uu.el b/lisp/gnus/gnus-uu.el
index 55a881c..f5d4495 100644
--- a/lisp/gnus/gnus-uu.el
+++ b/lisp/gnus/gnus-uu.el
@@ -875,8 +875,13 @@ When called interactively, prompt for REGEXP."
 	(goto-char (setq beg (point-max)))
 	(save-excursion
 	  (save-restriction
+            ;; FIXME: We save excursion and restriction in "*gnus-uu-body*",
+            ;; only to immediately move to another buffer?  And we narrow in
+            ;; that buffer without save-restriction?  And we finish the
+            ;; save-restriction with a call to `widen'?  How can that
+            ;; make sense?
 	    (set-buffer buffer)
-	    (let (buffer-read-only)
+	    (let ((inhibit-read-only t))
 	      (set-text-properties (point-min) (point-max) nil)
 	      ;; These two are necessary for XEmacs 19.12 fascism.
 	      (put-text-property (point-min) (point-max) 'invisible nil)



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

end of thread, other threads:[~2015-04-15 22:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-10 14:42 Nonsense in gnus-uu.el Stefan Monnier
2015-04-15 13:20 ` Lars Magne Ingebrigtsen
2015-04-15 13:30   ` Dmitry Gutov
2015-04-15 13:37     ` Lars Magne Ingebrigtsen
2015-04-15 17:53       ` Paul Eggert
2015-04-15 17:55         ` Lars Magne Ingebrigtsen
2015-04-15 22:59           ` Paul Eggert

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.