From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19342 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE Newsgroups: gmane.emacs.gnus.general Subject: Re: multipart/related test Date: 30 Nov 1998 15:06:46 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035157709 11098 80.91.224.250 (20 Oct 2002 23:48:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:48:29 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA17226 for ; Mon, 30 Nov 1998 09:07:44 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id IAB04915; Mon, 30 Nov 1998 08:07:26 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 30 Nov 1998 08:07:19 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id IAA03115 for ; Mon, 30 Nov 1998 08:07:11 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id JAA17216 for ; Mon, 30 Nov 1998 09:07:04 -0500 (EST) Original-Received: from ramses.informatik.uni-dortmund.de (ramses.cs.uni-dortmund.de [129.217.20.180]) by waldorf.cs.uni-dortmund.de with SMTP id PAA26602 for ; Mon, 30 Nov 1998 15:06:47 +0100 (MET) Original-Received: (grossjoh@localhost) by ramses.informatik.uni-dortmund.de id PAA13856; Mon, 30 Nov 1998 15:06:46 +0100 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "30 Nov 1998 02:47:24 +0100" Original-Lines: 27 User-Agent: Gnus/5.070056 (Pterodactyl Gnus v0.56) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:19342 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19342 [[ buffer-string vs. buffer-substring ]] Here's what I see: Emacs 20.3: (buffer-string) (buffer-substring START END) XEmacs 20.4: (buffer-string &optional START END BUFFER) (buffer-substring &optional START END BUFFER) So a compatible change would be to add an optional argument BUFFER to the Emacs 20.3 implementation of buffer-substring. buffer-string is more difficult, but I don't quite understand the START and END arguments in XEmacs 20.4 here, anyway. Either it's just one function like XEmacs 20.4 buffer-substring, or it's two functions: (buffer-string &optional BUFFER) (buffer-substring START END &optional BUFFER) Both ways have their merit. Whatcha think? kai -- Life is hard and then you die.