unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: michael@cadilhac.name (Michaël Cadilhac)
To: Nikolaj Schumacher <n_schumacher@web.de>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: diff-find-file-name and /dev/null
Date: Sat, 18 Aug 2007 01:33:16 +0200	[thread overview]
Message-ID: <878x89ag8z.fsf@lrde.org> (raw)
In-Reply-To: <m2643dydr0.fsf@nschum.de> (Nikolaj Schumacher's message of "Sat,  18 Aug 2007 00:53:23 +0200")


[-- Attachment #1.1: Type: text/plain, Size: 712 bytes --]

Nikolaj Schumacher <n_schumacher@web.de> writes:

> Hello,
>
> using diff files (from git) that create new files like this:
>
> --- /dev/null
> +++ b/foo/bar.c
>
> I noticed that `diff-goto-source' opens /dev/null, which is usually not
> desirable.  I use the attached small change to get the actual file.

Just for my information, why do you think it's not a good thing?

-- 
 |   Michaël `Micha' Cadilhac       |  La culture c'est comme la confiture,  |
 |   http://michael.cadilhac.name   |      c'est meilleur avec du pain.      |
 |   JID/MSN:                       |           -- MOI59                     |
 `----  michael.cadilhac@gmail.com  |                                   -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

  reply	other threads:[~2007-08-17 23:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17 22:53 diff-find-file-name and /dev/null Nikolaj Schumacher
2007-08-17 23:33 ` Michaël Cadilhac [this message]
2007-08-19 21:06   ` Nikolaj Schumacher
2007-08-25  1:54     ` Glenn Morris
2007-08-27  4:51       ` Stefan Monnier
2007-08-27  7:10         ` Glenn Morris

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=878x89ag8z.fsf@lrde.org \
    --to=michael@cadilhac.name \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=n_schumacher@web.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).