unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rms@gnu.org
Cc: jarekczek@poczta.onet.pl, emacs-devel@gnu.org
Subject: Re: Info: Console Vs GUI difference?
Date: Fri, 01 Nov 2013 09:37:53 +0200	[thread overview]
Message-ID: <83eh70d12m.fsf@gnu.org> (raw)
In-Reply-To: <E1Vbylx-00050L-5A@fencepost.gnu.org>

> Date: Thu, 31 Oct 2013 16:23:17 -0400
> From: Richard Stallman <rms@gnu.org>
> Cc: emacs-devel@gnu.org
> 
>     But why do you call it a problem or an error? Since the signals are 
>     caught, everything is alright. That's what I think and said so in bug 
>     report 15670 [1]. And that's the reason why the bug was closed as "not a 
>     bug".
> 
> It may not cause incorrect functioning, but it sounds like a cause
> of slowdown.  Unless there is a reason why redisplay is supposed
> to raise a signal, this is making Emacs slower than it needs to be,
> and investigating the cause might be useful.

The cause is clear.  Redisplay does not raise a signal, it just
evaluates conditions of a menu bar item, to be able to display the
"Next" item as disabled when there's no "next" node.  The Lisp code
that is invoked by redisplay to do that throws an error that is
supposed to be caught by that Lisp code.  However, Emacsspeak advises
the Lisp function Info-extract-pointer, which is involved in this
evaluation, with the result that the thrown error becomes visible.
See the Lisp backtrace here:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15670#5

and the Lisp code involved here:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15670#14

So the bottom line here is that the reason for the problem was a
bad/suboptimal advice used by Emacsspeak to advise the Info functions
in question.



  reply	other threads:[~2013-11-01  7:37 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30  9:27 Info: Console Vs GUI difference? T.V. Raman
2013-10-30 12:35 ` Stefan Monnier
2013-10-30 21:46   ` T.V. Raman
2013-10-30 23:11     ` Stefan Monnier
2013-10-31 16:21       ` T.V. Raman
2013-10-31 18:02         ` Stefan Monnier
2013-10-31 22:14           ` T.V. Raman
2013-11-01  1:32             ` Stefan Monnier
2013-11-01  2:10               ` T.V. Raman
2013-11-01 12:23                 ` Stefan Monnier
2013-11-01 16:55                   ` T.V. Raman
2013-11-01 18:34                     ` Eli Zaretskii
2013-11-01 20:24                       ` T.V. Raman
2013-11-01 20:36                         ` Eli Zaretskii
2013-11-02  0:17                           ` T.V. Raman
2013-11-02  2:04                             ` Stefan Monnier
2013-11-03 15:51                               ` T.V. Raman
2013-11-03 19:02                                 ` Jarek Czekalski
2013-11-03 19:05                                   ` T.V. Raman
2013-11-03 21:19                                     ` Stefan Monnier
2013-11-04  3:10                                     ` Dmitri Paduchikh
2013-11-04 16:38                                       ` T.V. Raman
2013-11-02  7:04                             ` Eli Zaretskii
2013-11-02  1:39                           ` T.V. Raman
2013-11-02  8:06                             ` Jarek Czekalski
2013-11-02 15:35           ` T.V. Raman
2013-11-02 15:56             ` Jarek Czekalski
2013-11-02 16:35             ` Dmitri Paduchikh
2013-11-02 20:46               ` T.V. Raman
2013-10-30 13:46 ` Jarek Czekalski
2013-10-30 21:45   ` T.V. Raman
2013-10-31 20:23   ` Richard Stallman
2013-11-01  7:37     ` Eli Zaretskii [this message]
2013-11-01 17:21       ` T.V. Raman

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=83eh70d12m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jarekczek@poczta.onet.pl \
    --cc=rms@gnu.org \
    /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).