all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Ryo Furue <furue@hawaii.edu>
Cc: 6187@debbugs.gnu.org
Subject: bug#6187: 23.1; can't save: "Wrong type argument: number-of-marker-p, nil"
Date: Tue, 25 May 2010 12:04:17 -0400	[thread overview]
Message-ID: <87632c0xz2.fsf@stupidchicken.com> (raw)
In-Reply-To: <20100524.201126.214142570.furue@hawaii.edu> (Ryo Furue's message of "Mon, 24 May 2010 20:11:26 -1000 (HST)")

Ryo Furue <furue@hawaii.edu> writes:

> Now, I've just reproduced it!
>
> ;>>>> BEGIN BACK TRACE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>   min(nil)
>   apply(min nil)
>   select-safe-coding-system-interactively(1 1362 (utf-8
>     adobe-standard-encoding next mac-roman gb18030 utf-7 utf-16
>     utf-16be-with-signature utf-16le-with-signature utf-16be utf-16le
>     x-ctext iso-2022-7bit utf-8-auto utf-8-with-signature emacs-mule
>     raw-text iso-2022-8bit-ss2 utf-7-imap utf-8-emacs no-conversion
>     compound-text-with-extensions ctext-no-compositions
>     iso-2022-7bit-lock iso-2022-7bit-ss2) (japanese-iso-8bit-unix) nil
>     utf-8)

This is pretty strange.  The code in question is

  (when (and unsafe (not (stringp from)))
    (pop-to-buffer bufname)
    (goto-char (apply 'min (mapcar #'(lambda (x) (car (cadr x)))
                                   unsafe))))

If `unsafe' is an empty list, it should not have passed the `and'
conditional.





  reply	other threads:[~2010-05-25 16:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14  5:30 bug#6187: 23.1; can't save: "Wrong type argument: number-of-marker-p, nil" Ryo Furue
2010-05-21  4:18 ` Glenn Morris
2010-05-25  3:08   ` Ryo Furue
2010-05-25  6:11     ` Ryo Furue
2010-05-25 16:04       ` Chong Yidong [this message]
2010-05-25 19:11         ` Ryo Furue
2010-06-17  7:52           ` Glenn Morris
     [not found]             ` <20100616.224611.65962251.furue@hawaii.edu>
2010-06-18 18:58               ` Glenn Morris
2010-06-18 23:07                 ` Ryo Furue
2010-06-25 21:28                   ` Stefan Monnier
2010-06-25 21:47                     ` Ryo Furue
2010-06-26  3:01                       ` Ryo Furue
2011-08-12 13:54 ` bug#6187: Wrong type argument: number-of-marker-p, nil Christophe TROESTLER
2011-08-12 22:34   ` Christophe TROESTLER
2011-08-12 22:42   ` Christophe TROESTLER
2011-08-12 22:58     ` Christophe TROESTLER
2011-08-13  0:14       ` Johan Bockgård

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=87632c0xz2.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=6187@debbugs.gnu.org \
    --cc=furue@hawaii.edu \
    /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.