emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] Add new keyword :coding for #+include directive


From: Pierre Téchoueyres
Subject: Re: [O] [PATCH] Add new keyword :coding for #+include directive
Date: Sat, 19 May 2018 18:09:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello Nicolas,
it's really strange.
I've checked it another time some minutes ago and, on my machine, this
works.
I've used the following command to do the test :
for emacs 25.3
#+begin_src sh
emacs -Q -L lisp -L ~/.emacs.d/elpa-25/htmlize-20180412.1244 -l 
~/.emacs.d/elpa-25/htmlize-20180412.1244/htmlize-autoloads.el 
testing/examples/test.org
#+end_src

for Emacs 26.1 (934bb475b9)
#+begin_src sh
emacs -Q -L lisp -L ~/.emacs.d/elpa-25/htmlize-20180412.1244 -l 
~/.emacs.d/elpa-25/htmlize-20180412.1244/htmlize-autoloads.el 
testing/examples/test.org
#+end_src

And I still obtain the expected results : see the text attached file
(encoded in utf-8-unix).

Attachment: test.txt
Description: test.txt

So I don't really understand what's appening.

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> address@hidden (Pierre Téchoueyres) writes:
>
>> I reattach the examples, but note that  the cmd.txt or sh.txt extensions
>> are only there to avoid my mail to be wiped out.
>
> I must be missing something. When I install both patches, and I export
> your example to, e.g., UTF-8, I get the following document, where coding
> systems are not resolved.
>
> 1 Pierre Téchoueyres
> ════════════════════
>
>   bad
>   ┌────
>   │ @echo off
>
>   │ echo Hello Pierre T├Üchoueyres ├▒
>
>   │ rem Local Variables:
>   │ rem coding: cp850-dos
>   │ rem mode: bat
>   │ rem End:
>   └────
>   or
>   ┌────
>   │ #!/bin/sh # -*- coding: iso-8859-15-unix -*-
>
>   │ echo "Hello Pierre Téchoueyres"
>
>   │ # Local Variables:
>   │ # coding: iso-8859-15-unix
>   │ # End:
>   └────
>
>   and good ?
>   ┌────
>   │ @echo off
>
>   │ echo Hello Pierre TÚchoueyres ñ
>
>   │ rem Local Variables:
>   │ rem coding: cp850-dos
>   │ rem mode: bat
>   │ rem End:
>   └────
>   or
>   ┌────
>   │ #!/bin/sh # -*- coding: iso-8859-15-unix -*-
>
>   │ echo "Hello Pierre Téchoueyres"
>
>   │ # Local Variables:
>   │ # coding: iso-8859-15-unix
>   │ # End:
>   └────
>
> Regards,

-- 
| Pierre Téchoueyres -  Appt. 150 Bat. B
| Tel : 05 56 42 53 22  Res. Le FLORE              ___
|       09 51 40 74 43  32 rue Marcelin Berthelot  ,,,
| Port: 06 77 11 64 05  33200 CAUDERAN            (o o)
| mailto:address@hidden         ---ooO-(_)-Ooo---

reply via email to

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