unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21830: Useless messages from comint-previous-matching-input
@ 2015-11-04 17:50 Jay Adams
  2015-11-04 18:04 ` John Wiegley
  2015-11-05  2:11 ` Wolfgang Jenkner
  0 siblings, 2 replies; 10+ messages in thread
From: Jay Adams @ 2015-11-04 17:50 UTC (permalink / raw)
  To: 21830

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

Can we please delete this line:

      (message "History item: %d" (1+ pos))

form comint-previous-matching-input in comint.el?  It provides no value and
makes searching the history very slow, at least on a Mac, when a large part
of the history has to be searched.

Basically, with these messages in place, one of two things happens:

1. They go by so fast as to be unnoticeable (this happens on my Ubuntu
desktop).
2. They go by slowly and make the search excruciatingly slow (this happens
on my Mac).

[-- Attachment #2: Type: text/html, Size: 694 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-04 17:50 bug#21830: Useless messages from comint-previous-matching-input Jay Adams
@ 2015-11-04 18:04 ` John Wiegley
  2015-11-04 18:13   ` Eli Zaretskii
  2015-11-05  2:11 ` Wolfgang Jenkner
  1 sibling, 1 reply; 10+ messages in thread
From: John Wiegley @ 2015-11-04 18:04 UTC (permalink / raw)
  To: Jay Adams; +Cc: 21830

>>>>> Jay Adams <jka@google.com> writes:

> Can we please delete this line:
> (message "History item: %d" (1+ pos))

Since there's no way to make use of that information, I wouldn't mind seeing
it removed.

Would you be willing to submit a patch?

John





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-04 18:04 ` John Wiegley
@ 2015-11-04 18:13   ` Eli Zaretskii
  2015-11-04 18:24     ` John Wiegley
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-11-04 18:13 UTC (permalink / raw)
  To: John Wiegley; +Cc: jka, 21830

> From: "John Wiegley" <jwiegley@gmail.com>
> Date: Wed, 04 Nov 2015 13:04:06 -0500
> Cc: 21830@debbugs.gnu.org
> 
> >>>>> Jay Adams <jka@google.com> writes:
> 
> > Can we please delete this line:
> > (message "History item: %d" (1+ pos))
> 
> Since there's no way to make use of that information, I wouldn't mind seeing
> it removed.

It was there since 1993.





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-04 18:13   ` Eli Zaretskii
@ 2015-11-04 18:24     ` John Wiegley
  2015-11-04 20:42       ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: John Wiegley @ 2015-11-04 18:24 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: jka, 21830

>>>>> Eli Zaretskii <eliz@gnu.org> writes:

>> Since there's no way to make use of that information, I wouldn't mind seeing
>> it removed.

> It was there since 1993.

Well, hard to argue against that too. I can't say I feel any real passion for
this issue, as there may be some who like the feedback they see upon pressing
the key.

I guess what I'd like to know more, then, is why it's so slow on the
reporter's Mac machine?

John





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-04 18:24     ` John Wiegley
@ 2015-11-04 20:42       ` Eli Zaretskii
  2015-11-04 21:26         ` John Wiegley
  0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2015-11-04 20:42 UTC (permalink / raw)
  To: John Wiegley; +Cc: jka, 21830

> From: "John Wiegley" <jwiegley@gmail.com>
> Cc: jka@google.com,  21830@debbugs.gnu.org
> Date: Wed, 04 Nov 2015 13:24:57 -0500
> 
> >>>>> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Since there's no way to make use of that information, I wouldn't mind seeing
> >> it removed.
> 
> > It was there since 1993.
> 
> Well, hard to argue against that too. I can't say I feel any real passion for
> this issue, as there may be some who like the feedback they see upon pressing
> the key.

How about a defcustom to turn that off?





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-04 20:42       ` Eli Zaretskii
@ 2015-11-04 21:26         ` John Wiegley
  0 siblings, 0 replies; 10+ messages in thread
From: John Wiegley @ 2015-11-04 21:26 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: jka, 21830

>>>>> Eli Zaretskii <eliz@gnu.org> writes:

>> > It was there since 1993.
>> 
>> Well, hard to argue against that too. I can't say I feel any real passion for
>> this issue, as there may be some who like the feedback they see upon pressing
>> the key.

> How about a defcustom to turn that off?

Well, that was silly of me. Of course a defcustom is the right answer to this
query.

John





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-04 17:50 bug#21830: Useless messages from comint-previous-matching-input Jay Adams
  2015-11-04 18:04 ` John Wiegley
@ 2015-11-05  2:11 ` Wolfgang Jenkner
  2015-11-05  3:49   ` Jay Adams
  1 sibling, 1 reply; 10+ messages in thread
From: Wolfgang Jenkner @ 2015-11-05  2:11 UTC (permalink / raw)
  To: Jay Adams; +Cc: 21830

On Wed, Nov 04 2015, Jay Adams wrote:

> 1. They go by so fast as to be unnoticeable (this happens on my Ubuntu
> desktop).
> 2. They go by slowly and make the search excruciatingly slow (this happens
> on my Mac).

I guess the message is meant to remain visible until you use the
minibuffer (again) or some other message pops up from somewhere.

At least, this is what happens for me when I call
comint-previous-matching-input-from-input or
comint-previous-matching-input repeatedly (via some key binding).

Can you reproduce your problem with emacs -Q?





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-05  2:11 ` Wolfgang Jenkner
@ 2015-11-05  3:49   ` Jay Adams
  2015-11-05  5:14     ` John Wiegley
  0 siblings, 1 reply; 10+ messages in thread
From: Jay Adams @ 2015-11-05  3:49 UTC (permalink / raw)
  To: Wolfgang Jenkner; +Cc: 21830

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

Thanks to all who replied.

It looks like this is fixed in 24.5 (I was running 24.3).  That message
call now appears inside of (let ((message-log-max nil)) ...).

I verified that this fixes the problem on the Mac.


On Wed, Nov 4, 2015 at 6:11 PM, Wolfgang Jenkner <wjenkner@inode.at> wrote:

> On Wed, Nov 04 2015, Jay Adams wrote:
>
> > 1. They go by so fast as to be unnoticeable (this happens on my Ubuntu
> > desktop).
> > 2. They go by slowly and make the search excruciatingly slow (this
> happens
> > on my Mac).
>
> I guess the message is meant to remain visible until you use the
> minibuffer (again) or some other message pops up from somewhere.
>
> At least, this is what happens for me when I call
> comint-previous-matching-input-from-input or
> comint-previous-matching-input repeatedly (via some key binding).
>
> Can you reproduce your problem with emacs -Q?
>

[-- Attachment #2: Type: text/html, Size: 1290 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-05  3:49   ` Jay Adams
@ 2015-11-05  5:14     ` John Wiegley
  2015-11-05  5:35       ` Jay Adams
  0 siblings, 1 reply; 10+ messages in thread
From: John Wiegley @ 2015-11-05  5:14 UTC (permalink / raw)
  To: Jay Adams; +Cc: Wolfgang Jenkner, 21830

>>>>> Jay Adams <jka@google.com> writes:

> It looks like this is fixed in 24.5 (I was running 24.3). That message call
> now appears inside of (let ((message-log-max nil)) ...).

> I verified that this fixes the problem on the Mac.

Does this mean you don't need a customization variable to disable the message
anymore?

John





^ permalink raw reply	[flat|nested] 10+ messages in thread

* bug#21830: Useless messages from comint-previous-matching-input
  2015-11-05  5:14     ` John Wiegley
@ 2015-11-05  5:35       ` Jay Adams
  0 siblings, 0 replies; 10+ messages in thread
From: Jay Adams @ 2015-11-05  5:35 UTC (permalink / raw)
  To: John Wiegley; +Cc: Wolfgang Jenkner, 21830

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

Yes. No customization variable.
On Nov 4, 2015 9:15 PM, "John Wiegley" <jwiegley@gmail.com> wrote:

> >>>>> Jay Adams <jka@google.com> writes:
>
> > It looks like this is fixed in 24.5 (I was running 24.3). That message
> call
> > now appears inside of (let ((message-log-max nil)) ...).
>
> > I verified that this fixes the problem on the Mac.
>
> Does this mean you don't need a customization variable to disable the
> message
> anymore?
>
> John
>

[-- Attachment #2: Type: text/html, Size: 796 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-11-05  5:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-04 17:50 bug#21830: Useless messages from comint-previous-matching-input Jay Adams
2015-11-04 18:04 ` John Wiegley
2015-11-04 18:13   ` Eli Zaretskii
2015-11-04 18:24     ` John Wiegley
2015-11-04 20:42       ` Eli Zaretskii
2015-11-04 21:26         ` John Wiegley
2015-11-05  2:11 ` Wolfgang Jenkner
2015-11-05  3:49   ` Jay Adams
2015-11-05  5:14     ` John Wiegley
2015-11-05  5:35       ` Jay Adams

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).