Search 5,000,000+ questions and answers.

Frequently Asked Questions

What are perl mode indentation setting for emacs ?

Cricket FAQ
Try these: # Local Variables: # mode: perl # indent-tabs-mode: nil # tab-width: 4 # perl-indent-level: 4 # End: How do I change my config tree to use the view dictionary entries introduced in 1.0.4? (added by jakeb 6/7/02) This is best illustrated via example. Suppose this is your existing (pre-1.0.
Related Questions

How do I use perl-mode with Emacs?

GNU Emacs FAQ for Windows
Users have also recommended an alternate mode named cperl-mode. You can get this from http://www.emacswiki.org/cgi-bin/wiki/CPerlMode.
Related Questions

Perl FAQ
Since Emacs version 19 patchlevel 22 or so, there has been both a perl-mode.el and support for the perl debugger built in. These should come with the standard Emacs 19 distribution. In the perl source directory, you'll find a directory called ''emacs'', which contains several files that should help you. Daniel Smith <dls@best.com> is working on an interactive Perl shell called SoftList. It's currently at version 3.0b7a (beta). SoftList 3.
Related Questions

Why does zsh not work in an Emacs shell mode any more?

Z-Shell Frequently-Asked Questions
Emacs 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 Questions

Is there a GNU emacs editing mode for MATLAB?

MATLAB Frequently Asked Questions
A GNU emacs 'matlab-mode' is available via anonymous ftp from csi.jpl.nasa.gov as pub/matlab/util/matlab-mode.el
Related Questions

Where can I find a LOTOS-mode for emacs?

CADP FAQ
A LOTOS-mode is included in CADP, you will find it in "$CADP/emacs". A READ_ME file explains how to install it.
Related Questions

Is there an emacs mode for ECLiPSe?

ECLiPSe Programming FAQ
Yes, and it is bundled with recent versions of ECLiPSe. Put eclipse.el in your emacs path, and add the line (autoload 'eclipse-mode "eclipse.el" "ECLIPSE editing mode" t) to your .emacs file. You will need a recent version of emacs: at least GNU emacs 20 or XEmacs 21. Instructions for using the mode are found at the start of the eclipse.el file. Yes, ECLiPSe is ISO Prolog compliant. There are also libraries to emulate other Prolog dialects, such as SICStus Prolog.
Related Questions

How do I use the perl debugger with Emacs?

GNU Emacs FAQ for Windows
From Jay Rogers <jay@rgrs.com>: There are potentially two problems that cause the perl debugger to hang when started in emacs. One's an emacs problem while the other's a perl problem. First, get Emacs 19.34.4 or later for Windows 95/NT. It contains a fix that allows emacs to read all ASCII characters from the perl debugger, including the dreaded ^Z (aka EOF in DOS). It also groks the "drive:path" filename notation.
Related Questions

What about Perl?

Expect FAQ (Frequently Asked Questions)
From: libes (Don Libes) To: Joe McGuckin <joe@ns.via.net> Subject: Re: Need Perl examples Date: Sun, 22 Jan 95 20:17:39 EST Joe McGuckin writes: > >Yeah, I've scanned through your book a couple of times in the last >week, trying to make up my mind if I should buy it. I spent three years writing it - so I'm glad to hear you're spending a little time considering its merit! >Pro: > Looks like implementing some sort of telnet daemon would be trivial.
Related Questions

Forum FAQ - GameDev.Net Discussion Forums
Perl is a robust general-purpose programming language frequently used for creating CGI programs on web servers because it is faster than UNIX shell script programs, it can read and write binary files, and it can process very large files. Many companies now use databases to store their web content. The growing trend in MMO games has also increased the need for a reliable database solution for the game industry.
Related Questions

How do I use python-mode with Emacs?

GNU Emacs FAQ for Windows
The python-mode shipped with Python 1.5 requires a new custom.el before it can be used with Emacs 19.34. For more information, see the description of python-mode at http://www.python.org/emacs/python-mode/.
Related Questions

A4.4 Is there an Emacs mode for Gri?

Gri Frequently Asked Questions
Yes. Peter Galbraith has written a very powerful mode for Gri commandfiles which is supplied with Gri and which is fully documented in the manual. The capabilities of the mode include the following. Uses built-in knowledge of Gri commands to 'complete' your commands. For example, typing 'drM-TAB' (where M-TAB is the completion keystroke) causes the mode to write 'draw' in place of the 'dr'. Pressing M-TAB again gives a list of all Gri commands starting with 'draw'.
Related Questions

What is the 'groups mode' setting?

Groups FAQ - MoodleDocs
There are three different groups modes ??" No groups, Separate Groups, Visible Groups. In ???Separate groups??? mode, each group can only see their own group ??" other groups are invisible. In ???Visible groups??? mode, each group works in their own group, but can also see other groups.
Related Questions

How do I tell Emacs to automatically indent a new line to the indentation of the previous line?

GNU Emacs FAQ
Such behavior is automatic in Emacs 20 and later. From the etc/NEWS file for Emacs 20.2: ** In Text mode, now only blank lines separate paragraphs. This makes it possible to get the full benefit of Adaptive Fill mode in Text mode, and other modes derived from it (such as Mail mode). <TAB> in Text mode now runs the command indent-relative; this makes a practical difference only when you use indented paragraphs.
Related Questions

How can I start Emacs in fullscreen mode on MS-Windows?

GNU Emacs FAQ
Use the function w32-send-sys-command. For example, you can put the following in your .emacs file: (add-hook 'term-setup-hook #'(lambda () (w32-send-sys-command ?\xF030))) To avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing to fullscreen, you can add an 'Emacs.Geometry' entry to the Windows registry settings (see see (emacs)X Resources).
Related Questions

Emacs in console mode goes beyond the window size. What do I do?

GNU Emacs FAQ for Windows
With Emacs 20.3 and previous version, Emacs uses the size of the console buffer as the frame size. If your console window has buffer larger than the window (e.g., it uses a verical scrollbar), then Emacs' frame will be larger than the console window. To work around this problem, make the console buffer the size of the console window. Or, if you have source, apply this patch to src/w32console.c. Since version 20.
Related Questions

How do I use the EDT emulation mode in Emacs?

GNU Emacs FAQ for Windows
To use the EDT emulation package distributed with Emacs, place the following in your startup file: (setenv "TERM" "pc") (setq term-setup-hook 'edt-emulation-on) You might want to also browse through the EDT emulation documentation in etc/edt-user.doc. It describes which keys are emulated, how they are mapped onto the keypad and function keys, etc.
Related Questions

How do I enable font-lock-mode for Python in Emacs?

Python Frequently Asked Questions
If you are using XEmacs 19.14 or later, any XEmacs 20, FSF Emacs 19.34 or any Emacs 20, font-lock should work automatically for you if you are using the latest python-mode.el. If you are using an older version of XEmacs or Emacs you will need to put this in your .emacs file: (defun my-python-mode-hook () (setq font-lock-keywords python-font-lock-keywords) (font-lock-mode 1)) (add-hook 'python-mode-hook 'my-python-mode-hook)
Related Questions

My computer goes into hibernate mode when I don't use it often, how can I change this setting?

Frequently Asked Questions
Follow the directions below to turn off settings on your PC that may cause it to 'fall asleep' during periods of inactivity. Under Settings for Always On power scheme, click the down arrows and select the option Never for all items. For Windows XP PCs only, click on the Hibernate tab and uncheck Enable Hibernation.
Related Questions

Why do some cushions have an indentation?

VARILITE : FAQ
The cushion is designed to indent in the sacral-ischial area. The soft, less firm foam of the sacral-ischial area, by design, exerts less ???push back??? on the cushion fabric than the surrounding firmer foam. See Sacral-Ischial Foam Indentation Explanation for more information.
Related Questions

How do I use taint mode in my CGI/Perl script?

CGI/Perl Taint Mode FAQ
Notice that Perl 4 does not support the -T flag. Instead, version 4 of Perl distributions typically come with a separate executable altogether, "taintPerl". Windows NT and other non-UNIX Web servers may have trouble recognizing the first magical line of a Perl script. Executing the first line of a script with the command parameters in there is a UNIXism. Read the next section for issues involved in activating taint mode on WinNT, Win95/98, or Mac.
Related Questions

Soupermail Frequently Asked Questions
Perl is a pretty damn funky programming language that is very popular on the internet because of its power and ease of use. However, if you didn't know this, I'd suggest you not attempt to install Soupermail yourself. If you go installing things on a webserver you don't know anything about, you deserve all the punishment your sysadms can dole out to you.
Related Questions

How do I make Emacs use a certain major mode for certain files?

GNU Emacs FAQ
If you want to use a certain mode foo for all files whose names end with the extension .bar, this will do it for you: (setq auto-mode-alist (cons '("\\.bar\\'" . foo-mode) auto-mode-alist)) Otherwise put this somewhere in the first line of any file you want to edit in the mode foo (in the second line, if the first line begins with '#!'): -*- foo -*- Beginning with Emacs 19, the variable interpreter-mode-alist specifies which mode to use when loading a shell script.
Related Questions

Is it possible to include entries from org-mode files into my emacs diary?

Org-mode Frequently Asked Questions
Since the org-mode agenda is much more powerful and can contain the diary, you should think twice before deciding to do this. If you insist, however, integrating Org-mode information into the diary is possible. You need to turn on fancy diary display by setting in .
Related Questions

Is it possible to change your PK mode after setting it? and if so how?

Well of Souls - FAQ
HOwever, as of A41, world designers can now tag individual maps with "map flags" which enable such things as PK fights whether you are PK or not, and total safety from PKing, whether you are PK or not. One can only hope this power will be used responsibly. If you NEVER get skins, check the setting of the option "Ask for new skins" in your FILE menu. If you look in your WoS\SKINS folder, sort it by date you will see what skins you have gotten. If they all end with ".
Related Questions

Got A Question? Ask Our Community!


More Questions >>

© Copyright 2007-2008 QueryCAT
About • Webmasters • Contact