https://wikemacs.org/api.php?action=feedcontributions&user=84.40.101.143&feedformat=atomWikEmacs - User contributions [en]2024-03-29T10:55:15ZUser contributionsMediaWiki 1.35.14https://wikemacs.org/index.php?title=Prelude&diff=2871Prelude2012-06-15T11:31:53Z<p>84.40.101.143: /* Re-enable the arrow keys */</p>
<hr />
<div>{{Package<br />
|name=Emacs Prelude<br />
|description=Advanced Emacs config<br />
|author=[[User:Bozhidar|Bozhidar Batsov]]<br />
|maintainer=[[User:Bozhidar|Bozhidar Batsov]]<br />
|source=https://github.com/bbatsov/prelude<br />
}}<br />
<br />
'''Prelude''' has the goal to ease the initial Emacs setup process and to provide you with a much more powerful and productive experience than that you get out of the box. By using Emacs Prelude you're basically getting a "Get me out of the Prelude, I just want to use Emacs" card.<br />
<br />
Emacs Prelude is compatible ONLY with GNU Emacs 24. While Emacs 24 is not yet officially released it's a rock solid piece of software more than suitable for everyday work. There is no good excuse not to use Emacs 24!<br />
<br />
= Basic setup =<br />
<br />
Assuming you're using an Unix-like OS (*BSD, GNU/Linux, OS X, Solaris, etc), you already have Emacs 24 installed, as well as git & curl you can skip the whole manual and just type in your favorite shell the following command:<br />
<br />
<syntaxhighlight lang="bash"><br />
curl -L https://github.com/bbatsov/prelude/raw/master/utils/installer.sh | sh<br />
</syntaxhighlight><br />
<br />
You can now power up your Emacs, sit back and enjoy Prelude.<br />
<br />
= Helpful keybindings =<br />
<br />
; {{Keys|C-c f}}<br />
: Find a recently accessed file.<br />
<br />
; {{Keys|C-c r}}<br />
: Rename file and buffer.<br />
<br />
<!-------------------------------------------------------------------------><br />
= Common Customization =<br />
<!-- Customization common to all platforms goes here --><br />
<br />
You can tweak Prelude's config by adding '''.el''' files under the<br />
'''personal''' directory. All files ending in ".el" will be read automatically when emacs starts up.<br />
<br />
== Re-enable the arrow keys ==<br />
<br />
Arrow keys for navigation are turned off by default. This is to get people to use the preferred Emacs defaults. To re-enable them, add the following to a file in your personal directory:<br />
<br />
<syntaxhighlight lang="lisp"><br />
(guru-mode -1)<br />
</syntaxhighlight><br />
<br />
== Turn off whitespace mode ==<br />
<br />
Prelude adds a lot of functionality from whitespace mode, including line-ending markers, highlighting of long-lines, space visualization. If you find these distracting, add the following to a file in your personal directory:<br />
<br />
<syntaxhighlight lang="lisp"><br />
(add-hook 'prog-mode-hook 'prelude-turn-off-whitespace t)<br />
</syntaxhighlight><br />
<br />
== Change the default theme ==<br />
<br />
Emacs Prelude uses the Zenburn theme by default, but you can easily<br />
change this:<br />
<br />
<syntaxhighlight lang="lisp"><br />
(load-theme 'solarized-dark t)<br />
</syntaxhighlight><br />
<br />
<!-------------------------------------------------------------------------><br />
<br />
= [[GNU/Linux]] =<br />
<!-- Customization/Notes specific to GNU/Linux goes here --><br />
<br />
<br />
<!-------------------------------------------------------------------------><br />
<br />
= [[OS X]] =<br />
<!-- Customization/Notes specific to OS X goes here --><br />
<br />
<br />
<!-------------------------------------------------------------------------><br />
<br />
= [[Windows]] =<br />
<!-- Customization/Notes specific to Windows goes here --><br />
Note: on Windows 7 (Enterprise), <br />
<br />
ln -s <prelude-directory> ~/emacs.d <br />
<br />
did not work. But copying the content of prelude directory to .emacs.d worked as expected. <br />
<br />
Note: it also expects git to be on the system paths defined in PATH. I used git from Cygwin. It worked.<br />
<br />
= See Also =<br />
[[Emacs Starter Kit]]<br />
<br />
<br />
<!-------------------------------------------------------------------------><br />
<br />
= Project Pages =<br />
* [http://batsov.com/prelude Project Page]<br />
* [http://github.com/bbatsov/prelude GitHub]<br />
* [http://github.com/bbatsov/prelude-modules Add-ons for Prelude]<br />
<br />
<!-------------------------------------------------------------------------><br />
<br />
= Tutorial Pages =<br />
<br />
<!-------------------------------------------------------------------------><br />
<!-- Add categories based on user-level (beginner etc), user-role (programming, emacs contributor etc), platform (windows, linux etc) or work flow (text editing, document authoring etc) --><br />
<br />
[[Category:Beginner]][[Category:Starter Kit]]</div>84.40.101.143https://wikemacs.org/index.php?title=Init_File&diff=2824Init File2012-05-11T07:53:09Z<p>84.40.101.143: Redirected page to User's Initialization File</p>
<hr />
<div>#REDIRECT [[User's Initialization File]]</div>84.40.101.143https://wikemacs.org/index.php?title=Learning_Resources&diff=2644Learning Resources2012-04-10T11:42:33Z<p>84.40.101.143: /* Tutorials */</p>
<hr />
<div>== Emacs Help ==<br />
<br />
Emacs is described as "self-documenting". An extensive help system is available using various keystrokes starting with {{Keys|C-h}} (that is, Control-H). To choose from the full list, type {{Keys|C-h C-h}}.<br />
<br />
== Emacs Tutorial - Beginners Mandatory ==<br />
<br />
Emacs ships with a tutorial. Just type {{Keys|C-h t}}.<br />
It teaches you all the essentials you need to know for getting started with Emacs.<br />
<br />
Intermediate to advanced users can browse in-built help with {{Keys|C-h r}}.<br />
<br />
== Info ==<br />
<br />
Detailed documentation of Emacs (and many other programs) is available thru Info. Type {{Keys|C-h i}}. This tool uses its own hypertext system to link topics and has sophisticated navigation. It was found so useful that it is now also available as a separate program (called 'info') which is installed by default on most unix-like systems.<br />
* '''[http://www.gnu.org/software/emacs/manual/emacs.html GNU Emacs manual]'''<br />
* '''[http://www.gnu.org/software/emacs/manual/elisp.html GNU Emacs Lisp reference manual]'''<br />
* '''[http://www.gnu.org/software/emacs/emacs-lisp-intro/ An Introduction to Programming in Emacs Lisp]'''<br />
<br />
== Books ==<br />
<br />
* '''Learning GNU Emacs, 2nd Edition''' by Debra Cameron, Bill Rosenblatt, Eric S. Raymond<br />
<br />
Much better than the current, 3rd edition. The first half of the book walks you through the fundamental steps, as a tutorial.<br />
<br />
Can be obtained from O'Reilly http://shop.oreilly.com/product/9781565921528.do<br />
<br />
* '''Casting Spells in Lisp (Emacs Lisp version)''' by Conrad Barski M.D. <br />
<br />
Written originally to teach some other flavor of Lisp, the book has been modified for [http://www.gnu.org/software/emacs/emacs-lisp-intro/ Emacs Lisp]. The presentation is in a form between a comic book and a manual that educates while you have fun. The best of both worlds.<br />
<br />
It can be read online [http://www.lisperati.com/casting-spels-emacs/html/casting-spels-emacs-1.html here].<br />
<br />
== Tutorials ==<br />
<br />
* [http://david.rothlis.net/emacs/howtolearn.html How to Learn Emacs] <br />
<br />
* [http://xahlee.org/emacs/elisp.html Xah Emacs Lisp Tutorial] - This concise and concrete tutorial focus on practical needs with examples.<br />
<br />
* [http://xahlee.org/emacs/emacs.html Xah Emacs Tutorial]<br />
<br />
== Screencasts ==<br />
<br />
* [http://emacsmovies.org/ Emacs Movies] new screencast, promises to come out with a book also<br />
* [http://www.youtube.com/user/rpdillon?feature=watch Hacks Emacs](YouTube Channel) <br />
* [http://emacsrocks.com/ Emacs Rocks!]<br />
* [https://peepcode.com/products/meet-emacs Peepcode's Meet Emacs](commercial)<br />
<br />
== Blogs ==<br />
<br />
* [http://emacs-fu.blogspot.de/ Emacs Fu] - Useful Tricks for Emacs<br />
* [http://www.masteringemacs.org/ Mastering Emacs]<br />
* [http://emacsworld.blogspot.com/ Got Emacs?]<br />
* [http://xahlee.org/emacs/blog.html Xah Emacs Blog] - Tips and tricks for Emacs and Emacs Lisp<br />
* [http://planet.emacsen.org/ Planet Emacsen] - blogroll, includes probably all above<br />
<br />
== Articles ==<br />
<br />
* [http://batsov.com/articles/2011/11/30/the-ultimate-collection-of-emacs-resources/ The Ultimate Collection of Emacs Resources]<br />
<br />
== Twitter ==<br />
<br />
There are many Twitter accounts dedicated to sharing news and tips about Emacs. One can benefit a lot by following them:<br />
<br />
* [http://twitter.com/#!/emacs_knight @emacs_knight]<br />
* [http://twitter.com/#!/learnemacs @learnemacs]<br />
* [http://twitter.com/#!/dotemacs @dotemacs]<br />
* [http://twitter.com/#!/dotemax @dotemax]<br />
<br />
== Useful Extensions ==<br />
<br />
Before you install a lot of extensions, explore your Emacs distribution! Try {{Keys|C-h p}} ({{Command|find-emacs-packages}}) to browse the available packages by category.<br />
<br />
== Configuring Emacs ==<br />
[https://sites.google.com/site/steveyegge2/my-dot-emacs-file This] blog post is a great introduction to setting up your init.el (formerly .emacs) and your emacs directory the "professional way"!<br />
<br />
[[Category:Beginner]]</div>84.40.101.143https://wikemacs.org/index.php?title=Dired&diff=2639Dired2012-04-10T08:52:26Z<p>84.40.101.143: </p>
<hr />
<div>{{Package<br />
|name=Dired<br />
|description=File Manager for Emacs.<br />
|source=http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/dired.el<br />
|maintainer=[[FSF]]<br />
|in_emacs=yes<br />
|Development status=active<br />
}}<br />
<br />
'''Dired''' is a inbuilt File Manager for Emacs. Its arguably the best<br />
file manager with the functionality it possesses. Unlike any other<br />
file mangers the directory listing is just as an another [[buffer]] of<br />
Emacs with '''dired-mode''' as {{ModeLink|Major Mode}}.<br />
<br />
== Usage ==<br />
'''Dired''' has countless functionality.<br />
<br />
; {{CommandKeys|C-x d| dired}}<br />
: ask for a directory and puts you into a buffer with direct listing of that directory. <br />
<br />
; {{CommandKeys|C-x C-j| dired-jump}}<br />
: jump to a dired buffer corresponding to the current buffer. <br />
<br />
== See Also ==<br />
[[Dired+]] - a package that extends the functionalities of Dired<br />
<br />
[[Category:Desktop Management]] [[Category:File Manager]][[Category:Built-in Package]]</div>84.40.101.143https://wikemacs.org/index.php?title=Dired&diff=2638Dired2012-04-10T08:52:02Z<p>84.40.101.143: </p>
<hr />
<div>{{Package<br />
|name=Dired<br />
|description=File Manager for Emacs.<br />
|source=http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/dired.el<br />
|maintainer=[[FSF]]<br />
|in_emacs=yes<br />
|Development status=active<br />
}}<br />
<br />
'''Dired''' is a inbuilt File Manager for Emacs. Its arguably the best<br />
file manager with the functionality it possesses. Unlike any other<br />
file mangers the directory listing is just as an another [[buffer]] of<br />
Emacs with '''dired-mode''' as {{ModeLink|Major Mode}}.<br />
<br />
== Usage ==<br />
'''Dired''' has countless functionality.<br />
<br />
; {{CommandKeys|C-x d| dired}}<br />
: ask for a directory and puts you into a buffer with direct listing of that directory. <br />
<br />
; {{CommandKeys|C-x C-j| dired-jump}}<br />
: jump to a dired buffer corresponding to the current buffer. <br />
<br />
== See Also ==<br />
[[Dired+]] - a package that extends the functionalities of Dired<br />
<br />
[[Category:Desktop Management]] [[Category:File Manager]] [[Category:Dired]][[Category:Built-in Package]]</div>84.40.101.143