From: "Wedler, Christoph" <christoph.wedler@sap.com>
Cc: emacs-devel@gnu.org
Subject: RE: [Bug] Issues with format.el: coding system, byte/char confusi on
Date: Wed, 9 Apr 2003 20:26:32 +0200 [thread overview]
Message-ID: <67B8CED503F3D511BB9F0008C75DAD6605485576@dewdfx17> (raw)
Kenichi Handa wrote:
> In article <67B8CED503F3D511BB9F0008C75DAD6605485571@dewdfx17>, "Wedler, Christoph" <christoph.wedler@sap.com> writes:
>> I also don't think that the order is correct (if
>> after-insert-file-set-buffer-file-coding-system doesn't do much, it
>> might not matter): since the `buffer-file-coding-system' is used to save
>> the RESULT of the format encode functions, it must be determined BEFORE
>> the format-decode functions have been executed.
> I agree.
>>> Is there any real example where this question arises, or is it
>>> purely hypothetical.
>> I'm not sure since I don't know what
>> `after-insert-file-set-buffer-file-coding-system' does exactly (is it
>> more than eol-type handling?).
> [...] So, as far as format-decode or any other functions in the
> hook don't pay attention to buffer-file-coding-system
X-Symbol's decode function sometimes[1] does pay attention to
`buffer-file-coding-system'. (A hypothetical question became real...)
> or enable-multibyte-characters, we can do the task in any order.
> But, conceptually it should be done before running any other Lisp
> code.
It would be excellent if Emacs could be patched such that
`after-insert-file-set-buffer-file-coding-system' is called directly
from within Finsert_file_contents before calling Qformat_decode (instead
of adding this function to `after-insert-file-functions').
- Christoph
[1] with unique decoding and 8bit char use in the file: then \oe would
not be decoded with a latin9 coding system, but it would be decoded with
a latin1 coding system.
next reply other threads:[~2003-04-09 18:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-09 18:26 Wedler, Christoph [this message]
2003-04-10 6:23 ` [Bug] Issues with format.el: coding system, byte/char confusi on Richard Stallman
2003-04-10 12:05 ` Kenichi Handa
2003-04-11 8:51 ` Richard Stallman
2003-04-11 11:04 ` Kenichi Handa
-- strict thread matches above, loose matches on Subject: below --
2003-05-13 17:18 Wedler, Christoph
2003-05-02 14:11 Wedler, Christoph
2003-05-03 15:03 ` Richard Stallman
2003-04-08 18:01 Wedler, Christoph
2003-04-09 5:37 ` Kenichi Handa
2003-04-09 5:39 ` Richard Stallman
2003-04-15 2:06 ` Richard Stallman
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=67B8CED503F3D511BB9F0008C75DAD6605485576@dewdfx17 \
--to=christoph.wedler@sap.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.