From unknown Sun Jun 22 03:48:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5277 <5277@debbugs.gnu.org> To: bug#5277 <5277@debbugs.gnu.org> Subject: Status: 23.1.90; cus-load.el path for cedet/semantic/bovine/c.el Reply-To: bug#5277 <5277@debbugs.gnu.org> Date: Sun, 22 Jun 2025 10:48:19 +0000 retitle 5277 23.1.90; cus-load.el path for cedet/semantic/bovine/c.el reassign 5277 emacs submitter 5277 Kevin Ryde severity 5277 normal tag 5277 patch thanks From unknown Sun Jun 22 03:48:19 2025 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NQ5m9-0001ir-35 for mharc-bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 16:08:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQ5m6-0001id-TR for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 16:08:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQ5lv-0001gK-VT for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 16:08:09 -0500 Received: from [199.232.76.173] (port=34728 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ5lv-0001gH-O7 for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 16:07:59 -0500 Received: from [140.186.70.43] (port=53505 helo=debbugs.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQ5lv-0002wv-AO for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 16:07:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NQ5Sc-0007Zd-0r; Wed, 30 Dec 2009 15:48:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Kevin Ryde , 5277@debbugs.gnu.org Resent-From: Kevin Ryde Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Dec 2009 20:48:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5277 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@debbugs.gnu.org id=B.126220605929103 (code B ref -1); Wed, 30 Dec 2009 20:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2009 20:47:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQ5SE-0007ZM-Si for submit@debbugs.gnu.org; Wed, 30 Dec 2009 15:47:39 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQ5SC-0007ZH-Dr for submit@debbugs.gnu.org; Wed, 30 Dec 2009 15:47:37 -0500 Received: from mx10.gnu.org ([199.232.76.166]:55095) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQ5S8-0004iH-5y for emacs-pretest-bug@gnu.org; Wed, 30 Dec 2009 15:47:32 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NQ5S2-00009v-9O for emacs-pretest-bug@gnu.org; Wed, 30 Dec 2009 15:47:29 -0500 Received: from mailout1-6.pacific.net.au ([61.8.2.213]:55101 helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQ5S1-00009b-82 for emacs-pretest-bug@gnu.org; Wed, 30 Dec 2009 15:47:26 -0500 Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id 71AC0515056 for ; Thu, 31 Dec 2009 07:47:20 +1100 (EST) Received: from blah.blah (ppp2CE5.dyn.pacific.net.au [61.8.44.229]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id D98658C02 for ; Thu, 31 Dec 2009 07:47:18 +1100 (EST) Received: from gg by blah.blah with local (Exim 4.71) (envelope-from ) id 1NQ5OZ-000226-BN for emacs-pretest-bug@gnu.org; Thu, 31 Dec 2009 07:43:51 +1100 From: Kevin Ryde To: emacs-pretest-bug@gnu.org Date: Thu, 31 Dec 2009 07:43:51 +1100 Message-ID: <87my10qjjs.fsf@blah.blah> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.9 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) Resent-Date: Wed, 30 Dec 2009 15:48:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Subject: bug#5277: 23.1.90; cus-load.el path for cedet/semantic/bovine/c.el X-BeenThere: bug-gnu-emacs@gnu.org Reply-To: Kevin Ryde , 5277@debbugs.gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 21:08:11 -0000 --=-=-= In the current cvs cus-load.el has (put 'c 'custom-loads '("cc-vars" cmacexp cpp hideif "c")) I think the "c" there is cedet/semantic/bovine/c.el. I believe it won't load under that name as the cedet subdirs aren't in the load-path. That c.el file has generated-autoload-load-name: "semantic/bovine/c" which I presume is designed for its autoloads. I wonder if it should be used for the custom loads too. Seems a bit like hard work to remember it in every sub-file, but building a load-path relative name might go wrong in worse ways if making deps from files not yet in a loadable tree or whatnot. cus-load.el.subfiles.diff below is the what's changed by using `generated-autoload-load-name'. Notice for instance the "ede/locate" one was previously loading "locate", which would mean the wrong locate.el -- a danger of duplicate names among .el files I suppose. 2009-12-30 Kevin Ryde * cus-dep.el (custom-make-dependencies): Add hack-local-variables to pick up generated-autoload-load-name from cedet/semantic/bovine/c.el and similar. This ensures "semantic/bovine/c" gets into custom-loads, instead of bare "c" which is no good as the bovine subdir is not in load-path. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=cus-dep.el.local-vars.diff --- cus-dep.el.~1.47.~ 2009-11-09 09:08:51.000000000 +1100 +++ cus-dep.el 2009-12-31 07:26:35.000000000 +1100 @@ -26,6 +26,7 @@ ;;; Code: (eval-when-compile (require 'cl)) +(require 'autoload) ;; for defvar generated-autoload-load-name (require 'widget) (require 'cus-face) @@ -60,10 +61,13 @@ (string-match preloaded file) (not (file-exists-p file))) (erase-buffer) + (kill-all-local-variables) (insert-file-contents file) + (hack-local-variables) (goto-char (point-min)) (string-match "\\`\\(.*\\)\\.el\\'" file) - (let ((name (file-name-nondirectory (match-string 1 file))) + (let ((name (or generated-autoload-load-name + (file-name-nondirectory (match-string 1 file)))) (load-file-name file)) (if (save-excursion (re-search-forward --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=cus-load.el.subfiles.diff --- cus-load.el.old 2009-12-31 07:26:09.000000000 +1100 +++ cus-load.el 2009-12-31 07:27:57.000000000 +1100 @@ -61,7 +61,7 @@ (put 'cua 'custom-loads '(cua-base)) (put 'desktop 'custom-loads '(desktop)) (put 'eshell-cmpl 'custom-loads '(em-cmpl)) -(put 'ede 'custom-loads '(ede "locate" "make" "project-am")) +(put 'ede 'custom-loads '(ede ede/locate ede/make "project-am")) (put 'cperl-help-system 'custom-loads '(cperl-mode)) (put 'ps-print-miscellany 'custom-loads '(ps-bdf ps-print)) (put 'erc-hooks 'custom-loads '(erc erc-netsplit)) @@ -176,7 +176,7 @@ (put 'gnus-summary-pick 'custom-loads '(gnus-salt)) (put 'gnus-thread 'custom-loads '(gnus-sum gnus-group)) (put 'org-progress 'custom-loads '(org-clock org org-habit)) -(put 'document 'custom-loads '("document")) +(put 'document 'custom-loads '(srecode/document)) (put 'pop3 'custom-loads '(pop3)) (put 'languages 'custom-loads '(ps-mode ada-mode antlr-mode asm-mode cus-edit cfengine cperl-mode css-mode dcl-mode delphi f90 fortran hideshow icon idlwave info-look js ld-script m4-mode meta-mode modula2 nxml-mode octave-mod pascal perl-mode prolog python rng-valid sgml-mode sh-script sieve simula tcl vera-mode verilog-mode vhdl-mode)) (put 'reftex-miscellaneous-configurations 'custom-loads '(reftex-vars)) @@ -266,7 +266,7 @@ (put 'org-indent 'custom-loads '(org-indent)) (put 'message-buffers 'custom-loads '(message)) (put '5x5 'custom-loads '(5x5)) -(put 'semanticdb 'custom-loads '("db-file" "db-ebrowse" "db")) +(put 'semanticdb 'custom-loads '(semantic/db-file "db-ebrowse" semantic/db)) (put 'docs 'custom-loads '(info makeinfo texinfo)) (put 'enriched 'custom-loads '(enriched)) (put 'eshell-alias 'custom-loads '(em-alias)) @@ -310,7 +310,7 @@ (put 'auto-save 'custom-loads '("files.my-disk-space")) (put 'lazy-highlight 'custom-loads '(ispell)) (put 'tpu 'custom-loads '("tpu-extras" tpu-edt)) -(put 'semantic-faces 'custom-loads '("complete" "include" "mode" "util-modes" "senator" "fields")) +(put 'semantic-faces 'custom-loads '(semantic/complete semantic/decorate/include semantic/decorate/mode semantic/util-modes semantic/senator "fields")) (put 'w32 'custom-loads '(w32-vars)) (put 'viper-hooks 'custom-loads '(viper-init)) (put 'gnus-cite 'custom-loads '(gnus-cite gnus-msg)) @@ -498,7 +498,7 @@ (put 'vhdl-port 'custom-loads '(vhdl-mode)) (put 'gnus-charset 'custom-loads '(gnus gnus-group gnus-sum)) (put 'calculator 'custom-loads '(calculator)) -(put 'semantic-modes 'custom-loads '("mode" "util-modes" "idle" "mru-bookmark")) +(put 'semantic-modes 'custom-loads '(semantic/decorate/mode semantic/util-modes semantic/idle semantic/mru-bookmark)) (put 'conf 'custom-loads '(conf-mode)) (put 'custom-menu 'custom-loads '(cus-edit)) (put 'type-break 'custom-loads '(type-break)) @@ -548,12 +548,12 @@ (put 'follow 'custom-loads '(follow)) (put 'info 'custom-loads '(info)) (put 'battery 'custom-loads '(battery)) -(put 'texinfo 'custom-loads '(informat "document" texinfo)) +(put 'texinfo 'custom-loads '(informat srecode/document texinfo)) (put 'dired-mark 'custom-loads '(dired)) (put 'makeinfo 'custom-loads '(makeinfo)) (put 'supercite-cite 'custom-loads '(supercite)) (put 'speedbar-vc 'custom-loads '(speedbar)) -(put 'senator 'custom-loads '("senator")) +(put 'senator 'custom-loads '(semantic/senator)) (put 'eieio 'custom-loads '(chart eieio-custom)) (put 'msb 'custom-loads '(msb)) (put 'save-place 'custom-loads '(saveplace)) @@ -568,7 +568,7 @@ (put 'bs-appearance 'custom-loads '(bs)) (put 'pcmpl-cvs 'custom-loads '(pcmpl-cvs)) (put 'org-export-htmlize 'custom-loads '(org-html)) -(put 'semantic 'custom-loads '("mode" "util-modes" "idle" "mru-bookmark" "c" semantic "edit" "grammar" "lex" "lex-spp" "list" "db" "senator" "wisent")) +(put 'semantic 'custom-loads '(semantic/decorate/mode semantic/util-modes semantic/idle semantic/mru-bookmark semantic/bovine/c semantic semantic/edit "grammar" semantic/lex semantic/lex-spp semantic/symref/list semantic/db semantic/senator "wisent")) (put 'eshell-mode 'custom-loads '(esh-mode)) (put 'files 'custom-loads '("files.my-disk-space" ange-ftp autoinsert autorevert cus-edit dired filecache latexenc recentf shadowfile tramp)) (put 'mm-url 'custom-loads '(mm-url)) @@ -625,7 +625,7 @@ (put 'org-mac-flagged-mail 'custom-loads '(org-mac-message)) (put 'octave 'custom-loads '(octave-mod octave-inf)) (put 'editing-basics 'custom-loads '("files.my-disk-space" cua-base pc-select)) -(put 'srecode 'custom-loads '("document" "mode" "expandproto" "insert" "map" "srt-mode")) +(put 'srecode 'custom-loads '(srecode/document srecode/mode srecode/expandproto srecode/insert srecode/map srecode/srt-mode)) (put 'kmacro 'custom-loads '(kmacro)) (put 'fortune-signature 'custom-loads '(fortune)) (put 'spam-bsfilter 'custom-loads '(spam)) @@ -782,7 +782,7 @@ (put 'emerge 'custom-loads '(emerge)) (put 'org-properties 'custom-loads '(org)) (put 'scheme 'custom-loads '(cmuscheme scheme)) -(put 'semantic-symref 'custom-loads '("list")) +(put 'semantic-symref 'custom-loads '(semantic/symref/list)) (put 'spam-report 'custom-loads '(spam-report)) (put 'org-cycle 'custom-loads '(org)) (put 'gametree 'custom-loads '(gametree)) @@ -820,7 +820,7 @@ (put 'vhdl-style 'custom-loads '(vhdl-mode)) (put 'tempo 'custom-loads '(tempo)) (put 'erc-quit-and-part 'custom-loads '(erc)) -(put 'c 'custom-loads '("cc-vars" cmacexp cpp hideif "c")) +(put 'c 'custom-loads '("cc-vars" cmacexp cpp hideif semantic/bovine/c)) (put 'nnmail-prepare 'custom-loads '(nnmail)) (put 'processes 'custom-loads '(sql ansi-color comint compile executable cus-edit flyspell grep gud metamail pcomplete proced rcompile rlogin shell socks term)) (put 'ebnf2ps 'custom-loads '(ebnf2ps)) --=-=-= In GNU Emacs 23.1.90.2 (i586-pc-linux-gnu, GTK+ Version 2.18.5) of 2009-12-27 on blah.blah configured using `configure 'CFLAGS=-O -g' '--prefix=/down/emacs/b/inst' '--with-x-toolkit=gtk'' 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_AU value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 18 06:08:07 2011 Received: (at control) by debbugs.gnu.org; 18 Sep 2011 10:08:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5EIA-0000qs-Vk for submit@debbugs.gnu.org; Sun, 18 Sep 2011 06:08:07 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5EI8-0000qj-EM for control@debbugs.gnu.org; Sun, 18 Sep 2011 06:08:05 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R5EDH-00086G-CS for control@debbugs.gnu.org; Sun, 18 Sep 2011 12:03:03 +0200 Date: Sun, 18 Sep 2011 11:59:42 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #5277 X-MailScanner-ID: 1R5EDH-00086G-CS X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1316944983.51784@+RCNbjAFg4+LVUlFN9hZ5A X-Spam-Status: No X-Spam-Score: -2.6 (--) 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.6 (--) tags 5277 patch From debbugs-submit-bounces@debbugs.gnu.org Sat May 11 20:00:49 2013 Received: (at 5277-done) by debbugs.gnu.org; 12 May 2013 00:00:49 +0000 Received: from localhost ([127.0.0.1]:36966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbJia-0002gO-VN for submit@debbugs.gnu.org; Sat, 11 May 2013 20:00:49 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:33160) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbJiY-0002gA-4O for 5277-done@debbugs.gnu.org; Sat, 11 May 2013 20:00:47 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UbJiF-0003J1-7l; Sat, 11 May 2013 20:00:27 -0400 From: Glenn Morris To: 5277-done@debbugs.gnu.org Subject: Re: bug#5277: 23.1.90; cus-load.el path for cedet/semantic/bovine/c.el References: <87my10qjjs.fsf@blah.blah> X-Spook: sniper corporate security AIEWS S Key IRA Mena X-Ran: wEAL1{c,=,ydiR=myfu=W{+RB))yN?a!@vx>MlD~}#tyI/Fgu|sAVxNa"U`;i6Yv]?0sma X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 11 May 2013 20:00:26 -0400 In-Reply-To: <87my10qjjs.fsf@blah.blah> (Kevin Ryde's message of "Thu, 31 Dec 2009 07:43:51 +1100") Message-ID: <4eobchrrs5.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 5277-done 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: -8.4 (--------) Version: 24.4 Thanks; applied. I don't totally like reusing generated-autoload-load-name for this, but in practice it works, and it doesn't seem worth adding another variable for this. From unknown Sun Jun 22 03:48:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 09 Jun 2013 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator