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: Fri, 28 Jan 2022 21:22:13 +0000 (UTC)	[thread overview]
Message-ID: <26b7561e-41f-182d-73a0-39f2f14bf1ef@SDF.ORG> (raw)
In-Reply-To: <831r0rd3vh.fsf@gnu.org>

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

On Fri, 28 Jan 2022, Eli Zaretskii wrote:

>
>                                 I suggest to step through the code in
> Man-parse-man-k and see what happens there.
>

I will do that.

Some more observations:

# outside GNU Emacs on the NetBSD command prompt
'''
% man -k awk
awk (1)   pattern-directed scanning and processing language
awk is the Bell Labs' implementation of the AWK programming language as described in the The AWK Programming Language by A. V. Aho, B. W. Kernighan, and P. J. Weinberger. awk scans each input file for lines that match any...

awk (1)   pattern-directed scanning and processing language
...are global. Thus local variables may be created by providing excess parameters in the function definition. /src/cmd/awk A. V. Aho, B. W. Kernighan, P. J. Weinberger, The AWK Programming Language, Addison-Wesley, 1988.  ISBN 0-201-07981-X

English (3)       use nice English (or awk) names for ugly punctuation variables
use nice English (or awk) names for ugly punctuation variables

'''

# inside GNU Emacs on NetBSD
# M-x man RET -k awk RET
# *Man -k awk* buffer shows
'''
[1]   Segmentation fault      man -k awk 2>/dev/null |
       Done                    sed -e "/^[^A-^Z][^A-^Z]*\$/d" -e "//s///g" ... |
       Done                    awk "
  BEGIN { blankline=0; anonblank=0; }
  /^... 
'''

# inside GNU Emacs on GNU/Linux
# you can only type the following
# M-x man RET -k-awk
# that dash between "k" and "a" is forced in

-- 
vl

  reply	other threads:[~2022-01-28 21:22 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 [this message]
2022-01-29  6:46             ` Eli Zaretskii
2022-01-29 19:10               ` Van Ly
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=26b7561e-41f-182d-73a0-39f2f14bf1ef@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).