GNU bug report logs - #354
"Added (how many lines, bytes?!) to file.txt"

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Tue, 3 Jun 2008 20:30:07 UTC

Severity: wishlist

Tags: wontfix

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: npostavs <at> users.sourceforge.net
Cc: 354 <at> debbugs.gnu.org, kb1vqh <at> gmail.com, eggert <at> cs.ucla.edu
Subject: bug#354: "Added (how many lines, bytes?!) to file.txt"
Date: Sun, 02 Apr 2017 18:52:31 +0300
> From: npostavs <at> users.sourceforge.net
> Cc: 354 <at> debbugs.gnu.org,  kb1vqh <at> gmail.com,  eggert <at> cs.ucla.edu
> Date: Sat, 01 Apr 2017 23:55:53 -0400
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Yes, but only because of the non-interactive case.  If that is not an
> > issue, you could simply pass the SDATA of the original string, because
> > we simply insert that into an echo-area buffer.
> 
> The `' thing applies in the interactive case right?

Yes.

> diff --git a/lisp/epa-file.el b/lisp/epa-file.el
> index c97acb837a..bc97992b5f 100644
> --- a/lisp/epa-file.el
> +++ b/lisp/epa-file.el
> @@ -290,7 +290,7 @@ epa-file-write-region
>      (if (or (eq visit t)
>  	    (eq visit nil)
>  	    (stringp visit))
> -	(message "Wrote %s" buffer-file-name))))
> +	(message "Wrote %d characters to %s" (- end start) buffer-file-name))))

Shouldn't this and others use `' as well?

Thanks.




This bug report was last modified 8 years and 11 days ago.

Previous Next


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