🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #411

Re: vm-8.0.0-devo-438 vm-save-message-to-imap-folder fails

#411
From: thatmanagain
Date: Thu, 24 May 2007 15:46
42 lines
2839 bytes
On May 23, 4:43 pm, newsspam5REMOVET...@robf.de wrote:

> Sure, check what args buffer-string wants in Emacs 23.
>
> M-x describe-function RET buffer-string RET.
>
> ,---- [It should read]
> | buffer-substring-no-properties is a built-in function in `C source code'.
> | (buffer-substring-no-properties start end)
> |
> | Return the characters of part of the buffer, without the text properties.
> | The two arguments start and end are character positions;
> | they can be in either order.
> `----


This is how buffer-string is described in Emacs 23, which is identical
to its description in Emacs 22, incidentally. No mention of buffer-
substring-no-properties anywhere.

buffer-string is a built-in function in `C source code'.
(buffer-string)

Return the contents of the current buffer as a string.
If narrowing is in effect, this function returns only the visible part
of the buffer.

So, based on what Glenn Morris says in the next message, I changed
"buffer-string" to "buffer-substring" on line 1532 of vm-imap.el, and
it works now.

> PS: 22 is not even stable, why are us using 23?

SImply because I don't mind being on the bleeding edge. But as Glenn
Morris says, it's totally stable. No problems at all.

And frankly, with a couple of Mac users in the office, I need to give
them some competition in the desktop eye-candy department, and the new
font support in Emacs 23 is worth a lot of points. :)

PS: I've been using VM for about 5 years now, and I'm very glad
there's work being done to keep it going. :)
Technical Details
Message-ID: <1180021596.530878.105890@g4g2000hsf.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g4g2000hsf.googlegroups.com!not-for-mail
References: <1179937945.297481.109210@p47g2000hsd.googlegroups.com> <85hcq39spu.fsf@robf.de>

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,a252658837cf5f46
X-Google-Attributes: gidf6829,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g4g2000hsf.googlegroups.com!not-for-mail
From: "thatmanagain@gmail.com" <thatmanagain@gmail.com>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: vm-8.0.0-devo-438 vm-save-message-to-imap-folder fails
Date: 24 May 2007 08:46:36 -0700
Organization: http://groups.google.com
Lines: 43
Message-ID: <1180021596.530878.105890@g4g2000hsf.googlegroups.com>
References: <1179937945.297481.109210@p47g2000hsd.googlegroups.com>
   <85hcq39spu.fsf@robf.de>
NNTP-Posting-Host: 70.55.244.102
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1180021602 16955 127.0.0.1 (24 May 2007 15:46:42 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 24 May 2007 15:46:42 +0000 (UTC)
In-Reply-To: <85hcq39spu.fsf@robf.de>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g4g2000hsf.googlegroups.com; posting-host=70.55.244.102;
   posting-account=M_ZxGQ0AAADRCgWJoN0nYDf372R8RRnE