Comments (7)
I really dislike *scratch*
fwiw. It's meant to save you time but as a beginner adds so much complexity to the editor. As the first buffer you ever see it seems strange and important, but it's actually neither.
cmd+n
then M-x emacs-lisp-mode
is not hard, especially for someone who is often writing in Emacs Lisp mode. You could easily create a keyboard shortcut to emulate the behavior.
The *scratch*
mode didn't encourage me to learn Emacs Lisp, playing in ~/.emacs
did. I agree that it should be easy to run a region of code from a .coffee or .js file but I think we should stick to making it really easy to jump to your ~/.atom/atom.coffee
file instead of adding a whole new concept to the app.
In atom we have the advantage of knowing you have an ~./atom
directory immediately, because we create it.
from atom.
The Emacs Lisp evaluation is only one part of why I like *scratch*
.
Emacs allows you to create arbitrary buffers not coupled to a file path. I use them all the time for just dropping a piece of text so I can come back to it later. That's really the most important part of *scratch*
to me.
from atom.
I'm only against having this be turned on by default. I'd install and use a Scratch extension, but the way Emacs presents it as a core editor concept is crazy confusing.
Part of that is fileless buffers - I think they're confusing too. They get persisted somewhere, right? Why is it hidden behind a smokescreen? It'd be nicer to call them autosave buffers and have the path automatically chosen, e.g. ~/.atom/scratch in this case.
from atom.
I'm okay with having them be an extension.
The *scratch*
buffer is not attached to any file and is not persisted. You may persist a file-less buffer by forcing a "save as" and specifying a path.
Additionally, Emacs will only prompt to write an unsaved buffer at exit if and only if that buffer is attached to a file path.
from atom.
It's funny, the scratch buffer was one of the few things I did
understand when I started emacs-ing.
In fact, it may still be the only thing about emacs I really understand. :)
On Mon, Oct 22, 2012 at 3:51 PM, Will Farrington
[email protected]:
I'm okay with having them be an extension.
The scratch buffer is not attached to any file and is not persisted.
You may persist a file-less buffer by forcing a "save as" and
specifying a path.Additionally, Emacs will only prompt to write an unsaved buffer at exit if
and only if that buffer is attached to a file path.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/77#issuecomment-9680100.
from atom.
Now see:
https://atom.io/packages/scratch
from atom.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
from atom.
Related Issues (20)
- Uncaught Error: The specified module could not be found./\?\~\AppData\Local\atom\app-1.63.1\res...
- Uncaught Error: The specified module could not be found./\?\~\AppData\Local\atom\app-1.63.1\res...
- Uncaught Error: Module did not self-register: '/Applications/Atom.app/Contents/Resources/app.asar...
- Totally broken HOT 4
- Uncaught Error: dlopen(/private/var/folders/m3/mxwclzqs3mb658dqqfw8w9700000gn/T/wzQL.mO0XET/Atom....
- Uncaught TypeError: The "path" argument must be of type string. Received null
- Uncaught Error: Module did not self-register: '~/Desktop/Atom.app/Contents/Resources/app.asar.unp...
- Unable to install packages HOT 1
- Uncaught Error: Module did not self-register: '/Applications/Atom.app/Contents/Resources/app.asar...
- Uncaught Error: The specified module could not be found./\?\~\AppData\Local\atom\app-1.63.1\res...
- Uncaught Error: The specified module could not be found./\?\~\AppData\Local\Temp\Rar$EXa8364.41...
- atom has two ddeprecations
- Uncaught Error: The specified module could not be found./\?\~\AppData\Local\atom\app-1.63.1\res...
- script error message using xrdp remote session
- Changes not displaying on Git panel HOT 2
- Uncaught Error: dlopen(~/Downloads/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/fs-...
- HELP HOT 1
- Thank you, Atom!
- Thank you Atom Devs
- Possible server error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom.