All Projects → emacsorphanage → osx-trash

emacsorphanage / osx-trash

Licence: GPL-3.0 license
Make Emacs' delete-by-moving-to-trash do what you expect it to do on OS X.

Programming Languages

emacs lisp
2029 projects
applescript
352 projects

Projects that are alternatives of or similar to osx-trash

Web Mode
web template editing mode for emacs
Stars: ✭ 1,470 (+6581.82%)
Mutual labels:  melpa
Modern Cpp Font Lock
C++ font-lock for Emacs
Stars: ✭ 159 (+622.73%)
Mutual labels:  melpa
trash
Remove Command using a trash box.
Stars: ✭ 19 (-13.64%)
Mutual labels:  trash
Selectric Mode
⌨ Make your Emacs sound like a proper typewriter.
Stars: ✭ 121 (+450%)
Mutual labels:  melpa
Explain Pause Mode
top, but for Emacs.
Stars: ✭ 158 (+618.18%)
Mutual labels:  melpa
Bm
bm.el -- Visual Bookmarks for GNU Emacs
Stars: ✭ 204 (+827.27%)
Mutual labels:  melpa
Lsp Dart
lsp-mode ❤️ dart
Stars: ✭ 94 (+327.27%)
Mutual labels:  melpa
del-webpack-plugin
A file plugin help you remove old files after webpack (v5) bundling
Stars: ✭ 43 (+95.45%)
Mutual labels:  trash
Lsp Haskell
lsp-mode ❤️ haskell
Stars: ✭ 158 (+618.18%)
Mutual labels:  melpa
elcord
Discord Rich Presence / Gamebridge support for Emacs!
Stars: ✭ 149 (+577.27%)
Mutual labels:  melpa
Auto Complete
Emacs auto-complete package
Stars: ✭ 1,622 (+7272.73%)
Mutual labels:  melpa
Linum Relative
display relative line number in the left margin in emacs
Stars: ✭ 152 (+590.91%)
Mutual labels:  melpa
Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+968.18%)
Mutual labels:  melpa
Graphql Mode
An Emacs mode for GraphQL
Stars: ✭ 120 (+445.45%)
Mutual labels:  melpa
detect-waste
AI to Combat Environmental Pollution - detecting plastic waste in the environment to combat environmental pollution and promote circular economy (Deep Learning, PyTorch)
Stars: ✭ 113 (+413.64%)
Mutual labels:  trash
Nimbus Theme
The best dark theme for Emacs
Stars: ✭ 102 (+363.64%)
Mutual labels:  melpa
Evil Multiedit
Multiple cursors for evil-mode, based on iedit
Stars: ✭ 200 (+809.09%)
Mutual labels:  melpa
emacs-easy-jekyll
Emacs major mode for managing jekyll
Stars: ✭ 53 (+140.91%)
Mutual labels:  melpa
eshell-up
Quickly go to a specific parent directory in eshell
Stars: ✭ 28 (+27.27%)
Mutual labels:  melpa
wastebasket
A crossplatform go library for moving files to the trashbin
Stars: ✭ 30 (+36.36%)
Mutual labels:  trash

osx-trash.el

License GPL 3 MELPA Stable MELPA

Make delete-by-moving-to-trash do what you expect it to do on OS X.

For whatever reason GNU Emacs doesn’t support the system trash can on OS X. Instead it’ll move files into the freedesktop.org trash can, which is, uhm, not particularly useful behaviour on OS X.

This package makes Emacs do the right thing(TM) and move files to the real OS X trash can.

Note: If you’re using the Emacs Mac Port, or if you’re not using OS X at all, you’ll not need this package!

Setup

Install this package from MELPA or MELPA Stable, and add the following to your init file:

(when (eq system-type 'darwin)
  (osx-trash-setup))
(setq delete-by-moving-to-trash t)

By default this package uses a bundled Applescript helper, but that is slow, so you should customize osx-trash-command to use a faster external command.

License

osx-trash is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

osx-trash is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].