From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T.V. Raman" Newsgroups: gmane.emacs.devel Subject: Info: Console Vs GUI difference? Date: Fri, 1 Nov 2013 17:17:41 -0700 Message-ID: References: <83eh70as37.fsf@gnu.org> <837gcrc10q.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1383351462 32071 80.91.229.3 (2 Nov 2013 00:17:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Nov 2013 00:17:42 +0000 (UTC) To: Eli Zaretskii , monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 02 01:17:47 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VcOuR-0001Ox-J3 for ged-emacs-devel@m.gmane.org; Sat, 02 Nov 2013 01:17:47 +0100 Original-Received: from localhost ([::1]:40256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcOuR-0006tX-3E for ged-emacs-devel@m.gmane.org; Fri, 01 Nov 2013 20:17:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcOuO-0006tS-Is for emacs-devel@gnu.org; Fri, 01 Nov 2013 20:17:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VcOuN-0000GE-N0 for emacs-devel@gnu.org; Fri, 01 Nov 2013 20:17:44 -0400 Original-Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]:58146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VcOuL-0000Fv-NF; Fri, 01 Nov 2013 20:17:41 -0400 Original-Received: by mail-ob0-f174.google.com with SMTP id vb8so5170196obc.5 for ; Fri, 01 Nov 2013 17:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Xu602fRjzJwANF9/5Mb+OvSGE+9ioGWZlrHw5QqUzIA=; b=FTlBI6+p11//sAB6LlCvQpc1+/GgXPhQhxFXY/PWM/odcsfPllU/zbC/AxLrU02qS5 0PevEgulaVmHxcJrw5qeZO+3I/n2YRgG5Oz0b4XFVQ7NyGnhWEjujN6dFNNM2ol7X0CD qk3zW68NQUeKrMBiDMcpJz2Y77huWFNt4f6PPLQqvSupfk+z9Z3RwR4gjfU5e5/gaX/j DNIeGHgLHIlgoChy8tD/JPgB4LNBRGSJn83eJgMKj+D4N23Gy0bBeKosfCdLhGIbxJCW vdUvOsQtmafWxuIGZJC/bSVmBQKMJWiv6hoaywgrfaXYkPRGdizMuZumFPblllYvEuZ0 50ZQ== X-Received: by 10.182.44.167 with SMTP id f7mr4524332obm.3.1383351461112; Fri, 01 Nov 2013 17:17:41 -0700 (PDT) Original-Received: by 10.182.33.229 with HTTP; Fri, 1 Nov 2013 17:17:41 -0700 (PDT) In-Reply-To: <837gcrc10q.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164840 Archived-At: I understand better now. But I cannot but advice it because there are many parts of emacs -- and emacs packages -- that already use signal to display useful information to the user. Yes, that is clearly incorrect, but that is what packages are doing, so I have no option but to speak them. I'd be happy to hear about an alternative -- note that I suspect command-error-function might run into the same issue -- perhaps differently. -- -- On 11/1/13, Eli Zaretskii wrote: >> Date: Fri, 1 Nov 2013 13:24:47 -0700 >> From: "T.V. Raman" >> >> With all due respect, I believe you're wrong here -- that's not >> the problem. And it works correctly at the console. When >> running under X, the signal once raised, gets raised repeatedly >> after every user command, and the backtrace shows that it's >> coming from redisplay. > > It comes from redisplay because redisplay recomputes the menu and > tool-bar items. As the tool bar is not displayed in a TTY session, > you don't get signals then. > > The root cause is still that 'signal' is being advised in a way that > exposes it to the user. >