GNU bug report logs - #50285
28.0.50; Mew dosen't work correctly if .el files of Mew are native compiled

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Yasuhiro Kimura <yasu@HIDDEN>; dated Mon, 30 Aug 2021 20:40:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Aug 2021 20:39:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 30 16:39:04 2021
Received: from localhost ([127.0.0.1]:60447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mKo3b-0002hc-SN
	for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 16:39:04 -0400
Received: from lists.gnu.org ([209.51.188.17]:52424)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yasu@HIDDEN>) id 1mKo3Y-0002hC-Kx
 for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 16:39:02 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44462)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yasu@HIDDEN>) id 1mKo3Y-00070K-9Z
 for bug-gnu-emacs@HIDDEN; Mon, 30 Aug 2021 16:39:00 -0400
Received: from gate.home.utahime.org ([183.180.29.210]:22921)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yasu@HIDDEN>) id 1mKo3V-0004HY-Lh
 for bug-gnu-emacs@HIDDEN; Mon, 30 Aug 2021 16:39:00 -0400
Received: from eastasia.home.utahime.org (eastasia.home.utahime.org
 [192.168.174.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384)
 (No client certificate requested)
 by gate.home.utahime.org (Postfix) with ESMTPS id 4BD5CCB37;
 Tue, 31 Aug 2021 05:38:54 +0900 (JST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org;
 s=maybe2019112701; t=1630355934;
 bh=izEPVF8RS1NHyAKf20neGUE11v087bUefGo5K6Q//TI=;
 h=Date:To:Subject:From;
 b=CODEhMWfp4Oa4mRdU+DAaTlcO5t4FITFoAzIdeIb3oiT8RKtQ0LkoXt0Bc6fL3GAd
 4m/Q9fC8O5zzlhaSDL2lCDVd+qeCjnm2DWB6zMQsfO3UZM0JSRXp5XGkCGPwxz2D2r
 wEF1vuY+/10VnzyVgeq09dMluCt5g+ES+GtZnURfhzXwAVicl8ffKD/prsAUoZdN6D
 Sv+2FQcKBzylg2w/gUT6tibdssCHur0VJUSWMn72Eaf3g6IU9Kcr+zMvHcYl0d0O+Q
 HTeVIh96XoDGdl6vupHCdLIgbCJwFTcCE8vOys4VVSpxXsu5U4qT5RM5YmVvpWbAL7
 TKXMmqWgjbz7g==
Received: from localhost (rolling-vm-freebsd2.home.utahime.org
 [192.168.174.52])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature ECDSA (P-384))
 (No client certificate requested)
 by eastasia.home.utahime.org (Postfix) with ESMTPSA id 7207A32F2A;
 Tue, 31 Aug 2021 05:38:53 +0900 (JST)
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.104.0-rc2 at eastasia.home.utahime.org
Date: Tue, 31 Aug 2021 05:38:46 +0900 (JST)
Message-Id: <20210831.053846.366902917792575747.yasu@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; Mew dosen't work correctly if .el files of Mew are native
 compiled
From: Yasuhiro Kimura <yasu@HIDDEN>
X-Mailer: Mew version 6.8 on Emacs 28.0.50
X-Debbugs-Cc: monnier@HIDDEN
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=183.180.29.210; envelope-from=yasu@HIDDEN;
 helo=gate.home.utahime.org
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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Mew is a mail reader for Emacs (http://www.mew.org/). While testing
native compilation with FreeBSD amd64, I faced the problem that Mew
doesn't work correctly if .el files of Mew are native compiled.

I reported the problem to mailing list of Mew and recieved a reply
that Debian also faces it and works it around by setting
'no-native-compile' variable to 't' as file-local variable binding.
So it seems the problem is caused by native compilation itself and
isn't specific to some OS.

Mew is large package which consists of 65 .el files. So it is
difficult to narrow down the problem. To reproduce the problem you
need to install Mew and make minimal configration according the manual
of Mew (http://www.mew.org/en/info/release/).

Assuming that you completed the installation and configuration of Mew,
There are 2 cases that can be certainly reproduced.

[Case 1]

A. Steps to reproduce the problem

1. Start mew with 'M-x mew'.
2. Depending on the personal configuration, it changes which folder is
   visited just after the startup. Typically you see '+inbox'
   folder. If so you can skip this step. Otherwise switch to '+inbox'
   by typing "g", "+inbox" and return key.
3. At the '+inbox' folder, type 's' and return key.
   (Depending on the configuration you may need to type password.)

B. Expected behavior

Newly arrived message are displayed in "Mew: +inbox" buffer.
(If new message isn't arrived there is no change in "Mew: +inbox"
buffer.)

C. What really happens

Following error message is displayed in the echo area.

"error in process sentinel: Invalid function: mew-filter"

[Case 2]

A. Steps to reproduce the problem

1. Start mew with 'M-x mew'.
2. Type "w". Then buffer to compose new message is displayed.
3. Fill out To:, Subject:, message body, etc.
4. Type C-c C-m.

B. Expected behavior

Message such as following is displayed in the echo area.

"+draft/1 has been queued to +queue/1 (from Draft mode)"

And switch back to the folder before the step 2.

C. What really happens

"nil" is displayed in the echo area and don't switch back to the folder
before the step 2.


In GNU Emacs 28.0.50 (build 1, amd64-portbld-freebsd13.0)
Repository revision: 3572613
Repository branch: master
System Description: 13.0-RELEASE-p4

Configured using:
 'configure --disable-build-details --localstatedir=/var
 --without-libsystemd --without-selinux --with-sound=no
 --with-x-toolkit=no --without-cairo --without-dbus --without-gconf
 --without-gif --without-gsettings --without-imagemagick
 --without-jpeg --without-lcms2 --without-libotf --without-m17n-flt
 --without-png --without-rsvg --without-tiff
 --without-toolkit-scroll-bars --without-x --without-xim --without-xpm
 --without-xwidgets --enable-acl --without-cairo --without-dbus
 --without-gconf --without-gif --with-gnutls --without-gsettings
 --without-harfbuzz --without-jpeg --with-json
 --with-file-notification=kqueue --without-lcms2 --without-m17n-flt
 --without-imagemagick --without-mailutils --with-modules
 --with-native-compilation --without-libotf --without-png
 --without-toolkit-scroll-bars --without-rsvg --with-threads
 --without-tiff --without-xft --without-xim --with-xml2 --without-xpm
 --without-xwidgets --with-x-toolkit=no --prefix=/usr/local
 --mandir=/usr/local/man --disable-silent-rules
 --infodir=/usr/local/share/emacs/info/
 --build=amd64-portbld-freebsd13.0 'CFLAGS=-O2 -pipe
 -fstack-protector-strong -isystem /usr/local/include
 -fno-strict-aliasing ' 'CPPFLAGS=-isystem /usr/local/include'
 'LDFLAGS= -L/usr/local/lib/gcc11 -fstack-protector-strong
 -L/usr/local/lib ''

Configured features:
ACL GMP GNUTLS JSON LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE PDUMPER
THREADS XIM ZLIB

Important settings:
  value of $LANG: ja_JP.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/usr/local/share/emacs/28.0.50/site-lisp/transient hides /usr/local/share/emacs/28.0.50/lisp/transient
/home/yasu/share/emacs/lisp/ruby-mode hides /usr/local/share/emacs/28.0.50/lisp/progmodes/ruby-mode
/usr/local/share/emacs/28.0.50/site-lisp/flim/sasl hides /usr/local/share/emacs/28.0.50/lisp/net/sasl

Features:
(shadow emacsbug sendmail w3m-form w3m-symbol w3m-bookmark pp qp
network-stream mew-varsx mew-unix mew-w3m w3m doc-view image-mode exif
image timezone w3m-hist w3m-fb bookmark-w3m w3m-ems wid-edit
w3m-favicon w3m-image tab-line w3m-proc w3m-util mew-auth mew-config
mew-imap2 mew-imap mew-nntp2 mew-nntp mew-pop mew-smtp mew-ssl mew-ssh
mew-net mew-highlight mew-sort mew-fib mew-ext mew-refile mew-demo
mew-attach mew-draft mew-message mew-thread mew-virtual mew-summary4
mew-summary3 mew-summary2 mew-summary mew-search mew-pick mew-passwd
mew-scan mew-syntax mew-bq mew-smime mew-pgp mew-header mew-exec
mew-mark mew-mime mew-edit mew-decode mew-encode mew-cache mew-minibuf
mew-complete mew-addrbook mew-local mew-vars3 mew-vars2 mew-vars
mew-env mew-lang-jp mew-mule3 mew-mule mew-gemacs mew-key mew-func
mew-blvs mew-const mew pcase term/screen term/xterm xterm jka-compr
magit-version yaml-mode tmux mime-setup mail-mime-setup alist
semi-setup path-util apel-ver product semi-def rng-nxml rng-valid
rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util
rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap sgml-mode facemenu dom
nxml-util nxml-enc xmltok edmacro kmacro forge-list forge-commands
forge-semi forge-bitbucket buck forge-gogs gogs forge-gitea gtea
forge-gitlab glab forge-github ghub-graphql treepy gsexp ghub
let-alist gnutls forge-notify forge-revnote forge-pullreq forge-issue
forge-topic yaml parse-time iso8601 bug-reference forge-post
markdown-mode color noutline outline forge-repo forge forge-core
forge-db closql emacsql-sqlite advice emacsql emacsql-compiler
url-http url-auth url-gw nsm magit-submodule magit-obsolete
magit-blame magit-stash magit-reflog magit-bisect magit-push
magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
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 url-vars magit-repos magit-apply magit-wip magit-log
which-func imenu magit-diff smerge-mode diff diff-mode git-commit
log-edit easy-mmode message rmc puny dired dired-loaddefs rfc822 mml
mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs
auth-source password-cache json map text-property-search time-date
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils
mailheader pcvs-util add-log magit-core magit-autorevert autorevert
filenotify magit-margin magit-transient magit-process with-editor
shell pcomplete comint ring server ansi-color magit-mode transient
format-spec magit-git comp regexp-opt comp-cstr warnings cl-extra
help-mode tool-bar magit-section cl-seq magit-utils crm subr-x seq
eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv
eieio-loaddefs dash gitignore-mode gitconfig-mode conf-mode rx
gitattributes-mode thingatpt cl-loaddefs cl-lib japan-util iso-transl
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select 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 kqueue multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 328603 25793)
 (symbols 48 26450 31)
 (strings 32 94994 4795)
 (string-bytes 1 2888107)
 (vectors 16 56476)
 (vector-slots 8 1017500 70312)
 (floats 8 297 411)
 (intervals 56 382 0)
 (buffers 992 15))




Acknowledgement sent to Yasuhiro Kimura <yasu@HIDDEN>:
New bug report received and forwarded. Copy sent to monnier@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to monnier@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#50285; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 30 Aug 2021 20:45:02 UTC

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