unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ryo Furue <furue@hawaii.edu>
To: cyd@stupidchicken.com
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 09:11:36 -1000 (HST)	[thread overview]
Message-ID: <20100525.091136.153182870.furue@hawaii.edu> (raw)
In-Reply-To: <87632c0xz2.fsf@stupidchicken.com>

Hi,

I'm writing this without understanding what is wrong, so I apologize
if this is off the point.

| > ;>>>> 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.

Right after I got the error, I did "M-x describe-variable unsafe"
and obtained:

  unsafe's value is 
  ((japanese-iso-8bit-unix))


  Documentation:
  Not documented as a variable.

Is this of some interest?

Regards,
Ryo





  reply	other threads:[~2010-05-25 19:11 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
2010-05-25 19:11         ` Ryo Furue [this message]
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

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