all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bernardo <bernardo.bacic@pobox.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Line ending style on VC commit messages.
Date: Sat, 17 Oct 2009 19:37:32 +1100	[thread overview]
Message-ID: <4AD9824C.1060604@pobox.com> (raw)
In-Reply-To: <87bpk7m0p1.fsf@telefonica.net>

Óscar Fuentes said the following on 10/17/09 09:30:
> Is it possible to set the line ending style on VC-log commit edit
> buffer?
> 
> C-x RET f unix
> 
> does not work. The commit message that is sent to the backend still
> contains /r/n line endings.
> 

just guessing here - it's possible that Unix line ending convention does 
not kick in until you *save* the buffer (which you probably don't, 
suppose you are just adding a comment to your checkin)

maybe performing a search and replace "\r" => "" on the buffer would 
help; not sure if adding such a translation to vc-before-checkin-hook 
would be of any use here but it's worth a try





      parent reply	other threads:[~2009-10-17  8:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-16 22:30 Line ending style on VC commit messages Óscar Fuentes
2009-10-16 22:51 ` Peter Dyballa
2009-10-17  1:31   ` Óscar Fuentes
2009-10-17  8:37 ` Bernardo [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

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

  git send-email \
    --in-reply-to=4AD9824C.1060604@pobox.com \
    --to=bernardo.bacic@pobox.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.
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.