From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.bugs Subject: bug#36945: 27.0.50; read-library-name Date: Tue, 6 Aug 2019 11:48:12 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000003c6b4058f6fba76" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="222388"; mail-complaints-to="usenet@blaine.gmane.org" To: 36945@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 06 11:49:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1huw5j-000vlu-D6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 11:49:15 +0200 Original-Received: from localhost ([::1]:59926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huw5i-0003lV-9Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 05:49:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36951) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huw5a-0003hu-2M for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 05:49:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huw5Y-0002lN-2Q for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 05:49:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huw5W-0002ky-PE for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 05:49:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huw5W-00011l-MI for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fabrice Popineau Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Aug 2019 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36945 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15650849163912 (code B ref -1); Tue, 06 Aug 2019 09:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Aug 2019 09:48:36 +0000 Original-Received: from localhost ([127.0.0.1]:36510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huw56-000112-4K for submit@debbugs.gnu.org; Tue, 06 Aug 2019 05:48:36 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:50397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huw54-00010u-ED for submit@debbugs.gnu.org; Tue, 06 Aug 2019 05:48:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36781) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huw52-0003LD-Rs for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 05:48:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huw51-0002aN-6R for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 05:48:32 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:36391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huw50-0002Zo-UX for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 05:48:31 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id g67so71676963wme.1 for ; Tue, 06 Aug 2019 02:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dnYQVZ2hRBRJm2KC+bpEARGR53FsyuaCblNjhZOQqVo=; b=tgg+xfm/PXs+fMAGc6eL7XoT+a0ImgQAnwbEiSl7kJjf6F/LEu5FKpeQasgtIKAiwD 3PgwH3dqkG6oCtOuEsFVPBFSCk2HWoN9ytL4Z8zLL+avqE1CProbddauuQRc+fAnubt5 nGF5FCr8ZeO51/DcLbM2xnJAnuVRvcsBwKFQD+T4kd9l4TrL6ZUo0XV4uGnqCbg8KvRP PL0Pym1pMomjcx4V0iTsvdZ5Lnyp1I3opq3zPXiwt8ufOkbLKirUxTSAQ9ns3jmZojtB D97FS6WlaAEYR7IZQkUWwO24puiUxq1fyXnsM7Xg9DqTOqCv6YYI+wsneGRfG4yE+rFT S7xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dnYQVZ2hRBRJm2KC+bpEARGR53FsyuaCblNjhZOQqVo=; b=pLe8lnIsiArHsZLiQeL+2P6EI/NbrHeigOlx1UAze8dEPUZXQzoFy467l2/nceVmDl +afatV1c5oMmeESd0fN4ipNH8KFyjy5zSJBW5wRDG2Wms+PWLjb2nPb1+nY8GHHBWIhY qMNg+2xmbWJwCto3jL1MX0IzkNIa+OBhL0P1io+7YrarX1q2/xrQaLy0sBMGBd37x9vb 2xL1+Sv4sFeyB1ku9/95crKI53EbV1E4rRHPBcL1okCBUHERDHVqRrvZofptTFKy/4dU kGRsQX3QzWHBocoM7L0FLj0JVrlyQYl8Pr9rMuMWV6RyBUiBUS71mGFYNfNvBiN5I+tk MKLQ== X-Gm-Message-State: APjAAAU4yMeO2ob2Zoj7Adp+1vga2cVwjpLtftw3wRBLRGEpP77Q5z+/ kv6CXhQGdsRXIFy2CDehWc422mon0K4QpcKZQOwElN5f+is= X-Google-Smtp-Source: APXvYqxbXd5kClKkjd7qeDZrfp5OAPj+fo/NFeJEH7o4xXZXXry3Zuh5N1byrw7lMpp0V1QO1/rSamTqYjmdAZoVC+U= X-Received: by 2002:a1c:a514:: with SMTP id o20mr3873946wme.149.1565084908503; Tue, 06 Aug 2019 02:48:28 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164674 Archived-At: --00000000000003c6b4058f6fba76 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, read-library-name offers and .elc for each library name. I expect that .elc names should not be offered. This is running `emacs -Q`. However, with a standard configuration using ELPA/MELPA, the situation is much worse, as I get stuff like: ../ ../ ../ ./ .dir-locals .elpaignore .elpaignore .git .git in the list of propositions. These are obviously not library names. Regards, In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2019-07-31 built on Marvin Repository revision: 1be15d443a0e346351029a90cb04906408b3a75d Repository branch: wsl Windowing system distributor 'Moba/X', version 11.0.12004000 System Description: Ubuntu 18.04.2 LTS Recent messages: Scanning for dabbrevs...done user-error: No dynamic expansion for =E2=80=98read-libr=E2=80=99 found Entering debugger... Back to top level Loading find-func...done Making completion list... Quit (".el" ".el.gz") Type C-x 1 to delete the help window. Making completion list... Quit Configured using: 'configure --prefix=3D/usr/local --without-imagemagick' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_ALL: C.UTF-8 value of $LC_CTYPE: C.UTF-8 value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils completion dos-w32 find-cmd grep compile comint ansi-color ring find-dired dired dired-loaddefs thingatpt help-fns radix-tree cl-print debug backtrace help-mode easymenu find-func cl-loaddefs cl-lib dabbrev tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 85513 6636) (symbols 48 7341 1) (strings 32 21210 1730) (string-bytes 1 656125) (vectors 16 11115) (vector-slots 8 143137 9722) (floats 8 25 50) (intervals 56 9262 0) (buffers 992 14)) --00000000000003c6b4058f6fba76 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

read-library-name offers <name> and <= name>.elc for each library name.
I expect that .elc names should not = be offered.

This is running `emacs -Q`.

However, with a stand= ard configuration using ELPA/MELPA, the situation
is much worse, as I ge= t stuff like:

../
../
../
./
.dir-locals
.elpaignore<= br>.elpaignore
.git
.git

in the list of propositions. These ar= e obviously not library names.

Regards,



In GNU Emacs = 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
=C2=A0of 20= 19-07-31 built on Marvin
Repository revision: 1be15d443a0e346351029a90cb= 04906408b3a75d
Repository branch: wsl
Windowing system distributor &#= 39;Moba/X', version 11.0.12004000
System Description: Ubuntu 18.04.2= LTS

Recent messages:
Scanning for dabbrevs...done
user-error:= No dynamic expansion for =E2=80=98read-libr=E2=80=99 found
Entering deb= ugger...
Back to top level
Loading find-func...done
Making complet= ion list...
Quit
(".el" ".el.gz")
Type C-x 1 t= o delete the help window.
Making completion list...
Quit
Configure= d using:
=C2=A0'configure --prefix=3D/usr/local --without-imagemagic= k'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM = DBUS GSETTINGS GLIB NOTIFY INOTIFY
GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N= _FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS JSON = PDUMPER LCMS2 GMP

Important settings:
=C2=A0 value of $LC_ALL: C.= UTF-8
=C2=A0 value of $LC_CTYPE: C.UTF-8
=C2=A0 value of $LANG: fr_FR= .UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Lisp I= nteraction

Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2= =A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 electric-indent-= mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 = menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-l= ock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient= -mark-mode: t

Load-path shadows:
None found.

Features:
= (shadow sort mail-extr emacsbug message rmc puny format-spec rfc822 mml
= mml-sec password-cache epa derived epg epg-config gnus-util rmail
rmail-= loaddefs text-property-search time-date subr-x seq byte-opt gv
bytecomp = byte-compile cconv mm-decode mm-bodies mm-encode mail-parse
rfc2231 mail= abbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util = mail-prsvr mail-utils completion dos-w32 find-cmd
grep compile comint an= si-color ring find-dired dired dired-loaddefs
thingatpt help-fns radix-t= ree cl-print debug backtrace help-mode
easymenu find-func cl-loaddefs cl= -lib dabbrev tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-fl= oat-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd font= set image regexp-opt fringe
tabulated-list replace newcomment text-mode = elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearc= h timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-= core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang=
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932hebrew greek romanian slovak czech european ethiopic indian cyrillic
c= hinese composite charscript charprop case-table epa-hook jka-cmpr-hook
h= elp simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
butto= n faces cus-face macroexp files text-properties overlay sha1 md5
base64 = format env code-pages mule custom widget hashtable-print-readable
backqu= ote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting f= ont-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-p= rocess emacs)

Memory information:
((conses 16 85513 6636)
=C2= =A0(symbols 48 7341 1)
=C2=A0(strings 32 21210 1730)
=C2=A0(string-by= tes 1 656125)
=C2=A0(vectors 16 11115)
=C2=A0(vector-slots 8 143137 9= 722)
=C2=A0(floats 8 25 50)
=C2=A0(intervals 56 9262 0)
=C2=A0(buf= fers 992 14))
--00000000000003c6b4058f6fba76--