GNU bug report logs - #52604
29.0.50; (--with-pgtk) menu-bar-open: Symbol's function definition is void: pgtk-menu-bar-open

Previous Next

Package: emacs;

Reported by: Simon Pugnet <simon <at> polaris64.net>

Date: Sat, 18 Dec 2021 18:21:02 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52604 in the body.
You can then email your comments to 52604 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#52604; Package emacs. (Sat, 18 Dec 2021 18:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Pugnet <simon <at> polaris64.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 18 Dec 2021 18:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon Pugnet <simon <at> polaris64.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50;
 (--with-pgtk) menu-bar-open: Symbol's function definition is void:
 pgtk-menu-bar-open
Date: Sat, 18 Dec 2021 18:20:27 +0000
[Message part 1 (text/plain, inline)]
When built using the newly merged --with-pgtk feature, menu-bar-open
no longer works.

It looks like menu-bar-open tries to call pgtk-menu-bar-open, but this
function is not defined: -

#+begin_src elisp
  ...
      (cond
       ((eq type 'x) (x-menu-bar-open frame))
       ((eq type 'w32) (w32-menu-bar-open frame))
       ((eq type 'haiku) (haiku-menu-bar-open frame))
       ((eq type 'pgtk) (pgtk-menu-bar-open frame))
       ((and (null tty-menu-open-use-tmm)
             (not (zerop (or (frame-parameter nil 'menu-bar-lines)
             0))))
  ...
#+end_src


In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.30, cairo version 1.17.4)
 of 2021-12-18 built on tikal
Repository revision: 21ef1740f0fe9424f2a079440d070f725b2ca558
Repository branch: master
Windowing system distributor 'System Description: Arch Linux

Configured using:
 'configure --with-native-compilation --with-modules --with-json
 --with-xinput2 --with-pgtk'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY
PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS XIM GTK3 ZLIB

Important settings:
  value of $LC_CTYPE: en_GB.UTF-8
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-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
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
/usr/local/share/emacs/29.0.50/lisp/emacs-lisp/eieio-compat hides
/usr/local/share/emacs/29.0.50/lisp/obsolete/eieio-compat

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068
epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json map
text-property-search time-date seq gv subr-x byte-opt bytecomp
byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-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 emoji-zwj 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 keymap hashtable-print-readable backquote threads
dbusbind inotify dynamic-setting system-font-setting
font-render-setting
cairo move-toolbar gtk x-toolkit pgtk lcms2 multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 66808 12014)
 (symbols 48 6707 1)
 (strings 32 19511 2530)
 (string-bytes 1 663397)
 (vectors 16 13904)
 (vector-slots 8 296601 16126)
 (floats 8 22 33)
 (intervals 56 231 3)
 (buffers 992 11))

--
Simon Pugnet
https://www.polaris64.net/
[attachment.sig (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52604; Package emacs. (Sun, 19 Dec 2021 01:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 52604 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Simon Pugnet <simon <at> polaris64.net>
Cc: 52604 <at> debbugs.gnu.org
Subject: Re: bug#52604: 29.0.50; (--with-pgtk) menu-bar-open: Symbol's
 function definition is void: pgtk-menu-bar-open
Date: Sun, 19 Dec 2021 09:44:20 +0800
Simon Pugnet <simon <at> polaris64.net> writes:

> When built using the newly merged --with-pgtk feature, menu-bar-open
> no longer works.
>
> It looks like menu-bar-open tries to call pgtk-menu-bar-open, but this
> function is not defined: -

Please see if the problem has been fixed.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#52604; Package emacs. (Sun, 19 Dec 2021 09:24:01 GMT) Full text and rfc822 format available.

Message #11 received at 52604 <at> debbugs.gnu.org (full text, mbox):

From: Simon Pugnet <simon <at> polaris64.net>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 52604 <at> debbugs.gnu.org
Subject: Re: bug#52604: 29.0.50;
 (--with-pgtk) menu-bar-open: Symbol's function definition is void:
 pgtk-menu-bar-open
Date: Sun, 19 Dec 2021 09:22:49 +0000
[Message part 1 (text/plain, inline)]
"Po Lu" <luangruo <at> yahoo.com> writes:

> Simon Pugnet <simon <at> polaris64.net> writes:
>
>> When built using the newly merged --with-pgtk feature,
>> menu-bar-open
>> no longer works.
>>
>> It looks like menu-bar-open tries to call pgtk-menu-bar-open, but
>> this
>> function is not defined: -
>
> Please see if the problem has been fixed.
>
> Thanks.

Yes, this now works as expected. Thanks for the quick fix!

Kind regards,

--
Simon Pugnet
https://www.polaris64.net/
[attachment.sig (application/pgp-signature, attachment)]

Reply sent to Po Lu <luangruo <at> yahoo.com>:
You have taken responsibility. (Sun, 19 Dec 2021 09:35:01 GMT) Full text and rfc822 format available.

Notification sent to Simon Pugnet <simon <at> polaris64.net>:
bug acknowledged by developer. (Sun, 19 Dec 2021 09:35:01 GMT) Full text and rfc822 format available.

Message #16 received at 52604-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Simon Pugnet <simon <at> polaris64.net>
Cc: 52604-done <at> debbugs.gnu.org
Subject: Re: bug#52604: 29.0.50; (--with-pgtk) menu-bar-open: Symbol's
 function definition is void: pgtk-menu-bar-open
Date: Sun, 19 Dec 2021 17:33:42 +0800
Simon Pugnet <simon <at> polaris64.net> writes:

> "Po Lu" <luangruo <at> yahoo.com> writes:
>
>> Simon Pugnet <simon <at> polaris64.net> writes:
>>
>>> When built using the newly merged --with-pgtk feature,
>>> menu-bar-open
>>> no longer works.
>>>
>>> It looks like menu-bar-open tries to call pgtk-menu-bar-open, but
>>> this
>>> function is not defined: -
>>
>> Please see if the problem has been fixed.
>>
>> Thanks.
>
> Yes, this now works as expected. Thanks for the quick fix!
>
> Kind regards,
>
> --
> Simon Pugnet
> https://www.polaris64.net/

Bug closed.  Thanks for testing :)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Jan 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 251 days ago.

Previous Next


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