Difference between revisions of "Troubleshooting"

From WikEmacs
Jump to navigation Jump to search
(QxGGLQaLfnq)
(Add find-function entry)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Hi Duncan,You describe one of the TSM modes as Local Tech Support (Direct Console UI) . I think you might want to point out in the arcilte that there is a differentiation between local TSM and the DCUI. The DCUI is the yellow menu driven tool, the local TSM is the simple shell based on busybox. There are important impacts on the difference when it comes to lockdown mode as well. In the security profile section, there is a listing for all three modes: local TSM, remote TSM and the DCUI.Cheers, Forbes.
+
'''Troubleshooting''' tips from long time Emacs users.
 +
 
 +
= Find where a function is defined =
 +
 
 +
; {{Command|find-function}}
 +
: This command finds the source file containing the definition of the function near point.
 +
 
 +
; {{Command|find-function-on-key}}
 +
: This finds the source file containing the definition of the function bound to that key.
 +
 
 +
However, some functions are implemented in C rather than Lisp. To find these functions, download the C source files and add the following to your init file:
 +
 
 +
 
 +
<source lang="lisp">
 +
(setq find-function-C-source-directory "/path/to/C-source-directory")
 +
</source>
 +
 
 +
= Locate library file =
 +
 
 +
; {{Command|locate-library}}
 +
: Use this to debug [[load-path]] issues. Try {{Command|locate-library RET org RET}} now.
 +
 
 +
I just got this issue but only on ESXi cluster. I changed the das.failuredetectiontime value on 4 cluster (1 full ESXi's and 3 full ESX's) and only the ESXi cluster didn't update the value.
 +
 
 +
= Looking at Emacs Lisp files =
 +
 
 +
When installing new packages, you would want to hear some words of wisdom from the author of the library file.  
 +
 
 +
; {{Command|find-library}}
 +
: Try {{Command|find-library RET mediawiki RET}} to see whether you have installed [[Mediawiki.el]]. If it works, look at the ''Commentary'' section to see the author's notes.
 +
 
 +
 
 +
[[Category:Beginner]][[Category:Intermediate]][[Category:Troubleshoot]]

Latest revision as of 09:44, 19 October 2013

Troubleshooting tips from long time Emacs users.

Find where a function is defined

M-x find-function
This command finds the source file containing the definition of the function near point.
M-x find-function-on-key
This finds the source file containing the definition of the function bound to that key.

However, some functions are implemented in C rather than Lisp. To find these functions, download the C source files and add the following to your init file:


(setq find-function-C-source-directory "/path/to/C-source-directory")

Locate library file

M-x locate-library
Use this to debug load-path issues. Try M-x locate-library RET org RET now.

I just got this issue but only on ESXi cluster. I changed the das.failuredetectiontime value on 4 cluster (1 full ESXi's and 3 full ESX's) and only the ESXi cluster didn't update the value.

Looking at Emacs Lisp files

When installing new packages, you would want to hear some words of wisdom from the author of the library file.

M-x find-library
Try M-x find-library RET mediawiki RET to see whether you have installed Mediawiki.el. If it works, look at the Commentary section to see the author's notes.