From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 16:50:06 2023 Received: (at submit) by debbugs.gnu.org; 18 Jul 2023 20:50:07 +0000 Received: from localhost ([127.0.0.1]:54432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLre2-0004xg-Dj for submit@debbugs.gnu.org; Tue, 18 Jul 2023 16:50:06 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLrdw-0004ww-HL for submit@debbugs.gnu.org; Tue, 18 Jul 2023 16:50:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLrdq-0006rL-PN for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 16:49:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLrdq-0000ld-HX for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 16:49:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=g1XlAJRQGwDNx0PxXaFW6ClvHTHjK8vOImfYNR0C1MY=; b=sZy+RN3/6eQwPz rbG3TMZsfTIUAAsdB/sWTygnNNO1Ficblm6z0cmNxO96rbQpCpKlQZpNfVTpg6SLJZY7ioOLf7v4f L/A0c2+2yLhFLtseXfuOo5I2KlryDlccbiM5RNmyqckojDu5YhnBUol+RwZTkfOC3A4HWyIm0fLM7 osqun/YaD92c7BJ0R2S+v8XU9p5Vuyznn1XiLt8T1WvgQ7nZ1+cXpUUPcehJvLtxN+LJO50C2BkdA jcO31BvI18bx7VIvUmu6htciK0OPwpkZ3cStPNaQfQSkjKWIN2BaXrGuDhho268MTqgp45OV1WU9x vAyFY8uoCqjYh8s0Dlog==; Received: from p5b326e8f.dip0.t-ipconnect.de ([91.50.110.143] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLrdp-00085c-Vw for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 16:49:54 -0400 From: Arash Esbati To: emacs-bugs Subject: [PATCH] Silence the compiler in vcard-parse.el from ELPA Date: Tue, 18 Jul 2023 22:48:10 +0200 Message-ID: <86a5vt6j5h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Debbugs-CC: eric@ericabrahamsen.net Hi all, this is a tiny patch against vcard-parse.el in order to pacify the warnings about =E2=80=98point-at-bol=E2=80=99 is an obsolete function ... =E2=80=98point-at-eol=E2=80=99 is an obsolete function ... --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-vcard-parse.el-vcard-parse-buffer-Pacify-the-compile.patch >From f0bf7e52772064d1ccfcfe84798a658220483ec6 Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Tue, 18 Jul 2023 22:31:50 +0200 Subject: [PATCH] ; * vcard-parse.el (vcard-parse-buffer): Pacify the compiler. --- vcard-parse.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vcard-parse.el b/vcard-parse.el index 571faa1c6e..e43ceed8be 100644 --- a/vcard-parse.el +++ b/vcard-parse.el @@ -1,6 +1,6 @@ ;;; vcard-parse.el --- Library for parsing vCards -*- lexical-binding: t; -*- -;; Copyright (C) 2019-2022 Free Software Foundation, Inc. +;; Copyright (C) 2019-2023 Free Software Foundation, Inc. ;; Author: Eric Abrahamsen ;; Maintainer: Eric Abrahamsen @@ -221,8 +221,8 @@ Returns a list of contact objects." '(vcard) :error "Parsing failed with:\n %s" (buffer-substring-no-properties - (point-at-bol) - (point-at-eol)))))) + (line-beginning-position) + (line-end-position)))))) (push card out))) (nreverse out))) -- 2.41.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable And while we're at: There are also In vcard-region-decode-base64: vcard.el:516:29: Warning: avoid =E2=80=98lsh=E2=80=99; use =E2=80=98ash= =E2=80=99 instead vcard.el:518:27: Warning: avoid =E2=80=98lsh=E2=80=99; use =E2=80=98ash= =E2=80=99 instead vcard.el:518:51: Warning: avoid =E2=80=98lsh=E2=80=99; use =E2=80=98ash= =E2=80=99 instead vcard.el:530:32: Warning: avoid =E2=80=98lsh=E2=80=99; use =E2=80=98ash= =E2=80=99 instead Is `ash' a drop-in replacement? Maybe these can be fixed as well. This is with Emacs 30.0.50 (f624b283bf). Best, Arash --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 18 17:59:28 2023 Received: (at 64717) by debbugs.gnu.org; 18 Jul 2023 21:59:28 +0000 Received: from localhost ([127.0.0.1]:54498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLsjA-0006jq-GP for submit@debbugs.gnu.org; Tue, 18 Jul 2023 17:59:28 -0400 Received: from mail.ericabrahamsen.net ([52.70.2.18]:59306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLsj8-0006jd-KE for 64717@debbugs.gnu.org; Tue, 18 Jul 2023 17:59:27 -0400 Received: from localhost (c-76-135-104-211.hsd1.wa.comcast.net [76.135.104.211]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id D7DADFA002; Tue, 18 Jul 2023 21:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1689717560; bh=btvC2krTiOFq4cdvZQx6AH+5HI4f++Df4pZEmR4rhSA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=SRdLsZTFZ4p9mBb28eMXFaXlr99jDNvBg7RcRhuLT/il40YhM3c5oXlDVrc1KU5rs /MiRu1y+BpgF89X+i/TaIYIlLCxJPLlRMSMKEEC9DHwE3Mkw8HqwQcPEe7xCfKgnnp 5QPjQxcmCxxu3K6OI8wZGkv8zy0JhMecInesz+Gc= From: Eric Abrahamsen To: Arash Esbati Subject: Re: bug#64717: [PATCH] Silence the compiler in vcard-parse.el from ELPA In-Reply-To: <86a5vt6j5h.fsf@gnu.org> (Arash Esbati's message of "Tue, 18 Jul 2023 22:48:10 +0200") References: <86a5vt6j5h.fsf@gnu.org> Date: Tue, 18 Jul 2023 14:59:18 -0700 Message-ID: <878rbc6fux.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64717 Cc: 64717@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Arash Esbati writes: > X-Debbugs-CC: eric@ericabrahamsen.net > > Hi all, > > this is a tiny patch against vcard-parse.el in order to pacify the > warnings about > > =E2=80=98point-at-bol=E2=80=99 is an obsolete function ... > =E2=80=98point-at-eol=E2=80=99 is an obsolete function ... > > > And while we're at: There are also > > In vcard-region-decode-base64: > vcard.el:516:29: Warning: avoid =E2=80=98lsh=E2=80=99; use =E2=80=98ash= =E2=80=99 instead > vcard.el:518:27: Warning: avoid =E2=80=98lsh=E2=80=99; use =E2=80=98ash= =E2=80=99 instead > vcard.el:518:51: Warning: avoid =E2=80=98lsh=E2=80=99; use =E2=80=98ash= =E2=80=99 instead > vcard.el:530:32: Warning: avoid =E2=80=98lsh=E2=80=99; use =E2=80=98ash= =E2=80=99 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 19 10:59:51 2023 Received: (at 64717) by debbugs.gnu.org; 19 Jul 2023 14:59:51 +0000 Received: from localhost ([127.0.0.1]:56940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM8ec-0005Y5-O3 for submit@debbugs.gnu.org; Wed, 19 Jul 2023 10:59:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qM8eb-0005Xt-Ix for 64717@debbugs.gnu.org; Wed, 19 Jul 2023 10:59:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qM8eW-0001Go-2V; Wed, 19 Jul 2023 10:59:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=xfX+TLdNaZ7vclGFJHqMApj/vKuSNcGZakjoZwzQjOQ=; b=l13B5i1bj4zv7IhlNAi8 zLvOqzxaV786axai+ddVXOqCPVXUAjYNFhhZTFugUkgBSNPkMvhps90k/OROK3bVXO1JvBpbSrNhe QNAVBpbnjbaO6Y9EqXAKssYZF0WlAV+yDcXa2Zo0XxR1/IzpFGzyjJt+p5FF1N3umYboQUOUna+iq KpO2nU5D/yDLQQPMpdeBAHnJOXs8fxIWmocUfPjbH86INSlCsjKhgPnRt7LEYQ84XF8evK1Hunkyf C7cvPT49rqR1CWpXx1xiu06vlxv7NmBhfLEaQM1eUyfnAu8i6d+gMw+z44TW3BvMEZL3AEKvOCblw FCsxmqmv6K3CpQ==; Received: from p5b326e8f.dip0.t-ipconnect.de ([91.50.110.143] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qM8eE-0002hE-Qh; Wed, 19 Jul 2023 10:59:43 -0400 From: Arash Esbati To: Eric Abrahamsen Subject: Re: bug#64717: [PATCH] Silence the compiler in vcard-parse.el from ELPA In-Reply-To: <878rbc6fux.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 18 Jul 2023 14:59:18 -0700") References: <86a5vt6j5h.fsf@gnu.org> <878rbc6fux.fsf@ericabrahamsen.net> Date: Wed, 19 Jul 2023 16:59:19 +0200 Message-ID: <86h6q09cc8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64717 Cc: 64717@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eric Abrahamsen 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 23 19:45:59 2023 Received: (at 64717-done) by debbugs.gnu.org; 23 Aug 2023 23:45:59 +0000 Received: from localhost ([127.0.0.1]:35565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxXz-0002ko-Cn for submit@debbugs.gnu.org; Wed, 23 Aug 2023 19:45:59 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:52281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxXw-0002UB-HG for 64717-done@debbugs.gnu.org; Wed, 23 Aug 2023 19:45:58 -0400 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-522dd6b6438so7596613a12.0 for <64717-done@debbugs.gnu.org>; Wed, 23 Aug 2023 16:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692834347; x=1693439147; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Mtjaiqb+IzkRFC4QelCLuoX+REEBda4kM93Fi8mIYkA=; b=IR8tpo4vGsfDTkeBugRHHvOibYoYz1vgv1clg1qVGk4Dg30dq9t5I8Tm1mZyQdGZho TE/B72g8e8sJZgeVzgCOfJtiDPm6cjHJD3Mn1cifNhikkVwv4FE3QIntp6XQ+7zggJHH qSLutY8S/BwLMFIzz0WuxBK7AY+OGBgHzbcTcVMmCuv/IoVnIHye1JpahokghydrVio6 IStFWlUsQYmry6+WguPfiBEeLK+8Klqqc1b6BZ/MtKbPQjn5AVeT26SL3lcg4gFm2LK9 eaKmEjUQIRIAOxn1zylddf6mYjc7IgEe/yjXsH/InuxpEtqgXAzQWZS4tGc1l4/aV5yD ypiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692834347; x=1693439147; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Mtjaiqb+IzkRFC4QelCLuoX+REEBda4kM93Fi8mIYkA=; b=A1VcVhIFcW8JO3Va9/t81JzbQYNI4Vjqe0aArioMowdg6JWhSrpnHk8MhvyXcEENJl D30v74RvJ5mL5VlQ2b2wG4MOB+EQrBybqM7zdiyCa1guxuPVdpC4XEkj5AWmXmMaLDhN iANbiz200XEVVDCWfM+rtk4OSvE38ZeAbd2E86yKILY2jORw0jZ050LDLcQ3Q+Qz27ls 8ehliIIVnkTQ91UX4QRQMk9s9b9btUGEsUMfl2/HY0/aOUXfbA+LIoG7RJHHcgxJLodQ PangApA23jMyVyYX7OyAASxV3UCN4WA5XBmhd/XFjpW+xKWH9yDQZmHmFQ5BnSK8Mska 5R5Q== X-Gm-Message-State: AOJu0YwJZLO2VqwZmqVokFzHwZORD6rw6SPPsSeWtabsclLMkhzeiPRp ZDVEKLGwvERS4lz6c/ZFvDkyF2Uyy6M84rkmYds= X-Google-Smtp-Source: AGHT+IG69QpCtZ/ri1nEjjWpr02wZ4da3YMG6A1hvJaJ0wLIjuFluH0+pE7X4GNevh6tZzBmDOu5XQztlvesCz5PHTo= X-Received: by 2002:a05:6402:1001:b0:525:4472:3147 with SMTP id c1-20020a056402100100b0052544723147mr11123138edu.34.1692834346989; Wed, 23 Aug 2023 16:45:46 -0700 (PDT) MIME-Version: 1.0 References: <86a5vt6j5h.fsf@gnu.org> <878rbc6fux.fsf@ericabrahamsen.net> <86h6q09cc8.fsf@gnu.org> In-Reply-To: <86h6q09cc8.fsf@gnu.org> From: Stefan Kangas Date: Thu, 24 Aug 2023 01:45:36 +0200 Message-ID: Subject: Re: bug#64717: [PATCH] Silence the compiler in vcard-parse.el from ELPA To: Arash Esbati Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64717-done Cc: Eric Abrahamsen , 64717-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Thanks for installing that part. Please feel free to close this report > whenever appropriate. Closing this now. From unknown Mon Aug 18 08:26:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 21 Sep 2023 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator