unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: 38155-done@debbugs.gnu.org
Subject: bug#38155: 27.0.50; crash in write-region
Date: Sat, 09 Nov 2019 21:44:15 +0200	[thread overview]
Message-ID: <83imns96nk.fsf@gnu.org> (raw)
In-Reply-To: <E1iTV3N-0007tf-CH@fencepost.gnu.org> (message from Richard Stallman on Sat, 09 Nov 2019 13:01:41 -0500)

> From: Richard Stallman <rms@gnu.org>
> Date: Sat, 09 Nov 2019 13:01:41 -0500
> 
> 
> I had a zip file in a buffer, after M-x base64-decode-region,
> and tried to write it into a file.  I got this error.
> 
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   min(nil)
>   apply(min nil)
>   select-safe-coding-system-interactively(1 34936 (raw-text no-conversion) (no-conversion-multibyte) nil raw-text)
>   select-safe-coding-system(1 34936 utf-8-unix nil "/home/rms/foo.zip")
>   write-region(1 34936 "~/foo.zip" nil nil nil 1)

Thanks, fixed.





      reply	other threads:[~2019-11-09 19:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-09 18:01 bug#38155: 27.0.50; crash in write-region Richard Stallman
2019-11-09 19:44 ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83imns96nk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=38155-done@debbugs.gnu.org \
    --cc=rms@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).