GNU bug report logs - #64717
[PATCH] Silence the compiler in vcard-parse.el from ELPA

Previous Next

Package: emacs;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Tue, 18 Jul 2023 20:51:02 UTC

Severity: normal

Tags: patch

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64717 in the body.
You can then email your comments to 64717 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to eric <at> ericabrahamsen.net, bug-gnu-emacs <at> gnu.org:
bug#64717; Package emacs. (Tue, 18 Jul 2023 20:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arash Esbati <arash <at> gnu.org>:
New bug report received and forwarded. Copy sent to eric <at> ericabrahamsen.net, bug-gnu-emacs <at> gnu.org. (Tue, 18 Jul 2023 20:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: emacs-bugs <bug-gnu-emacs <at> gnu.org>
Subject: [PATCH] Silence the compiler in vcard-parse.el from ELPA
Date: Tue, 18 Jul 2023 22:48:10 +0200
[Message part 1 (text/plain, inline)]
X-Debbugs-CC: eric <at> ericabrahamsen.net

Hi all,

this is a tiny patch against vcard-parse.el in order to pacify the
warnings about

 ‘point-at-bol’ is an obsolete function ...
 ‘point-at-eol’ is an obsolete function ...
[0001-vcard-parse.el-vcard-parse-buffer-Pacify-the-compile.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
And while we're at: There are also

  In vcard-region-decode-base64:
  vcard.el:516:29: Warning: avoid ‘lsh’; use ‘ash’ instead
  vcard.el:518:27: Warning: avoid ‘lsh’; use ‘ash’ instead
  vcard.el:518:51: Warning: avoid ‘lsh’; use ‘ash’ instead
  vcard.el:530:32: Warning: avoid ‘lsh’; use ‘ash’ instead

Is `ash' a drop-in replacement?  Maybe these can be fixed as well.

This is with Emacs 30.0.50 (f624b283bf).

Best, Arash

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64717; Package emacs. (Tue, 18 Jul 2023 22:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 64717 <at> debbugs.gnu.org (full text, mbox):

From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
To: Arash Esbati <arash <at> gnu.org>
Cc: 64717 <at> debbugs.gnu.org
Subject: Re: bug#64717: [PATCH] Silence the compiler in vcard-parse.el from
 ELPA
Date: Tue, 18 Jul 2023 14:59:18 -0700
Arash Esbati <arash <at> gnu.org> writes:

> X-Debbugs-CC: eric <at> ericabrahamsen.net
>
> Hi all,
>
> this is a tiny patch against vcard-parse.el in order to pacify the
> warnings about
>
>  ‘point-at-bol’ is an obsolete function ...
>  ‘point-at-eol’ is an obsolete function ...
>
>
> And while we're at: There are also
>
>   In vcard-region-decode-base64:
>   vcard.el:516:29: Warning: avoid ‘lsh’; use ‘ash’ instead
>   vcard.el:518:27: Warning: avoid ‘lsh’; use ‘ash’ instead
>   vcard.el:518:51: Warning: avoid ‘lsh’; use ‘ash’ instead
>   vcard.el:530:32: Warning: avoid ‘lsh’; use ‘ash’ instead
>
> Is `ash' a drop-in replacement?  Maybe these can be fixed as well.

Thanks for this! I've applied your patch. This stuff with base64 looks
like it it's from the year 2000, and I should follow Stefan's comments
and update it to use `base64-decode-region' directly. This is one of the
many things I'm behind on, I will try to get to it this week. Let's
leave this bug open until then.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64717; Package emacs. (Wed, 19 Jul 2023 15:00:02 GMT) Full text and rfc822 format available.

Message #11 received at 64717 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 64717 <at> debbugs.gnu.org
Subject: Re: bug#64717: [PATCH] Silence the compiler in vcard-parse.el from
 ELPA
Date: Wed, 19 Jul 2023 16:59:19 +0200
Eric Abrahamsen <eric <at> ericabrahamsen.net> writes:

> Thanks for this! I've applied your patch. This stuff with base64 looks
> like it it's from the year 2000, and I should follow Stefan's comments
> and update it to use `base64-decode-region' directly. This is one of the
> many things I'm behind on, I will try to get to it this week. Let's
> leave this bug open until then.

Thanks for installing that part.  Please feel free to close this report
whenever appropriate.

Best, Arash




Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Wed, 23 Aug 2023 23:46:02 GMT) Full text and rfc822 format available.

Notification sent to Arash Esbati <arash <at> gnu.org>:
bug acknowledged by developer. (Wed, 23 Aug 2023 23:46:03 GMT) Full text and rfc822 format available.

Message #16 received at 64717-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Arash Esbati <arash <at> gnu.org>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>, 64717-done <at> debbugs.gnu.org
Subject: Re: bug#64717: [PATCH] Silence the compiler in vcard-parse.el from
 ELPA
Date: Thu, 24 Aug 2023 01:45:36 +0200
> Thanks for installing that part.  Please feel free to close this report
> whenever appropriate.

Closing this now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 21 Sep 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.