From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19308 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: multipart/related test Date: 30 Nov 1998 00:11:43 +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 1035157681 10926 80.91.224.250 (20 Oct 2002 23:48:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:48:01 +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 SAA28072 for ; Sun, 29 Nov 1998 18:12:23 -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 RAB18941; Sun, 29 Nov 1998 17:12:04 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 29 Nov 1998 17:12:04 -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 RAA25466 for ; Sun, 29 Nov 1998 17:11:55 -0600 (CST) Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA28051 for ; Sun, 29 Nov 1998 18:11:47 -0500 (EST) Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.9.0/8.9.0) id AAA19133; Mon, 30 Nov 1998 00:11:43 +0100 (MET) Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE writes: > > > Just installed pgnus-0.56 and w3-4.0pre.30 on Emacs 20.3, and this is > > what happened: > > > > ,----- > > | Signaling: (wrong-number-of-arguments # 3) > > | (buffer-string nil nil (mm-handle-buffer part)) > > My bad. Emacs 20.3's `buffer-string' doesn't take a BUFFER > parameter. > > Er. How weird. `buffer-string' is an alias for `buffer-substring' in > XEmacs 21.2. Has it always been that way? And jere I just convinced > RMS to let `buffer-string' take an optional BUFFER parameter in Emacs > 20.4, all for naught, it seems... > > To clarify: In Emacs 20.4, `buffer-substring' takes mandatory START > and END params, while `buffer-string' takes an optional BUFFER > param. In XEmacs 21.2, there's only one function, which takes three > optional params -- start, end, and buffer. I think the Emacs 20.4 > thing makes more sense. So things were changed incompatibly -- again? :-( We can implement XEmacs `buffer-string' like this, but that's monstrosity: (defun buffer-string (&optional x y z) "@#$#@%#@$%#@$$@#$@#$@#" (if (or (bufferp x) (stringp x)) (buffer-substring nil nil x) (buffer-substring x y z))) After the `point-at-bol' fiasco, I'm not sure I want to see this code in XEmacs. :-( -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- Be nice to your kids. They'll choose your nursing home.