From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 01:30:37 2020 Received: (at submit) by debbugs.gnu.org; 25 Dec 2020 06:30:37 +0000 Received: from localhost ([127.0.0.1]:56624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksgcW-0004Jp-5l for submit@debbugs.gnu.org; Fri, 25 Dec 2020 01:30:37 -0500 Received: from lists.gnu.org ([209.51.188.17]:41530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksgcT-0004G5-Jz for submit@debbugs.gnu.org; Fri, 25 Dec 2020 01:30:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ksgcS-00022z-Ra for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2020 01:30:33 -0500 Received: from mail-vk1-xa29.google.com ([2607:f8b0:4864:20::a29]:34701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ksgcQ-0004f5-I9 for bug-gnu-emacs@gnu.org; Fri, 25 Dec 2020 01:30:32 -0500 Received: by mail-vk1-xa29.google.com with SMTP id v3so871493vkb.1 for ; Thu, 24 Dec 2020 22:30:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/3OD9iw++B44Ik8NhMW1FB8mVS9/Qp0U6xd71hSzi30=; b=RTVzyVJor38f253LXn9JHVZdHP8vVTBS9kmXqJ8vhQ39rQGl5ioydy/PQ5TEcKeJ/G Rap6bObIuMch0zvPgxvGe2IhTiPegQLnpPg9XeGwCK9lMdYoCRMz9XmMbrt1qSvGlZRn Wm13Fw+pw6/PqmSiaklpOHeuquks7h8/rCKhYDJXH7x4jDMK1KXtAweRvAUeZER+l30F BENJr/hLuGcsx7wVJU084nqckTsta34yWZx2GrKE7tc81UbdJrThELubTf/yKJjn6HNz MXl76jbUrq3gz2yZ4Q4YmUIMhWu0LHkGhFzcWpT77VfB6ZlbeG9OT+xYfbWAL7hq8XN9 5cKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/3OD9iw++B44Ik8NhMW1FB8mVS9/Qp0U6xd71hSzi30=; b=aKmd7/k8lGDOGjswmZDZw4GWf4eeHPHjLMCAvinrE/r1B+LpXPu22noSRgCgfx8cii 6sViydwJzB++Onrr5IMflxYQcbgAkx59VA0FQ/LggGCKVtKeCjhL/Rr/7t6Yqi9dPpMR /0Rlx9dRvHkKPSm04+AcmRINEZXPGW2O44HYUd5x8Imfy2ilBBlpveDVbIPtnQ2Pwmaz 9i8DlFGccZrHS34ySEb1CSLiXJSRYS3wFWpcDroREF9A5zuI/vk4qVaQIwA6JhVYZcmN UZjZpIYvPc9aDwqnFOXGWaXrj7ye4e/2kCxCMvFO3vf2QH78B7hSxs7eu1D9qKYWcNuD SNaA== X-Gm-Message-State: AOAM533F7tD8Ux5XyEfvkFz0wRUsxMXW6EwbOV3MAAtPoeUmkAv2oDWF pKa309U2BFctC2nOjRxGzFe000/13ezp0CAkM3tqyE+G6i4= X-Google-Smtp-Source: ABdhPJyJ+WriCbrSbz/uW6cmbz83RXUF/ncqwC86B2+DbhkUZZa/lFlHfBirzQ/S0oDgqZvBOaKPnV21bZbjjajdvQY= X-Received: by 2002:a1f:2d4d:: with SMTP id t74mr13772264vkt.0.1608877828766; Thu, 24 Dec 2020 22:30:28 -0800 (PST) MIME-Version: 1.0 From: dalanicolai Date: Fri, 25 Dec 2020 07:30:17 +0100 Message-ID: Subject: 28.0.50; vcard-parse-buffer only parses single card To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000787ddf05b7440f08" Received-SPF: pass client-ip=2607:f8b0:4864:20::a29; envelope-from=dalanicolai@gmail.com; helo=mail-vk1-xa29.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) --000000000000787ddf05b7440f08 Content-Type: text/plain; charset="UTF-8" Install vcard via list-packages. Insert following lines (vcard file example, from google contacts export) in a buffer: BEGIN:VCARD VERSION:3.0 TEL;TYPE=CELL:+00 000 00 00 00 CATEGORIES:myContacts end:VCARD BEGIN:VCARD VERSION:3.0 TEL;TYPE=WORK:000 000 0000 CATEGORIES:myContacts END:VCARD in the buffer evaluate (M-:): (vcard-parse-buffer) it will stop after the first card. SOLUTION: in the function `vcard-parse-buffer`, (line-end-position 2) should be replaced by (+ (line-end-position 2) 1) In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0) of 2020-12-21 built on daniel-Ubuntu Repository revision: faf3613cba8571eaef2709bd7bb6f11a956b9262 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12009000 System Description: Ubuntu 20.10 Configured using: 'configure --with-imagemagick --with-cairo --with-modules' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER LCMS2 Important settings: value of $LC_MONETARY: nl_NL.UTF-8 value of $LC_NUMERIC: nl_NL.UTF-8 value of $LC_TIME: nl_NL.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: vCard Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail vcard-parse vcard iso8601 compile comint ansi-color ring autoload radix-tree lisp-mnt tar-mode arc-mode archive-mode cus-edit pp cus-start cus-load wid-edit misearch multi-isearch mm-archive message dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs text-property-search time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils mule-util gnutls network-stream url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url-cache url-auth epg epg-config finder-inf package easymenu browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 215914 19596) (symbols 48 11177 1) (strings 32 41500 2179) (string-bytes 1 1277285) (vectors 16 19501) (vector-slots 8 250240 21585) (floats 8 35 226) (intervals 56 24166 107) (buffers 984 17)) --000000000000787ddf05b7440f08 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Install vcard via list-packages.
Insert following lines (vcard file example, from google contacts export)
in a buffer:

BEGIN:VCARD
VERSION:3.0
TEL;TYPE=3DCELL:+00 000 00 00 00
CATEGORIES:myContacts
end:VCARD
BEGIN:VCARD
VERSION:3.0
TEL;TYPE=3DWORK:000 000 0000
CATEGORIES:myContacts
END:VCARD

in the buffer evaluate (M-:): (vcard-parse-buffer)

it will stop after the first card.

SOLUTION: in the function `vcard-parse-buffer`, (line-end-position 2)
should be replaced by (+ (line-end-position 2) 1)



In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, c= airo version 1.16.0)
of 2020-12-21 built on daniel-Ubuntu
Repository revision: faf3613cba8571eaef2709bd7bb6f11a956b9262
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.1= 2009000
System Description: Ubuntu 20.10

Configured using:
'configure --with-imagemagick --with-cairo --with-modules'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GSETTINGS
GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ
M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES
THREADS LIBSYSTEMD PDUMPER LCMS2

Important settings:
=C2=A0 value of $LC_MONETARY: nl_NL.UTF-8
=C2=A0 value of $LC_NUMERIC: nl_NL.UTF-8
=C2=A0 value of $LC_TIME: nl_NL.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major mode: vCard

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail vcard-parse vcard iso8601
compile comint ansi-color ring autoload radix-tree lisp-mnt tar-mode
arc-mode archive-mode cus-edit pp cus-start cus-load wid-edit misearch
multi-isearch mm-archive message dired dired-loaddefs rfc822 mml mml-sec
epa derived gnus-util rmail rmail-loaddefs text-property-search
time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode
mail-utils mule-util gnutls network-stream url-http mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny
url-cache url-auth epg epg-config finder-inf package easymenu browse-url
url url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 215914 19596)
(symbols 48 11177 1)
(strings 32 41500 2179)
(string-bytes 1 1277285)
(vectors 16 19501)
(vector-slots 8 250240 21585)
(floats 8 35 226)
(intervals 56 24166 107)
(buffers 984 17))
--000000000000787ddf05b7440f08-- From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 17:18:24 2020 Received: (at 45417) by debbugs.gnu.org; 25 Dec 2020 22:18:24 +0000 Received: from localhost ([127.0.0.1]:58375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksvPk-000474-9R for submit@debbugs.gnu.org; Fri, 25 Dec 2020 17:18:24 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksvPi-00046o-J3 for 45417@debbugs.gnu.org; Fri, 25 Dec 2020 17:18:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=dzCwB8zOrn9pfb51OYBem2EgKp5UeC7yBk+3t3yNhg4=; b=BEwwOu8VMIy3N5enHhCf8LYt0s WidcJnZ3iIqmPi/a6sq9mSi48ll3nO8Br72v0e7U64y4mKbJkNmvaqIX3udvEEsmbFIYXHulSWC2p DwhhhypssZBIQt4nhyeiblnwT6OeDgzfsZi+eYr189vGeIk4EfFR9/j0LYF2pk5nCHNE=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ksvPZ-0007p5-UL; Fri, 25 Dec 2020 23:18:16 +0100 From: Lars Ingebrigtsen To: dalanicolai Subject: Re: bug#45417: 28.0.50; vcard-parse-buffer only parses single card References: X-Now-Playing: The Beatles's _1967-1970 (1)_: "The Fool on the Hill" Date: Fri, 25 Dec 2020 23:18:12 +0100 In-Reply-To: (dalanicolai@gmail.com's message of "Fri, 25 Dec 2020 07:30:17 +0100") Message-ID: <87h7o9cyxn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: dalanicolai writes: > SOLUTION: in the function `vcard-parse-buffer`, (line-end-position 2) > should be replaced by (+ (line-end-position 2) 1) I've now done something similar to your suggested fix. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 45417 Cc: 45417@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: -0.0 (/) dalanicolai writes: > SOLUTION: in the function `vcard-parse-buffer`, (line-end-position 2) > should be replaced by (+ (line-end-position 2) 1) I've now done something similar to your suggested fix. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 17:18:29 2020 Received: (at control) by debbugs.gnu.org; 25 Dec 2020 22:18:29 +0000 Received: from localhost ([127.0.0.1]:58378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksvPo-00047L-Jq for submit@debbugs.gnu.org; Fri, 25 Dec 2020 17:18:28 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ksvPn-00046w-29 for control@debbugs.gnu.org; Fri, 25 Dec 2020 17:18:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IC5qLfwGtEIJTXkZzu3nn/u5w7Yla07RPphdmE/7XTo=; b=deVQjNZrquDeqr+/X3hOGOrVT2 hVaLXh5tppYOLK01A8VHnM8pLP0ztlG/Se/MKw8S2THMSUlfDk5C40jxRSsNlkAZ+e3SwzRlFFTTh oJrudLYGN+Mr8VDTD1T/wSuKLlY1XcC/EM0qZzho13kSmef323FEna6A1HrLcbUU6wgE=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ksvPf-0007pD-PB for control@debbugs.gnu.org; Fri, 25 Dec 2020 23:18:21 +0100 Date: Fri, 25 Dec 2020 23:18:18 +0100 Message-Id: <87ft3tcyxh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #45417 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 45417 fixed close 45417 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 45417 fixed close 45417 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 00:44:52 2020 Received: (at 45417) by debbugs.gnu.org; 26 Dec 2020 05:44:53 +0000 Received: from localhost ([127.0.0.1]:58629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt2No-0005sY-ON for submit@debbugs.gnu.org; Sat, 26 Dec 2020 00:44:52 -0500 Received: from ericabrahamsen.net ([52.70.2.18]:50830 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt2Nm-0005sM-U0 for 45417@debbugs.gnu.org; Sat, 26 Dec 2020 00:44:51 -0500 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id AE40DFA22B; Sat, 26 Dec 2020 05:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1608961484; bh=k1dTwZfUAiRai6Gu8pBMY5KZScaX+aIkfZYzkZZwwXE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=uJVFwu1qyVD0fFoGu/tE0IuhpC2pPSCIbJlB+ntbnKaBvmg61j5TaKNpNtXCTZlPA PWCMoPK42yimdBfE93Ez7uUqCKPu4XmNkLpgCmems3944nUEDb35/eSmC9ZfK8ZZuD 0moMxzTqOG7DGwG85HUNABhES2TcowM2LJLUj45s= From: Eric Abrahamsen To: dalanicolai Subject: Re: bug#45417: 28.0.50; vcard-parse-buffer only parses single card References: Date: Fri, 25 Dec 2020 21:44:38 -0800 In-Reply-To: (dalanicolai's message of "Fri, 25 Dec 2020 07:30:17 +0100") Message-ID: <87wnx5unnd.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45417 Cc: 45417@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 (---) dalanicolai writes: > Install vcard via list-packages. > Insert following lines (vcard file example, from google contacts export) > in a buffer: > > BEGIN:VCARD > VERSION:3.0 > TEL;TYPE=CELL:+00 000 00 00 00 > CATEGORIES:myContacts > end:VCARD > BEGIN:VCARD > VERSION:3.0 > TEL;TYPE=WORK:000 000 0000 > CATEGORIES:myContacts > END:VCARD > > in the buffer evaluate (M-:): (vcard-parse-buffer) > > it will stop after the first card. > > SOLUTION: in the function `vcard-parse-buffer`, (line-end-position 2) > should be replaced by (+ (line-end-position 2) 1) Whoops! I've been running with a few local patches and didn't realize I hadn't committed this fix. `vcard-parse-card' was supposed to end with a final `forward-line', to get past the "END:VCARD" line, and I'll push version 0.1.1 with this change in a moment. I'm glad someone's actually using this library! Please feel free to report further bugs and feature requests, and maybe cc me if you do. In particular I'm trying to decide how useful it actually is to provide `vcard-parse-(property|card)-consumer-function' options, and I would be interested to hear opinions about this. I'm also planning on re-implementing parsing using syntax tables, which I hope will make it faster. Thanks, Eric From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 00:47:50 2020 Received: (at 45417) by debbugs.gnu.org; 26 Dec 2020 05:47:50 +0000 Received: from localhost ([127.0.0.1]:58633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt2Qg-0005xE-5h for submit@debbugs.gnu.org; Sat, 26 Dec 2020 00:47:50 -0500 Received: from ericabrahamsen.net ([52.70.2.18]:50894 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt2Qe-0005x0-9Y for 45417@debbugs.gnu.org; Sat, 26 Dec 2020 00:47:48 -0500 Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 6BAB1FA22B; Sat, 26 Dec 2020 05:47:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1608961662; bh=zTr2iFVOcpGkTWNXJVNLG7qLJYREU4AXP/DbY6rdXbo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=oEOfQLAmwOCdcRbZpipszCTnGTpIy/aUm/Aa7ghdPe1OOoadHZXeE5sWN/Cb1SY+j ejlRlX77L0AL/a1pUIXC1ch+2P4nk095024DnfLY0nURP1UHidvrtybzV2jDh7T/g9 QfbRMR/tfyl7tejlA2o/RUPfam4PkDEHoGHHHTiI= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#45417: 28.0.50; vcard-parse-buffer only parses single card References: <87h7o9cyxn.fsf@gnus.org> Date: Fri, 25 Dec 2020 21:47:41 -0800 In-Reply-To: <87h7o9cyxn.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 25 Dec 2020 23:18:12 +0100") Message-ID: <87sg7tunia.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45417 Cc: dalanicolai , 45417@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 (---) Lars Ingebrigtsen writes: > dalanicolai writes: > >> SOLUTION: in the function `vcard-parse-buffer`, (line-end-position 2) >> should be replaced by (+ (line-end-position 2) 1) > > I've now done something similar to your suggested fix. Oh, I replied before refreshing. If you don't mind, I'd prefer the forward-line fix. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 00:52:54 2020 Received: (at 45417) by debbugs.gnu.org; 26 Dec 2020 05:52:54 +0000 Received: from localhost ([127.0.0.1]:58637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt2VZ-00064R-OX for submit@debbugs.gnu.org; Sat, 26 Dec 2020 00:52:53 -0500 Received: from quimby.gnus.org ([95.216.78.240]:47220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt2VX-00064C-VW for 45417@debbugs.gnu.org; Sat, 26 Dec 2020 00:52:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DtGAzJb51I8xHn6AGrFalY/N6lLkDrYf3MjzSPH2ptk=; b=EvKoUAYPmVm+6RGfibsCyGpc1Q zy/DCQpOumhE/cuoJrouHxlIsFs0I7uqqUTaaklAnQIslWPsdod2dBlaX/vBySeJhKuKPQe7j9WkM I9djZo7FihB1cMIq38BkViyyV7cgc8+J852a9ONb9rAr2kgLiQrgCm1NbmZw4md0iP7M=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kt2VL-0000m6-MO; Sat, 26 Dec 2020 06:52:45 +0100 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#45417: 28.0.50; vcard-parse-buffer only parses single card References: <87h7o9cyxn.fsf@gnus.org> <87sg7tunia.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEXo4uOpoaRWUFY/ PEIVFBqFe4D///8x2NsSAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QMGgU0GBXYAIQAAAGaSURBVDjL zZTBcuMgEERBKd0ZEt3FIN/XgtwTTeceVPH//8oOWHFs2am97hxcNo+G7pZLxvw2lh6OM116NPmP 6WaON2vcPiu4Xp85n39X8KPPuj9LugMCLDzhG6R4EUBG4+8VSFLUfrwAPl+XBaEG+5If0PxkLK6C F1wrAMl4baBbTnEDKaPNXGpFhcuwbsnP61j0jj6NnoPxYwVqsyaDBGe72VmK9UytBGg2VeJRl/wG dGv9Yr/0NB6dsQMZ4xo4++xU4o7W2AMZ96kAMjfFACHDq7GebHUVkT7as/RAcNPRklcjb6abgNHy QYFAykqHQdtp7WY4z8l1XMP7OfjqXgFPYvqF3QSJWdbZPW9djS96BZHJedEOXotpj6qC9b3dvTYg p1W+gW2mHK2X1hrogz1oDOvoqs6kdntuwIfgOW7962gOTkW78dPRR+AG5EA1d5iwAzHon7jQKd+C nvmDyCcwdgqwnGigmHfgSbfOmio9ABmhnrU/SjTWUijuwdPS8u4E7ah5xf1UAPkN4D8GsoVM/1LY 8vjt8xeODdCkWP3fRAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMi0yNlQwNTo1MjoyNCswMDow MEQFTmQAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTItMjZUMDU6NTI6MjQrMDA6MDA1WPbYAAAA AElFTkSuQmCC X-Now-Playing: Simon & Garfunkel's _Bookends_: "Mrs. Robinson" Date: Sat, 26 Dec 2020 06:52:38 +0100 In-Reply-To: <87sg7tunia.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 25 Dec 2020 21:47:41 -0800") Message-ID: <87r1ndazbt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > Oh, I replied before refreshing. If you don't mind, I'd prefer the > forward-line fix. Sure, go ahead. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45417 Cc: dalanicolai , 45417@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 (-) Eric Abrahamsen writes: > Oh, I replied before refreshing. If you don't mind, I'd prefer the > forward-line fix. Sure, go ahead. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 26 08:10:00 2020 Received: (at 45417) by debbugs.gnu.org; 26 Dec 2020 13:10:00 +0000 Received: from localhost ([127.0.0.1]:58841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt9Ka-00026S-GM for submit@debbugs.gnu.org; Sat, 26 Dec 2020 08:10:00 -0500 Received: from mail-vs1-f49.google.com ([209.85.217.49]:43669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kt9KX-00026C-S2 for 45417@debbugs.gnu.org; Sat, 26 Dec 2020 08:09:58 -0500 Received: by mail-vs1-f49.google.com with SMTP id r24so3425805vsg.10 for <45417@debbugs.gnu.org>; Sat, 26 Dec 2020 05:09:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XqSZb8TgeUQhI0YsWDfWI3fk9Fxk14s23t3ZLkNuxfU=; b=a3b5IBm9GPty1U5WlFXyRbbgfl/7LMn2TX4vwdbC7u3uUHNEzCVmxe5sloOKyGI0eV yokyMb80tKgZogRNI0NdICEN/20drtXmvucmyL6zI94RIT8aNYvXyNFYirsSnbPgq4xH rh7vY2p3bJEo7G0Hruzb9bUmEABjEOYUd2+gC3RgMbZ+X9PjEpHrMPYJ31KcC1B68FNt t9Kdh06CBmOFIYNJdDB5ih6k+glKhQxr1jiImdKP92f8G+R46Crt4G84w+Uf3HKfgrhp hvlJikMPV/3bgkZKfNjh7DLIcY1Q2DNgu5RVwy6iQ04HBF4kREwny5ci56dTCl/QQm+R hmzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XqSZb8TgeUQhI0YsWDfWI3fk9Fxk14s23t3ZLkNuxfU=; b=cI50nDZ8UKAgeE0t0jSpjjy5kzmDN+2rXL/u7prdS6+QyRUTCd4BrREfFdKdpyt2cf LGVh/R6xjpbMgbVn5QFSyoo7ni7mPo1S8uqd7OYeqP09+4AKV5qL6bbPSbPhyKYgLkLv 2JlhTH770BbfvRduTO62PjNYTiebkyf07IHSWH8EJnnsp1AnW8UiWxXSxwsFhHhfEDiG V6MRXBSpXc+MF2sXOHJEuWF0xnl6ixmv/OJUjAjYbif8H633RuuqjN4ch1lWds4zj9yu D9r45D2a67HGlyYUGNORkTC3BzC2e5SCnU0gXA5kxFNc73U+BUwLgLxC8EhWW2gbs+3f WbWA== X-Gm-Message-State: AOAM531pp9Ib7MLVEEYpnDgi3AfpSiu4HvQoE51IqdiEFgCd8Ym7E34J t1X9yNdSceM8gJ0TBJNlnVKBOdqvklewkgTeRGR4opZh/ik= X-Google-Smtp-Source: ABdhPJxdInqhVAzjHrRYLNUsOGFREh4ceS4uiGKNxVW2ZTde8/82xR/vm4KgWlElYRCbxvYYX4vu3LvcF7tTob7MFzg= X-Received: by 2002:a67:e04f:: with SMTP id n15mr24593192vsl.41.1608988192263; Sat, 26 Dec 2020 05:09:52 -0800 (PST) MIME-Version: 1.0 References: <87h7o9cyxn.fsf@gnus.org> <87sg7tunia.fsf@ericabrahamsen.net> <87r1ndazbt.fsf@gnus.org> In-Reply-To: <87r1ndazbt.fsf@gnus.org> From: dalanicolai Date: Sat, 26 Dec 2020 14:09:41 +0100 Message-ID: Subject: Re: bug#45417: 28.0.50; vcard-parse-buffer only parses single card To: Lars Ingebrigtsen Content-Type: multipart/alternative; boundary="000000000000a5d1ab05b75dc105" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 45417 Cc: Eric Abrahamsen , 45417@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 (-) --000000000000a5d1ab05b75dc105 Content-Type: text/plain; charset="UTF-8" Thanks guys On Sat, 26 Dec 2020 at 06:52, Lars Ingebrigtsen wrote: > Eric Abrahamsen writes: > > > Oh, I replied before refreshing. If you don't mind, I'd prefer the > > forward-line fix. > > Sure, go ahead. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --000000000000a5d1ab05b75dc105 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks guys

On Sat, 26 Dec 2020 at 06:52, Lars Ingebrig= tsen <larsi@gnus.org> wrote:
Eric Abrahamsen &l= t;eric@ericabr= ahamsen.net> writes:

> Oh, I replied before refreshing. If you don't mind, I'd prefer= the
> forward-line fix.

Sure, go ahead.

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--000000000000a5d1ab05b75dc105-- From unknown Fri Aug 15 18:05:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 24 Jan 2021 12:24:04 +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