GNU bug report logs - #13159
24.3.50; `find-file-noselect' should not display or log messages

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 12 Dec 2012 18:48:01 UTC

Severity: wishlist

Tags: wontfix

Merged with 8180, 10726

Found in versions 24.0.50, 24.0.93, 24.3.50

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

Bug is archived. No further changes may be made.

Full log


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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Eli Zaretskii'" <eliz <at> gnu.org>
Cc: 13159 <at> debbugs.gnu.org
Subject: RE: bug#13159: 24.3.50;
	`find-file-noselect' should not display or log messages
Date: Thu, 13 Dec 2012 09:46:18 -0800
> If you invoke this function non-interactively, pass it a non-nil value
> as the 2nd argument.  That should shut up any messages from this
> function or the subroutines it calls....
> Does this solve your problem?

Good point, Eli.  And I do use that arg in many places.

I guess the problem here is that I do want actual warnings to be printed (to
*Messages*), but:

1. "Note: File is write-protected" is NOT a warning - it's just some extra
information - note the "Note:".

2. Such information about a particular file is anyway useless in a messages log
if it does not include the file name.

IOW, in this case, I would want warnings to be logged, and I would want them to
indicate the files that had problems.  I don't need to log extra informational
notices, and I don't need to log even warnings that do not help users because
they don't mention the problematic file.

So thanks for pointing that out, but I think the proper fix here is to:

a. not have parameter NOWARN treat non-warning messages the same as warnings
and,

b. especially, add the file name to all file-specific messages, including
warnings.

Does that make sense?





This bug report was last modified 9 years and 23 days ago.

Previous Next


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