GNU bug report logs -
#28114
25.2; plstore decrypt erroneous on Windows due to carriage return characters
Previous Next
Full log
View this message in rfc822 format
Yes, seems to work. Here is what I tried:
(defun plstore-open (file)
"Create a plstore instance associated with FILE."
(let* ((filename (file-truename file))
(buffer (or (find-buffer-visiting filename)
(generate-new-buffer (format " plstore %s"
filename))))
(store (plstore--make buffer)))
(with-current-buffer buffer
(erase-buffer)
(condition-case nil
(let ((coding-system-for-read 'raw-text))
(insert-file-contents file))
(error))
(setq buffer-file-name (file-truename file))
(set-buffer-modified-p nil)
(plstore--init-from-buffer store)
store))))
R
------ Original Message ------
From: "Eli Zaretskii" <eliz <at> gnu.org>
To: "Daiki Ueno" <ueno <at> gnu.org>
Cc: rgemulla <at> uni-mannheim.de; 28114 <at> debbugs.gnu.org
Sent: 29.8.2017 17:45:01
Subject: Re: bug#28114: 25.2; plstore decrypt erroneous on Windows due
to carriage return characters
>>From: Daiki Ueno <ueno <at> gnu.org>
>>Cc: Rainer Gemulla <rgemulla <at> uni-mannheim.de>, 28114 <at> debbugs.gnu.org
>>Date: Mon, 28 Aug 2017 14:30:01 +0200
>>
>>Sorry for the late response. I barely remember the detail, but I
>>suppose it is a leftover when I made plstore editable. It sounds good
>>to just use insert-file-contents here.
>
>Rainer, could you try that and see if using insert-file-contents
>solves your problem?
>
>Thanks.
This bug report was last modified 7 years and 268 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.