From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simon McFarlane Newsgroups: gmane.emacs.bugs Subject: bug#47652: 28.0.50; completion-at-point fails in verilog-mode Date: Wed, 7 Apr 2021 21:13:45 -0700 Message-ID: <49a4dea5-5707-03e3-acd2-5737a46c96ec@desu.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40267"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 To: 47652@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 08 13:29:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lUSqU-000AHg-47 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Apr 2021 13:29:10 +0200 Original-Received: from localhost ([::1]:34840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUSqT-0004EM-6J for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Apr 2021 07:29:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUSqM-0004E5-9w for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 07:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lUSqM-0002ps-2V for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 07:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lUSqM-00025A-04 for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 07:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon McFarlane Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Apr 2021 11:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47652 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.16178812927920 (code B ref -1); Thu, 08 Apr 2021 11:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Apr 2021 11:28:12 +0000 Original-Received: from localhost ([127.0.0.1]:46088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUSpX-00023f-VD for submit@debbugs.gnu.org; Thu, 08 Apr 2021 07:28:12 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lUM3H-00085p-Nf for submit@debbugs.gnu.org; Thu, 08 Apr 2021 00:13:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUM3H-0007xU-Hl for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 00:13:55 -0400 Original-Received: from kanna.desu.ne.jp ([44.26.108.130]:6725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUM3F-00018G-Hv for bug-gnu-emacs@gnu.org; Thu, 08 Apr 2021 00:13:55 -0400 Original-Received: from kanna.desu.ne.jp (localhost [::1]) by kanna.desu.ne.jp (OpenSMTPD) with ESMTP id b6921aa9 for ; Wed, 7 Apr 2021 21:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=desu.ne.jp; h=to:from :subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=desu; bh=5FXh8Ww/AmOrjo9RZ7KfoO7UE 38=; b=QSLLzUUeiJl7p3Pz5XzYytLjuUeb8IPED644hUv0u4OZ59NKzlgWYAfBN cLPx8yljMEr+ZG+LnT+SM4RIGcBAwUYDyv9unRljPr266r1gg3zOdzm44ukufimD A3Yj4YlGnjKl/QCam9N3HMO+Qhk8gUr+i5jJG5FC2+m5RUuOuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=desu.ne.jp; h=to:from :subject:message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=desu; b=RHPdh0AxlzQx4qYb1s0 BXqYbkUbwWcfo6vU7dE4q60/IuAldps8TXcaYAcdzDZNDgSoTytXoWawlZzAOBuI 9VEU5lDrBNN50jBBOtT6GXteFuiYNRlP5P4b/SsNO4eTXYMFZ2hqUaXyNBVDuUpJ QOGTnJ0oSpBILW7PoM6HXI/A= Original-Received: by kanna.desu.ne.jp (OpenSMTPD) with ESMTPSA id 225862fa (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Wed, 7 Apr 2021 21:13:48 -0700 (PDT) Content-Language: en-US Received-SPF: pass client-ip=44.26.108.130; envelope-from=sm@desu.ne.jp; helo=kanna.desu.ne.jp X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 08 Apr 2021 07:28:10 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203717 Archived-At: M-x completion-at-point throws a failed assertion in verilog-mode. After some digging I believe this is because verilog-toggle-completions is missing a save-excursion somewhere. Sadly I'm not a true Emacs guru so I couldn't figure out exactly where. completion-in-region: Assertion failed: (<= start (point)), #, 12 This is reproducible with a very simple verilog file consisting of only "module test();". This is very similar to bug #41740 reported by Shinichi Sakata. In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.28, cairo version 1.17.4) of 2021-04-06 built on 120af952437f Repository revision: 8c80289348aa95884bb9263a643e3f873ed4bfda Repository branch: pgtk-nativecomp Windowing system distributor 'System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-sound=alsa --with-modules --with-x-toolkit=gtk3 --with-cairo --with-xwidgets --with-native-compilation --with-pgtk --without-compress-install --without-gconf --without-gsettings --without-m17n-flt --enable-autodepend --enable-link-time-optimization CC=/usr/bin/clang 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -flto' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now CPPFLAGS=-D_FORTIFY_SOURCE=2 'CPP=/usr/bin/clang -E'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XIM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8-unix Major mode: Verilog Minor modes in effect: tooltip-mode: t global-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 cl-print debug backtrace find-func cus-edit pp wid-edit cus-start cus-load thingatpt help-fns radix-tree help-mode emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date verilog-mode compile text-property-search comint ansi-color ring diff company edmacro kmacro pcase easy-mmode finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer 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 cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting font-render-setting cairo move-toolbar gtk x-toolkit pgtk lcms2 multi-tty make-network-process nativecomp emacs) Memory information: ((conses 16 142467 8669) (symbols 48 12266 0) (strings 32 36962 2160) (string-bytes 1 1193201) (vectors 16 20597) (vector-slots 8 396489 15323) (floats 8 55 22) (intervals 56 1040 0) (buffers 992 16))