all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Herbert Euler <herberteuler@hotmail.com>
To: <emacs-devel@gnu.org>
Subject: Error when saving files
Date: Tue, 4 Aug 2009 13:16:03 +0800	[thread overview]
Message-ID: <BAY143-W29BF43ED021243D8E6BCE0DA0C0@phx.gbl> (raw)

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]


I can reproduce an error when saving files here, below is the
backtrace:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  min(nil)
  apply(min nil)
  select-safe-coding-system-interactively(1 144132 (raw-text no-conversion) (chinese-gbk-unix) nil raw-text)
  select-safe-coding-system(1 144132 chinese-gbk-unix nil "/home/xgp/misc")
  write-region(nil nil "/home/xgp/misc" nil t "~/misc")
  basic-save-buffer-2()
  basic-save-buffer-1()
  basic-save-buffer()
  save-buffer(1)
  call-interactively(save-buffer nil nil)

This error does not happen every time.  The second time the file is
saved, no error is signaled and the saving is done successfully.

Any other information needed to locate the problem?

Regards,
Guanpeng Xu
_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx

[-- Attachment #2: Type: text/html, Size: 1210 bytes --]

                 reply	other threads:[~2009-08-04  5:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=BAY143-W29BF43ED021243D8E6BCE0DA0C0@phx.gbl \
    --to=herberteuler@hotmail.com \
    --cc=emacs-devel@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 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.