General :: Deleting A Directory In Emacs' Dired Mode

Feb 16, 2011

I would like to delete a directory in emacs' dired-mode.

I mark the directory with the "d" key, and then hit "x" to deleted flagged.

I then get the following error:

Is there any way to get emacs to delete the directory and stop its whining?

View 1 Replies


ADVERTISEMENT

General :: Get Vim Insert Mode In Emacs?

Apr 20, 2010

Is it possible to get vim insert mode in Emacs?

View 2 Replies View Related

Fedora :: Emacs: Flyspell-mode Not Working In Tex Mode?

Jun 13, 2011

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....

View 2 Replies View Related

General :: Can't Emacs On Mac OS X Find Information Directory Node / Why Is So?

Feb 15, 2010

The default Emacs on Mac OS X, 22.1, appears to have some problems with the info/help stuff.

When you hit C+h i, it says:

Can't find the Info directory node.

It works in AquaEmacs, but I downloaded the 23 version of emacs precompiled binaries from here and I still have the same problem.

View 2 Replies View Related

General :: Deleting All Files From Directory Except For Two

Nov 25, 2010

I'm writing a Perl script which performs linux commands.I have a directory with a load of files.

Code:exec_cmd('rm $(ls * | grep -v file1)');
This command will delete all except for file1. How can I modify this to delete all files except for file1 & file2?

View 2 Replies View Related

General :: Preventing Deleting Of Directory?

Jun 14, 2011

i need to restrict access of deleting to directory and partitions os disk? how do i do it?

View 5 Replies View Related

General :: Automatically Deleting The Directory In RedHat 5?

Feb 21, 2010

Something strange is happening with RedHat Linux 5. I created one directory system_verilog twice and both the times somehow it's get deleted after next booting of machine (after modification of some of the file in this directory).

View 3 Replies View Related

General :: How To Delete All Files In Directory Without Deleting?

Feb 9, 2010

I know that rm -i will prompt wether you want to delete each file.But rm -i -r will prompt for each file in each subdirectory recursively. How to make it prompt just for the directory itself, and then delete its contents without asking?How to delete all the files in a directory without deleting . and ..?How to recursively delete all tilde files in a directory?How to GUI file managers delete files to Trash? Where is this "Trash" located? Can you delete to trash in the command line?

View 14 Replies View Related

General :: Rsync Deleting Files From Destination Directory?

Jul 14, 2011

We have an rsync cron job set up to mirror all the files in a "..dashtdocsdocs" folder to the same folder on another server. It copies all the files over correctly and deletes any files in the "docs" directory that aren't in the sending directory, but it also deletes any files we put in the target directory's parent folder (..dashtdocs or other subfolders like ..dashtdocsimages) even though they've been excluded in the .rsync-filter file.

Here's our current rsync .sh:

/usr/local/bin/rsync --stats -qPzrtpl --delete --password-file=/var/run/.appprodrsync --log-file=/export/home
/webuser/logs/rsync-extranet-log -FF /export/home/ appprodrsync@appprod::dprweb_extranet/ > /export/home/webuser/logs/rsync-extranet-output 2>&1

[code]....

So for example server A has ..dashtdocsdocs and ..dashtdocsimages. Server B has ..dashtdocsdocs but if I manually copy the images folder over to ..dashtdocsimages, the images folder gets deleted from the target directory every time rsync runs.

A: ..dashtdocsdocs
..dashtdocsimages
B: ..dashtdocsdocs
..dashtdocsimages (<-- gets deleted everytime rsync runs)

I'd like to keep just the docs directory synched and update other folders manually, but they keep getting deleted. It looks to me like it's running a delete-excluded option, but that option wasn't used.

View 2 Replies View Related

General :: Del Command To Remove Files To Directory Instead Of Completely Deleting Them?

Dec 2, 2010

how to write a script so that when I use the 'del' command it removes/sends the files / folders to a I specify for example 'dustbin'

View 1 Replies View Related

General :: Getting Emacs Recognizing .tex As Latex And Even Running Latex-mode?

Jul 5, 2010

I am a semi-noob on this and I have problems getting my emacs recognizing .tex as latex and even running latex-mode. Usually when you run latex-mode (M-x : latex-mode) emacs should switch to latex-mode, but nothing happens in my case. The menu bar still show the TeX options, highlighting remains the same etc.

I am running emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4), this is on a university system so I don't know much about it.

> uname -a
Linux karakum 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 00:57:09 EST 2010 x86_64 x86_64 x86_64 GNU/Linux.

View 12 Replies View Related

Applications :: Install Php Mode On Emacs?

Dec 23, 2010

I am just starting out with ubuntu.

I downloaded emacs, and wanted to use php-mode, so i downloaded something called php-mode. I would have posted a link, but this forum restricts me from doing that.

Inside are a bunch of files, and no readme. I tried to ask google how to install this, but found nothing that made sense to me (i am still a n00b).

View 8 Replies View Related

Ubuntu :: Emacs Org Mode Broke After Update

Jan 9, 2010

I just updated to emacs23 from emacs22 (sudo apt-get install emacs2). I find that I now have a problem with org mode structured lists not appearing. A single asteriks on a line by itself no longer appears highlighted and no longer collapses and expands using the tab key.

View 2 Replies View Related

Fedora :: How To Let Emacs Run In Text-mode In Gnome-terminal

Sep 11, 2010

I had Emacs installed in Fedora 11 and want to run it text-mode,but everytime when I type emacs command in gnome terminal,an emacs graphical window pop up. I want to emacs to back to text-mode by typing M-x text-mode, and it doesn't work.Can emacs run in text-mode in X11 environment?

View 2 Replies View Related

OpenSUSE :: Using Emacs Shell-bash-mode-hook?

Feb 26, 2010

I want to show line numbers automatically in bash scripts (a habit of being a programmer) and when I load an emacs lisp file it works from the command below but the following command that sets up the same thing for bash scripts doesn't work. I played around with this for quite some time and couldn't find anything that would make work.This is the first time I have tried to customize emacs so it could easily be something ignorant on my part.

;; Load additional packages
(load-file "~/.elisp/whitespace.el")
(load-file "~/.elisp/setnu+.el")

[code]....

View 1 Replies View Related

Ubuntu :: Emacs In Remote Machine In Term Mode?

Jun 15, 2011

I ssh connect with a remote machine and have to use emacs.But emacs run only in term-mode. does anyone have a solution how can i run emacs in graph mode in the remote machine

View 1 Replies View Related

Software :: Using EMacs Abbrev-Mode To Replace Symbols?

Jul 7, 2011

I want to use Emacs abbrev-mode to be able to replace certain programming symbols with their Unicode equivalents as I type. So, for starters, I added this to my abbrev_defs file:

Code:
(define-abbrev-table 'haskell-mode-abbrev-table '(
("->" "→" nil 0) ))

But it simply doesn't work when I am in abbrev-mode. No error message, the auto-abbreviation simply doesn't take place. If I adjust the above:

Code:
(define-abbrev-table 'haskell-mode-abbrev-table '(
("arrow" "→" nil 0) ))

Then auto-abbreviation works with the word "arrow". Why can't it auto-replace the symbol?

View 3 Replies View Related

Fedora :: Commenting Out Block Of Code In EMacs In Python Mode

Jan 13, 2010

I usually develop python code with emacs, emacs being in python code. On my desktop a version is installed and/or configured that way, so I easily can choose a region in the code and simply click on a menu option to comment out this block of code (i.e. at the begin of each line in the selected code two '##' are put). That is very convenient.

However, on my Laptop, running F12 and emacs 23.1.1, this menu option is missing! I searched within google and found the hint that by pressing 'C-c #' I also can comment out a selected region. But on my emacs it says: 'C-c # is undefined'. Am I missing something? Anyone any idea how to fix/install/update/solve this problem, so I can easily choose a couple of python lines and comment them out?

View 3 Replies View Related

Hardware :: Emacs Console Mode : Change Background Colour

Mar 11, 2011

I am using GNU Emcas 23.2.1 in console mode on Konsole. It has white background colour. I want to change it to black.

View 3 Replies View Related

Fedora :: Grub Starts In Text Mode After Deleting All ATI And Catalyst Stuff?

Jul 3, 2011

use Fedora 15. I had installed driver for my ATI graphic card, as it was written in Fedora guide, then when I rebooted the system the bars and icons appeared with strange, changed colours (purple, green, etc). I've read that this happened because of the bad drivers, so I tried to fix it. Unfortunatelly because I'm Linux newbie and I'm also very nervous I deleted (using Fedora software manager) everything connectedtalyst from my system.Now when I try to start my computer, grub starts in text mode.My question is:What can I do? Do I have to reinstall my system or maybe someone knows how to fix it?I'm quite scared because now I can't launch not only Fedora but also Windows.(I'm writing from another computer

View 4 Replies View Related

Ubuntu :: Deleting An Old /home Directory?

Jul 2, 2010

I've followed some instructions on installing a new hard drive on Ubuntu ("Installing a New Hard Drive" and "HOWTO move /home to a new hard drive") and I've now successfully got my new drive working with /home. Everything looks to be in perfect working order.Now I'm wondering how to delete my original /home folder. Running "df -h" still shows 97% usage on my / partition and I'd like to clear out the old /home to free up all that space. I just don't know where these files are now is all.

View 9 Replies View Related

Ubuntu :: Permissions Deleting Directory Structure?

Apr 7, 2010

I've recently installed xubuntu 9.10 and when try to delete a folder with many sub-folders, this is what happens:

dav@dav-desktop:~/Downloads$ ls -l
total 1266644
-rw-r--r-- 1 dav dav 243161797 2010-04-06 20:06

[code]...

View 4 Replies View Related

Programming :: Deleted Files In Directory With So Many Files Without Deleting Directory Itself

Nov 14, 2010

There are millions of files in many directories. Wherenver i try rm * or find or use xargs, they say 'argument list too long' and exit. How can i deleted files in a directory with so many files without deleting the directory itself.

View 3 Replies View Related

Ubuntu :: Emacs Org-mode "C-c A A" Not Working?

Jan 15, 2011

I'm using 11.04. The agenda command C-a a a (agenda for current week or day) isn't working. When I press C-c a, it tells me that it doesn't know that command...

View 2 Replies View Related

Ubuntu :: Code In Emacs File To Start Emacs Maximized?

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

General :: Partition Table From Fdisk - Cylinder Mode - Sector Mode - Expert Mode ?

Aug 30, 2010

Below is a print out of my partition Table from Fdisk, in Cylinder mode, Sector mode, and then in expert mode?

Why in expert mode does it look like Partitions 2 and 3 share the same sector / hd / Cylinders? Is this OK?

Code:

View 3 Replies View Related

Ubuntu :: Low Graphics Mode - (EE) Open /dev/fb0:no Such File Or Directory

Feb 12, 2010

installed a couple of apps, and then by accident removed one. The problem is he was looking about in all the sections, and he cant remember what section it was from let alone what he removed. Now when the laptop boots it shows xsplash then goes to a dialog screen which says :-

(EE) open /dev/fb0:no such file or directory

When I click <OK> I get a small menu with Run ubuntu in low-graphics mode Reconfigure graphics Troubleshoot Exit to console Reconfigure does no good, but I can get logged in to text install. The laptop is an Acer Aspire 3630 and uses SiS graphics.

View 6 Replies View Related

General :: Emergency Mode Can Mount HDD With FS Error / Not In Rescue Or Single User-mode

Dec 1, 2010

My linux workstation recently crashed. After rebooting, Linux (Red Hat 5.3) will not boot properly and automatically went into emergency mode or recovery mode i think. I can still see my /home/user/ and all the files inside.I boot from CD to rescue mode and tried mounting read-only the /dev/sd5 which contains the files in the crashed hard disk to try to copy out my files but mounting was unsuccessful (invalid argument). I checked the filesystem type using fsck -N /dev/sda5 and shows it to ext2. i tried to mount another known working hdd and was successful.

My question is why in emergency mode, the crashed hdd is able to be mounted automatically as read-only but cannot be done in rescue mode thru a bootable CD?Is there any special mount options used in emergency mode?I also cannot copy out in emergency mode booting from the crashed hard disk as everything is read only.

View 3 Replies View Related

General :: Run Emacs In CLI Inside Of GUI?

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

Fedora Servers :: Can't Access Or Modify File Unless Directory Mode Is 777 And Files Are 666

Nov 8, 2010

I have a multi user system for my roommates and myself that has separate folders for each of us. I've got user authentication working with samba, but unless I set every file and folder readable/writeable by all users, I can't browse it or edit the files.This isn't ideal as the shares are open to other users access, so I'm hoping there's a way to keep folders at 750 and files at 660 while allowing samba users to browse, delete and edit.Also, the samba share is actually a mounted NFS share from another server. Both the NFS server and the Samba server have the same users/uid's. When a file is created from a Windows host via the Samba client, the NFS server's permissions do show that the correct user owns the files, but since the files aren't mode 666 but 640 I can't edit or delete the file.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved