From: Michael Heerdegen <michael_heerdegen@web.de>
To: 23183@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#23183: 25.1.50; Error in url-cookie-delete-cookies
Date: Sat, 02 Apr 2016 01:04:53 +0200 [thread overview]
Message-ID: <87oa9tszfu.fsf@web.de> (raw)
Hello,
Lars had introduced the new function `url-cookie-delete-cookies'.
I had hoped that this would (always) work - since it is so suggesting to
do:
--8<---------------cut here---------------start------------->8---
(require 'url)
(add-hook 'kill-emacs-hook #'url-cookie-delete-cookies)
--8<---------------cut here---------------end--------------->8---
But that gives an error - apparently - when you haven't yet used the
cookie mechanism. Backtrace from emacs -Q after evaluating that and
hitting C-x C-c:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
expand-file-name(nil)
url-cookie-write-file()
url-cookie-delete-cookies()
kill-emacs()
save-buffers-kill-emacs(nil)
save-buffers-kill-terminal(nil)
funcall-interactively(save-buffers-kill-terminal nil)
call-interactively(save-buffers-kill-terminal nil nil)
command-execute(save-buffers-kill-terminal)
where `nil' is "the nil" that `cookie-file' is bound to.
I think it would be good if the function would not fail in this case.
Thanks,
Michael.
In GNU Emacs 25.1.50.3 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
of 2016-03-31 built on drachen
Repository revision: 09462b95484ebf75899c64e8ddb7ffce50ef6ca0
Windowing system distributor 'The X.Org Foundation', version 11.0.11802000
System Description: Debian GNU/Linux testing (stretch)
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LC_ALL: de_DE.utf8
value of $LC_COLLATE: C
value of $LC_TIME: C
value of $LANG: de_DE.utf8
locale-coding-system: utf-8-unix
next reply other threads:[~2016-04-01 23:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-01 23:04 Michael Heerdegen [this message]
2018-04-15 19:51 ` bug#23183: 25.1.50; Error in url-cookie-delete-cookies Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oa9tszfu.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=23183@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.