* Tracing what is loading @ 2008-12-07 0:34 Harry Putnam 2008-12-07 9:58 ` Juanma Barranquero 0 siblings, 1 reply; 13+ messages in thread From: Harry Putnam @ 2008-12-07 0:34 UTC (permalink / raw) To: help-gnu-emacs I hope I've used good judgement here. I'm running 23 but the question is so basic I thought better to keep the line noise off the devel list and ask here. How can I ensure that some specific code of my choosing is loaded at the earliest possible point when emacs starts. What I want to do is load something like this: ;;[Tip from Kai G] make loaded files give a message (defadvice load (before debug-log activate) (message "Now loading: %s" (locate-library (ad-get-arg 0)))) That will tell exactly what is loading and in what order. Maybe there is a better or hopefully simpler way like possibly compiling something directly into the binary when it is compiled. ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Tracing what is loading 2008-12-07 0:34 Tracing what is loading Harry Putnam @ 2008-12-07 9:58 ` Juanma Barranquero 2008-12-07 11:22 ` speedbar question Maindoor 2008-12-07 23:09 ` Tracing what is loading Harry Putnam 0 siblings, 2 replies; 13+ messages in thread From: Juanma Barranquero @ 2008-12-07 9:58 UTC (permalink / raw) To: Harry Putnam; +Cc: help-gnu-emacs On Sun, Dec 7, 2008 at 00:34, Harry Putnam <reader@newsguy.com> wrote: > ;;[Tip from Kai G] make loaded files give a message > (defadvice load (before debug-log activate) > (message "Now loading: %s" (locate-library (ad-get-arg 0)))) > > That will tell exactly what is loading and in what order. That will skip calls to Fload from C code (defadvice does not work for calls from C). > Maybe there is a better or hopefully simpler way like possibly > compiling something directly into the binary when it is compiled. Not necessarily simpler. If you want to do that on a permanent basis, you can add code to Fload to show a message. If it is just once for some debugging, you can use the trace facilities of GDB. Juanma ^ permalink raw reply [flat|nested] 13+ messages in thread
* speedbar question 2008-12-07 9:58 ` Juanma Barranquero @ 2008-12-07 11:22 ` Maindoor 2008-12-07 15:21 ` Drew Adams 2008-12-07 23:09 ` Tracing what is loading Harry Putnam 1 sibling, 1 reply; 13+ messages in thread From: Maindoor @ 2008-12-07 11:22 UTC (permalink / raw) To: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 491 bytes --] I wanted to use mouse-1 single click to do all i want in speedbar instead of use mouse-2 ( scroll button ) click. I couldn't find an easy way so I edited dframe.el and swapped down-mouse-1 event and mouse-2 event. Now I got exactly what I want but the problem is that everytime i move the mouse in speedbar, i always get some highlight as if i am trying to copy something. Is there anyway to get around this or is there a way to solve this correctly ? Thanks, [-- Attachment #2: Type: text/html, Size: 636 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: speedbar question 2008-12-07 11:22 ` speedbar question Maindoor @ 2008-12-07 15:21 ` Drew Adams 2008-12-07 15:34 ` Maindoor 0 siblings, 1 reply; 13+ messages in thread From: Drew Adams @ 2008-12-07 15:21 UTC (permalink / raw) To: sanjeevfiles, help-gnu-emacs > I wanted to use mouse-1 single click to do all i want in > speedbar instead of use mouse-2 ( scroll button ) click. > I couldn't find an easy way so I edited dframe.el and > swapped down-mouse-1 event and mouse-2 event. > Now I got exactly what I want but the problem is > that everytime i move the mouse in speedbar, i always > get some highlight as if i am trying to copy something. > Is there anyway to get around this or is there a way to > solve this correctly ? [Plain text, not HTML mail, please.] What Emacs version are you using? In Emacs 22 or later `mouse-1' should do what you want by default, and the behavior is controlled by option `mouse-1-click-follows-link'. ^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: speedbar question 2008-12-07 15:21 ` Drew Adams @ 2008-12-07 15:34 ` Maindoor 2008-12-07 17:10 ` Drew Adams 0 siblings, 1 reply; 13+ messages in thread From: Maindoor @ 2008-12-07 15:34 UTC (permalink / raw) To: help-gnu-emacs, Drew Adams [-- Attachment #1: Type: text/plain, Size: 1615 bytes --] I'm using 23.0.60.1 which would be the very latest, I'm running ubuntu 8.04. mouse-1 doesn't do anything in speedbar, while clicking the button in scroll wheel( mouse-2) or the middle button in thinkpad selects the buffer or expands etc. I think its a trivial bug. But by customizing i should be able to change it, I'm wondering how. The reason I'm saying its a trivial bug is because, it is not intuitive and because, if you are familiar with dframe.el in speedbar, middle button is mapped to dframe-click event and mouse-1 is mapped to dframe-double-click event in dframe.el which is kind of inverse. Please let me know if you have any ideas on how to customize it. Thanks. --- On Sun, 12/7/08, Drew Adams <drew.adams@oracle.com> wrote: From: Drew Adams <drew.adams@oracle.com> Subject: RE: speedbar question To: sanjeevfiles@yahoo.com, help-gnu-emacs@gnu.org Date: Sunday, December 7, 2008, 8:51 PM > I wanted to use mouse-1 single click to do all i want in > speedbar instead of use mouse-2 ( scroll button ) click. > I couldn't find an easy way so I edited dframe.el and > swapped down-mouse-1 event and mouse-2 event. > Now I got exactly what I want but the problem is > that everytime i move the mouse in speedbar, i always > get some highlight as if i am trying to copy something. > Is there anyway to get around this or is there a way to > solve this correctly ? [Plain text, not HTML mail, please.] What Emacs version are you using? In Emacs 22 or later `mouse-1' should do what you want by default, and the behavior is controlled by option `mouse-1-click-follows-link'. [-- Attachment #2: Type: text/html, Size: 2029 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: speedbar question 2008-12-07 15:34 ` Maindoor @ 2008-12-07 17:10 ` Drew Adams 2008-12-08 5:42 ` Maindoor 2008-12-08 5:46 ` speedbar question Maindoor 0 siblings, 2 replies; 13+ messages in thread From: Drew Adams @ 2008-12-07 17:10 UTC (permalink / raw) To: sanjeevfiles, help-gnu-emacs > > > I wanted to use mouse-1 single click to do all i want in > > > speedbar instead of use mouse-2 ( scroll button ) click. > > > I couldn't find an easy way so I edited dframe.el and > > > swapped down-mouse-1 event and mouse-2 event. > > > Now I got exactly what I want but the problem is > > > that everytime i move the mouse in speedbar, i always > > > get some highlight as if i am trying to copy something. > > > Is there anyway to get around this or is there a way to > > > solve this correctly ? > > > > What Emacs version are you using? In Emacs 22 or later `mouse-1' should > > do what you want by default, and the behavior is controlled by option > > `mouse-1-click-follows-link'. > > I'm using 23.0.60.1 which would be the very latest, I'm running ubuntu > 8.04. mouse-1 doesn't do anything in speedbar, while clicking the > button in scroll wheel( mouse-2) or the middle button in thinkpad > selects the buffer or expands etc. I think its a trivial bug. But by > customizing i should be able to change it, I'm wondering how. > > The reason I'm saying its a trivial bug is because, it is not > intuitive and because, if you are familiar with dframe.el in speedbar, > middle button is mapped to dframe-click event and mouse-1 is mapped to > dframe-double-click event in dframe.el which is kind of > inverse. Please let me know if you have any ideas on how to customize it. [Please don't top-post. Use plain text, not HTML, for this mailing list.] Are you using emacs -Q? If not, perhaps something in your .emacs is causing the problem. What is your value of `mouse-1-click-follows-link'? I don't see the problem, with emacs -Q in this build: In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-24 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' If your version is more recent than that, check Emacs NEWS (`C-h n') to see if this change was intentional. If it was not, please file an Emacs bug: `M-x report-emacs-bug'. ^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: speedbar question 2008-12-07 17:10 ` Drew Adams @ 2008-12-08 5:42 ` Maindoor 2008-12-08 7:06 ` Speedbar is messed up Maindoor 2008-12-08 5:46 ` speedbar question Maindoor 1 sibling, 1 reply; 13+ messages in thread From: Maindoor @ 2008-12-08 5:42 UTC (permalink / raw) To: help-gnu-emacs, Drew Adams [-- Attachment #1: Type: text/plain, Size: 2500 bytes --] I tried emacs -Q but the behavior is the same. and some version on windows works fine too. I think this is a bug and I've filed a bug report too. Thanks. --- On Sun, 12/7/08, Drew Adams <drew.adams@oracle.com> wrote: From: Drew Adams <drew.adams@oracle.com> Subject: RE: speedbar question To: sanjeevfiles@yahoo.com, help-gnu-emacs@gnu.org Date: Sunday, December 7, 2008, 10:40 PM > > > I wanted to use mouse-1 single click to do all i want in > > > speedbar instead of use mouse-2 ( scroll button ) click. > > > I couldn't find an easy way so I edited dframe.el and > > > swapped down-mouse-1 event and mouse-2 event. > > > Now I got exactly what I want but the problem is > > > that everytime i move the mouse in speedbar, i always > > > get some highlight as if i am trying to copy something. > > > Is there anyway to get around this or is there a way to > > > solve this correctly ? > > > > What Emacs version are you using? In Emacs 22 or later `mouse-1' should > > do what you want by default, and the behavior is controlled by option > > `mouse-1-click-follows-link'. > > I'm using 23.0.60.1 which would be the very latest, I'm running ubuntu > 8.04. mouse-1 doesn't do anything in speedbar, while clicking the > button in scroll wheel( mouse-2) or the middle button in thinkpad > selects the buffer or expands etc. I think its a trivial bug. But by > customizing i should be able to change it, I'm wondering how. > > The reason I'm saying its a trivial bug is because, it is not > intuitive and because, if you are familiar with dframe.el in speedbar, > middle button is mapped to dframe-click event and mouse-1 is mapped to > dframe-double-click event in dframe.el which is kind of > inverse. Please let me know if you have any ideas on how to customize it. [Please don't top-post. Use plain text, not HTML, for this mailing list.] Are you using emacs -Q? If not, perhaps something in your .emacs is causing the problem. What is your value of `mouse-1-click-follows-link'? I don't see the problem, with emacs -Q in this build: In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-24 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' If your version is more recent than that, check Emacs NEWS (`C-h n') to see if this change was intentional. If it was not, please file an Emacs bug: `M-x report-emacs-bug'. [-- Attachment #2: Type: text/html, Size: 3105 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Speedbar is messed up 2008-12-08 5:42 ` Maindoor @ 2008-12-08 7:06 ` Maindoor 2008-12-08 7:11 ` Maindoor 0 siblings, 1 reply; 13+ messages in thread From: Maindoor @ 2008-12-08 7:06 UTC (permalink / raw) To: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 3061 bytes --] Looks like this issue is there for a while: who made it this way ? Its awful. Thanks to Drew Adams for pointing me in the right direction. http://www.nabble.com/New-speedbar-version-td1003419.html Some one fix this. I tried playing with the mouse-1-click-follows-link variable, still nothing. sanjeev. --- On Mon, 12/8/08, Maindoor <sanjeevfiles@yahoo.com> wrote: From: Maindoor <sanjeevfiles@yahoo.com> Subject: RE: speedbar question To: help-gnu-emacs@gnu.org, "Drew Adams" <drew.adams@oracle.com> Date: Monday, December 8, 2008, 11:12 AM I tried emacs -Q but the behavior is the same. and some version on windows works fine too. I think this is a bug and I've filed a bug report too. Thanks. --- On Sun, 12/7/08, Drew Adams <drew.adams@oracle.com> wrote: From: Drew Adams <drew.adams@oracle.com> Subject: RE: speedbar question To: sanjeevfiles@yahoo.com, help-gnu-emacs@gnu.org Date: Sunday, December 7, 2008, 10:40 PM > > > I wanted to use mouse-1 single click to do all i want in > > > speedbar instead of use mouse-2 ( scroll button ) click. > > > I couldn't find an easy way so I edited dframe.el and > > > swapped down-mouse-1 event and mouse-2 event. > > > Now I got exactly what I want but the problem is > > > that everytime i move the mouse in speedbar, i always > > > get some highlight as if i am trying to copy something. > > > Is there anyway to get around this or is there a way to > > > solve this correctly ? > > > > What Emacs version are you using? In Emacs 22 or later `mouse-1' should > > do what you want by default, and the behavior is controlled by option > > `mouse-1-click-follows-link'. > > I'm using 23.0.60.1 which would be the very latest, I'm running ubuntu > 8.04. mouse-1 doesn't do anything in speedbar, while clicking the > button in scroll wheel( mouse-2) or the middle button in thinkpad > selects the buffer or expands etc. I think its a trivial bug. But by > customizing i should be able to change it, I'm wondering how. > > The reason I'm saying its a trivial bug is because, it is not > intuitive and because, if you are familiar with dframe.el in speedbar, > middle button is mapped to dframe-click event and mouse-1 is mapped to > dframe-double-click event in dframe.el which is kind of > inverse. Please let me know if you have any ideas on how to customize it. [Please don't top-post. Use plain text, not HTML, for this mailing list.] Are you using emacs -Q? If not, perhaps something in your .emacs is causing the problem. What is your value of `mouse-1-click-follows-link'? I don't see the problem, with emacs -Q in this build: In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-24 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' If your version is more recent than that, check Emacs NEWS (`C-h n') to see if this change was intentional. If it was not, please file an Emacs bug: `M-x report-emacs-bug'. [-- Attachment #2: Type: text/html, Size: 4217 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Speedbar is messed up 2008-12-08 7:06 ` Speedbar is messed up Maindoor @ 2008-12-08 7:11 ` Maindoor 0 siblings, 0 replies; 13+ messages in thread From: Maindoor @ 2008-12-08 7:11 UTC (permalink / raw) To: help-gnu-emacs; +Cc: cyd, romain, dev.null [-- Attachment #1: Type: text/plain, Size: 3332 bytes --] Including some folks who seemed to have worked on this: --- On Mon, 12/8/08, Maindoor <sanjeevfiles@yahoo.com> wrote: From: Maindoor <sanjeevfiles@yahoo.com> Subject: Speedbar is messed up To: help-gnu-emacs@gnu.org Date: Monday, December 8, 2008, 12:36 PM Looks like this issue is there for a while: who made it this way ? Its awful. Thanks to Drew Adams for pointing me in the right direction. http://www.nabble.com/New-speedbar-version-td1003419.html Some one fix this. I tried playing with the mouse-1-click-follows-link variable, still nothing. sanjeev. --- On Mon, 12/8/08, Maindoor <sanjeevfiles@yahoo.com> wrote: From: Maindoor <sanjeevfiles@yahoo.com> Subject: RE: speedbar question To: help-gnu-emacs@gnu.org, "Drew Adams" <drew.adams@oracle.com> Date: Monday, December 8, 2008, 11:12 AM I tried emacs -Q but the behavior is the same. and some version on windows works fine too. I think this is a bug and I've filed a bug report too. Thanks. --- On Sun, 12/7/08, Drew Adams <drew.adams@oracle.com> wrote: From: Drew Adams <drew.adams@oracle.com> Subject: RE: speedbar question To: sanjeevfiles@yahoo.com, help-gnu-emacs@gnu.org Date: Sunday, December 7, 2008, 10:40 PM > > > I wanted to use mouse-1 single click to do all i want in > > > speedbar instead of use mouse-2 ( scroll button ) click. > > > I couldn't find an easy way so I edited dframe.el and > > > swapped down-mouse-1 event and mouse-2 event. > > > Now I got exactly what I want but the problem is > > > that everytime i move the mouse in speedbar, i always > > > get some highlight as if i am trying to copy something. > > > Is there anyway to get around this or is there a way to > > > solve this correctly ? > > > > What Emacs version are you using? In Emacs 22 or later `mouse-1' should > > do what you want by default, and the behavior is controlled by option > > `mouse-1-click-follows-link'. > > I'm using 23.0.60.1 which would be the very latest, I'm running ubuntu > 8.04. mouse-1 doesn't do anything in speedbar, while clicking the > button in scroll wheel( mouse-2) or the middle button in thinkpad > selects the buffer or expands etc. I think its a trivial bug. But by > customizing i should be able to change it, I'm wondering how. > > The reason I'm saying its a trivial bug is because, it is not > intuitive and because, if you are familiar with dframe.el in speedbar, > middle button is mapped to dframe-click event and mouse-1 is mapped to > dframe-double-click event in dframe.el which is kind of > inverse. Please let me know if you have any ideas on how to customize it. [Please don't top-post. Use plain text, not HTML, for this mailing list.] Are you using emacs -Q? If not, perhaps something in your .emacs is causing the problem. What is your value of `mouse-1-click-follows-link'? I don't see the problem, with emacs -Q in this build: In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-24 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' If your version is more recent than that, check Emacs NEWS (`C-h n') to see if this change was intentional. If it was not, please file an Emacs bug: `M-x report-emacs-bug'. [-- Attachment #2: Type: text/html, Size: 4985 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: speedbar question 2008-12-07 17:10 ` Drew Adams 2008-12-08 5:42 ` Maindoor @ 2008-12-08 5:46 ` Maindoor 1 sibling, 0 replies; 13+ messages in thread From: Maindoor @ 2008-12-08 5:46 UTC (permalink / raw) To: help-gnu-emacs, Drew Adams [-- Attachment #1: Type: text/plain, Size: 2387 bytes --] mouse-1-click-follows-link value is 450. --- On Sun, 12/7/08, Drew Adams <drew.adams@oracle.com> wrote: From: Drew Adams <drew.adams@oracle.com> Subject: RE: speedbar question To: sanjeevfiles@yahoo.com, help-gnu-emacs@gnu.org Date: Sunday, December 7, 2008, 10:40 PM > > > I wanted to use mouse-1 single click to do all i want in > > > speedbar instead of use mouse-2 ( scroll button ) click. > > > I couldn't find an easy way so I edited dframe.el and > > > swapped down-mouse-1 event and mouse-2 event. > > > Now I got exactly what I want but the problem is > > > that everytime i move the mouse in speedbar, i always > > > get some highlight as if i am trying to copy something. > > > Is there anyway to get around this or is there a way to > > > solve this correctly ? > > > > What Emacs version are you using? In Emacs 22 or later `mouse-1' should > > do what you want by default, and the behavior is controlled by option > > `mouse-1-click-follows-link'. > > I'm using 23.0.60.1 which would be the very latest, I'm running ubuntu > 8.04. mouse-1 doesn't do anything in speedbar, while clicking the > button in scroll wheel( mouse-2) or the middle button in thinkpad > selects the buffer or expands etc. I think its a trivial bug. But by > customizing i should be able to change it, I'm wondering how. > > The reason I'm saying its a trivial bug is because, it is not > intuitive and because, if you are familiar with dframe.el in speedbar, > middle button is mapped to dframe-click event and mouse-1 is mapped to > dframe-double-click event in dframe.el which is kind of > inverse. Please let me know if you have any ideas on how to customize it. [Please don't top-post. Use plain text, not HTML, for this mailing list.] Are you using emacs -Q? If not, perhaps something in your .emacs is causing the problem. What is your value of `mouse-1-click-follows-link'? I don't see the problem, with emacs -Q in this build: In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-24 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' If your version is more recent than that, check Emacs NEWS (`C-h n') to see if this change was intentional. If it was not, please file an Emacs bug: `M-x report-emacs-bug'. [-- Attachment #2: Type: text/html, Size: 2981 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Tracing what is loading 2008-12-07 9:58 ` Juanma Barranquero 2008-12-07 11:22 ` speedbar question Maindoor @ 2008-12-07 23:09 ` Harry Putnam 2008-12-08 0:41 ` Juanma Barranquero 1 sibling, 1 reply; 13+ messages in thread From: Harry Putnam @ 2008-12-07 23:09 UTC (permalink / raw) To: help-gnu-emacs "Juanma Barranquero" <lekktu@gmail.com> writes: > On Sun, Dec 7, 2008 at 00:34, Harry Putnam <reader@newsguy.com> wrote: > >> ;;[Tip from Kai G] make loaded files give a message >> (defadvice load (before debug-log activate) >> (message "Now loading: %s" (locate-library (ad-get-arg 0)))) >> >> That will tell exactly what is loading and in what order. > > That will skip calls to Fload from C code (defadvice does not work for > calls from C). > >> Maybe there is a better or hopefully simpler way like possibly >> compiling something directly into the binary when it is compiled. > > Not necessarily simpler. If you want to do that on a permanent basis, > you can add code to Fload to show a message. If it is just once for > some debugging, you can use the trace facilities of GDB. google on `emacs Fload' turns of a big mess of nothing A search on gmane in emacs.help group on `fload' turns up one hit and its just a gush of output from some kind of compile command. find /usr/share/emacs -iname '*fload*' <no hits> I've been using emacs for 10 yrs now (Probably should not admit that..) and I've never heard of `Fload'. So ok, I'll bite.. what is `Fload'? ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Tracing what is loading 2008-12-07 23:09 ` Tracing what is loading Harry Putnam @ 2008-12-08 0:41 ` Juanma Barranquero 2008-12-08 4:46 ` Harry Putnam 0 siblings, 1 reply; 13+ messages in thread From: Juanma Barranquero @ 2008-12-08 0:41 UTC (permalink / raw) To: Harry Putnam; +Cc: help-gnu-emacs On Sun, Dec 7, 2008 at 23:09, Harry Putnam <reader@newsguy.com> wrote: > So ok, I'll bite.. what is `Fload'? Sorry. Fload is the `load' function. If you search the C code, you'll see that emacs lisp functions defined in C are called F + name of function. What I wanted to say is that the load function is defined in C (and called Fload in the C code), so if you advise it you won't get information about the times it is called from other C code (search Fload in the src/ directory to see where does that happen). But you can modify Fload and add code to show what it is loading. Juanma ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Tracing what is loading 2008-12-08 0:41 ` Juanma Barranquero @ 2008-12-08 4:46 ` Harry Putnam 0 siblings, 0 replies; 13+ messages in thread From: Harry Putnam @ 2008-12-08 4:46 UTC (permalink / raw) To: help-gnu-emacs "Juanma Barranquero" <lekktu@gmail.com> writes: > Fload is the `load' function. If you search the C code, you'll see > that emacs lisp functions defined in C are called F + name of > function. > > What I wanted to say is that the load function is defined in C (and > called Fload in the C code), so if you advise it you won't get > information about the times it is called from other C code (search > Fload in the src/ directory to see where does that happen). But you > can modify Fload and add code to show what it is loading. I see, so the more I think about this the more it looks pretty daunting. One thing that should make it easier though is that I don't really need to track the c code.. What I'm after is to get something into the init process ahead of everything else. Something that reports what is loading... (except c code). My aim is to get one jump ahead of the OS developers who think they need to interfere or `direct' emacs for me. To me it can be pretty confusing to determine what is happening as emacs starts up. I'm just trying to see what files get loaded before my own `site-start' file, So I can either head it off or leave it alone depending on what it seems to try to do. The `site' in this case is just a single user machine so no problems dealing with disgruntled users if I do stuff in site-start.el in order to keep .emacs to some sensible size. From Dmitrys' post I got the URL: (info "(elisp) Standard Hooks") And tracked it into this section where I found this: (info "(elisp) Init File") -- Variable: before-init-hook This normal hook is run, once, just before loading all the init files (the user's init file, `default.el', and/or `site-start.el'). (The only way to change it with real effect is before dumping Emacs.) Its not at all clear what it means to say it is `run' once but it doesn't really sound like it can be taken advantage of. If so; Would this involve just a text edit? I'm not at all sure how to take advantage of a `hook'. I have a few in my init files but they are blatantly plagerized here or some other group like the gnus groups. ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-12-08 7:11 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-12-07 0:34 Tracing what is loading Harry Putnam 2008-12-07 9:58 ` Juanma Barranquero 2008-12-07 11:22 ` speedbar question Maindoor 2008-12-07 15:21 ` Drew Adams 2008-12-07 15:34 ` Maindoor 2008-12-07 17:10 ` Drew Adams 2008-12-08 5:42 ` Maindoor 2008-12-08 7:06 ` Speedbar is messed up Maindoor 2008-12-08 7:11 ` Maindoor 2008-12-08 5:46 ` speedbar question Maindoor 2008-12-07 23:09 ` Tracing what is loading Harry Putnam 2008-12-08 0:41 ` Juanma Barranquero 2008-12-08 4:46 ` Harry Putnam
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.