From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ulf Jasper Newsgroups: gmane.emacs.bugs Subject: bug#22092: 24.5; icalendar-import should strip windows newlines Date: Fri, 04 Dec 2015 17:55:35 +0100 Message-ID: <87mvtqw3ug.fsf@web.de> References: <87si3i376s.fsf@fsfe.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449248212 25696 80.91.229.3 (4 Dec 2015 16:56:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2015 16:56:52 +0000 (UTC) Cc: 22092@debbugs.gnu.org To: Kevin Brubeck Unhammer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 04 17:56:37 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a4tea-0002q9-Ly for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Dec 2015 17:56:16 +0100 Original-Received: from localhost ([::1]:41921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4teV-0004yA-6F for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Dec 2015 11:56:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4teR-0004wE-RO for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2015 11:56:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4teM-0004D2-Ow for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2015 11:56:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4teM-0004Cn-Ma for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2015 11:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a4teM-0001lD-Gh for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2015 11:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ulf Jasper Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Dec 2015 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22092 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22092-submit@debbugs.gnu.org id=B22092.14492481416725 (code B ref 22092); Fri, 04 Dec 2015 16:56:02 +0000 Original-Received: (at 22092) by debbugs.gnu.org; 4 Dec 2015 16:55:41 +0000 Original-Received: from localhost ([127.0.0.1]:39269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4tdz-0001kM-Tq for submit@debbugs.gnu.org; Fri, 04 Dec 2015 11:55:40 -0500 Original-Received: from mout.web.de ([212.227.17.11]:58835) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4tdy-0001kB-5K for 22092@debbugs.gnu.org; Fri, 04 Dec 2015 11:55:38 -0500 Original-Received: from p55m-ud2 ([217.226.69.231]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0M89mf-1aQQht2DJJ-00viHX; Fri, 04 Dec 2015 17:55:36 +0100 In-Reply-To: <87si3i376s.fsf@fsfe.org> (Kevin Brubeck Unhammer's message of "Fri, 04 Dec 2015 10:16:11 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:H5wfJ44RMvDwIhXikcyetbeXtDzxXPgJf754+C1jlM5hg3D/aP8 5MQOUVD1T7Z6a9R/G9FZb7NJBG6/HHFPDpH3dh//5lg8tfBYeQMgLf7nfY+vf6fhGMSYQHS TRCkwotfrbynRfeBDguYRinWK/npoXMpU2BIpez72uiAToKPYqnZcRsVlpWy+gYDFohoxqx Bey8JU7FJ98Vf3KPYKsvQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:8xw3kJurn6s=:Fsi+yJv2eSxl93jnuTSFVf fAu8fxT6kxaNMkQhunMOQhp2+Qfr+0K4bGwzo+Xj9m+9W4CJ4pG4867Y4Dq35W353H+rS5bhi 7fyGdtGXd1CMnHatsv6yDfMKhW+nSOUImd78UGXPD7o+qlSlPKvpvARUdJkav9vmLVrB7f+cb oRouJjGmS1DLlu1wQUCFkbbwCOFU1q3xXuoTEsl7iOGCzIgf2bjIZhgSaRNKUyFSee3lXltPx HsC9+IIDZrjcW3DKRHVSfUk8oilLbHZBPlroYUZkNlOFWfLAc+kBjY1zXFtRu5o6vRbdeX0vc 3mGTX2rwdulyxHyjnYeBO4rvQzDLzJXNAGmAYWNtMJcWfDINURPEl5kF7qcAJnGHXxplTo8Wb FKyWnJxZV1D6jca5oB8lpx3eAONBoPIjIEF7cccjlzv4B6HkFTV91ej+ywcqcB2pgoL7qVf1k lzLTErBxtB6SOGn3KF9uLrfKQvEmndQx39CKdCGBdOzt64tfWSkYNAf9g4e1jVrFzs+SkGGUP VdGsaw7WUGn77QRYGRBoxo+oQQZ2CLGrcGmPAvXDYxqZ3tvo/CLbYeeC2qSsrNJKyGm1UjW7w ff1Slv14F0vpe1JQwa3n2ZmulG5yvz4tjgvisD6M5+te7+LZBSUwRmNtgLIXCzFuRMVKpxXLj FkZNCL3BeQLu88u1lZuYkfflYKHEXnfFsyXfAZsBSbYeF4eOByCFUNe78THONPp+PMtS2GGfo 2RbvVKQftkl29EIB/WKJaZRjO50nkPcnkCISU3uMyuroSP9YK5J8l9tvI+zvy6yRig2PH1fe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109605 Archived-At: Am 04.12.2015 um 10:16 (+0100) schrieb Kevin Brubeck Unhammer: > Tried importing an .ics with `icalendar-import-buffer'. The file had the > Windows ^M newlines, no events were imported. Presumably, the function > should strip ^M's first (though note that the file itself is likely to > be chmod -w, e.g. if it was downloaded by Firefox and placed in /tmp). AFAIR icalendar files always contain CR LF sequences. So the problem may be caused by something else than the line endings. Could you please supply a sample file (preferably anonymised)? Best, Ulf