unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9575: 23.3; M-x describe-coding-system and auto-coding-alist not used
@ 2011-09-22 15:23 Jari Aalto
  2019-08-20  2:39 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Jari Aalto @ 2011-09-22 15:23 UTC (permalink / raw)
  To: 9575


In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.4)
 of 2011-04-10 on brahms, modified by Debian

Calling:

    C-h C RET  (M-x describe-coding-system)

Brings up information about, amongst other things:

    Particular coding systems specified for certain file names:

    OPERATION	TARGET PATTERN		CODING SYSTEM(s)
    ---------	--------------		----------------
    File I/O	"\\.gpg\\'"		(no-conversion . no-conversion)
    ...

PROBLEM

If I understand correct, this listing reflects the values of
file-coding-system-alist.

The shown listing is not correct, because it doesn't consider:

    auto-coding-alist's value is shown below.
    ...
    The settings in this alist take priority over `coding:' tags
    in the file (see the function `set-auto-coding')
    and the contents of `file-coding-system-alist'.

Jari





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

* bug#9575: 23.3; M-x describe-coding-system and auto-coding-alist not used
  2011-09-22 15:23 bug#9575: 23.3; M-x describe-coding-system and auto-coding-alist not used Jari Aalto
@ 2019-08-20  2:39 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-08-20  2:39 UTC (permalink / raw)
  To: Jari Aalto; +Cc: 9575

Jari Aalto <jari.aalto@cante.net> writes:

> PROBLEM
>
> If I understand correct, this listing reflects the values of
> file-coding-system-alist.
>
> The shown listing is not correct, because it doesn't consider:
>
>     auto-coding-alist's value is shown below.
>     ...
>     The settings in this alist take priority over `coding:' tags
>     in the file (see the function `set-auto-coding')
>     and the contents of `file-coding-system-alist'.

I've now made this command output that variable before the data from
`file-coding-system-alist' in Emacs 27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2019-08-20  2:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-22 15:23 bug#9575: 23.3; M-x describe-coding-system and auto-coding-alist not used Jari Aalto
2019-08-20  2:39 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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