Software :: Emacs: Open A File In The Predefined Frame?
Nov 16, 2010
I split vertically Emacs window to 2 frames. In the left frame I edit the code, in the right frame I navigate through files and directories in Dired mode.It is possible to tell Emacs that anytime I choose the file and press Enter in the right frame, the file will be opened in the left frame?I am almost sure that there is a solution for this but I cannot figure out how to do it, and I was not successful for a moment to google for a correct solution
View 1 Replies
ADVERTISEMENT
Aug 26, 2010
I am using xubuntu and there are a few types of files on website that instead of downloading and saving and then opening with emacs, I would rather when the radio button choice comes up say open with emacs. I am using xubuntu with xfce, and there is no line for a command to be entered as some ubuntu editions have. In the choice of changing the opening program from mousepad to something else, it says search and allows to navigate to find a program, but I cant find emacs anywhere not in etc/ or elsewhere. So where is its executable to direct the program chooser to?
View 1 Replies
View Related
Jan 7, 2011
I would like to get the predefined application icon to open the same file types.
for instance: *.avi, *.mp3 to have the VLC icon
and other application to have the icon of their default application.
So far I only found tips to install single icons or to add icon packs. :S
and is there any way to when you install an application make it default for such file types ?
View 1 Replies
View Related
Aug 25, 2010
When clicking on a file in a webpage such as a .tex file the default viewer is mousepad. I search for Emacs to open it, but browsing gets me no where. How do I find it or set it so that I can open directly files in it without explicitly saving them
View 2 Replies
View Related
Oct 17, 2010
i have just installed the fedora 13 and emacs, after intalling the emacs when i try to load it i get the next message [root@localhost Eli]# emacs emacs: Cannot open termcap database file
View 3 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 24, 2010
Im using opennms network configuration backup server called 'RANCID'.It run on top of RHEL5 system and using APache. Here's the link which i'm accessing [URL] But any one can access this URL and obtain my configuration files
I want to secure this using a logon page.allow login Only for the successful authentications by entering the predefined username and password But after get authenticate book marking the above URL still can access anyone since it didnt prompt username and password again In eachtime executing the above url it should direct to authenticate page
View 5 Replies
View Related
May 14, 2011
Made the following commands:
$ sudo aptitude install fbterm
$ sudo aptitude install libucimf0 fbterm-ucimf ucimf-openvanilla openvanilla-imgeneric fbterm
Run: LC_CTYPE=zh_TW.UTF-8 fbterm -i fbterm_ucimf
System returns:
can't open frame buffer device!
Segmentation fault
Additional information: Ubuntu 11.04 under wubi install user already added to video group (checked "User and Group" )
View 1 Replies
View Related
Jun 30, 2011
I am using emacs at work, and when I am home I use ssh through the terminal to connect to my computer at work. However starting emacs through ssh only gives me emacs in the terminal. As it is a bit awkward to work with I would like to open the GUI version of emacs through ssh. I tried installing tramp, but that did not seem to have any effect.
View 7 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
Apr 20, 2010
Every time i open Emacs window,it opens with a width=(monitor-width)/2;height=(3/4)*(monitor-height)I click the maximized icon every time.How can i set the maximized emacs window as default?
View 4 Replies
View Related
Apr 21, 2010
What's the command to open multiple files in Emacs vertically/horizontally splitting window.
View 4 Replies
View Related
Jun 27, 2011
use gcc command to compile a *.c file error:unrecognized option '--eh-frame-hdr' why is it? and how to solution it?
View 2 Replies
View Related
Mar 23, 2011
I'm new to the emacs thingy. i just moved back to ubuntu.i have found out how to have emacs load the .el file from the .emacs file but i cant seem to use the addon.http://blogs.unity3d.com/2010/01/15/...ty-javascript/that is the addon i am trying to use.this is my .emacs file:
(add-to-list 'load-path "~/.emacs.d")
;; UnityJS mode for emacs
(autoload 'unityjs-mode "unityjs-mode" "Major mode for editing Unity Javascript code." t)
[code]....
View 2 Replies
View Related
Mar 20, 2010
How can I tell emacs that a file type that it doesn't recognise should have the same syntax highlighting as one it does?
Xfig produces .pstex files which I want to be highlighted like .ps/.eps
View 2 Replies
View Related
Jul 2, 2010
I'm using andLinux and for whatever reason, emacs seems to think that the file I'm editing has been changed every time I try to edit/save and keeps reprompting me. Very annoying. Is there a way to make emacs stop checking the file on the disk?
View 1 Replies
View Related
Apr 21, 2011
I've noticed that emacs does not notice when an open file is changed on disk (unlike ,say, geany). Is there any way of making it watch for changes of files on disk?
View 1 Replies
View Related
Apr 28, 2011
When emacs freezes doing a DNS lookup, that makes it rather hard to fix a network configuration file. Why does it need to do that?
View 8 Replies
View Related
Aug 9, 2009
I have a script im having some problems with, what I need is to have the system generate a random password for me and use that password when creating new users to it.
System is Debian Lenny and script is in bash.
The program is znc. I have made it so that it will generate the random password on the shell but the problem is to use it in the bnc software.
To make a password there the command is znc --makepass and look like this:
My question is now if it would be possible to put in the script so it would "answer" when it need those passwords ? the random password that is generated is in a variable called $setpass and is NOT crypted.
Or is there any other software that would be able to generate that md5 string for me ?
View 7 Replies
View Related
Aug 11, 2010
I'm writing an if statement where a variable is a number such as 14.05 (this is actually a temperature) and I want to compare it to a predefined value, sample code below:
Code:
I have all sorts of errors regardless of how I do this (double quotes, square brackets). The best idea I've had is stripping off the decimal place so it's a 4 digit number (e.g warning=1503 and DEV_TMP=1405) however this seems a little unnescessary and I'm sure there's an easier way of achieving the same thing.
View 11 Replies
View Related
Aug 2, 2011
I need to know how to send message (or execute script ) when the linux machine shutdown or reboot stage.
Actually I want to start a backup linux machine when main server shutdown or Reboot.
simply, how we can run script while init 0 OR init 6 command
View 3 Replies
View Related
May 26, 2010
Is it possible to create a global struct variable with predefined member values?Only one instance of that struct is ever needed.
View 1 Replies
View Related
Mar 17, 2009
I have a MS Access database I would love to able to use in OOo. How do I do it
View 2 Replies
View Related
Nov 3, 2010
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
View 6 Replies
View Related
Feb 15, 2010
there are number of threads floating on installation of ns2..however i am unable to get it on my 64 bit system ns: error while loading shared libraries: libotcl.so: cannot open shared object file: No such file or directory
View 1 Replies
View Related
Jun 2, 2010
I downloaded the demo of Penumbra Overture, it is a .sh file (113Mb). I can't open the file. In a terminal I ran chmod +x PenumbraOvertureDemo-2553.sh and then sudo ./PenumbraOvertureDemo-2553.sh and I get an error "./PenumbraOvertureDemo-2553.sh: 2: Syntax error: "(" unexpected" . The quotation marks are my own. Is the file corrupted? One of my lugmates thinks it might be a shar file, but Karmic says that it is a shell script. Another friend says that it is too large to be a shell script. Here is the code:
john@john-laptop:~$ cd /home/john/00
john@john-laptop:~/00$ chmod +x PenumbraOvertureDemo-2553.sh
john@john-laptop:~/00$ sudo ./PenumbraOvertureDemo-2553.sh
[code]....
View 4 Replies
View Related
Jul 27, 2010
When running the beta of blender 2.5, I get the following error. blender: error while loading shared libraries: libpython2.5.so.1.0: cannot open shared object file: No such file or directory In previous versions of ubuntu you could 'apt-get install python2.5' to resolve the issue, but it doesn't appear in any/all of the repositories. where I can get python2.5 for lucid-lynx?
View 1 Replies
View Related
Aug 8, 2010
I was looking to download "America's Army" and was doing alright until I hit a slight snag, It had an error while loading libgtk1.2, so I scoured the Internet for a way to fix this and the find command I found just told me it couldn't find the package, this is the first error I got when I tried to uncompress the "America's Army" version I downloaded:
/home/zac/.setup3597: error while loading shared libraries: libgtk-1.2.so.0: can not open shared object file: No such file or directory.
View 1 Replies
View Related
Aug 24, 2010
When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".
View 2 Replies
View Related
Dec 22, 2010
I followed [URL] that thread for installing BitPim on 10.04, but am getting this error:
Quote:
Traceback (most recent call last):
File "/opt/cx_Freeze-3.0.3/initscripts/ConsoleSetLibPath.py", line 35, in <module>
File "src/bp.py", line 20, in <module>
File "src/bp_cli.py", line 21, in <module>
[code]....
View 1 Replies
View Related