unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: weber <hugows@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs for VHDL editing
Date: 27 Apr 2007 09:20:50 -0700	[thread overview]
Message-ID: <1177690850.079984.281530@r30g2000prh.googlegroups.com> (raw)
In-Reply-To: <mailman.2517.1177514001.7795.help-gnu-emacs@gnu.org>

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

      parent reply	other threads:[~2007-04-27 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-25 13:27 Emacs for VHDL editing mans
2007-04-25 15:07 ` Peter Dyballa
     [not found] ` <mailman.2517.1177514001.7795.help-gnu-emacs@gnu.org>
2007-04-27 16:20   ` weber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1177690850.079984.281530@r30g2000prh.googlegroups.com \
    --to=hugows@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).