GNU bug report logs - #11099
23.2; Filter function causes flickering in minibuffer

Previous Next

Package: emacs;

Reported by: Sean McLaughlin <seanmcl <at> gmail.com>

Date: Mon, 26 Mar 2012 21:16:02 UTC

Severity: normal

Found in version 23.2

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sean McLaughlin <seanmcl <at> gmail.com>
Cc: 11099 <at> debbugs.gnu.org
Subject: Re: bug#11099: 23.2; Filter function causes flickering in minibuffer
Date: Sat, 17 Aug 2019 16:25:55 -0700
Sean McLaughlin <seanmcl <at> gmail.com> writes:

> 1) Create a file count.sh
>
> #!/bin/bash
>
> ctr=0
>
> while true; do
>     sleep 1
>     echo "ctr = $ctr"
>     ctr=$(( ctr + 1 ))
> done
>
> 2) Create a buffer called *count*
>
> 3) Start count asyncronously from a clean emacs (-q)
>
> (defun Tmp.filter-fun (proc s)
>   (with-current-buffer "*count*"
>     (insert s)))
>
> (defun Tmp.count ()
>   (interactive)
>   (let ((process
>          (start-process
>           "count"
>           "*count*"
>           "/home/seanmcl/bin/count")))
>     (set-process-filter process 'Tmp.filter-fun)))
>
> 4) Type C-x
>
> This will cause C-x to show up in the minibuffer.  Every time a
> line is filtered from count, the C-x flickers in the minibuffer,
> sometimes moving a character to the right and then back to the
> left.

(I'm going through old bug reports that unfortunately have gotten no
responses yet.)

It looks like this has been fixed in the intervening years -- now you
won't get a "C-x" in the echo area because it's not displayed when
filters are running, apparently.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 278 days ago.

Previous Next


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