General :: Enable 2 Flyspell Modes In .emacs?
Mar 7, 2011emacs has these 2 mode for spell checking.
M-x flyspell-mode
Enable Flyspell mode, which highlights all misspelled words.
M-x flyspell-prog-mode
[code]....
emacs has these 2 mode for spell checking.
M-x flyspell-mode
Enable Flyspell mode, which highlights all misspelled words.
M-x flyspell-prog-mode
[code]....
I am an emacs user, and I noticed that on my new machine (running F15, 64bit) flyspell-mode will not work in tex mode.
I get errors that look something like this:
Code:
Spell-checking inequality-model.tex using hunspell with default dictionary...
Spell-checking region using hunspell with default dictionary...done
ispell-send-string: Process ispell not running
When done with a buffer, type C-x #
code....
How to enable autoindent in Emacs?
View 6 Replies View RelatedHow can I set indent in .emacs to enable my new line starts from the same position of previous line?
like this;
Hello world <enter>
Second Hello world // "S" starts right under first line's "H"
I was using the following code in my .emacs file to start emacs maximized:
Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
[Code]...
Switching to and from insert mode in Vim is no longer instantaneous since I use tmux. After pressing Esc in insert mode, it takes a noticeable amount of time to actually get out of insert mode. After pressing Esc and any other key afterwards the switch is immediate, and the command for the key pressed after Esc is executed. Any idea what might cause this?The Vim configuration is not the problem as the delay does not occur when I run Vim outside tmux, so this is probably related to tmux somehow. I use gnome-terminal btw.
Also worth noting, it seems I can not define key bindings in tmux for Esc, my plan was to bind Esc to:bind Escape send-keys.Alas, it seems binding anything to Esc for tmux does not work. The same problem occurs in screen as well.
What should look like X Window System (X.Org) modeline to be put in xorg.conf, for high resolution (incuding recommended 1680x1050 @ 50Hz resolution) for 22" NEC LCD 22WV monitor? X.Org autodetect correctly only 800x600 and lower resolution SVGA modes,unfortunately.1,2
How can I generate proper "Modeline" line for xorg.conf? Is information included in NEC_Datasheet_LCD22WV-english.pdf enough (found on NEC LCD 22WV product info page)? What tools there are available to generate proper modeline for a LCD monitor for Linux? MS Windows (MS Windows XP Home) correctly detects and use 1680x1050 resolution; can I somehow get modeline information from MS Windows?
Footnotes:
1) It might be hardware problem with the monitor itself, as the same LiveCD Linux distribution that couldn't autodetect recommended 1680x1050 mode for NEC LCD 22WV monitor, correctly autodetects recommended 1440x900 mode for slightly smaller NEC LCD 19WV monitor from the same family, by the same producent.
2) Or it might be problem with graphics card (NVIDIA Riva TNT2 M64) not supporting such resolution, or with graphics driver not supporting such resolution.
how do you enter into different modes of vmstat e.g-disk mode,disk partition mode and slab mode.going through man pages i figured out using "vmstat -p <partition> is for 'disk partition mode'.there is no info regarding diskmode and slab mode
View 1 Replies View RelatedI recently installed Deluge 1.2.0 from the following PPA:[URL]I using this on two different Linux computers. One is running Linux Mint 8 and the other is running Ubuntu Netbook Remix 9.10. The first time on either computer when I enable WebUI in the Deluge GUI it works fine. However if I ever disable it in plugins section I am subsequently unable to re-enable it (doesn't appear in the side panel again). Rebooting or reinstalling Deluge seems to have no effect.Is this a bug or am I doing something wrong?
View 3 Replies View RelatedSimple question (I hope). What does the dot at the end mean?drwxrwxr-x
View 3 Replies View RelatedJust installed Ubuntu 10.04 via Wubi on my laptop. It's looking good so far but to cut to the chase, I only have 2 display modes. This is 640x480 and 800x600. Is there anyway to 'trick' the system into getting a 1200x800 display mode as I have found that graphic drivers for the SIS Mirage 3 are non-existent.
View 6 Replies View RelatedI tried Google search and reading man page options for emacs but couldn't find... If I run emacs in GUI, it starts GUI for emacs. I want to run it in CLI in rxvt. How do I do it?
View 1 Replies View RelatedI am running a mainframe emulator on an old HP server in runlevel 3 text only. I have googled a bit but found no information on controlling the text video mode in runlevel 3. When I boot my Fedora 12 system chooses the highest resolution it can meaning my c3270 terminal emulator program (80x25) is in tiny font occupying a fraction of the upper left corner of the screen. I have looked everywhere but can find no mode setting commands for runlevel 3 text only.
View 7 Replies View RelatedDoes anyone know of a trick or tool that will show me ther directory?Example:neatcmd.bash /dir1/dir2/file1 /dir1/dir2/file1 permissions are 0640Or does anyone know of a tool or command what would convert, for example rwxr-x--- to 0750 suppose it could be scripted, but I was trying to make sure I did not have to re-invent the wheel if something was already out there.
View 3 Replies View RelatedI'm on Debian Squeeze, my PC has a Radeon HD4770 card. I honestly don't know if it's currently running on OS or proprietary fglrx drivers; I installed fglrx, but the control panel app insists the driver isn't loaded. I'm following these instructions to try to get my screen running at 1280x960x85. It's currently at 1280x1024x85, but it's an old CRT that, for some reason, works fine at 1280x960 but gets unfocused at 1280x1024. I'm following the step "adding undetected resolutions", and here's the result:
Code:
fallingwater@longcat:~$ xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048
DVI-1 disconnected (normal left inverted right x axis y axis)
[code].....
I am currently interested in switching from vim to emacs.One of the more compelling reasons for this is the smooth integration with a unix environment. The most experienced emacs users I have seen have a bash prompt at the bottom of their window, with stdout going to a buffer right above it. They then interact with the output of programs such as grep in interesting ways.I am on Ubuntu 10.04 and the default emacs environment does not seem to do much for me in the way of integration. For example, in the M-x shell mode, output from basic commands like ls produce lots of strange characters and hitting the up arrow does not go to previous commands.
View 4 Replies View RelatedI am doing some project work and for that using the server at college with ssh connection. Every time I try to open emacs on the terminal after connecting, it opens emacs in the terminal itself i.e. not its own window. On my laptop on which ubuntu is installed, emacs always opens up in its own window an thats how I am used to it. There are several problems when it opens in the terminal like when I try to use commands such as M-V, actually terminal's view menu opens up, its very frustrating. Also I am pretty sure that the college server runs on red hat and has X installed on it. So what do I need to do to get my emacs window back.
View 4 Replies View RelatedI was reading how you could browse the net with Emacs but then it was stated that it was done with another application like Firefox so this would imply that Emacs is an interpreter would it not? What is Emacs capable of? Is it an interpreter that runs a text editor?
View 11 Replies View RelatedI'm using emacs to write documents in latex. But, I would like to set the spell checker to use english or portuguese language. I've installed the ispell package for english and for portuguese. Now, I would like to set the emacs to use the english or the portuguese language. I can I do that?
View 2 Replies View RelatedThe facilities offered by any text editor to look for a string are highly superior to those offered by search engines such as that of Google or the one used by LQ>Search. To only speak of the most one elementary that comes to my mind, you can reach 'john smith' by searching with the string 'hn smi' in any decente editor, but I know of no search engine that offers this feature.
On the other hand, I have always heard of the power of Vim and Emacs. For instance, they say there is no thing Emacs cannot do. Lets advocate to the job of adding Google searches the ability to find 'john smith' by using 'hn smi' as the matching pattern. Or to add regular expression capabilities. Could I use Vim/Emacs to solve this problem?
A little light into the meaning of my words: It would be Vim/Emacs the one in charge of making the Internet connection, connecting to Google and send appropriate commands go Google. Then, to look for my string, I would be directly using Vim/Emacs which, upon receiving my commands, would send the appropriate ones to Google and return control to me.
I want to copy 100 rows from the openoffice calc file to a txt file opened in emacs at console mode, and I can't do it correctly.
I've open an openoffice cal file, and I select all rows and do copy. I've a txt file opened in emacs console. When I do paste, it will only be pasted 25 rows, and not all.
I don't know what the problem is. I ssh on to a linux machine and
setenv DISPLAY mylocalhostname:0
emacs temp.temp
Emacs: Cannot connect to X server mylocalhostname:0.
Check the DISPLAY environment variable or use `-d'.
Also use the 'xhost' program to verify that it is set to permit connections from your machine.
If i type '{' and hit Enter emacs will automatically put '}'. How can i do this?
View 3 Replies View RelatedI want to enable line numbering in emacs - as is vi, which we use exclusively at work (my boss removed emacs from all the machines in the department.)
In vi you just use :set nu - the is a site that explains that this is possible [URL]
It describes a linenum.el - and I can see the program, but don't understand how to install it.
Is it possible to get vim insert mode in Emacs?
View 2 Replies View RelatedI can run xrandr and I get the various modes thatwill supposedly work with my monitor.Then, I run xrandr -s 800x600 and the command tells me thathat mode is unavailable, even though it claims that it is in xrandr -s.What on earth does that mean, then?
View 4 Replies View RelatedI use 3 computers attached to a kvm switch (not the hypervisor) and this works fine w/ windows xp and ubuntu 9.04 and earlier. However I am having a problem w/ Fedora 12. It seems that it cannot read the EDID block, so I am not able to set the display above 800x600. There is no xorg.conf file, so I had one generated by Xorg -configure :1. I also tried using the modeline instructions, but the Xserver would not start until I removed modeline. I have tried adding to Section "Screen"
Subsection "Display"
Modes "1280x800"
EndSubSection
but it seems that this is ignored. how can I get the Xserver to set display modes above 800x600 when it cannot read EDID (thru a kvm switch) and it seems to be ignoring settings in xorg.conf?
I'm using Ubuntu 10.10. How can I switch between text-based splash and GUI splash? My computer is currently showing a purple text based splash screen when booting Ubuntu. How can I switch it to GUI mode?
View 4 Replies View RelatedI had a problem with the old good ascii/binary FTP transfer modes. I transferred some files (SQL scripting files, in which carriage returns DO matter) using FTP from a windows system to a linux system using filezilla "auto" mode, that should have resulted in ASCII mode for my sql files. These files are well formed and identical to the originals.
Then, someone else picked these files and moved them to another ftp server. I finally found that all <CR><LF> couples have been transformed in <CR><CR><LF>. I guessed that the problem was in the ASCII transfer mode - but, how comes that <CR><LF> => <CR><CR><LF>? I would have rather expected <CR><LF> to become <CR>.
I have 4 NICs and am trying to create 2 bonds. The first bond is mode 1, the second is mode 4. What happens though is makes both bonds mode 1. Here's my modeprobe.conf:
alias bond0 bonding
options bond0 miimon=80 mode=1
alias bond1 bonding
options bond1 miimon=100 mode=4 lacp_rate=1