General :: Web Search Engines And Emacs / Vim
Nov 8, 2010
The 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.
View 2 Replies
ADVERTISEMENT
Oct 13, 2010
I have Ubuntu 10.10 64-bit with Firefox 3.6.10 with the Omnibar add-on enabled. When I click on the current search engine's icon to display all my search engines so I can choose another one, the list of my search engines appears but not their icons and other people with the same OS and browser say they don't have this issue. What might be the reason for it?
View 5 Replies
View Related
Apr 7, 2009
I'm fairly comfortable with emacs but I can't seem to find how to do this. I deal with a lot of text files and find myself performing a lot of regular expression replacements to correct the formatting of the text -- or to extract certain tidbits of data from large ugly-looking files.
I know how to perform a regular expression replacement in one buffer at a time. But how do you perform a regular expression search and replace across all open buffers? I have found a method to perform a regex search and replace across a directory by marking files but I need to do it in the open buffers.
View 2 Replies
View Related
May 17, 2010
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]...
View 2 Replies
View Related
Sep 7, 2010
I just installed Ubuntu Karmic 9.10 64 bits in my laptop because its kernel version is the only one that will recognize my fan, so upgrading to another version of Ubuntu is not a solution to this problem:So far everything has been working correctly except the capability of some GTK engines to recognize themes: they look like Windows 95 (I'm guessing they take the Raleigh GTK theme because they don't recognize the one I installed).
I've installed, uninstalled and reinstalled several times the Murrine, Equinox, Aurora and Pixbuf GTK engines, without luck. I've installed them from Synaptics (adding the source for some of them) or downloading them from gnome-look, but the problem persists.They both use Equinox, Aurora and Murrine. I'm guessing the problem is with the Murrine engine, because the "New Wave" theme that comes installed by default with Ubuntu doesn't look right either, and it uses that engine.I don't know what else to do, I disabled the Compiz effects but the problem is still there.
View 1 Replies
View Related
Jan 2, 2010
I'm a mushatee and don't know much about ktorrent.I want to browse the engines using firefox.
View 3 Replies
View Related
May 8, 2011
How to install xboard and chess engines like gnu chess, crafty etc. or which repo must be additionally enabled on Centos 5.6?
View 9 Replies
View Related
Feb 17, 2010
ive been trying to move myself away from windows, but it seems like ubuntu just wont have it, either that or win7 puts some curse on ubuntu Just done my 3rd(3rd time this error has now happened) fresh install of ubuntu 9.10 onto my second hard drive(first hard drive has win7), install seemed fine, boots up nicely into grub, got the internet working fine(worked out of the box, wireless), other programs run fine, all seems to be working wonderfully well!
Until I tried to update, started up the update manager, clicked on check, its finds loads of updates so I let it download them, downloads all 200+ updates, starts to install them.
The updates are installing fine but then about three quarters of the way along the progress bar for installing it gets an error.Heres the details it showed at the error: (the rest of the details just looked like successful installs/updates)
Code:
Setting up gtk2-engines-pixbuf (2.18.3-lubuntu2.2)
dpkg: unrecoverable fatal error, aborting:
unable to fsync updated status of 'gtk2-engines-pixbuf': input/ouput error touch: cannot touch '/var/lib/update-notifier/dpkg-run-stamp': read-only file system
[code]....
View 2 Replies
View Related
Jul 29, 2011
I 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 Related
Mar 11, 2011
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 Related
Aug 20, 2010
I 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 Related
May 30, 2011
I 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 Related
Mar 16, 2011
I'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 Related
Apr 27, 2011
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.
View 1 Replies
View Related
Oct 8, 2010
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.
View 5 Replies
View Related
Apr 19, 2010
If i type '{' and hit Enter emacs will automatically put '}'. How can i do this?
View 3 Replies
View Related
Apr 20, 2010
How to enable autoindent in Emacs?
View 6 Replies
View Related
Jun 8, 2011
I 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.
View 2 Replies
View Related
Apr 20, 2010
Is it possible to get vim insert mode in Emacs?
View 2 Replies
View Related
Apr 5, 2011
i guess this is an installation issue as i am newish to Linux and got a F14 laptop from a used/refurb store... Anyway it seem i have difficulty with getting GTK running or maybe it is WGET...?
i did manage to install apt-get and was able to run synaptics ... but now whenever i try to run synaptics it flashes the interface and crashes. i tried apt-get search wget and it says invalid operation search. i tried apt cache wget and get a crash box in the upper right corner... i tried apt-get gtk+extra-2.1.2-4.fc14 and it says invalid operation gtk...
All of which is frustrating my attempts to get the GTK interface to J working. Their script uses WGET which i also cannot get.
View 6 Replies
View Related
Apr 4, 2010
I have installed emacs23 on Linux Mint 8. I would like to hide the toolbar, and I can do it with Options > Show/Hide > Tool-bar. But the Tool-bar comes back next time I start emacs. How can I hide it persistently?
View 2 Replies
View Related
Apr 18, 2010
How can I set up emacs to automatically git commit every time I save an open file or periodically?
View 4 Replies
View Related
Jul 19, 2010
I want to copy part of a file I'm writing in emacs into, say a blog post or something like that. Putting the text into the kill ring doesn't allow me to paste it into another program. As it stands, I have to open the same file in gedit and copy/paste from there. Is there an easier way?
[Weirdly, it works fine the other way round: copying text off a SU answer, for example, I can paste that into emacs with C-y just fine...]
View 2 Replies
View Related
Aug 4, 2010
Uzbl uses hjkl for moving around, much like vim does. I was wondering if there was a browser (text based like links, or needing X like uzbl) which would be easy for someone used to emacs key bindings?Or if there is an emacs mode for having a buffer behave like a Links browser, but with emacs keybindings to move around...[For linux systems, please ideally something available through AUR or a debian package or both]
View 3 Replies
View Related
Aug 9, 2010
On Linux, the Ctrl-[ key combination appears to be equivalent to hitting the Esc key. I would like to define Ctrl-[ as a shortcut in emacs but I am unable to because by the time the keystroke gets to emacs it looks like the Esc key was pressed. Is there anyway to disable this behavior so that Ctrl-[ simply means Ctrl-[?
View 2 Replies
View Related
Dec 17, 2010
I tried to execute a shell command by M-! cmd RET but it did not work.M-! does not turn up in the microbuffer no matter how many times I press Alt+!.But if I go to Tools menu and select Shell Command... option then it writes M-! to the microbuffer and everything works fine.What is the problem here?
View 2 Replies
View Related
Feb 9, 2011
I know to start emacs with no window system, I do:
emacs -nw filename.txt
But, I don't want to specify -nw constantly. What do I add in my .emacs to do this automatically?
View 3 Replies
View Related
Apr 2, 2011
I'm using emacs 23.2.1 with quack on Linux and trying to set my default typeface to Inconsolata Medium 13. It is installed on my system (debian sid) and can be set manually per buffer in emacs. However, I would like it to be used throughout and by default. My suspicion is that quack's mode is somehow conflicting.
I've searched a good deal looking for information on font customization in emacs. Although there is documentation and examples out there, I've found them fairly incoherent when taken together and nothing specifically addressing this issue. Here is my .emacs
set-default-font "Inconsolata-13")
Turn on visible-bell, get rid of beeps
setq visible-bell t)
Hilight the selected region
setq transient-mark-mode t)
[Code]...
View 2 Replies
View Related
Oct 18, 2010
i am using scientific linux, fedora 12accidentaly i changed LD_LIBRARY_PATH of the root profile to a different location. so terminal cannot understand any command as i type. is there any other ways to access .bashrc file exept using editors emacs, vi, nedit. my own profile works fine but i dont have permission to access the root folder. only commands the terminal responds to are pwd, cd, echo. i dont have any clue how to restore the library because it locates here:
[root@localhost ~]# echo $PATH
/usr/local/src/root/bin:
[root@localhost ~]# nedit .bashrc
[code]....
View 4 Replies
View Related
Mar 7, 2011
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]....
View 1 Replies
View Related