How do I debug a .emacs file?
GNU Emacs FAQStart Emacs with the '-debug-init' command-line option. This enables the Emacs Lisp debugger before evaluating your .emacs file, and places you in the debugger if something goes wrong. The top line in the trace-back buffer will be the error message, and the second or third line of that buffer will display the Lisp code from your .emacs file that caused the problem. You can also evaluate an individual function or argument to a function in your .
Related QuestionsWhat is a .emacs file?
FAQ (komplett)When Emacs starts up it attempts to load, and execute the contents of a file called ".emacs", or "_emacs". This file is where all the customizations are saved, and restored from when you restart Emacs. All of these settings are stored as Lisp expressions, for a general introduction to Lisp you could see : http://cons.org, more Emacs Specific information can be found in the Emacs Lisp Manual.
Related QuestionsHow do I create a debug file?
Soupermail Frequently Asked QuestionsWhen Soupermail's not installing correctly, a good way to find out what's happening is to generate a Soupermail debug file. To do this, open the code for soupermail.pl and file the line setting $tempDir. Set this to somewhere appropriate on your server (ie, a real directory you can get to - /var/tmp/ is unlikely to be appropriate if you only have FTP access to your website). Make sure the place you set as $tempDir has write permissions for the webserver.
Related QuestionsHow can I send errors to the screen, and debug messages to a file?
Log::Log4perl::FAQ - Frequently Asked Questions on Log::Log4...Let's assume you want to maintain a detailed DEBUG output in a file and only messages of level ERROR and higher should be printed on the screen. Often times, developers come up with something like this: # Wrong!!! log4perl.logger = DEBUG, FileApp log4perl.logger = ERROR, ScreenApp # Wrong!!! This won't work, however. Logger definitions aren't additive, and the second statement will overwrite the first one. Log4perl versions below 1.
Related QuestionsWhere do I put my .emacs, (or _emacs), file?
GNU Emacs FAQ for WindowsYour startup file can be named either _emacs or .emacs, and should be placed in your "home" directory. If you have both files in your home directory, Emacs will load the .emacs file and ignore _emacs. Your home directory is where the HOME configuration variable tells Emacs it is.
Related QuestionsHow do I direct debug output to a text file?
Debugging - Windows Forms FAQsYou need to add a Trace Listener to your code. Below is sample code that adds a TextWriterTraceListener (and don't forget the Flush before you terminate). For more information on tracing in general, see Tracing Code in an Application in the Visual...
Related QuestionsHow do I set up a .emacs file properly?
GNU Emacs FAQIn general, new Emacs users should not have .emacs files, because it causes confusing non-standard behavior. Then they send questions to help-gnu-emacs@gnu.org asking why Emacs isn't behaving as documented. Beginning with version 20.1, Emacs includes the new Customize facility (see Using Customize). This allows users who are unfamiliar with Emacs Lisp to modify their .emacs files in a relatively straightforward way, using menus rather than Lisp code.
Related QuestionsWhy does Emacs say 'Error in init file'?
GNU Emacs FAQerror occurred while loading either your .emacs file or the system-wide file lisp/default.el. Emacs 21.1 and later pops the *Messages* buffer, and puts there some additional information about the error, to provide some hints for debugging. It may be the case that you need to load some package first, or use a hook that will be evaluated after the package is loaded. A common case of this is explained in Terminal setup code works after Emacs has begun.
Related QuestionsWhy does Emacs take 20 seconds to visit a file?
GNU Emacs FAQOld versions of Emacs (i.e., versions before Emacs 20.x) often encountered this when the master lock file, !!!SuperLock!!!, has been left in the lock directory somehow. Delete it. Mark Meuer says that NeXT NFS has a bug where an exclusive create succeeds but returns an error status. This can cause the same problem. Since Emacs's file locking doesn't work over NFS anyway, the best solution is to recompile Emacs with CLASH_DETECTION undefined.
Related QuestionsHow to open and use prism 3d log file and debug ?
FAQAnd last tips most crach happens if you don't removed the "anim:"truckname.psa"" line
Related QuestionsBut what about Emacs?
Frequently asked questionsIn Emacs, you need to use the command M-x server-start before invoking the edit hook from the Factor end.
Related QuestionsGNU Emacs FAQThe complete text of the Emacs manual is available on-line via the Info hypertext reader. Type C-h r to display the manual in Info mode. Typing <h> immediately after entering Info will provide a short tutorial on how to use it. To quickly locate the section of the manual which discusses a certain issue, or describes a command or a variable, type C-h i m emacs <RET> i topic <RET>, where topic is the name of the topic, the command, or the variable which you are looking for.Related Questions
How to debug LessTif applications ?
LessTif Frequently Asked QuestionsWe have some documents which should help to track down bugs in LessTif-based applications. BUG-HUNTING.html describes some specifics of LessTif's built-in debugging facilities while bugs.html covers more general the topic of debugging X11 applications.
Related QuestionsWhy is DeBug™ so good?
Austin Health DeBug Infection Prevention Program - Frequentl...DeBug™ is a user-friendly alternative to soap and water and results in improved outcomes for patients by reducing hospital-acquired infections. DeBug™ is unique because it contains 70% Isopropyl Alcohol (kills bugs instantly), 0.5% Chlorhexidine Gluconate (provides antibacterial residual effect) in an emollient base (causes less skin drying). Solutions such as DeBug™ are superior to gel-based products.
Related QuestionsWhere should DeBug™ be located in a ward?
Austin Health DeBug Infection Prevention Program - Frequentl...To improve Hand Hygiene compliance DeBug™ is located at the foot of the every bed, using a specifically designed bracket. Studies have shown that bedside availability dramatically improves health care worker compliance. Additionally, DeBug™ is placed in high-use areas including nurses stations and on mobile equipment (e.g. IV trolleys). To minimise the likelihood of adverse events, DeBug™ should not be placed at or above eye height.
Related QuestionsHow can usage of DeBug™ be sustained?
Austin Health DeBug Infection Prevention Program - Frequentl...Health care worker acceptance and ownership of DeBug is essential. This can be achieved by implementing a successful culture change program similar to our DeBug Infection Prevention Program. In addition, we also developed an interactive Hand Hygiene learning package for credentialling of all health care workers at Austin Health.
Related QuestionsI read somewhere about another debug page. How do I see that?
Frequently Asked Questions about the Garmin Map60C and Map60...From the Trip Computer page, press up, right, down and left on the rocker key. A debug page appears. There is a screen shot in this post and a discussion in the few following posts
Related QuestionsWhat is 'full debug info' anyway?
EMMA: Frequently Asked QuestionsThe minimum amount of information necessary for the most feature-full HTML report is contained in LineNumberAttribute and SourceFile .class attributes. These are produced by -g:lines,source compiler option (-g defaults to complete debug info and will work just as well). In Eclipse, the necessary debug attributes are enabled via "Java Compiler" properties.
Related QuestionsHow can I debug makepp?
Makepp FAQ -- Frequently asked questions about makeppYou can put $(print ) around a suspicious expression. This returns the unchanged expression, while printing it as a side effect. You can dump the current directory's (multiply after -C if you want) makefile with the --dump-makefile=file option, to see how makepp sees it. Makepp writes a log of everything it does and why. You can look at that with makepplog, mppl or makeppgraph, mppg. Makepp records all it knows about a file, for reuse on the next run.
Related QuestionsWhy does Emacs ignore my X resources (my .Xdefaults file)?
GNU Emacs FAQof version 19, Emacs searches for X resources in the files specified by the following environment variables: XFILESEARCHPATH and XUSERFILESEARCHPATH should be a list of file names separated by colons. XAPPLRESDIR should be a list of directory names separated by colons. or if that is unset, in the file named ~/.
Related QuestionsIs there Emacs support for R?
R FAQThere is an Emacs package called ESS (“Emacs Speaks Statistics”) which provides a standard interface between statistical programs and statistical processes. It is intended to provide assistance for interactive statistical programming and data analysis. Languages supported include: S dialects (R, S 3/4, and S-Plus 3.x/4.x/5.x/6.x/7.x), LispStat dialects (XLispStat, ViSta), SAS, Stata, and BUGS. ESS grew out of the need for bug fixes and extensions to S-mode 4.
Related QuestionsShould I run R from within Emacs?
R FAQYes, definitely. Inferior R mode provides a readline/history mechanism, object name completion, and syntax-based highlighting of the interaction buffer using Font Lock mode, as well as a very convenient interface to the R help system. Of course, it also integrates nicely with the mechanisms for editing R source using Emacs. One can write code in one Emacs buffer and send whole or parts of it for execution to R; this is helpful for both data analysis and programming.
Related QuestionsWhy does zsh not work in an Emacs shell mode any more?
Z-Shell Frequently-Asked QuestionsEmacs 19.29 or thereabouts stopped using a terminal type of "emacs" in shell buffers, and instead sets it to "dumb". Zsh only kicks in its special I'm-inside-emacs initialization when the terminal type is "emacs". Probably the most reliable way of dealing with this is to look for the environment variable $EMACS, which is set to t in Emacs' shell mode. Putting [[ $EMACS = t ]] && unsetopt zle in your .zshrc should be sufficient.
Related QuestionsWhat is an experienced Emacs user?
Frequently Asked Questions: AppendicesYes, when you use Emacs, you are apt to use the control key, the shift key and the meta key a lot. This is very annoying to some people (notably vile users), and the rest of us just love the hell out of it. Just give up and submit. Emacs really does stand for "Escape-Meta-Alt-Control-Shift", and not "Editing Macros", as you may have heard from other disreputable sources (like the Emacs author).
Related QuestionsWhich version of Emacs do I need?
Frequently Asked Questions: AppendicesGnus 5.10 requires an Emacs version that is greater than or equal to Emacs 20.7 or XEmacs 21.1. The development versions of Gnus (aka No Gnus) requires Emacs 21 or XEmacs 21.4.
Related QuestionsIs there a GNU emacs editing mode for MATLAB?
MATLAB Frequently Asked QuestionsA GNU emacs 'matlab-mode' is available via anonymous ftp from csi.jpl.nasa.gov as pub/matlab/util/matlab-mode.el
Related Questions