GNU bug report logs - #19680
24.4; option --no-bitmap-icon not working

Previous Next

Package: emacs;

Reported by: Preston Crow <frompreston2002315lt <at> crowcastle.net>

Date: Sat, 24 Jan 2015 23:50:01 UTC

Severity: minor

Tags: patch

Merged with 20007

Found in version 24.4

Fixed in version 24.5

Done: Glenn Morris <rgm <at> gnu.org>

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 19680 in the body.
You can then email your comments to 19680 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#19680; Package emacs. (Sat, 24 Jan 2015 23:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Preston Crow <frompreston2002315lt <at> crowcastle.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 24 Jan 2015 23:50:02 GMT) Full text and rfc822 format available.

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

From: Preston Crow <frompreston2002315lt <at> crowcastle.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; option --no-bitmap-icon not working
Date: Sat, 24 Jan 2015 17:48:01 -0500
The command-line option "--no-bitmap-icon" used to turn off the bitmap
icon, but after upgrading to the latest version, this option appears to
be ignored.



In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.6)
 of 2015-01-24 on duck
Windowing system distributor `The X.Org Foundation', version 11.0.11603000
System Description:    Gentoo Base System release 2.2

Configured using:
 `configure --prefix=/usr --build=x86_64-pc-linux-gnu
 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
 --localstatedir=/var/lib --disable-dependency-tracking
 --disable-silent-rules --libdir=/usr/lib64 --program-suffix=-emacs-24
 --infodir=/usr/share/info/emacs-24 --localstatedir=/var
 --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
 --with-gameuser=games --without-compress-install
 --with-file-notification=inotify --disable-acl --without-dbus
 --without-gnutls --without-gpm --without-hesiod --without-kerberos
 --without-kerberos5 --without-xml2 --without-selinux --without-wide-int
 --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf
 --without-gsettings --without-toolkit-scroll-bars --with-gif
 --with-jpeg --with-png --without-rsvg --with-tiff --with-xpm
 --without-imagemagick --with-xft --without-libotf --without-m17n-flt
 --with-x-toolkit=gtk3 GENTOO_PACKAGE=app-editors/emacs-24.4-r2
 build_alias=x86_64-pc-linux-gnu host_alias=x86_64-pc-linux-gnu
 'CFLAGS=-pipe -march=native -fno-stack-protector -O2' 'LDFLAGS=-Wl,-O1
 -Wl,--as-needed' CPPFLAGS='

Important settings:
  locale-coding-system: nil

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  hs-minor-mode: t

Recent input:
M-x r e p o r t - e m a c s - b u g <return>

Recent messages:

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils edmacro kmacro
cl-loaddefs cl-lib hideshow easymenu paren tramp tramp-compat
auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core
gnus-util mm-util mail-prsvr password-cache tramp-loaddefs trampver
shell pcomplete comint ansi-color ring format-spec advice help-fns imenu
site-gentoo time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process inotify
dynamic-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)

Memory information:
((conses 16 91150 4085)
 (symbols 48 20329 0)
 (miscs 40 45 82)
 (strings 32 17795 5331)
 (string-bytes 1 534477)
 (vectors 16 12497)
 (vector-slots 8 416763 3081)
 (floats 8 74 91)
 (intervals 56 312 225)
 (buffers 960 11)
 (heap 1024 41080 921))





Forcibly Merged 19680 20007. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 05 Mar 2015 16:54:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19680; Package emacs. (Thu, 05 Mar 2015 21:06:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Preston Crow <frompreston2002315lt <at> crowcastle.net>
Cc: Dmitry Antipov <dmantipov <at> yandex.ru>, 19680 <at> debbugs.gnu.org
Subject: Re: bug#19680: 24.4; option --no-bitmap-icon not working
Date: Thu, 05 Mar 2015 16:05:19 -0500
Preston Crow wrote:

> The command-line option "--no-bitmap-icon" used to turn off the bitmap
> icon, but after upgrading to the latest version, this option appears to
> be ignored.
>
> In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.6)

I suspect the 2013-09-17 changes to x_iconify_frame etc.
The following lightly tested patch seemed to fix it for me.
Since this is a new, seemingly simple problem in 24.4 it might be good
to fix it for 24.5; ie quickly in emacs-24.

--- a/src/frame.h
+++ b/src/frame.h
@@ -1349,7 +1349,7 @@ x_set_bitmap_icon (struct frame *f)
 {
   Lisp_Object obj = assq_no_quit (Qicon_type, f->param_alist);
 
-  if (CONSP (obj))
+  if (CONSP (obj) && !NILP (XCDR (obj)))
     x_bitmap_icon (f, XCDR (obj));
 }
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19680; Package emacs. (Fri, 06 Mar 2015 18:19:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 19680 <at> debbugs.gnu.org, Dmitry Antipov <dmantipov <at> yandex.ru>,
 Preston Crow <frompreston2002315lt <at> crowcastle.net>
Subject: Re: bug#19680: 24.4; option --no-bitmap-icon not working
Date: Fri, 06 Mar 2015 09:40:59 -0500
> Since this is a new, seemingly simple problem in 24.4 it might be good
> to fix it for 24.5; ie quickly in emacs-24.

Indeed,


        Stefan




Added tag(s) patch. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 09 Mar 2015 00:49:02 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 12 Mar 2015 16:04:02 GMT) Full text and rfc822 format available.

Notification sent to Preston Crow <frompreston2002315lt <at> crowcastle.net>:
bug acknowledged by developer. (Thu, 12 Mar 2015 16:04:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 19680-done <at> debbugs.gnu.org
Subject: Re: bug#19680: 24.4; option --no-bitmap-icon not working
Date: Thu, 12 Mar 2015 12:03:34 -0400
Version: 24.5

Applied to emacs-24 in the absence of any comments on the patch.

Glenn Morris wrote:

> --- a/src/frame.h
> +++ b/src/frame.h
> @@ -1349,7 +1349,7 @@ x_set_bitmap_icon (struct frame *f)
>  {
>    Lisp_Object obj = assq_no_quit (Qicon_type, f->param_alist);
>  
> -  if (CONSP (obj))
> +  if (CONSP (obj) && !NILP (XCDR (obj)))
>      x_bitmap_icon (f, XCDR (obj));
>  }




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 12 Mar 2015 16:04:03 GMT) Full text and rfc822 format available.

Notification sent to Jos de Kloe <josdekloe <at> gmail.com>:
bug acknowledged by developer. (Thu, 12 Mar 2015 16:04:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 10 Apr 2015 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 129 days ago.

Previous Next


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