[MacPorts] #38040: emacs-mac-app and coding system
MacPorts
noreply at macports.org
Tue Feb 12 06:26:36 PST 2013
#38040: emacs-mac-app and coding system
-------------------------------+--------------------------------
Reporter: angelo.graziosi@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: utf-8, iso-latin1 | Port: emacs-mac-app
-------------------------------+--------------------------------
I have installed emacs-mac-app @3.92 with
{{{
sudo port -s install emacs-mac-app
}}}
but perhaps there is a problem with the coding system...
1) In the attached archive there is a file, la_bibliografia.tex.orig,
which is shown coded in utf8 with: Aquamacs, emacs-app (Macports) on MAC
OS X. The same occurs on GNU/Linux (Ubuntu, Kubuntu, Fedora) and GTK
Emacs, and on Cygwin with GTK Emacs.
2) Instead with emacs-mac-app (Macports) it is shown coded iso-latin1 ("1"
in the mode line).
What is expected and right for me is the case 1): utf-8, "U" in the mode
line.
That file contains the (opened) accented character "a" (line 127, column
14) and I can see this character with "less", "cat" and the Emacs
distributions as described in 1).
Anyway, emacs-mac-app shows it as iso-latin1 and as a capital "A" followed
by an underscore (_), with a tilde (~) over. If I convert it in utf8 by
means of C-x RET f utf-8 RET, I got the other file, la_bibliografia.tex
.emacs-mac-app, in the attached archive, and emacs-mac-app shows it coded
utf8 ("U" in the mode line) but it displays the file with the same result
for what regards the accented character (a capital A with...) :-(
emacs-mac-app shows this strange behavior ONLY when I start it with the
link I find in Launchpad. Instead if I use
{{{
$ /Applications/MacPorts/EmacsMac.app/Contents/MacOS/Emacs &
}}}
I got the same results described in 1), i.e. the right utf-8 coding and
the right displayed accented character...
Removing .emacs.d or starting from command line adding "-Q" does not
change the above conclusions.
Ciao,
Angelo.
--
Ticket URL: <https://trac.macports.org/ticket/38040>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list