unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Van Ly <van.ly@sdf.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 53590@debbugs.gnu.org
Subject: bug#53590: 28.0.91; icompletion-vertical-mode gets stuck on 'M-x man RET awk'
Date: Sat, 29 Jan 2022 19:10:14 +0000 (UTC)	[thread overview]
Message-ID: <dfad511-ca99-9e90-2925-7bbf546c726b@SDF.ORG> (raw)
In-Reply-To: <83zgnfavj6.fsf@gnu.org>

On Sat, 29 Jan 2022, Eli Zaretskii wrote:

>
> Does the following command segfault when invoked from the shell outside
> Emacs?
>
>  man -k awk 2>/dev/null
>

The above command runs and completes as is expected.  Each manpage 
keyword entry produces a multiple line output in brief.

> If that command doesn't segfault, then what about the following one?
>
>  man -k awk 2>/dev/null | cat
>

The above fails as follows:

'''
% man -k awk 2>/dev/null | cat
zsh: segmentation fault  man -k awk 2> /dev/null |
zsh: done                cat
% echo $SHELL
/usr/pkg/bin/zsh
'''

Maybe the output redirect pipeline syntax for zsh is causing trouble.

Further to the original description of the problem, typing "awk" 
after M-x man RET produces

> M-x man RET a

There is a low wait of less than 2min more than 30sec, then the 
minibuffer shows

> M-x man RET a [No matches]

The text cursor is behind the "a" and typing "wk" for the second time 
immediately echoes in the minibuffer and shows

> M-x man RET awk [No matches]

And, as I described initially, the text cursor is positioned between 
"k" and "[No matches]", I type RET and then the manpage for awk 
quickly displays.

-- 
vl






  reply	other threads:[~2022-01-29 19:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-27 22:36 bug#53590: 28.0.91; icompletion-vertical-mode gets stuck on 'M-x man RET awk' Van Ly
2022-01-28  8:05 ` Eli Zaretskii
2022-01-28 14:53   ` Van Ly
2022-01-28 15:15     ` Eli Zaretskii
2022-01-28 19:23       ` Van Ly
2022-01-28 19:52       ` Van Ly
2022-01-28 20:03         ` Eli Zaretskii
2022-01-28 21:22           ` Van Ly
2022-01-29  6:46             ` Eli Zaretskii
2022-01-29 19:10               ` Van Ly [this message]
2022-01-29 19:31                 ` Eli Zaretskii
2022-01-29 20:20                   ` Van Ly

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=dfad511-ca99-9e90-2925-7bbf546c726b@SDF.ORG \
    --to=van.ly@sdf.org \
    --cc=53590@debbugs.gnu.org \
    --cc=eliz@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).