Subject: bug#6187: 23.1; can't save: "Wrong type argument: number-of-marker-p, nil"

From: Ryo Furue <[email-masked]>
Date: Thu, 13 May 2010 19:30:31 -1000 (HST)

Copy this character "˜", open a new file (C-x C-f),
paste the character, and try to save (C-x C-s).
You can't save. "Wrong type argument: number-of-marker-p, nil"

I got this character by copying-and-pasting from
a PDF document.

Hope this helps,
Ryo

In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2)
 of 2009-11-01 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10706901
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: @im=none
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-v C-v C-v C-v C-v <escape> w C-p C-p C-p C-x C-b 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
<return> C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-SPC C-n 
C-g C-SPC C-n C-w C-x C-b <return> C-y C-x C-s C-g 
C-p C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d C-d 
C-d C-d C-d C-d C-d C-f C-f C-d C-x C-s C-g C-a C-d 
C-d C-f C-d C-d C-x C-s C-b C-a C-SPC C-f C-w C-x C-f 
t m p 3 . t x t <return> C-SPC C-v C-v C-v C-v <escape> 
w C-x C-b C-n <return> C-x C-b C-p C-n <return> C-a 
C-SPC C-e C-w C-x C-b <return> C-y C-x C-s C-g C-a 
<help-echo> <down-mouse-1> <mouse-1> C-x C-c n n n 
<escape> x r e p o TAB r t - e m a TAB b TAB <return> 
C-g <switch-frame> C-g C-x C-s <down-mouse-1> <mouse-1> 
C-h C-h C-x C-s <switch-frame> W r o n g <switch-frame> 
C-x C-s <switch-frame> SPC t y p e SPC a r g u m e 
n t : SPC <switch-frame> C-x C-s <switch-frame> n u 
m b e r - o f - m a r k e r - p , SPC n i l <switch-frame> 
C-x C-s <switch-frame> C-a C-SPC C-e C-w <escape> x 
r e p o r t - e m TAB b u TAB <return> C-y C-a C-SPC 
C-e C-w <escape> x r e p o r t - e m a c s - b u g 
<return>

Recent messages:
apply: Wrong type argument: number-or-marker-p, nil
Saving file /home/amakihi/furue/tmp/tmp3.txt...
apply: Wrong type argument: number-or-marker-p, nil
Saving file /home/amakihi/furue/tmp/tmp3.txt...
apply: Wrong type argument: number-or-marker-p, nil
Saving file /home/amakihi/furue/tmp/tmp3.txt...
apply: Wrong type argument: number-or-marker-p, nil
Mark set
Quit [2 times]
Mark activated