all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Desperately trying to save as mac-roman
@ 2003-02-25  4:26 AG
  2003-02-25  7:13 ` Kai Großjohann
  2003-02-25 16:41 ` Benjamin Riefenstahl
  0 siblings, 2 replies; 6+ messages in thread
From: AG @ 2003-02-25  4:26 UTC (permalink / raw)


Hi all,

Bonjour à tous,

I just installed Enhanced Carbon Emacs  (version 2.1, emacs 21.3.50.4)
on mac os X 10.2.4, and I have no succes trying to save mac-roman
encoded files.

I tried adding a number of things to my .emacs, such as

(prefer-coding-system 'mac-roman-mac)
(set-buffer-file-coding-system 'mac-roman-mac)
(set default-buffer-file-coding-system 'mac-roman-mac)

with no result. The files do get saved, but are unreadable by other mac
apps. Even re-opening them with emacs I get a bunch of ????'s (only
accentuated characters such as é, à, ô, etc. come out OK...).

For some odd reason I can correctly open mac-roman files, but saving
them does not work.

Any help will be greatly appreciated !

Regards,

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

* Re: Desperately trying to save as mac-roman
  2003-02-25  4:26 Desperately trying to save as mac-roman AG
@ 2003-02-25  7:13 ` Kai Großjohann
  2003-02-25 10:23   ` Hans-Peter Binder
  2003-02-25 15:14   ` AG
  2003-02-25 16:41 ` Benjamin Riefenstahl
  1 sibling, 2 replies; 6+ messages in thread
From: Kai Großjohann @ 2003-02-25  7:13 UTC (permalink / raw)


agau@arrakis.osd.ulaval.ca (AG) writes:

> I just installed Enhanced Carbon Emacs  (version 2.1, emacs 21.3.50.4)
> on mac os X 10.2.4, and I have no succes trying to save mac-roman
> encoded files.

Salve,

does it work to say C-x RET f, then choose the right coding system,
then do C-x C-s?

To read it back in, you might have to do C-x RET c and choose the
right coding system before C-x C-f on the file.
-- 
A preposition is not a good thing to end a sentence with.

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

* Re: Desperately trying to save as mac-roman
  2003-02-25  7:13 ` Kai Großjohann
@ 2003-02-25 10:23   ` Hans-Peter Binder
  2003-02-25 22:05     ` Hans-Peter Binder
  2003-02-25 15:14   ` AG
  1 sibling, 1 reply; 6+ messages in thread
From: Hans-Peter Binder @ 2003-02-25 10:23 UTC (permalink / raw)


* Kai Großjohann <kai.grossjohann@uni-duisburg.de> writes:

> agau@arrakis.osd.ulaval.ca (AG) writes:
> 
>> I just installed Enhanced Carbon Emacs (version 2.1, emacs 21.3.50.4)
>> on mac os X 10.2.4, and I have no succes trying to save mac-roman
>> encoded files.

[(prefer-coding-system 'mac-roman-mac)]

No problem here to save files in mac-roman with the above setting in
.emacs. But BTW, then I have all buffers create charset macintosh, such
like in Gnus messages too. I think, that's not a good idea.
Any suggestions to set 'prefer-coding-system 'mac-roman-mac' as default
and for Gnus something like 8859-15 or utf-8, and the best way is for
only in outgoing messages.


Regards/Gruesse
Hans-Peter Binder
-- 
(coffee-mode 1)

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

* Re: Desperately trying to save as mac-roman
  2003-02-25  7:13 ` Kai Großjohann
  2003-02-25 10:23   ` Hans-Peter Binder
@ 2003-02-25 15:14   ` AG
  1 sibling, 0 replies; 6+ messages in thread
From: AG @ 2003-02-25 15:14 UTC (permalink / raw)


Kai Großjohann <kai.grossjohann@uni-duisburg.de> wrote:

> agau@arrakis.osd.ulaval.ca (AG) writes:
> 
> > I just installed Enhanced Carbon Emacs  (version 2.1, emacs 21.3.50.4)
> > on mac os X 10.2.4, and I have no succes trying to save mac-roman
> > encoded files.
> 
> Salve,
> 
> does it work to say C-x RET f, then choose the right coding system,
> then do C-x C-s?

I just tried it, does not work. Quite puzzling...

> 
> To read it back in, you might have to do C-x RET c and choose the
> right coding system before C-x C-f on the file.

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

* Re: Desperately trying to save as mac-roman
  2003-02-25  4:26 Desperately trying to save as mac-roman AG
  2003-02-25  7:13 ` Kai Großjohann
@ 2003-02-25 16:41 ` Benjamin Riefenstahl
  1 sibling, 0 replies; 6+ messages in thread
From: Benjamin Riefenstahl @ 2003-02-25 16:41 UTC (permalink / raw)


Hi AG,

agau@arrakis.osd.ulaval.ca (AG) writes:
> with no result. The files do get saved, but are unreadable by other
> mac apps. Even re-opening them with emacs I get a bunch of ????'s
> (only accentuated characters such as é, à, ô, etc. come out OK...).

There was a bug like that with the mac-roman coding system that got
fixed some weeks ago.  Are you using current Emacs from CVS or did you
download a binary?  If you downloaded a binary, you may want to
compile your own emacs from CVS instead.

Hope this helps, benny

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

* Re: Desperately trying to save as mac-roman
  2003-02-25 10:23   ` Hans-Peter Binder
@ 2003-02-25 22:05     ` Hans-Peter Binder
  0 siblings, 0 replies; 6+ messages in thread
From: Hans-Peter Binder @ 2003-02-25 22:05 UTC (permalink / raw)


* Hans-Peter Binder <tethys.pb@gmx.net> writes:

> [(prefer-coding-system 'mac-roman-mac)]
>
> No problem here to save files in mac-roman with the above setting in
> .emacs. But BTW, then I have all buffers create charset macintosh,
> such like in Gnus messages too. I think, that's not a good idea.  Any
> suggestions to set 'prefer-coding-system 'mac-roman-mac' as default
> and for Gnus something like 8859-15 or utf-8, and the best way is for
> only in outgoing messages.

OK, i have it found myself

;; Preferred coding systems for encoding outgoing mails.
   (add-to-list 'mm-coding-system-priorities 'mule-utf-8)


Regards/Gruesse
Hans-Peter Binder
-- 
(coffee-mode 1)

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

end of thread, other threads:[~2003-02-25 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-25  4:26 Desperately trying to save as mac-roman AG
2003-02-25  7:13 ` Kai Großjohann
2003-02-25 10:23   ` Hans-Peter Binder
2003-02-25 22:05     ` Hans-Peter Binder
2003-02-25 15:14   ` AG
2003-02-25 16:41 ` Benjamin Riefenstahl

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.