From unknown Sat Aug 16 13:50:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15753: 24.2; image-mode-hook does not exist Resent-From: Tikhon Jelvis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2013 02:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15753@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138309872817571 (code B ref -1); Wed, 30 Oct 2013 02:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2013 02:05:28 +0000 Received: from localhost ([127.0.0.1]:51772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbL9y-0004ZK-SL for submit@debbugs.gnu.org; Tue, 29 Oct 2013 22:05:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54457) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbKmc-0003xl-Eo for submit@debbugs.gnu.org; Tue, 29 Oct 2013 21:41:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbKmR-0001V4-QF for submit@debbugs.gnu.org; Tue, 29 Oct 2013 21:41:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbKmR-0001Uv-Mf for submit@debbugs.gnu.org; Tue, 29 Oct 2013 21:41:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbKmM-0000n1-Ml for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 21:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbKmH-0001UI-Tk for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 21:41:02 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:46398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbKmH-0001U7-Ke for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 21:40:57 -0400 Received: by mail-pd0-f171.google.com with SMTP id w10so244505pde.30 for ; Tue, 29 Oct 2013 18:40:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=ndf+imgb9uf/ReGsdMX1YAM7CT16zqEjPlKz3nPz1iU=; b=h5Xr9gUT+IsYd4IjOXpJlhSKm8ktnQukI4QjQMk0bAp13wua3yVKskXfdYh6Z+mW6R HRTxm12vFe5V4u6aaGvvv/FUsNLt43Rl7sAYPEFVEW1vSdswZCzyDg6W+ciLz0F1K64a MM9C/oCd7u7QaTyXtE8PhpHkAGzL1OZ3mgXFLOBe7Ni+Uu0nTpUeXc2yL49rDyqXU5bF vb678kq4j8+auokkjY+AIunViHCKbJmNn5ov1g0lSeXtFEF8rXqCUmrL0ClAJVr6tLXV eoqjjjsatercnCOE3fv+Iwh5nxMt+v/ISNgYACPdPny3KJKkBxxxP5AOYDW8JZXQLQ79 pGQw== X-Gm-Message-State: ALoCoQmJsM5YZH6tMJXwmNnhSUpHYFzpDp+ytqwWh+0c0KPr3msirg5doGJFZT+R9B/atSZVEpg9 MIME-Version: 1.0 X-Received: by 10.68.130.36 with SMTP id ob4mr129971pbb.180.1383097253345; Tue, 29 Oct 2013 18:40:53 -0700 (PDT) Received: by 10.70.129.205 with HTTP; Tue, 29 Oct 2013 18:40:53 -0700 (PDT) X-Originating-IP: [2602:306:326f:8d10:8a53:2eff:fe28:8ce1] Date: Tue, 29 Oct 2013 18:40:53 -0700 Message-ID: From: Tikhon Jelvis Content-Type: multipart/alternative; boundary=047d7b10cf6d79e1ae04e9eb6c04 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Mailman-Approved-At: Tue, 29 Oct 2013 22:05:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --047d7b10cf6d79e1ae04e9eb6c04 Content-Type: text/plain; charset=ISO-8859-1 The variable image-mode-hook does not exist, so I can't easily add a hook to image mode. This is using Emacs 24.2.1 on Fedora 18. Here are the details from M-x report-emacs-bug, just in case: In GNU Emacs 24.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.6.4) of 2013-07-14 on buildvm-05.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11303000 Configured using: `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk3' '--with-gpm=no' '--with-wide-int' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro '' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Image[svg] Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-netsplit-mode: t erc-hl-nicks-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t global-auto-revert-mode: t shell-dirtrack-mode: t recentf-mode: t show-paren-mode: t global-auto-complete-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t --047d7b10cf6d79e1ae04e9eb6c04 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The variable image-mode-hook does not exist, so I can= 't easily add a hook to image mode. This is using Emacs 24.2.1 on Fedor= a 18.

Here are the details from M-x report-emacs-bug, just in = case:

In GNU Emacs 24.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.6.4)
= =A0of 2013-07-14 on bu= ildvm-05.phx2.fedoraproject.org
Windowing system distributor `Fedora= Project', version 11.0.11303000
Configured using:
=A0`configure '--build=3Dx86_64-redhat-linux-gnu&#= 39;
=A0'--host=3Dx86_64-redhat-linux-gnu' '--program-prefix= =3D'
=A0'--disable-dependency-tracking' '--prefix=3D/usr= ' '--exec-prefix=3D/usr'
=A0'--bindir=3D/usr/bin' '--sbindir=3D/usr/sbin' '--sys= confdir=3D/etc'
=A0'--datadir=3D/usr/share' '--includedi= r=3D/usr/include'
=A0'--libdir=3D/usr/lib64' '--libexecd= ir=3D/usr/libexec'
=A0'--localstatedir=3D/var' '--sharedstatedir=3D/var/lib'=A0'--mandir=3D/usr/share/man' '--infodir=3D/usr/share/info&#= 39; '--with-dbus'
=A0'--with-gif' '--with-jpeg' = '--with-png' '--with-rsvg' '--with-tiff'
=A0'--with-xft' '--with-xpm' '--with-x-toolkit=3Dgtk3&#= 39; '--with-gpm=3Dno'
=A0'--with-wide-int' 'build_al= ias=3Dx86_64-redhat-linux-gnu'
=A0'host_alias=3Dx86_64-redhat-li= nux-gnu' 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g
=A0-pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector
= =A0--param=3Dssp-buffer-size=3D4 -m64 -mtune=3Dgeneric' 'LDFLAGS=3D= -Wl,-z,relro ''

Important settings:
=A0 value of $LC_ALL:= nil
=A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil
=A0 value = of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 value of $LC_T= IME: nil
=A0 value of $LANG: en_US.UTF-8
=A0 value of $XMODIFIERS: ni= l
=A0 locale-coding-system: utf-8-unix
=A0 default enable-multibyte-characters: t

Major mode: Image[svg]
Minor modes in effect:
=A0 erc-list-mode: t
=A0 erc-menu-mode: t=
=A0 erc-autojoin-mode: t
=A0 erc-ring-mode: t
=A0 erc-networks-mo= de: t
=A0 erc-pcomplete-mode: t
=A0 erc-track-mode: t
=A0 erc-track-minor-m= ode: t
=A0 erc-match-mode: t
=A0 erc-netsplit-mode: t
=A0 erc-hl-n= icks-mode: t
=A0 erc-button-mode: t
=A0 erc-fill-mode: t
=A0 erc-s= tamp-mode: t
=A0 erc-irccontrols-mode: t
=A0 erc-noncommands-mode: t
=A0 erc-move-= to-prompt-mode: t
=A0 erc-readonly-mode: t
=A0 global-auto-revert-mod= e: t
=A0 shell-dirtrack-mode: t
=A0 recentf-mode: t
=A0 show-paren= -mode: t
=A0 global-auto-complete-mode: t
=A0 tooltip-mode: t
=A0 mouse-wheel-= mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
= =A0 font-lock-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryptio= n-mode: t
=A0 auto-compression-mode: t
=A0 column-number-mode: t
=A0 line-numbe= r-mode: t

--047d7b10cf6d79e1ae04e9eb6c04-- From unknown Sat Aug 16 13:50:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15753: 24.2; image-mode-hook does not exist Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2013 02:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tikhon Jelvis Cc: 15753@debbugs.gnu.org Received: via spool by 15753-submit@debbugs.gnu.org id=B15753.138310169222383 (code B ref 15753); Wed, 30 Oct 2013 02:55:02 +0000 Received: (at 15753) by debbugs.gnu.org; 30 Oct 2013 02:54:52 +0000 Received: from localhost ([127.0.0.1]:51828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbLvm-0005ov-Dw for submit@debbugs.gnu.org; Tue, 29 Oct 2013 22:54:51 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:57495) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbLvj-0005oc-Ra for 15753@debbugs.gnu.org; Tue, 29 Oct 2013 22:54:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXfp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GsR+QDpEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFFsoXfp/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GsR+QDpEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36646586" Received: from 108-161-119-233.dsl.teksavvy.com (HELO pastel.home) ([108.161.119.233]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 29 Oct 2013 22:54:42 -0400 Received: by pastel.home (Postfix, from userid 20848) id 06D3F608DB; Tue, 29 Oct 2013 22:54:41 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Tue, 29 Oct 2013 22:54:41 -0400 In-Reply-To: (Tikhon Jelvis's message of "Tue, 29 Oct 2013 18:40:53 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > The variable image-mode-hook does not exist, Hooks are not really variables. So, yes it does exist. It just doesn't have a value, by default. > so I can't easily add a hook to image mode. To quote someone else: yes, you can. Stefan From unknown Sat Aug 16 13:50:53 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tikhon Jelvis Subject: bug#15753: closed (Re: bug#15753: 24.2; image-mode-hook does not exist) Message-ID: References: X-Gnu-PR-Message: they-closed 15753 X-Gnu-PR-Package: emacs Reply-To: 15753@debbugs.gnu.org Date: Wed, 30 Oct 2013 03:30:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1383103805-29854-1" This is a multi-part message in MIME format... ------------=_1383103805-29854-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15753: 24.2; image-mode-hook does not exist which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15753@debbugs.gnu.org. --=20 15753: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15753 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1383103805-29854-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15753-done) by debbugs.gnu.org; 30 Oct 2013 03:29:13 +0000 Received: from localhost ([127.0.0.1]:51875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbMT2-0007kG-PA for submit@debbugs.gnu.org; Tue, 29 Oct 2013 23:29:13 -0400 Received: from mail-pb0-f50.google.com ([209.85.160.50]:34227) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbMT1-0007k0-7I for 15753-done@debbugs.gnu.org; Tue, 29 Oct 2013 23:29:11 -0400 Received: by mail-pb0-f50.google.com with SMTP id uo5so764320pbc.9 for <15753-done@debbugs.gnu.org>; Tue, 29 Oct 2013 20:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=S0NQ8ICElVSMBI9Rn8T0NhRpWA6AAkQcKmUxsngxUWE=; b=xF9UNwB1V7gbFO5ew1rxcRC/e5yLpOwyIojNopg878PxvpYpG2i2zxK1gQ/TJp2tow OXaUvOlIv5dYjpqKWBVtN/LPJ5bkNlWOwKgxLDkFu2PBJO9KYasp8LAjdBduYs6Gitdf Q6pSIuJS3AnwkXP6cqlKmLlJf1v7TlMpOqEJjThJlSI1BrN+RA/slddIrd9zQLwmWgnf ZMqqTpAVNZulpRhhb7aVAkiuadCs2rquB6K1bqDYUuHsoBrAJFd5kJGAohBX66xcaK+k YXzERDlg/OL2jbNqXgKvP/9U/68iclImnoPmAi9G+i/i8Q/AtIUxLVev6/Gx4pe0JTcV AuQg== X-Received: by 10.68.254.164 with SMTP id aj4mr2723402pbd.161.1383103745287; Tue, 29 Oct 2013 20:29:05 -0700 (PDT) Received: from localhost ([222.130.176.76]) by mx.google.com with ESMTPSA id kd1sm1267118pab.20.2013.10.29.20.29.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Oct 2013 20:29:04 -0700 (PDT) From: Leo Liu To: Tikhon Jelvis Subject: Re: bug#15753: 24.2; image-mode-hook does not exist References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= Date: Wed, 30 Oct 2013 11:28:59 +0800 In-Reply-To: (Tikhon Jelvis's message of "Tue, 29 Oct 2013 18:40:53 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 15753-done Cc: 15753-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Not a bug. On 2013-10-30 09:40 +0800, Tikhon Jelvis wrote: > The variable image-mode-hook does not exist, so I can't easily add a hook > to image mode. This is using Emacs 24.2.1 on Fedora 18. Hook variables don't need to be defined before use. So just use it and it will work. Leo ------------=_1383103805-29854-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 30 Oct 2013 02:05:28 +0000 Received: from localhost ([127.0.0.1]:51772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbL9y-0004ZK-SL for submit@debbugs.gnu.org; Tue, 29 Oct 2013 22:05:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54457) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbKmc-0003xl-Eo for submit@debbugs.gnu.org; Tue, 29 Oct 2013 21:41:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbKmR-0001V4-QF for submit@debbugs.gnu.org; Tue, 29 Oct 2013 21:41:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbKmR-0001Uv-Mf for submit@debbugs.gnu.org; Tue, 29 Oct 2013 21:41:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbKmM-0000n1-Ml for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 21:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbKmH-0001UI-Tk for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 21:41:02 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:46398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbKmH-0001U7-Ke for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 21:40:57 -0400 Received: by mail-pd0-f171.google.com with SMTP id w10so244505pde.30 for ; Tue, 29 Oct 2013 18:40:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=ndf+imgb9uf/ReGsdMX1YAM7CT16zqEjPlKz3nPz1iU=; b=h5Xr9gUT+IsYd4IjOXpJlhSKm8ktnQukI4QjQMk0bAp13wua3yVKskXfdYh6Z+mW6R HRTxm12vFe5V4u6aaGvvv/FUsNLt43Rl7sAYPEFVEW1vSdswZCzyDg6W+ciLz0F1K64a MM9C/oCd7u7QaTyXtE8PhpHkAGzL1OZ3mgXFLOBe7Ni+Uu0nTpUeXc2yL49rDyqXU5bF vb678kq4j8+auokkjY+AIunViHCKbJmNn5ov1g0lSeXtFEF8rXqCUmrL0ClAJVr6tLXV eoqjjjsatercnCOE3fv+Iwh5nxMt+v/ISNgYACPdPny3KJKkBxxxP5AOYDW8JZXQLQ79 pGQw== X-Gm-Message-State: ALoCoQmJsM5YZH6tMJXwmNnhSUpHYFzpDp+ytqwWh+0c0KPr3msirg5doGJFZT+R9B/atSZVEpg9 MIME-Version: 1.0 X-Received: by 10.68.130.36 with SMTP id ob4mr129971pbb.180.1383097253345; Tue, 29 Oct 2013 18:40:53 -0700 (PDT) Received: by 10.70.129.205 with HTTP; Tue, 29 Oct 2013 18:40:53 -0700 (PDT) X-Originating-IP: [2602:306:326f:8d10:8a53:2eff:fe28:8ce1] Date: Tue, 29 Oct 2013 18:40:53 -0700 Message-ID: Subject: 24.2; image-mode-hook does not exist From: Tikhon Jelvis To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=047d7b10cf6d79e1ae04e9eb6c04 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 29 Oct 2013 22:05:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --047d7b10cf6d79e1ae04e9eb6c04 Content-Type: text/plain; charset=ISO-8859-1 The variable image-mode-hook does not exist, so I can't easily add a hook to image mode. This is using Emacs 24.2.1 on Fedora 18. Here are the details from M-x report-emacs-bug, just in case: In GNU Emacs 24.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.6.4) of 2013-07-14 on buildvm-05.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11303000 Configured using: `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk3' '--with-gpm=no' '--with-wide-int' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro '' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Image[svg] Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-netsplit-mode: t erc-hl-nicks-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t global-auto-revert-mode: t shell-dirtrack-mode: t recentf-mode: t show-paren-mode: t global-auto-complete-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t --047d7b10cf6d79e1ae04e9eb6c04 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The variable image-mode-hook does not exist, so I can= 't easily add a hook to image mode. This is using Emacs 24.2.1 on Fedor= a 18.

Here are the details from M-x report-emacs-bug, just in = case:

In GNU Emacs 24.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.6.4)
= =A0of 2013-07-14 on bu= ildvm-05.phx2.fedoraproject.org
Windowing system distributor `Fedora= Project', version 11.0.11303000
Configured using:
=A0`configure '--build=3Dx86_64-redhat-linux-gnu&#= 39;
=A0'--host=3Dx86_64-redhat-linux-gnu' '--program-prefix= =3D'
=A0'--disable-dependency-tracking' '--prefix=3D/usr= ' '--exec-prefix=3D/usr'
=A0'--bindir=3D/usr/bin' '--sbindir=3D/usr/sbin' '--sys= confdir=3D/etc'
=A0'--datadir=3D/usr/share' '--includedi= r=3D/usr/include'
=A0'--libdir=3D/usr/lib64' '--libexecd= ir=3D/usr/libexec'
=A0'--localstatedir=3D/var' '--sharedstatedir=3D/var/lib'=A0'--mandir=3D/usr/share/man' '--infodir=3D/usr/share/info&#= 39; '--with-dbus'
=A0'--with-gif' '--with-jpeg' = '--with-png' '--with-rsvg' '--with-tiff'
=A0'--with-xft' '--with-xpm' '--with-x-toolkit=3Dgtk3&#= 39; '--with-gpm=3Dno'
=A0'--with-wide-int' 'build_al= ias=3Dx86_64-redhat-linux-gnu'
=A0'host_alias=3Dx86_64-redhat-li= nux-gnu' 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g
=A0-pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector
= =A0--param=3Dssp-buffer-size=3D4 -m64 -mtune=3Dgeneric' 'LDFLAGS=3D= -Wl,-z,relro ''

Important settings:
=A0 value of $LC_ALL:= nil
=A0 value of $LC_COLLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil
=A0 value = of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 value of $LC_T= IME: nil
=A0 value of $LANG: en_US.UTF-8
=A0 value of $XMODIFIERS: ni= l
=A0 locale-coding-system: utf-8-unix
=A0 default enable-multibyte-characters: t

Major mode: Image[svg]
Minor modes in effect:
=A0 erc-list-mode: t
=A0 erc-menu-mode: t=
=A0 erc-autojoin-mode: t
=A0 erc-ring-mode: t
=A0 erc-networks-mo= de: t
=A0 erc-pcomplete-mode: t
=A0 erc-track-mode: t
=A0 erc-track-minor-m= ode: t
=A0 erc-match-mode: t
=A0 erc-netsplit-mode: t
=A0 erc-hl-n= icks-mode: t
=A0 erc-button-mode: t
=A0 erc-fill-mode: t
=A0 erc-s= tamp-mode: t
=A0 erc-irccontrols-mode: t
=A0 erc-noncommands-mode: t
=A0 erc-move-= to-prompt-mode: t
=A0 erc-readonly-mode: t
=A0 global-auto-revert-mod= e: t
=A0 shell-dirtrack-mode: t
=A0 recentf-mode: t
=A0 show-paren= -mode: t
=A0 global-auto-complete-mode: t
=A0 tooltip-mode: t
=A0 mouse-wheel-= mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
= =A0 font-lock-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryptio= n-mode: t
=A0 auto-compression-mode: t
=A0 column-number-mode: t
=A0 line-numbe= r-mode: t

--047d7b10cf6d79e1ae04e9eb6c04-- ------------=_1383103805-29854-1--