From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: message-setup-fill-variables, mm-string-to-multibyte (was: Changes to emacs/lisp/gnus/message.el, v) Date: Mon, 29 Oct 2007 23:01:19 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193695382 17197 80.91.229.12 (29 Oct 2007 22:03:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 22:03:02 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 23:03:05 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImchC-0006zE-HW for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 23:02:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imch3-0007RP-G8 for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 18:02:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Imcgz-0007PU-Hp for emacs-devel@gnu.org; Mon, 29 Oct 2007 18:02:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Imcgx-0007MX-Vf for emacs-devel@gnu.org; Mon, 29 Oct 2007 18:02:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imcgx-0007ML-N3 for emacs-devel@gnu.org; Mon, 29 Oct 2007 18:02:39 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Imcgt-0005kR-Gm for emacs-devel@gnu.org; Mon, 29 Oct 2007 18:02:39 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.1/8.14.1) with ESMTP id l9TM2W5q006332; Mon, 29 Oct 2007 23:02:33 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id AA40712CFC; Mon, 29 Oct 2007 23:02:32 +0100 (CET) X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82100 gmane.emacs.gnus.general:65487 Archived-At: On Mon, Oct 29 2007, Stefan Monnier committed: > --- message.el 28 Oct 2007 09:18:27 -0000 1.123 > +++ message.el 29 Oct 2007 20:07:57 -0000 1.124 > @@ -2877,6 +2877,8 @@ > ;; solution would be not to use `define-derived-mode', and run > ;; `text-mode-hook' ourself at the end of the mode. > ;; -- Per Abrahamsen Date: 2001-10-19. > + ;; This kludge is unneeded in Emacs>=21 since define-derived-mode is > + ;; now careful to run parent hooks after the body. --Stef > (when auto-fill-function > (setq auto-fill-function normal-auto-fill-function))) Then we could remove it (unless XEmacs 21.4) in No Gnus (Emacs 23). > @@ -4952,7 +4954,7 @@ > ;; Check for control characters. > (message-check 'control-chars > (if (re-search-forward > - (mm-string-as-multibyte "[\000-\007\013\015-\032\034-\037\200-\237]") > + (mm-string-to-multibyte "[\000-\007\013\015-\032\034-\037\200-\237]") > nil t) > (y-or-n-p > "The article contains control characters. Really post? ") Should this go to Emacs 22 (v5-10) as well? (Is it a bug fix?) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/