GNU bug report logs -
#15753
24.2; image-mode-hook does not exist
Previous Next
Reported by: Tikhon Jelvis <tikhon <at> jelv.is>
Date: Wed, 30 Oct 2013 02:06:02 UTC
Severity: normal
Found in version 24.2
Done: Leo Liu <sdl.web <at> gmail.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 15753 in the body.
You can then email your comments to 15753 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15753
; Package
emacs
.
(Wed, 30 Oct 2013 02:06:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tikhon Jelvis <tikhon <at> jelv.is>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 30 Oct 2013 02:06:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15753
; Package
emacs
.
(Wed, 30 Oct 2013 02:55:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 15753 <at> debbugs.gnu.org (full text, mbox):
> 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
Reply sent
to
Leo Liu <sdl.web <at> gmail.com>
:
You have taken responsibility.
(Wed, 30 Oct 2013 03:30:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Tikhon Jelvis <tikhon <at> jelv.is>
:
bug acknowledged by developer.
(Wed, 30 Oct 2013 03:30:05 GMT)
Full text and
rfc822 format available.
Message #13 received at 15753-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 27 Nov 2013 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 264 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.