help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Emacs for VHDL editing


From: weber
Subject: Re: Emacs for VHDL editing
Date: 27 Apr 2007 09:20:50 -0700
User-agent: G2/1.0

On 25 abr, 12:07, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 25.04.2007 um 13:27 schrieb mans:
>
> > What is this ^M and how I can beatify VHDL codes when there is ^M
> > at the end
> > of lines?
>
> Specify the file's encoding precisely by adding a -dos or such. For
> example, list-coding-systems might list:
>
>         iso-8859-15-mac
>         iso-8859-15-dos
>         iso-8859-15-unix
>         iso-8859-15
>
> M-x describe-coding-system RET can describe your recent situation.
> Based on this you can optimise your situation. With
>
>         (prefer-coding-system '<some name>)
>
> you can set one or more general preferences in ~/.emacs, in auto-mode-
> alist you can set another preference particular for the file type
> specified.
>
> --
> Greetings
>
>    Pete
>
> "Isn't vi that text editor with two modes... one that beeps and one
> that corrupts your file?" -- Dan Jacobson, on comp.os.linux.advocacy

I get that sometimes to, it's probably unix vs dos line endings..
Usually I just do a replace-regexp on "^M"s for nothing.
Tip: To enter that ^M you have to type C-q C-m
Please try it and see if it helps you.
-weber



reply via email to

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