General :: Windows - Make Emacs Ignore Changes To File On Disk?
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?
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?
Is there a way to force rsync to not make directories in its destination directory; ie, to simply dump all of the files from the source directory directly into the destination without copying any of the folders that the files were originally in? I tried --no-dirs, but that seems to only be for empty directories.
I am using a Linux machine with a KVM switch at work, and I commonly use emacs while switching between that machine and my other machine. I typically use the keyboard shortcut to swap between machines on the KVM, which is the key sequence: Scroll Lock, Scroll Lock, Up or Down. If I have an emacs window on top on Linux and hit these buttons, it will trap the Scroll Lock key presses and trigger a system beep from the CPU speaker. The KVM still switches, but on occasion, after the switch, it will register Scroll Lock as being stuck pressed, and so I'll be treated to an earful of system beeping. I have to switch back to the computer to get it to stop.Is there something I can put in the .emacs file that will prevent the program from beeping when I hit Scroll Lock with the window on top?
I have a csv file that has around 3 million rows. I want to process this file so that it creates a new file that contains only the rows that have 2 characters or less in the first column column.At the moment i am using SQL Loader but its taking too long so im wondering whether this would be easier if done in Unix?
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?
Is it possible to boot from a disk image file(containing linux) file that resides inside windows and add a bootloader entry for booting from the disk image.?
I would like to create a directory public_html/archive that is a mirror of public_html/images, except that deletions in the images directory don't cause corresponding deletions in archive.
I was going to manage all of this in code, but then I figured, maybe the system can handle it for me in a robust way.
Note that the website will reference archive in real time, so it has to be an instant mirror and not something done nightly, etc.
What's the fastest and most reliable way of working on files on a remote linux machine with emacs on a windows host machine? I need to be able to easily copy and paste text between emacs frames and use all the keyboard shortcuts, so putty and cygwin are out of the question. I've tried tramp mode but it just hangs when I try to connect.
We're in the process of implementing an offsite backup of all our servers to a remote Linux server. We're using rsync over ssh.What I've found is that characters such as ±, ¶,´ and £ are replaced on the Linux server with underscores.I don't mind if it changes these characters in the filenames of documents, but when it renames a language pack from Espa±ol.clx to Espa_ol.clx, it could cause issues for us further down the line.
What do I need to do differently to make the special characters copy over correctly? For the initial sync which will take place locally, before the machine is moved offsite, I have SAMBA enabled. I am able to copy files from Windows to the Samba share, retaining the original filename, though it looks different in the Linux directory listing, i.e. t̻st becomes ĻstThese files get deleted by rsync when it runs, as it does not match the filenames.
When I first started using Unity, I configured the dual monitor system under the settings program. I then changed my xorg.conf, but Unity is ignoring that configuration and switching to its own. I think this might have something to do with RandR, but I'm not sure. Is there a way to make Unity use the xorg.conf configuration?
when I have a broken packages on the system and want to apt-get install something (completely unrelated to the broken package) apt-get starts giving me crap about the broken stuff and won't download and install the packages I'm asking for. How can I make it ignore the completely unrelated stuff about missing deps on my system and download what I want?
I generally have at least 4-5 distro's installed at one time - I always install grub to the boot partition of other distros -that was I control grub from the individual distros - I use ubuntu's grub as the default boot loader.
Rather than the method that ubuntu uses with the update-grub.I normally edit the grub.cnf file to add other distros but when update-grub launches it also adds links in grub.How can I prevent the upadte-grub script automatically adding lines for other distros i.e - I just want it to add ubuntu entries and ignore other partitions.
1. Make a disk image of my 9.10 system (formatted ext3, btw) on my Syology CS407 NAS so I can do a bare metal restore. Why is this a couple of clicks on my Mac and Windows boxes, but so far not easy on Jaunty? Did I miss something?
2. Drivers. Why can't I just have an automatic wrapper for Windows drivers so I can use any printer or scanner, or a simple point and click driver install for native drivers? I have my ethernet connected Brother MFC-7820N, and the Samsung CLP-315 that runs off my CS407 installed and working on my Jaunty, but it was way more work than expected. What is the easy, automatic or point and click way to install drivers?
3. Graphics drivers. I have decent cards in my big boxes, Nvidia GTX 200 series. But when I get kernel updates, I have to uninstall and reinstall the graphics driver. Is there an easy way to keep this working?
4. Is there one flavor of linux distro that has a really consistent standard for user interface? I like to be able move things around, but do like my menus to be consistent (and do I ever hate the MS ribbon!). I've really only tried Ubuntu.
Linux installs have come a long, long way from the old days, and are such a point and click operation that I just wonder what I'm doing wrong. Someone is bound to have sorted these things.
Is their a command I could use to do this? It needs to be 32MB (33,554,432 bytes), can be either random data or just a blank file, though random data would be preferable, and well... that's it.
Though also, is their a way I could copy the file in a terminal and it print out the info such as average speed and/or total time it took to complete. I'm trying to fight some bad reviews on this flash drive I bought that performs very well, and since stupid comment vs stupid comment doesn't win anything I need to apparently be the first to actually test this drive throughly.
I have a 2 TB disk in an external SATA dock, formatted with a single ext3 (Linux) partition, which doesn't show up in the Windows 7 Computer Management->Disk Management utility, even as a raw/blank disk. I've verified that there's nothing wrong with the disk by connecting it to my Linux machine and mounting it, and I've verified that the dock is functioning properly by connecting a different FAT32-formatted disk, which mounts flawlessly as expected.I realize that I can't actually read the ext3 partition without additional software (e.g., Ext3IFS), but why doesn't the disk show up at all? Is there some sort of stupid anti-Linux filter built in? Is there any way to force Windows to recognize the disk, so that I can at the very least use direct block access with it?
Background: I want to clone an identical 2 TB disk onto this one. Due to my hardware layout, it's much easier to have the source disk attached to one machine and the destination disk connected to another, and do the clone over the network (the network is not a bottleneck with switched gigabit ethernet), than it is to hook them both up to one machine.(1) I did this once before when both machines were running Linux, but I've since upgraded the destination machine and decided to switch back to Windows for regular desktop use. I've got Cygwin installed, and have verified that the same basic method (dd + nc) will work, but I can't do anything if Windows doesn't even consider the destination disk to exist.I only have one eSATA port on each machine. Opening them up just to do this clone is a rather large annoyance. Also, since this is my backup disk, I'd like to eventually automate the cloning from the active disk to another one that I regularly swap with a third disk that I store off-site.
Is there a way to have the default 10.04 file explorer ignore capitals?
eg: If i have the files
BOB_1 BOB_2 BOB_3 bob_4 bob_5 bob_6
Ubuntu by default lists them in order starting with the lowercase letters 4-6, followed by the upper-case letters 1-3. I want them to be displayed in the order listed above.
If this isn't possible, can I rename every single file in a folder to be made up of only caps?
I've tried to reload a server 3 times, every time I try to setup 4 and 6GB partitions through the disk druid gui during RHEL install by entering 4096 and 6144MB, i end up with partitions showing 3.9GB and 5.9GB when i do a df -h after it boots. Is there a way to make disk druid ask for GB instead of MB during the install process so i can just type 4 and 6 and it will show up right in a df -h.
I would like to create a code that is working on windows XP. I would like to have it like visual basic or very simple so that I can run some execlp, exec, or command="program.exe parameters" with also some internet support?GCC ? G++ ? but those require some DLL to be installed on any PC before running; it is for a friend to simplify his operations
i have debian system in which i have mounted the OS on a ext-3 system . I have got a partition of 60 gb , which is formatted to ext-2 partition . Even if I mount , i cant write anything into it . How can i change that ? How can I make the disk writable?
I have two SATA hard-disk drives attached to my server as shown in the following :
[root@cl-185 /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 222G 166G 45G 79% / tmpfs 2.0G 0 2.0G 0% /dev/shm [root@cl-185 /]# fdisk -l | grep Disk Disk /dev/sda: 250.0 GB, 250000000000 bytes Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
Now, being a linux noob I need help on two questions :
1). Why only 'sda1' is shown when using df -h to get disk space usage, and what else needs to be done to check stats for 'sdb' ?
2). My PHP script needs to save a lot of 'cache' files, how to make the script use the second disk for saving the files - I mean what path should I edit in my script (current is '/var/www/html/tmp')
I want to make the transition from windows (sick of it). Im using Lenovo G530 Laptop and was wondering which would be the best Linux Os (meaning Ubuntu, fedora or something else). Keep in mind that I mostly use my laptop for college work and a lot of video and audio editing. I also want to be able to run Dual operating system (meaning that I wanna run both Linux and Windows) from the same computer as it might be easier for me to make the transition a little bit more easier. That being said I need someone to give me tutorials (video preferred) on how to make the partitions on the hard disk and step by step instruction on how to install both the two OS in my laptop.
There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.