GNU bug report logs - #15659
24.1; (wishlist) Simple method for preserving minor-mode

Previous Next

Package: emacs;

Reported by: yary <not.com <at> gmail.com>

Date: Sun, 20 Oct 2013 00:24:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 24.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at control <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: jidanni <at> jidanni.org
Cc: 15650-done <at> debbugs.gnu.org
Subject: Re: bug#15650: "cp: warning: source file ‘f’ specified more than once" said more than once too!
Date: Wed, 30 Oct 2013 10:53:58 +0000
tag 15659 wontfix
stop

On 10/19/2013 11:28 AM, jidanni <at> jidanni.org wrote:
> $ touch f
> $ mkdir w
> $ cp f f f w
> cp: warning: source file ‘f’ specified more than once
> cp: warning: source file ‘f’ specified more than once
> 
> Hey, you yourself say that more than once itself!
> 
> So either say
> cp: warning: source file ‘f’ specified more than once
> just once, or say
> cp: warning: source file ‘f’ specified again
> n-1 times.

So we record this about each arg:

struct F_triple
{
  char *name;
  ino_t st_ino;
  dev_t st_dev;
};

I suppose we could add a 'count' member,
and a corresponding seen_file_count() function.

Though I don't think the complication/clarification
is warranted in this case.

thanks,
Pádraig.




This bug report was last modified 3 years and 227 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.