From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: Gian Uberto Lauri Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Oct 2010 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7236@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: saint@eng.it Received: via spool by submit@debbugs.gnu.org id=B.128741410927472 (code B ref -1); Mon, 18 Oct 2010 15:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Oct 2010 15:01:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7rDf-000793-Rm for submit@debbugs.gnu.org; Mon, 18 Oct 2010 11:01:49 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7mZw-0004DL-Cf for submit@debbugs.gnu.org; Mon, 18 Oct 2010 06:04:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7mdV-0004QT-EN for submit@debbugs.gnu.org; Mon, 18 Oct 2010 06:08:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:54305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7md5-0004NI-NR for submit@debbugs.gnu.org; Mon, 18 Oct 2010 06:08:09 -0400 Received: from [140.186.70.92] (port=34511 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7mch-0008Kp-Ek for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 06:07:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7mcP-0004ES-4h for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 06:07:03 -0400 Received: from smtp.eng.it ([62.101.90.18]:37241 helo=mail.eng.it) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7mcO-0004Df-HT for bug-gnu-emacs@gnu.org; Mon, 18 Oct 2010 06:07:01 -0400 Received: from bms2.eng.it (unknown [192.168.10.43]) by deliver.antivirus (Postfix) with ESMTP id B8D644000F for ; Mon, 18 Oct 2010 12:06:56 +0200 (CEST) X-AuditID: c0a80a2b-b7b2cae00000135b-a3-4cbc1c400a75 Received: from mail.eng.it (Unknown_Domain [192.168.10.31]) by bms2.eng.it (Symantec Brightmail Gateway) with SMTP id D1.59.04955.04C1CBC4; Mon, 18 Oct 2010 12:06:56 +0200 (CEST) Received: from gastone (unknown [172.27.7.115]) by mail.eng.it (Postfix) with ESMTP id 618724000F for ; Mon, 18 Oct 2010 12:06:56 +0200 (CEST) From: Gian Uberto Lauri Date: Mon, 18 Oct 2010 12:06:55 +0200 Message-ID: <87y69vbyrk.fsf@mail.eng.it> MIME-Version: 1.0 Content-Type: text/plain X-Brightmail-Tracker: AAAAAA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Mon, 18 Oct 2010 11:01:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Start emacs, ask for the documentation for make-local-hook. The program signals [No Match]. The lack of this function prevents some feature to misfunction on the first use (i.e. font-lock-fontify-buffer), an immediate re-issue of the command works. In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2010-10-18 on gastone Windowing system distributor `The X.Org Foundation', version 11.0.10502000 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: Lisp Interaction Minor modes in effect: linum-mode: t sml-mode: t display-time-mode: t show-paren-mode: t shell-dirtrack-mode: t tooltip-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: Loading vm...done Loading sendmail...done Package lmenu is obsolete! Looking up holidays...done Preparing diary... Truncate long lines enabled Preparing diary...done Marking diary entries...done Loading python...done Loading sml-modeline...done Load-path shadows: /usr/local/share/emacs/site-lisp/jde/lisp/jde-dbo hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-dbo /usr/local/share/emacs/site-lisp/jde/lisp/jde-parse hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-parse /usr/local/share/emacs/site-lisp/jde/lisp/jde-checkstyle hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-checkstyle /usr/local/share/emacs/site-lisp/jde/lisp/jde-wiz hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-wiz /usr/local/share/emacs/site-lisp/jde/lisp/jde-run hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-run /usr/local/share/emacs/site-lisp/jde/lisp/jde-java-font-lock hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-java-font-lock /usr/local/share/emacs/site-lisp/jde/lisp/jde-javadoc-gen hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-javadoc-gen /usr/local/share/emacs/site-lisp/jde/lisp/jde-make hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-make /usr/local/share/emacs/site-lisp/jde/lisp/jde-ant hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-ant /usr/local/share/emacs/site-lisp/jde/lisp/jde-compat hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-compat /usr/local/share/emacs/site-lisp/jde/lisp/jde-sregex hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-sregex /usr/local/share/emacs/site-lisp/jde/lisp/regress hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/regress /usr/local/share/emacs/site-lisp/jde/lisp/jde-dbs hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-dbs /usr/local/share/emacs/site-lisp/jde/lisp/jde-ejb hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-ejb /usr/local/share/emacs/site-lisp/jde/lisp/jde-widgets hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-widgets /usr/local/share/emacs/site-lisp/jde/lisp/jde-stat hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-stat /usr/local/share/emacs/site-lisp/jde/lisp/jde-which-method hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-which-method /usr/local/share/emacs/site-lisp/jde/lisp/jde-java-grammar hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-java-grammar /usr/local/share/emacs/site-lisp/jde/lisp/jde-class hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-class /usr/local/share/emacs/site-lisp/jde/lisp/jde-tree-widget hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-tree-widget /usr/local/share/emacs/site-lisp/jde/lisp/jde hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde /usr/local/share/emacs/site-lisp/jde/lisp/jde-imenu hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-imenu /usr/local/share/emacs/site-lisp/jde/lisp/jde-javadoc hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-javadoc /usr/local/share/emacs/site-lisp/emacs-goodies-el/setnu hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/setnu /usr/local/share/emacs/site-lisp/jde/lisp/jde-complete hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-complete /usr/local/share/emacs/site-lisp/jde/lisp/jde-package hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-package /usr/local/share/emacs/site-lisp/jde/lisp/beanshell hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/beanshell /usr/local/share/emacs/site-lisp/jde/lisp/jde-gen hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-gen /usr/local/share/emacs/site-lisp/jde/lisp/jde-annotations hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-annotations /usr/local/share/emacs/site-lisp/jde/lisp/jde-parse-class hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-parse-class /usr/local/share/emacs/site-lisp/jde/lisp/jde-help hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-help /usr/local/share/emacs/site-lisp/jde/lisp/jde-project-file hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-project-file /usr/local/share/emacs/site-lisp/jde/lisp/jde-custom hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-custom /usr/local/share/emacs/site-lisp/jde/lisp/jde-junit hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-junit /usr/local/share/emacs/site-lisp/jde/lisp/jde-autoload hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-autoload /usr/local/share/emacs/site-lisp/jde/lisp/jde-bug hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-bug /usr/local/share/emacs/site-lisp/jde/lisp/efc hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/efc /usr/local/share/emacs/site-lisp/jde/lisp/jde-compile hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-compile /usr/local/share/emacs/site-lisp/jde/lisp/jde-util hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-util /usr/local/share/emacs/site-lisp/jde/lisp/jde-import hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-import /usr/local/share/emacs/site-lisp/jde/lisp/jde-xref hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-xref /usr/local/share/emacs/site-lisp/jde/lisp/jde-db hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-db /usr/local/share/emacs/site-lisp/jde/lisp/jde-plugins hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-plugins /usr/local/share/emacs/site-lisp/jde/lisp/jde-jdb hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-jdb /usr/local/share/emacs/site-lisp/jde/lisp/jde-open-source hides /usr/local/share/emacs/site-lisp/oldies/jde/lisp/jde-open-source /usr/local/share/emacs/site-lisp/cedet/common/ezimage hides /usr/local/share/emacs/24.0.50/lisp/ezimage /usr/local/share/emacs/site-lisp/cedet/speedbar/speedbar hides /usr/local/share/emacs/24.0.50/lisp/speedbar /usr/local/share/emacs/site-lisp/cedet/speedbar/sb-image hides /usr/local/share/emacs/24.0.50/lisp/sb-image /usr/local/share/emacs/site-lisp/emacs-goodies-el/wdired hides /usr/local/share/emacs/24.0.50/lisp/wdired /usr/local/share/emacs/site-lisp/cedet/speedbar/dframe hides /usr/local/share/emacs/24.0.50/lisp/dframe /usr/local/share/emacs/site-lisp/emacs-goodies-el/ido hides /usr/local/share/emacs/24.0.50/lisp/ido /usr/local/share/emacs/site-lisp/emacs-goodies-el/ibuffer hides /usr/local/share/emacs/24.0.50/lisp/ibuffer /usr/local/share/emacs/site-lisp/css-mode hides /usr/local/share/emacs/24.0.50/lisp/textmodes/css-mode /usr/local/share/emacs/site-lisp/emacs-goodies-el/table hides /usr/local/share/emacs/24.0.50/lisp/textmodes/table /usr/local/share/emacs/site-lisp/emacs-goodies-el/cfengine hides /usr/local/share/emacs/24.0.50/lisp/progmodes/cfengine /usr/local/share/emacs/site-lisp/nxml/nxml-mode hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-mode /usr/local/share/emacs/site-lisp/nxml/nxml-parse hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-parse /usr/local/share/emacs/site-lisp/nxml/rng-match hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-match /usr/local/share/emacs/site-lisp/nxml/rng-parse hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-parse /usr/local/share/emacs/site-lisp/nxml/rng-xsd hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-xsd /usr/local/share/emacs/site-lisp/nxml/rng-valid hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-valid /usr/local/share/emacs/site-lisp/nxml/rng-cmpct hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-cmpct /usr/local/share/emacs/site-lisp/nxml/nxml-glyph hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-glyph /usr/local/share/emacs/site-lisp/nxml/nxml-enc hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-enc /usr/local/share/emacs/site-lisp/nxml/nxml-outln hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-outln /usr/local/share/emacs/site-lisp/nxml/nxml-maint hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-maint /usr/local/share/emacs/site-lisp/nxml/nxml-uchnm hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-uchnm /usr/local/share/emacs/site-lisp/nxml/nxml-ns hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-ns /usr/local/share/emacs/site-lisp/nxml/rng-dt hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-dt /usr/local/share/emacs/site-lisp/nxml/xmltok hides /usr/local/share/emacs/24.0.50/lisp/nxml/xmltok /usr/local/share/emacs/site-lisp/nxml/rng-pttrn hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-pttrn /usr/local/share/emacs/site-lisp/nxml/rng-maint hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-maint /usr/local/share/emacs/site-lisp/nxml/rng-uri hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-uri /usr/local/share/emacs/site-lisp/nxml/xsd-regexp hides /usr/local/share/emacs/24.0.50/lisp/nxml/xsd-regexp /usr/local/share/emacs/site-lisp/nxml/rng-loc hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-loc /usr/local/share/emacs/site-lisp/nxml/rng-nxml hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-nxml /usr/local/share/emacs/site-lisp/nxml/nxml-util hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-util /usr/local/share/emacs/site-lisp/nxml/nxml-rap hides /usr/local/share/emacs/24.0.50/lisp/nxml/nxml-rap /usr/local/share/emacs/site-lisp/nxml/rng-util hides /usr/local/share/emacs/24.0.50/lisp/nxml/rng-util /usr/local/share/emacs/site-lisp/emacs-goodies-el/newsticker hides /usr/local/share/emacs/24.0.50/lisp/net/newsticker /usr/local/share/emacs/site-lisp/socks hides /usr/local/share/emacs/24.0.50/lisp/net/socks /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-base hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-base /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-speedbar hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-speedbar /usr/local/share/emacs/site-lisp/cedet/eieio/chart hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/chart /usr/local/share/emacs/site-lisp/cedet/eieio/eieio hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-opt hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-opt /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-custom hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-custom /usr/local/share/emacs/site-lisp/cedet/eieio/eieio-comp hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/eieio-comp /usr/local/share/emacs/site-lisp/emms/tq hides /usr/local/share/emacs/24.0.50/lisp/emacs-lisp/tq /usr/local/share/emacs/site-lisp/cedet/common/cedet-files hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet-files /usr/local/share/emacs/site-lisp/cedet/common/mode-local hides /usr/local/share/emacs/24.0.50/lisp/cedet/mode-local /usr/local/share/emacs/site-lisp/cedet/common/cedet hides /usr/local/share/emacs/24.0.50/lisp/cedet/cedet /usr/local/share/emacs/site-lisp/cedet/semantic/semantic hides /usr/local/share/emacs/24.0.50/lisp/cedet/semantic /usr/local/share/emacs/site-lisp/cedet/common/inversion hides /usr/local/share/emacs/24.0.50/lisp/cedet/inversion /usr/local/share/emacs/site-lisp/cedet/ede/ede hides /usr/local/share/emacs/24.0.50/lisp/cedet/ede Features: (shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug semantic-el semantic-bovine bovine-debug semantic-debug linum finder-inf package edit-server python-21 python view vm-folder diary-lib diary-loaddefs time cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew cal-julian holidays hol-loaddefs mule-util cal-move cal-menu calendar cal-loaddefs sendmail semantic-c semantic-c-by semantic-lex-spp mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils mmm-compat ps-print ps-def lpr eudcb-ldap ldap eudc eudc-options-file eudc-vars hl-line server nxml-enc hippie-exp avoid pascal paren vm-autoload vm-vars vm-startup vm-version vm jde jde-annotations jde-open-source senator which-func warnings jde-bsh jde-parse-expr etags jde-class jde-parse-class jde-import jde-java-font-lock byte-opt bytecomp byte-compile jde-which-method jde-java-grammar jde-wiz jde-complete semantic-idle eldoc jde-plugins jde-gen tempo jde-run jde-jdb jde-bug jde-dbs jde-dbo regress jde-db jde-parse sregex jde-imenu semantic-imenu imenu semantic-java semantic-doc avl-tree semantic-sb jde-compile compile cus-edit cus-start cus-load cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine jde-help jde-widgets tree-widget beanshell lmenu jde-custom jde-project-file jde-util arc-mode archive-mode efc jde-autoload spook cookie1 conf-mode newcomment emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file dired emms-setup emms saintlib fortune semantic-dep cedet cedet-contrib-load speedbar-load semantic-load semantic-ia-sb semantic-analyze semantic-ctxt semantic-format semantic-cb semantic-sort semanticdb-find semanticdb-el semanticdb-search semantic-find semanticdb semantic-util-modes semantic-util semantic semantic-lex semantic-tag working fame semantic-fw mode-local find-func derived eieio-load ede-speedbar ede ede-load eieio-speedbar speedbar sb-image ezimage dframe assoc eieio-custom wid-edit ede-source eieio-base eieio advice help-fns advice-preload cogre-load cedet-load inversion cl ess-toolbar ess-mous mouseme thingatpt browse-url ess-menu ess-swv ess-noweb noweb-font-lock-mode essl-bug essd-omg essl-omg essd-els essd-sas essl-sas essa-sas executable shell essd-arc essd-vst essd-xls essl-lsp essd-sta essl-sta cc-vars cc-defs make-regexp essd-sp6 essd-sp5 essd-sp3 essd-r essl-s ess-inf ess-utils comint ring ess-mode noweb-mode ess ess-cust regexp-opt easymenu ess-emcs ess-site tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Oct 2010 16:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: saint@eng.it Cc: 7236@debbugs.gnu.org Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.128742100930723 (code B ref 7236); Mon, 18 Oct 2010 16:57:01 +0000 Received: (at 7236) by debbugs.gnu.org; 18 Oct 2010 16:56:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7t0y-0007zU-6M for submit@debbugs.gnu.org; Mon, 18 Oct 2010 12:56:48 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7t0w-0007zP-Ki for 7236@debbugs.gnu.org; Mon, 18 Oct 2010 12:56:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkQLAGcavExMCpO7/2dsb2JhbACTMI0DeXK/WIVJBIUMjQ0 X-IronPort-AV: E=Sophos;i="4.57,345,1283745600"; d="scan'208";a="80024111" Received: from 76-10-147-187.dsl.teksavvy.com (HELO pastel.home) ([76.10.147.187]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Oct 2010 13:00:29 -0400 Received: by pastel.home (Postfix, from userid 20848) id D0DD7A8219; Mon, 18 Oct 2010 13:00:28 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87y69vbyrk.fsf@mail.eng.it> Date: Mon, 18 Oct 2010 13:00:28 -0400 In-Reply-To: <87y69vbyrk.fsf@mail.eng.it> (Gian Uberto Lauri's message of "Mon, 18 Oct 2010 12:06:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > Start emacs, ask for the documentation for make-local-hook. The program > signals [No Match]. It's been removed, indeed. It was obsolete since Emacs-21. > The lack of this function prevents some feature to misfunction on the > first use (i.e. font-lock-fontify-buffer), an immediate re-issue of the > command works. I can't reproduce it. Can you give detailed instructions to reproduce the problem, starting with "emacs -Q"? Stefan From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: saint@eng.it Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Oct 2010 18:05:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 7236@debbugs.gnu.org, saint@eng.it Reply-To: saint@eng.it Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.128742506532733 (code B ref 7236); Mon, 18 Oct 2010 18:05:03 +0000 Received: (at 7236) by debbugs.gnu.org; 18 Oct 2010 18:04:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7u4O-0008Vu-Jz for submit@debbugs.gnu.org; Mon, 18 Oct 2010 14:04:25 -0400 Received: from smtp.eng.it ([62.101.90.18] helo=mail.eng.it) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7t6P-00082Y-RL for 7236@debbugs.gnu.org; Mon, 18 Oct 2010 13:02:27 -0400 Received: from bms1.eng.it (unknown [192.168.10.42]) by deliver.antivirus (Postfix) with ESMTP id 2AEC04001E; Mon, 18 Oct 2010 19:06:08 +0200 (CEST) X-AuditID: c0a80a2a-b7cccae0000015b4-9a-4cbc7e8004e1 Received: from mail.eng.it (Unknown_Domain [192.168.10.31]) by bms1.eng.it (Symantec Brightmail Gateway) with SMTP id 51.1F.05556.08E7CBC4; Mon, 18 Oct 2010 19:06:08 +0200 (CEST) Received: from gastone (unknown [172.27.7.115]) by mail.eng.it (Postfix) with ESMTP id BE6AE4001F; Mon, 18 Oct 2010 19:06:07 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19644.32383.529459.435414@mail.eng.it> Date: Mon, 18 Oct 2010 19:06:07 +0200 In-Reply-To: References: <87y69vbyrk.fsf@mail.eng.it> X-Mailer: VM 7.19 under Emacs 24.0.50.1 From: saint@eng.it X-attribution: CC X-Zippy: Yow! Legally-imposed CULTURE-reduction is CABBAGE-BRAINED! X-Brightmail-Tracker: AAAAAA== X-Spam-Score: -4.3 (----) X-Mailman-Approved-At: Mon, 18 Oct 2010 14:04:23 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) >>>>> "SM" == Stefan Monnier writes: Hello Stefan! >> Start emacs, ask for the documentation for make-local-hook. The >> program signals [No Match]. SM> It's been removed, indeed. It was obsolete since Emacs-21. How could I replace it ? I use a couple of non GNU packages (VM and JDE) that use the little brat :) >> The lack of this function prevents some feature to misfunction on >> the first use (i.e. font-lock-fontify-buffer), an immediate >> re-issue of the command works. SM> I can't reproduce it. Can you give detailed instructions to SM> reproduce the problem, starting with "emacs -Q"? I really think that the problem is in the packages that use it. I was able to getting it because i manually executed my .emacs (damn stupid thing). My apologies. -- Gian Friends will be friends right to the end! From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Oct 2010 20:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: saint@eng.it Cc: 7236@debbugs.gnu.org Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.12874326563844 (code B ref 7236); Mon, 18 Oct 2010 20:11:02 +0000 Received: (at 7236) by debbugs.gnu.org; 18 Oct 2010 20:10:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7w2q-0000zx-Bf for submit@debbugs.gnu.org; Mon, 18 Oct 2010 16:10:56 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7w2o-0000zs-Bi for 7236@debbugs.gnu.org; Mon, 18 Oct 2010 16:10:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkQLABpIvExMCpO7/2dsb2JhbACTTo0DeXLBBYVJBIUMjQ0 X-IronPort-AV: E=Sophos;i="4.57,346,1283745600"; d="scan'208";a="80047939" Received: from 76-10-147-187.dsl.teksavvy.com (HELO pastel.home) ([76.10.147.187]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Oct 2010 16:14:28 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6C968A822E; Mon, 18 Oct 2010 16:14:27 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87y69vbyrk.fsf@mail.eng.it> <19644.32383.529459.435414@mail.eng.it> Date: Mon, 18 Oct 2010 16:14:27 -0400 In-Reply-To: <19644.32383.529459.435414@mail.eng.it> (saint@eng.it's message of "Mon, 18 Oct 2010 19:06:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >>> Start emacs, ask for the documentation for make-local-hook. The >>> program signals [No Match]. SM> It's been removed, indeed. It was obsolete since Emacs-21. > How could I replace it ? You don't need to: calls to make-local-hook have been unnecessary since Emacs-21. Stefan From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Oct 2010 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 7236@debbugs.gnu.org, saint@eng.it Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.12874371216277 (code B ref 7236); Mon, 18 Oct 2010 21:26:02 +0000 Received: (at 7236) by debbugs.gnu.org; 18 Oct 2010 21:25:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7xCr-0001dC-Gn for submit@debbugs.gnu.org; Mon, 18 Oct 2010 17:25:21 -0400 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P7xCp-0001d3-V9 for 7236@debbugs.gnu.org; Mon, 18 Oct 2010 17:25:20 -0400 Received: (qmail 66848 invoked by uid 3782); 18 Oct 2010 21:29:02 -0000 Received: from acm.muc.de (pD9E53A72.dip.t-dialin.net [217.229.58.114]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 18 Oct 2010 23:29:00 +0200 Received: (qmail 4453 invoked by uid 1000); 18 Oct 2010 21:42:07 -0000 Date: Mon, 18 Oct 2010 21:42:07 +0000 Message-ID: <20101018214207.GB3396@muc.de> References: <87y69vbyrk.fsf@mail.eng.it> <19644.32383.529459.435414@mail.eng.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Hi, Stefan, On Mon, Oct 18, 2010 at 04:14:27PM -0400, Stefan Monnier wrote: > >>> Start emacs, ask for the documentation for make-local-hook. The > >>> program signals [No Match]. > SM> It's been removed, indeed. It was obsolete since Emacs-21. > > How could I replace it ? > You don't need to: calls to make-local-hook have been unnecessary since > Emacs-21. Stop being so dismissive, for crying out loud! Whilst what you've said is true, it evades the point. That point is that there is lots of elisp code (including standalone CC Mode) which calls the damned function, and now that it has been removed, that code does not compile. This is inconvenient. I think that m-l-h is only unnecessary when the LOCAL param is set in some calls to `add-hook'; i.e. for each instance of m-l-h, some hacker has carefully to work out what the implications are. Removing `make-local-hook' is causing bother. It's eradication may be worth that bother. But please accept that that bother exists. > Stefan -- Alan Mackenzie (Nuremberg, Germany). From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2010 01:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 7236@debbugs.gnu.org, saint@eng.it Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.128745111512560 (code B ref 7236); Tue, 19 Oct 2010 01:19:02 +0000 Received: (at 7236) by debbugs.gnu.org; 19 Oct 2010 01:18:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P80qZ-0003GX-0o for submit@debbugs.gnu.org; Mon, 18 Oct 2010 21:18:35 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P80qW-0003GR-ES for 7236@debbugs.gnu.org; Mon, 18 Oct 2010 21:18:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjALAJePvExMCpO7/2dsb2JhbACgVXlyw3KFSQSFDI0N X-IronPort-AV: E=Sophos;i="4.57,347,1283745600"; d="scan'208";a="80065930" Received: from 76-10-147-187.dsl.teksavvy.com (HELO pastel.home) ([76.10.147.187]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Oct 2010 21:22:16 -0400 Received: by pastel.home (Postfix, from userid 20848) id ABE70A822F; Mon, 18 Oct 2010 21:22:10 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87y69vbyrk.fsf@mail.eng.it> <19644.32383.529459.435414@mail.eng.it> <20101018214207.GB3396@muc.de> Date: Mon, 18 Oct 2010 21:22:10 -0400 In-Reply-To: <20101018214207.GB3396@muc.de> (Alan Mackenzie's message of "Mon, 18 Oct 2010 21:42:07 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) >> >>> Start emacs, ask for the documentation for make-local-hook. The >> >>> program signals [No Match]. SM> It's been removed, indeed. It was obsolete since Emacs-21. >> > How could I replace it ? >> You don't need to: calls to make-local-hook have been unnecessary since >> Emacs-21. > Stop being so dismissive, for crying out loud! I'm sorry if I sounded dismissive, but I assure you that it was not my intention. > Whilst what you've said is true, it evades the point. That point is > that there is lots of elisp code (including standalone CC Mode) which > calls the damned function, and now that it has been removed, that code > does not compile. This is inconvenient. Then maybe we shouldn't remove it yet. > I think that m-l-h is only unnecessary when the LOCAL param is set in > some calls to `add-hook'; i.e. for each instance of m-l-h, some hacker > has carefully to work out what the implications are. No: m-l-h is also unnecessary when add-hook is called with a nil LOCAL argument. I know of no case where calling make-local-hook makes a difference in Emacs>=21. > Removing `make-local-hook' is causing bother. It's eradication may be > worth that bother. But please accept that that bother exists. I never said otherwise. This bug-report is the first complaint I hear about it, so it's not obvious at all that this is a big issue. I'll be happy to add a (define-obsolete-function-alias 'make-local-hook 'ignore "21.1") if removing that definition is somewhat problematic. As you know, we're usually pretty conservative when it comes to removing obsolete stuff. Stefan From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2010 02:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "'Stefan Monnier'" , "'Alan Mackenzie'" Cc: 7236@debbugs.gnu.org, saint@eng.it Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.128745439813921 (code B ref 7236); Tue, 19 Oct 2010 02:14:01 +0000 Received: (at 7236) by debbugs.gnu.org; 19 Oct 2010 02:13:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P81hW-0003cU-Aw for submit@debbugs.gnu.org; Mon, 18 Oct 2010 22:13:18 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P81hU-0003cP-9R for 7236@debbugs.gnu.org; Mon, 18 Oct 2010 22:13:16 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o9J2GujR003096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Oct 2010 02:16:58 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o9J0ohmu004400; Tue, 19 Oct 2010 02:16:55 GMT Received: from abhmt012.oracle.com by acsmt354.oracle.com with ESMTP id 695397081287454562; Mon, 18 Oct 2010 19:16:02 -0700 Received: from dradamslap1 (/10.159.219.37) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 18 Oct 2010 19:16:02 -0700 From: "Drew Adams" References: <87y69vbyrk.fsf@mail.eng.it><19644.32383.529459.435414@mail.eng.it> <20101018214207.GB3396@muc.de> Date: Mon, 18 Oct 2010 19:15:59 -0700 Message-ID: <9D100A0D59D34365AD1993719B18D9D6@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: ActvL/5At3Az+WnzT/uMgFUp/javoQAA0Q6w X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) > No: m-l-h is also unnecessary when add-hook is called with a nil LOCAL > argument. I know of no case where calling make-local-hook makes > a difference in Emacs>=21. In Emacs 20 also there is a LOCAL optional arg to add-hook. Should all code for Emacs 20-24 remove make-local-hook calls and instead add `t' to an existing call to add-hook? That is, if there already is a call to add-hook, in addition to a call to make-local-hook, should the latter be removed and a non-nil LOCAL arg be added to the former? From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: saint@eng.it Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2010 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 7236@debbugs.gnu.org, saint@eng.it Reply-To: saint@eng.it Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.12874900211216 (code B ref 7236); Tue, 19 Oct 2010 12:07:02 +0000 Received: (at 7236) by debbugs.gnu.org; 19 Oct 2010 12:07:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8Ay4-0000JW-8M for submit@debbugs.gnu.org; Tue, 19 Oct 2010 08:07:01 -0400 Received: from smtp.eng.it ([62.101.90.18] helo=mail.eng.it) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P86IO-0005xZ-5r for 7236@debbugs.gnu.org; Tue, 19 Oct 2010 03:07:41 -0400 Received: from bms1.eng.it (unknown [192.168.10.42]) by deliver.antivirus (Postfix) with ESMTP id 0A4EC40003; Tue, 19 Oct 2010 09:11:24 +0200 (CEST) X-AuditID: c0a80a2a-b7cccae0000015b4-c0-4cbd449b3c3a Received: from mail.eng.it (Unknown_Domain [192.168.10.31]) by bms1.eng.it (Symantec Brightmail Gateway) with SMTP id 2A.A3.05556.B944DBC4; Tue, 19 Oct 2010 09:11:24 +0200 (CEST) Received: from gastone (unknown [172.27.7.115]) by mail.eng.it (Postfix) with ESMTP id 7E84240003; Tue, 19 Oct 2010 09:11:23 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19645.17563.196275.954249@mail.eng.it> Date: Tue, 19 Oct 2010 09:11:23 +0200 In-Reply-To: References: <87y69vbyrk.fsf@mail.eng.it> <19644.32383.529459.435414@mail.eng.it> X-Mailer: VM 7.19 under Emacs 24.0.50.1 From: saint@eng.it X-attribution: CC X-Zippy: Yow! Legally-imposed CULTURE-reduction is CABBAGE-BRAINED! X-Brightmail-Tracker: AAAAAA== X-Spam-Score: -3.4 (---) X-Mailman-Approved-At: Tue, 19 Oct 2010 08:06:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) >>>>> "SM" == Stefan Monnier writes: >>>> Start emacs, ask for the documentation for make-local-hook. The >>>> program signals [No Match]. SM> It's been removed, indeed. It was obsolete since Emacs-21. >> How could I replace it ? SM> You don't need to: calls to make-local-hook have been unnecessary SM> since Emacs-21. O.K. so I could happily remove them, right ? Thank you very much!. -- Gian Friends will be friends right to the end! From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2010 16:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Drew Adams" Cc: 'Alan Mackenzie' , 7236@debbugs.gnu.org, saint@eng.it Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.12875057128349 (code B ref 7236); Tue, 19 Oct 2010 16:29:02 +0000 Received: (at 7236) by debbugs.gnu.org; 19 Oct 2010 16:28:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8F3A-0002Ac-1a for submit@debbugs.gnu.org; Tue, 19 Oct 2010 12:28:32 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8F38-0002AX-2e for 7236@debbugs.gnu.org; Tue, 19 Oct 2010 12:28:30 -0400 Received: from faina.iro.umontreal.ca (vpn-132-204-232-65.acd.umontreal.ca [132.204.232.65]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o9JGWDd6028637; Tue, 19 Oct 2010 12:32:13 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 9ED94B4007; Tue, 19 Oct 2010 12:32:12 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87y69vbyrk.fsf@mail.eng.it> <19644.32383.529459.435414@mail.eng.it> <20101018214207.GB3396@muc.de> <9D100A0D59D34365AD1993719B18D9D6@us.oracle.com> Date: Tue, 19 Oct 2010 12:32:12 -0400 In-Reply-To: <9D100A0D59D34365AD1993719B18D9D6@us.oracle.com> (Drew Adams's message of "Mon, 18 Oct 2010 19:15:59 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3653=0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> No: m-l-h is also unnecessary when add-hook is called with a nil LOCAL >> argument. I know of no case where calling make-local-hook makes >> a difference in Emacs>=21. > In Emacs 20 also there is a LOCAL optional arg to add-hook. Yes, but its semantics is slightly different: it means "put it on the local part of the hook, but only if that local part exists". I.e. it's only effective if make-local-hook has been called before. I changed this in Emacs-21 (it an incompatible change, but didn't cause any bug report AFAIR) which made make-local-hook a NOP. > Should all code for Emacs 20-24 remove make-local-hook calls and > instead add `t' to an existing call to add-hook? No. If the LOCAL arg is nil, add-hook will only affect the global part of the hook, regardless of whether make-local-hook has been called. Stefan From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2010 16:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: saint@eng.it Cc: 7236@debbugs.gnu.org Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.12875057458385 (code B ref 7236); Tue, 19 Oct 2010 16:30:03 +0000 Received: (at 7236) by debbugs.gnu.org; 19 Oct 2010 16:29:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8F3h-0002BC-82 for submit@debbugs.gnu.org; Tue, 19 Oct 2010 12:29:05 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8F3f-0002An-NH for 7236@debbugs.gnu.org; Tue, 19 Oct 2010 12:29:04 -0400 Received: from faina.iro.umontreal.ca (vpn-132-204-232-65.acd.umontreal.ca [132.204.232.65]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o9JGWmCP029612; Tue, 19 Oct 2010 12:32:48 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id BE08BB4007; Tue, 19 Oct 2010 12:32:47 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87y69vbyrk.fsf@mail.eng.it> <19644.32383.529459.435414@mail.eng.it> <19645.17563.196275.954249@mail.eng.it> Date: Tue, 19 Oct 2010 12:32:47 -0400 In-Reply-To: <19645.17563.196275.954249@mail.eng.it> (saint@eng.it's message of "Tue, 19 Oct 2010 09:11:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3653=0 X-Spam-Score: -1.9 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >>>>> Start emacs, ask for the documentation for make-local-hook. The >>>>> program signals [No Match]. SM> It's been removed, indeed. It was obsolete since Emacs-21. >>> How could I replace it ? SM> You don't need to: calls to make-local-hook have been unnecessary SM> since Emacs-21. > O.K. so I could happily remove them, right ? Yes, as long as the code is only used in Emacs>=21. Stefan From unknown Sat Aug 16 12:46:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7236: 24.0.50; make-local-hook missing Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2010 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7236 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "'Stefan Monnier'" Cc: 'Alan Mackenzie' , 7236@debbugs.gnu.org, saint@eng.it Received: via spool by 7236-submit@debbugs.gnu.org id=B7236.12875082519596 (code B ref 7236); Tue, 19 Oct 2010 17:11:02 +0000 Received: (at 7236) by debbugs.gnu.org; 19 Oct 2010 17:10:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8Fi6-0002Uj-DF for submit@debbugs.gnu.org; Tue, 19 Oct 2010 13:10:50 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P8Fi5-0002Ub-1X for 7236@debbugs.gnu.org; Tue, 19 Oct 2010 13:10:49 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o9JHEX1D011158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Oct 2010 17:14:34 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o9JHEVlm029855; Tue, 19 Oct 2010 17:14:32 GMT Received: from abhmt002.oracle.com by acsmt353.oracle.com with ESMTP id 698113911287508461; Tue, 19 Oct 2010 10:14:21 -0700 Received: from dradamslap1 (/10.159.219.37) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 19 Oct 2010 10:14:20 -0700 From: "Drew Adams" References: <87y69vbyrk.fsf@mail.eng.it><19644.32383.529459.435414@mail.eng.it> <20101018214207.GB3396@muc.de><9D100A0D59D34365AD1993719B18D9D6@us.oracle.com> Date: Tue, 19 Oct 2010 10:14:13 -0700 Message-ID: <4821966EA2454455B959B5CEC93EDD93@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: ActvqzzH95smHOmwQmmSAPua9FsH+QAAl6Pg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) > > In Emacs 20 also there is a LOCAL optional arg to add-hook. > > Yes, but its semantics is slightly different: it means "put it on the > local part of the hook, but only if that local part exists". > I.e. it's only effective if make-local-hook has been called before. > I changed this in Emacs-21 (it an incompatible change, but > didn't cause any bug report AFAIR) which made make-local-hook a NOP. > > > Should all code for Emacs 20-24 remove make-local-hook calls and > > instead add `t' to an existing call to add-hook? > > No. If the LOCAL arg is nil, add-hook will only affect the global part > of the hook, regardless of whether make-local-hook has been called. Glad I asked! I removed calls to make-local-hook yesterday, but put them back today in code that needs to work in Emacs 20. Thanks for the explanation. I see that you mentioned it in NEWS.21. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 10:33:50 2011 Received: (at control) by debbugs.gnu.org; 14 Jul 2011 14:33:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhMz7-0006ZG-Ig for submit@debbugs.gnu.org; Thu, 14 Jul 2011 10:33:49 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhMz6-0006Z6-D4 for control@debbugs.gnu.org; Thu, 14 Jul 2011 10:33:48 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhMys-0007u2-Lm for control@debbugs.gnu.org; Thu, 14 Jul 2011 16:33:34 +0200 Date: Thu, 14 Jul 2011 16:33:34 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #7236 X-MailScanner-ID: 1QhMys-0007u2-Lm X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1311258814.72498@G7CrjYUDkHzggYgwPjfP1A X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 7236 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 27 16:31:07 2012 Received: (at control) by debbugs.gnu.org; 27 Mar 2012 20:31:07 +0000 Received: from localhost ([127.0.0.1]:41692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCd2o-0007rD-GA for submit@debbugs.gnu.org; Tue, 27 Mar 2012 16:31:07 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:59546) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SCd2m-0007r7-Qh for control@debbugs.gnu.org; Tue, 27 Mar 2012 16:31:05 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SCcYV-0000Wi-H2 for control@debbugs.gnu.org; Tue, 27 Mar 2012 15:59:47 -0400 Date: Tue, 27 Mar 2012 15:59:47 -0400 Message-Id: Subject: control message for bug 11104 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) unarchive 7236 forcemerge 7236 11104