unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs 23.0.92 - problem writing document with non-standard characters.
@ 2009-04-20  6:53 rabbitko
  2009-04-20 15:01 ` Charles Philip Chan
       [not found] ` <mailman.5731.1240239837.31690.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: rabbitko @ 2009-04-20  6:53 UTC (permalink / raw)
  To: help-gnu-emacs

Hallo Group Members
I copied&pasted some part of document from web page into emacs buffer,
then when tried to save it I get error message:
Saving file /tmp/document.txt...
apply: Wrong type argument: number-or-marker-p, nil

THe problem is probably with character coding. I remember that emacs 22
did that better: it just jumped to character which was suspicious and
suggested choosing another character encoding for this document.

Literally, I wanted to copy part: 

(Zmywarka "eko" lub "bio"


from:
http://gospodarka.gazeta.pl/gospodarka/1,33181,6054598,Czy_moge_pania_zoffsetowac_.html?as=2&ias=3&startsz=x

'"' does the problem here.

Is it a bug?

best regards!
Michal


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 23.0.92 - problem writing document with non-standard characters.
  2009-04-20  6:53 emacs 23.0.92 - problem writing document with non-standard characters rabbitko
@ 2009-04-20 15:01 ` Charles Philip Chan
       [not found] ` <mailman.5731.1240239837.31690.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Charles Philip Chan @ 2009-04-20 15:01 UTC (permalink / raw)
  To: help-gnu-emacs

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

rabbitko@tenbit.pl writes:

> I copied&pasted some part of document from web page into emacs buffer,
> then when tried to save it I get error message:
> Saving file /tmp/document.txt...
> apply: Wrong type argument: number-or-marker-p, nil

I tested it out. I have no problems saving the file. I am using Emacs
23.0.92.1. My coding system is utf-8-unix (alias: mule-utf-8-unix).

Charles

-- 
LILO, you've got me on my knees!
(from David Black, dblack@pilot.njin.net, with apologies to Derek and the
Dominos, and Werner Almsberger)

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 23.0.92 - problem writing document with non-standard characters.
       [not found] ` <mailman.5731.1240239837.31690.help-gnu-emacs@gnu.org>
@ 2009-04-20 15:48   ` Michal
  2009-04-20 21:13     ` Charles Philip Chan
  0 siblings, 1 reply; 4+ messages in thread
From: Michal @ 2009-04-20 15:48 UTC (permalink / raw)
  To: help-gnu-emacs

Charles Philip Chan <cpchan@sympatico.ca> writes:

> I tested it out. I have no problems saving the file. I am using Emacs
> 23.0.92.1. My coding system is utf-8-unix (alias: mule-utf-8-unix).


Indeed it can be saved without warning message when I change my coding
system iso-latin-2-unix to utf-8-unix, but the problem is that emacs 22
when it didn't allow me to write such strange '"' characters in
iso-latin-2-unix buffer it jumped to the strange character and suggested
to change coding system for whole buffer. Then I just could replace such
character with 'legal' one or just change the coding system. Emacs 23
just leaves me with message

apply: Wrong type argument: number-or-marker-p, nil

best regards,
Michal


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 23.0.92 - problem writing document with non-standard characters.
  2009-04-20 15:48   ` Michal
@ 2009-04-20 21:13     ` Charles Philip Chan
  0 siblings, 0 replies; 4+ messages in thread
From: Charles Philip Chan @ 2009-04-20 21:13 UTC (permalink / raw)
  To: help-gnu-emacs

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

Michal <rabbitko@tenbit.pl> writes:

> Indeed it can be saved without warning message when I change my coding
> system iso-latin-2-unix to utf-8-unix, but the problem is that emacs 22
> when it didn't allow me to write such strange '"' characters in
> iso-latin-2-unix buffer it jumped to the strange character and suggested
> to change coding system for whole buffer. Then I just could replace such
> character with 'legal' one or just change the coding system. Emacs 23
> just leaves me with message
>
> apply: Wrong type argument: number-or-marker-p, nil

You should report the bug.

Cheers.

Charles

-- 
"MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development."
(By dmeggins@aix1.uottawa.ca)

[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-20 21:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-20  6:53 emacs 23.0.92 - problem writing document with non-standard characters rabbitko
2009-04-20 15:01 ` Charles Philip Chan
     [not found] ` <mailman.5731.1240239837.31690.help-gnu-emacs@gnu.org>
2009-04-20 15:48   ` Michal
2009-04-20 21:13     ` Charles Philip Chan

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