emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wrong coding system of lisp/ChangeLog


From: Vinicius Jose Latorre
Subject: Re: wrong coding system of lisp/ChangeLog
Date: Tue, 11 Mar 2003 22:15:06 -0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210

Richard Stallman wrote:

   At end of ChangeLog there is the following setting:

   ;; Local Variables:
   ;; coding: iso-2022-7bit
   ;; End:

   Shouldn't it be?:

   ;; Local Variables:
   ;; buffer-file-coding-system: iso-2022-7bit
   ;; End:

`coding' is correct--why doesn't it work for you?

   I got an error message when saving ChangeLog.

   The error message is:
      Wrong type argument: number-or-marker-p, nil

That seems like a bug.  Can you please debug it?

I cc'd Handa because maybe he can help.

Well, I have no clue why it's not working for me.

When I visit ChangeLog, Emacs has the following settings:

 C-h v buffer-file-coding-system RET
     buffer-file-coding-system's value is iso-8859-1
Local in buffer ~/work/emacs/lisp/ChangeLog; global value is mule-utf-8
     Automatically becomes buffer-local when set in any fashion.

     Coding system to be used for encoding the buffer contents on saving.

 C-h v coding-system-for-write RET
     coding-system-for-write's value is nil

     Specify the coding system for write operations.

And if I don't set explicitly buffer-file-coding-system to iso-2022-7bit, I got an error.
The backtrace is:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
fill-delete-prefix(101 #<marker (moves after insertion) at 125 in *Warning*> " ")
 fill-region-as-paragraph(101 126)
select-safe-coding-system(1 674433 iso-8859-1 nil "/home/vinicius/work/emacs/lisp/ChangeLog") write-region(1 674433 "/home/vinicius/work/emacs/lisp/ChangeLog" nil t "~/work/emacs/lisp/ChangeLog")
 basic-save-buffer-2()
 basic-save-buffer-1()
 basic-save-buffer()
 save-buffer(1)
 call-interactively(save-buffer)

Does anyone have a suggestion?


Vinicius






reply via email to

[Prev in Thread] Current Thread [Next in Thread]