https://wikemacs.org/api.php?action=feedcontributions&user=Ccharles&feedformat=atomWikEmacs - User contributions [en]2024-03-28T19:37:34ZUser contributionsMediaWiki 1.35.14https://wikemacs.org/index.php?title=Mark_Multiple&diff=3156Mark Multiple2012-07-22T19:01:30Z<p>Ccharles: </p>
<hr />
<div>{{Package<br />
|name=Mark Multiple<br />
|description=Concurrent editing of multiple regions<br />
|author=Magnar Sveen<br />
|maintainer=Magnar Sveen<br />
|source=https://github.com/magnars/mark-multiple.el<br />
}}<br />
<br />
'''Mark Multiple''' is an Emacs mode for concurrently editing multiple regions.<br />
<br />
== Basic setup ==<br />
<br />
See the [https://github.com/magnars/mark-multiple.el GitHub README].<br />
<br />
== Helpful keybindings ==<br />
<br />
If you use the bindings suggested in the project README, select a region and then use<br />
<br />
; {{CommandKeys|C-<|mark-previous-like-this}}<br />
: Mark the previous matching region<br />
<br />
; {{CommandKeys|C->|mark-next-like-this}}<br />
: Mark the next matching region<br />
<br />
; {{CommandKeys|C-*|mark-all-like-this}}<br />
: Mark all matching regions<br />
<br />
A prefix argument of zero can be used to skip the current region.<br />
<br />
; {{CommandKeys|C-u 0 C-<|mark-previous-like-this}}<br />
: Unmark the current region and mark the previous matching region<br />
<br />
; {{CommandKeys|C-u 0 C->|mark-next-like-this}}<br />
: Unmark the current region and mark the next matching region<br />
<br />
== Common Customization ==<br />
<br />
== See Also ==<br />
<br />
== Project Pages ==<br />
<br />
* [https://github.com/magnars/mark-multiple.el GitHub Repo]<br />
<br />
[[Category:Convenience]][[Category:Third Party Package]]</div>Ccharleshttps://wikemacs.org/index.php?title=Mark_Multiple&diff=3155Mark Multiple2012-07-22T18:56:29Z<p>Ccharles: /* Helpful keybindings */</p>
<hr />
<div>{{Package<br />
|name=Mark Multiple<br />
|description=Concurrent editing of multiple regions<br />
|author=Magnar Sveen<br />
|maintainer=Magnar Sveen<br />
|source=https://github.com/magnars/mark-multiple.el<br />
}}<br />
<br />
'''Mark Multiple''' is an Emacs mode for concurrently editing multiple regions.<br />
<br />
== Basic setup ==<br />
<br />
See the [https://github.com/magnars/mark-multiple.el GitHub README].<br />
<br />
== Helpful keybindings ==<br />
<br />
If you use the bindings suggested in the project README, select a region and then use<br />
<br />
; {{CommandKeys|C-<|mark-previous-like-this}}<br />
: Mark the previous matching region<br />
<br />
; {{CommandKeys|C->|mark-next-like-this}}<br />
: Mark the next matching region<br />
<br />
; {{CommandKeys|C-*|mark-all-like-this}}<br />
: Mark all matching regions<br />
<br />
Prefix arguments can be used to skip the current region.<br />
<br />
; {{CommandKeys|C-u C-<|mark-previous-like-this}}<br />
: Unmark the current region and mark the previous matching region<br />
<br />
; {{CommandKeys|C-u C->|mark-next-like-this}}<br />
: Unmark the current region and mark the next matching region<br />
<br />
== Common Customization ==<br />
<br />
== See Also ==<br />
<br />
== Project Pages ==<br />
<br />
* [https://github.com/magnars/mark-multiple.el GitHub Repo]<br />
<br />
[[Category:Convenience]][[Category:Third Party Package]]</div>Ccharleshttps://wikemacs.org/index.php?title=Mark_Multiple&diff=3154Mark Multiple2012-07-22T18:54:44Z<p>Ccharles: </p>
<hr />
<div>{{Package<br />
|name=Mark Multiple<br />
|description=Concurrent editing of multiple regions<br />
|author=Magnar Sveen<br />
|maintainer=Magnar Sveen<br />
|source=https://github.com/magnars/mark-multiple.el<br />
}}<br />
<br />
'''Mark Multiple''' is an Emacs mode for concurrently editing multiple regions.<br />
<br />
== Basic setup ==<br />
<br />
See the [https://github.com/magnars/mark-multiple.el GitHub README].<br />
<br />
== Helpful keybindings ==<br />
<br />
If you use the bindings suggested in the project README, select a region and then use<br />
<br />
; {{CommandKeys|C-<|mark-previous-like-this}}<br />
: Mark the previous matching region<br />
<br />
; {{CommandKeys|C->|mark-next-like-this}}<br />
: Mark the next matching region<br />
<br />
; {{CommandKeys|C-*|mark-all-like-this}}<br />
: Mark all matching regions<br />
<br />
== Common Customization ==<br />
<br />
== See Also ==<br />
<br />
== Project Pages ==<br />
<br />
* [https://github.com/magnars/mark-multiple.el GitHub Repo]<br />
<br />
[[Category:Convenience]][[Category:Third Party Package]]</div>Ccharleshttps://wikemacs.org/index.php?title=Mark_Multiple&diff=3153Mark Multiple2012-07-22T18:50:16Z<p>Ccharles: Created page with "{{Package |name=Mark Multiple |description=Concurrent editing of multiple regions |author=Magnar Sveen |maintainer=Magnar Sveen |source=https://github.com/magnars/mark-multipl..."</p>
<hr />
<div>{{Package<br />
|name=Mark Multiple<br />
|description=Concurrent editing of multiple regions<br />
|author=Magnar Sveen<br />
|maintainer=Magnar Sveen<br />
|source=https://github.com/magnars/mark-multiple.el<br />
}}<br />
<br />
'''MagitHub''' is an Emacs mode for working with GitHub repositories. It provides a convenient interface for the most common GitHub operations.<br />
<br />
== Basic setup ==<br />
<br />
See the [https://github.com/magnars/mark-multiple.el GitHub README].<br />
<br />
== Helpful keybindings ==<br />
<br />
== Common Customization ==<br />
<br />
== See Also ==<br />
<br />
== Project Pages ==<br />
<br />
* [https://github.com/magnars/mark-multiple.el GitHub Repo]<br />
<br />
[[Category:Convenience]][[Category:Third Party Package]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2497ERC2012-04-04T13:47:40Z<p>Ccharles: /* Basic setup */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|author= Alexander L. Belikoff & Others<br />
|maintainer=Michael Olson<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
|Development status=active<br />
|website=http://www.gnu.org/software/erc <br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
== Basic setup ==<br />
<br />
Start ERC using {{Command|erc}} to connect without SSL or {{Command|erc-tls}} to connect with SSL.<br />
<br />
== Helpful keybindings ==<br />
<br />
== Common customization ==<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'(("freenode.net" "#emacs" "#foo" "#bar")))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
Using the above configuration, {{Command|my-erc}} will start ERC and connect to Freenode on port 7000 using SSL, then join #emacs, #foo and #bar.<br />
<br />
== See also ==<br />
* [[BitlBee]]<br />
* [[jabber.el]]<br />
* [[rcirc]]<br />
<br />
== Project pages ==<br />
[http://www.gnu.org/software/erc/ ERC Homepage]<br />
<br />
[[Category:Native Package]]<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2496ERC2012-04-04T13:01:21Z<p>Ccharles: /* Common customization */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|author= Alexander L. Belikoff & Others<br />
|maintainer=Michael Olson<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
|Development status=active<br />
|website=http://www.gnu.org/software/erc <br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
== Basic setup ==<br />
<br />
Start ERC using {{Command|erc}} to connect without SSL or {{Command|erc-tls}} if to connect with SSL.<br />
<br />
== Helpful keybindings ==<br />
<br />
== Common customization ==<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'(("freenode.net" "#emacs" "#foo" "#bar")))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
Using the above configuration, {{Command|my-erc}} will start ERC and connect to Freenode on port 7000 using SSL, then join #emacs, #foo and #bar.<br />
<br />
== See also ==<br />
* [[BitlBee]]<br />
* [[jabber.el]]<br />
* [[rcirc]]<br />
<br />
== Project pages ==<br />
[http://www.gnu.org/software/erc/ ERC Homepage]<br />
<br />
[[Category:Native Package]]<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2495ERC2012-04-04T13:00:56Z<p>Ccharles: /* Common customization */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|author= Alexander L. Belikoff & Others<br />
|maintainer=Michael Olson<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
|Development status=active<br />
|website=http://www.gnu.org/software/erc <br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
== Basic setup ==<br />
<br />
Start ERC using {{Command|erc}} to connect without SSL or {{Command|erc-tls}} if to connect with SSL.<br />
<br />
== Helpful keybindings ==<br />
<br />
== Common customization ==<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'(("freenode.net" "#emacs" "#foo" "#bar")))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
Using the above configuration, {{Command|my-erc}} will start ERC and connect to Freenode on port 7000 using SSL, then join the three channels listed above.<br />
<br />
== See also ==<br />
* [[BitlBee]]<br />
* [[jabber.el]]<br />
* [[rcirc]]<br />
<br />
== Project pages ==<br />
[http://www.gnu.org/software/erc/ ERC Homepage]<br />
<br />
[[Category:Native Package]]<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2494ERC2012-04-04T13:00:02Z<p>Ccharles: /* Basic setup */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|author= Alexander L. Belikoff & Others<br />
|maintainer=Michael Olson<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
|Development status=active<br />
|website=http://www.gnu.org/software/erc <br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
== Basic setup ==<br />
<br />
Start ERC using {{Command|erc}} to connect without SSL or {{Command|erc-tls}} if to connect with SSL.<br />
<br />
== Helpful keybindings ==<br />
<br />
== Common customization ==<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'(("freenode.net" "#emacs" "#foo" "#bar")))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
Using the above configuration calling {{Command|my-erc}} will start ERC and connect to Freenode using SSL, then join the three channels listed above.<br />
<br />
== See also ==<br />
* [[BitlBee]]<br />
* [[jabber.el]]<br />
* [[rcirc]]<br />
<br />
== Project pages ==<br />
[http://www.gnu.org/software/erc/ ERC Homepage]<br />
<br />
[[Category:Native Package]]<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=Rcirc&diff=2355Rcirc2012-04-02T20:54:22Z<p>Ccharles: </p>
<hr />
<div>[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2354ERC2012-04-02T20:54:03Z<p>Ccharles: /* See also */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|author= Alexander L. Belikoff & Others<br />
|maintainer=Michael Olson<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
|Development status=active<br />
|website=http://www.gnu.org/software/erc <br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
== Basic setup ==<br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
== Helpful keybindings ==<br />
<br />
== Common customization ==<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'(("freenode.net" "#emacs" "#foo" "#bar")))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
Using the above configuration calling {{Command|my-erc}} will start ERC and connect to Freenode using SSL, then join the three channels listed above.<br />
<br />
== See also ==<br />
* [[BitlBee]]<br />
* [[jabber.el]]<br />
* [[rcirc]]<br />
<br />
== Project pages ==<br />
[http://www.gnu.org/software/erc/ ERC Homepage]<br />
<br />
[[Category:Native Package]]<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2353ERC2012-04-02T20:52:13Z<p>Ccharles: /* See also */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|author= Alexander L. Belikoff & Others<br />
|maintainer=Michael Olson<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
|Development status=active<br />
|website=http://www.gnu.org/software/erc <br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
== Basic setup ==<br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
== Helpful keybindings ==<br />
<br />
== Common customization ==<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'(("freenode.net" "#emacs" "#foo" "#bar")))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
Using the above configuration calling {{Command|my-erc}} will start ERC and connect to Freenode using SSL, then join the three channels listed above.<br />
<br />
== See also ==<br />
* [[jabber.el]]<br />
* [[BitlBee]]<br />
<br />
== Project pages ==<br />
[http://www.gnu.org/software/erc/ ERC Homepage]<br />
<br />
[[Category:Native Package]]<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2343ERC2012-04-02T18:47:03Z<p>Ccharles: /* Common customization */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'(("freenode.net" "#emacs" "#foo" "#bar")))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
Using the above configuration calling {{Command|my-erc}} will start ERC and connect to Freenode using SSL, then join the three channels listed above.<br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2342ERC2012-04-02T18:44:55Z<p>Ccharles: /* Common customization */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'("freenode.net" "#emacs" "#foo" "#bar"))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
Using the above configuration calling {{Command|my-erc}} will start ERC and connect to Freenode using SSL, then join the three channels listed above.<br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2341ERC2012-04-02T18:43:42Z<p>Ccharles: /* Common customization */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'("freenode.net" "#emacs" "#foo" "#bar"))))<br />
<br />
;; Set autoconnect networks<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2339ERC2012-04-02T18:43:00Z<p>Ccharles: /* Common customization */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(setq erc-autojoin-channels-alist<br />
'("freenode.net" "#emacs" "#foo" "#bar"))))<br />
<br />
;; Connect to Freenode automatically<br />
(defun my-erc ()<br />
"Connect to my default ERC servers."<br />
(interactive)<br />
(erc-tls :server "irc.freenode.net" :port 7000))<br />
</source><br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2334ERC2012-04-02T18:35:23Z<p>Ccharles: </p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")<br />
<br />
;; Set autojoin channels<br />
(add-to-list 'erc-autojoin-channels-alist<br />
'("freenode.net" "#emacs" "#foo" "#bar"))<br />
<br />
;; Connect to Freenode automatically<br />
(erc-tls :server "irc.freenode.net" :port 7000)))<br />
</source><br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2332ERC2012-04-02T18:28:40Z<p>Ccharles: /* Basic setup */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(setq erc-nick "defaultnick")<br />
(setq erc-user-full-name "My Full Name")))<br />
</source><br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=Erc&diff=2330Erc2012-04-02T18:28:10Z<p>Ccharles: moved Erc to ERC</p>
<hr />
<div>#REDIRECT [[ERC]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2329ERC2012-04-02T18:28:10Z<p>Ccharles: moved Erc to ERC</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(set 'erc-nick "defaultnick")<br />
(set 'erc-user-full-name "My Full Name")))<br />
</source><br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2320ERC2012-04-02T18:19:54Z<p>Ccharles: /* Basic setup */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(set 'erc-nick "defaultnick")<br />
(set 'erc-user-full-name "My Full Name")))<br />
</source><br />
<br />
Start ERC using {{Command|erc}} or {{Command|erc-tls}} if you want to connect over SSL.<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2318ERC2012-04-02T18:18:29Z<p>Ccharles: /* Basic setup */</p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
<source lang="lisp"><br />
(eval-after-load "erc"<br />
'(progn<br />
<br />
;; Set personal information<br />
(set 'erc-nick "defaultnick")<br />
(set 'erc-user-full-name "My Full Name")))<br />
</source><br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2317ERC2012-04-02T18:16:17Z<p>Ccharles: </p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
= Basic setup =<br />
<br />
= Helpful keybindings =<br />
<br />
= Common customization =<br />
<br />
= See also =<br />
<br />
= Project pages =<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=ERC&diff=2316ERC2012-04-02T18:14:43Z<p>Ccharles: </p>
<hr />
<div>{{Package<br />
|name=ERC<br />
|description=IRC in Emacs<br />
|source=http://savannah.gnu.org/projects/erc/<br />
|in_emacs=yes, since 22.1<br />
}}<br />
<br />
ERC is an Internet Relay Chat (IRC) client built into Emacs.<br />
<br />
[[Category:Chat]]</div>Ccharleshttps://wikemacs.org/index.php?title=External_browser&diff=2305External browser2012-04-02T18:04:44Z<p>Ccharles: </p>
<hr />
<div>You can use the mozrepl browser extension to interact with the JavaScript engine in Firefox-family browsers.<br />
<br />
The [https://github.com/swank-js/swank-js swank-js] project uses [[SLIME]] and Node.js to provide a REPL for interacting with the JavaScript engine of arbitrary browsers.<br />
<br />
[[Category:Javascript]][[Category:Browse]][[Category:Programming]]</div>Ccharleshttps://wikemacs.org/index.php?title=TRAMP&diff=2302TRAMP2012-04-02T17:59:30Z<p>Ccharles: </p>
<hr />
<div>{{Package<br />
|name=TRAMP<br />
|description=Edit files on remote systems<br />
|source=http://savannah.gnu.org/projects/tramp<br />
|in_emacs=yes, since Emacs 22<br />
}}<br />
<br />
Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using a different user account from your main Emacs session, or both.<br />
<br />
Some of the things that TRAMP can do include:<br />
<br />
* Editing files on a remote development server over SSH (e.g. {{Filename|/ssh:remote-user@remote.box:/path/to/my/file}})<br />
* Editing files on your local machine as root via sudo (e.g. {{Filename|/sudo::/etc/some/config/file}})<br />
* Editing files on a remote server as root via sudo over an SSH connection from another remote machine that exists within a DMZ (requires some configuration, see below)<br />
<br />
TRAMP is included with Emacs and described in the manual.<br />
<br />
== Multiple hops ==<br />
<br />
To set up multiple hop connections you will need to do a little bit of configuration.<br />
<br />
As an example, let's assume that you want to edit a file located at {{Filename|/etc/httpd/conf/httpd.conf}} as root on a remote server at dev.example.com. You have a regular user account <tt>chris</tt> on the development sever, but you need to use sudo to gain root access before editing the file.<br />
<br />
Put the following into your configuration files:<br />
<br />
<source lang="lisp"><br />
;; Guard to ensure that TRAMP is available<br />
(if (locate-library "tramp")<br />
(eval-after-load "tramp"<br />
<br />
;; The actual TRAMP configuration<br />
'(add-to-list 'tramp-default-proxies-alist<br />
'("\\`dev\\.example\\.com\\'"<br />
"\\`chris\\'"<br />
"/ssh:%h:"))))<br />
</source><br />
<br />
After this is evaluated, Emacs knows that the hostname dev.example.com must be accessed over SSH by a user called chris.<br />
<br />
If you now try to find {{Filename|/sudo:dev.example.com:/etc/httpd/conf/httpd.conf}} Emacs will automatically create the SSH connection first, prompting you for your password if necessary. Then it will prompt you for your sudo password. Once this is all done you will be able to modify the buffer as necessary. Saving the buffer will do what you expect: it will update the file on the remote server.<br />
<br />
It is also possible to configure partial domains, for instance in case you need an SSH connection before modifying anything on <tt>*.example.com</tt>.<br />
<br />
Hops can be chained, making this feature extremely powerful.<br />
<br />
== A note for Windows users ==<br />
<br />
TRAMP uses programs that are usually included with GNU/Linux systems under the hood. These are not usually available on a Windows system.<br />
<br />
The <tt>plink</tt> method built into TRAMP can be used as a mostly drop-in replacement for SSH connections. It uses <tt>plink.exe</tt> from the [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY suite of tools], which must be installed separately.<br />
<br />
[[Category:Remote Edit]]</div>Ccharleshttps://wikemacs.org/index.php?title=Rectangles&diff=1316Rectangles2012-03-28T17:11:58Z<p>Ccharles: /* Command of rectangles */</p>
<hr />
<div>Rectangle commands operate on rectangular areas of the text: all the characters between a certain pair of columns, in a certain range of lines. Emacs has commands to kill rectangles, yank killed rectangles, clear them out, fill them with blanks or text, or delete them. Rectangle commands are useful with text in multicolumn formats, and for changing text into or out of such formats.<br />
<br />
When you must specify a rectangle for a command to work on, you do it by putting the mark at one corner and point at the opposite corner. The rectangle thus specified is called the region-rectangle because you control it in much the same way as the region is controlled. But remember that a given combination of point and mark values can be interpreted either as a region or as a rectangle, depending on the command that uses them.<br />
<br />
If point and the mark are in the same column, the rectangle they delimit is empty. If they are in the same line, the rectangle is one line high. This asymmetry between lines and columns comes about because point (and likewise the mark) is between two columns, but within a line.<br />
<br />
== Command of rectangles ==<br />
<br />
* {{Keys|C-x r k}} or {{Command|kill-rectangle}}<br />
Kill the text of the region-rectangle, saving its contents as the “last killed rectangle”.<br />
* {{Keys|C-x r d}} or {{Command|delete-rectangle}}<br />
Delete the text of the region-rectangle.<br />
* {{Keys|C-x r y}} or {{Command|yank-rectangle}}<br />
Yank the last killed rectangle with its upper left corner at point.<br />
* {{Keys|C-x r o}} or {{Command|open-rectangle}}<br />
Insert blank space to fill the space of the region-rectangle. This pushes the previous contents of the region-rectangle rightward. <br />
* {{Keys|C-x r c}} or {{Command|clear-rectangle}}<br />
Clear the region-rectangle by replacing all of its contents with spaces.<br />
{{Command|delete-whitespace-rectangle}}<br />
Delete whitespace in each of the lines on the specified rectangle, starting from the left edge column of the rectangle. <br />
* {{Keys|C-x r t string <RET>}} or {{Command|string-rectangle}}<br />
Replace rectangle contents with string on each line.<br />
* {{Command|string-insert-rectangle <RET> string <RET>}}<br />
Insert string on each line of the rectangle.</div>Ccharleshttps://wikemacs.org/index.php?title=Emacs_server&diff=1315Emacs server2012-03-28T17:06:07Z<p>Ccharles: /* Finishing Up */</p>
<hr />
<div>Emacs includes an optional client-server architecture.<br />
<br />
== Starting the Server ==<br />
=== With {{Command|server-start}} ===<br />
To start a server in an existing Emacs session, run {{Command|server-start}}. A server started in this manner will close when the last visible Emacs frame closes. If you want Emacs to automatically run a server on startup, add the following to your configuration file.<br />
<br />
<syntaxhighlight lang="lisp"><br />
(server-start)<br />
</syntaxhighlight><br />
<br />
=== With <tt>--daemon</tt> ===<br />
Emacs 23 and higher provide the <tt>--daemon</tt> command-line argument, which will cause Emacs to immediately start a server and fork into the background. A server started in this manner is fully daemonized and will remain running even with no visible Emacs frames and after its parent terminal has closed (for example, after an SSH session has disconnected). <br />
<br />
Note that, if using <tt>--daemon</tt>, your configuration file will be run while Emacs is still in a terminal. This may affect your theming if you usually use graphical Emacs.<br />
<br />
This option is not supported on [[Windows]].<br />
<br />
== Using Clients ==<br />
<br />
Once the server is started you may use the <code>emacsclient</code> command outside of Emacs to send a file to Emacs for editing, e.g. <code>emacsclient ~/.emacs.d/init.el</code> to modify your init file. On a GNU/Linux system it might be a good idea to set your <tt>EDITOR</tt> environment variable to <tt>emacsclient</tt> or <tt>emacsclient -t</tt>. Using <tt>emacsclient</tt> without any arguments will cause the calling process to simply pause and wait for the Emacs server to report that it's done editing. Using <tt>emacsclient -t</tt> will cause the calling process to put up a text-mode frame in the same terminal.<br />
<br />
If the server was started using <tt>--daemon</tt>, you should run <tt>emacsclient -t</tt> or <tt>emacsclient -nc</tt> to create a visible frame to interact with.<br />
<br />
== Finishing Up ==<br />
<br />
Once you have finished with a buffer that was opened via <tt>emacsclient</tt> you should use the {{Keys|C-x #}} or {{Command|server-edit}} to properly close the loop. Killing the buffer normally will not send the signal to <tt>emacsclient</tt> that Emacs has finished with the file.<br />
<br />
If you're in an Emacs session that was started using <tt>--daemon</tt>, {{Keys|C-x C-c}} will only close the frame that it was invoked in. It will also signal to the client that owns the frame that its editing job is done, so <tt>emacsclient -c</tt> or <tt>emacsclient -t</tt> as <tt>EDITOR</tt> will behave much like a full <tt>emacs</tt> or <tt>emacs -nw</tt>.<br />
<br />
To entirely close a server started with <tt>--daemon</tt>, run {{Command|save-buffers-kill-emacs}} in a frame.</div>Ccharleshttps://wikemacs.org/index.php?title=TRAMP&diff=1314TRAMP2012-03-28T16:55:24Z<p>Ccharles: /* Multiple hops */</p>
<hr />
<div>Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using a different user account from your main Emacs session, or both.<br />
<br />
Some of the things that TRAMP can do include:<br />
<br />
* Editing files on a remote development server over SSH (e.g. <tt>/ssh:remote-user@remote.box:/path/to/my/file</tt>)<br />
* Editing files on your local machine as root via sudo (e.g. <tt>/sudo::/etc/some/config/file</tt>)<br />
* Editing files on a remote server as root via sudo over an SSH connection from another remote machine that exists within a DMZ (requires some configuration, see below)<br />
<br />
TRAMP is included with Emacs and described in the manual.<br />
<br />
== Multiple hops ==<br />
<br />
To set up multiple hop connections you will need to do a little bit of configuration.<br />
<br />
As an example, let's assume that you want to edit a file located at <tt>/etc/httpd/conf/httpd.conf</tt> as root on a remote server at dev.example.com. You have a regular user account <tt>chris</tt> on the development sever, but you need to use sudo to gain root access before editing the file.<br />
<br />
Put the following into your configuration files:<br />
<br />
<source lang="lisp"><br />
;; Guard to ensure that TRAMP is available<br />
(if (locate-library "tramp")<br />
(eval-after-load "tramp"<br />
<br />
;; The actual TRAMP configuration<br />
'(add-to-list 'tramp-default-proxies-alist<br />
'("\\`dev\\.example\\.com\\'"<br />
"\\`chris\\'"<br />
"/ssh:%h:"))))<br />
</source><br />
<br />
After this is evaluated, Emacs knows that the hostname dev.example.com must be accessed over SSH by a user called chris.<br />
<br />
If you now try to find <tt>/sudo:dev.example.com:/etc/httpd/conf/httpd.conf</tt> Emacs will automatically create the SSH connection first, prompting you for your password if necessary. Then it will prompt you for your sudo password. Once this is all done you will be able to modify the buffer as necessary. Saving the buffer will do what you expect: it will update the file on the remote server.<br />
<br />
It is also possible to configure partial domains, for instance in case you need an SSH connection before modifying anything on <tt>*.example.com</tt>.<br />
<br />
Hops can be chained, making this feature extremely powerful.<br />
<br />
== A note for Windows users ==<br />
<br />
TRAMP uses programs that are usually included with GNU/Linux systems under the hood. These are not usually available on a Windows system.<br />
<br />
The <tt>plink</tt> method built into TRAMP can be used as a mostly drop-in replacement for SSH connections. It uses <tt>plink.exe</tt> from the [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY suite of tools], which must be installed separately.<br />
<br />
[[Category:Remote Edit]]</div>Ccharleshttps://wikemacs.org/index.php?title=Main_Page&diff=1313Main Page2012-03-28T16:51:10Z<p>Ccharles: /* Popular Culture and Community */</p>
<hr />
<div>'''WikEmacs''' (pronounced wikimacs) collects useful resources for working with [[GNU Emacs]]. It is intended as a next generation alternative to the traditional [http://www.emacswiki.org/ EmacsWiki]. You can call it ''A Community Maintained Emacs Wiki''.<br />
----<br />
<br />
'''WikEmacs News'''<br />
<br />
We need more [[:Category:WikEmacs Contributor|WikEmacs Contributor]]s.<br />
<br />
'''Emacs News'''<br />
<br />
The latest stable release of Emacs is [[:Category:Emacs-23.4|Emacs-23.4]]. The next major release is [[:Category:Emacs-24.1|Emacs-24.1]] and is in ''Pretest'' stage.<br />
<br />
Emacs is available on all popular [[:Category:Operating System | Operating Systems]] including [[GNU/Linux]], [[OSX]] and [[Windows]]. It supports a variety of [[:Category:Programming languages|programming languages]].<br />
<br />
'''Explore this wiki''' using one of these trails.<br />
<br />
; What is your comfort level with Emacs?<br />
: [[:Category:Beginner|Beginner]]<br />
: [[:Category:Intermediate|Intermediate]]<br />
: [[:Category:Expert|Expert]]<br />
: [[:Category:Vim User|Vim User]]<br />
: [[:Category:User Level|Other]]<br />
<br />
; What do you want to accomplish now?<br />
: [[:Category:Install Or Upgrade|Install Or Upgrade]]<br />
: [[:Category:Customize Emacs|Customize Emacs]]<br />
: [[:Category:Tweak Key Bindings|Tweak Key Bindings]]<br />
: [[:Category:Tutorial|Learn more Emacs (Tutorials)]]<br />
<br />
; What do you use Emacs for?<br />
:[[:Category:Text Editing|Text Editing]]<br />
:[[:Category:Programming|Programming]]<br />
:[[:Category:Document authoring|Document authoring]]<br />
:[[:Category:Organizer|Getting Organized]]<br />
:[[:Category:Email|Emailing]]<br />
:[[:Category:Chat|Chatting]]<br />
:[[:Category:Blogging|Blogging]]<br />
:[[:Category:Browse|Browsing]] <br />
: [[:Category:Workflow|Other]]<br />
<br />
; How do you involve yourself with the community?<br />
: [[:Category:Emacs User]]<br />
: [[:Category:Emacs Contributor]]<br />
: [[:Category:WikEmacs Contributor]]<br />
: [[:Category:User Role|Other]]<br />
<br />
== Automation in Emacs ==<br />
<br />
* [[ Keyboard macros ]]<br />
* [[ Emacs Lisp ]]<br />
<br />
== Configuring Emacs ==<br />
<br />
* [[ Custom ]] for choosing and setting options.<br />
* Scripting your [[ init.el ]] file (formerly .emacs) using [[ Emacs Lisp ]].<br />
<br />
== Convenience ==<br />
<br />
* Completion and selection <br />
** [[Ido]]: '''I'''nteractively '''do''' things<br />
** [[Helm]]: incremental completion and selection (formerly [[Anything]])<br />
** [[Icicles]]<br />
** Abbrev and dabbrev<br />
** Auto-complete and hippie-expand<br />
** YaSnippet<br />
<br />
== Typesetting, Document Markup and Document Creation in Emacs ==<br />
<br />
Emacs supports a wide range of [[:Category:Markup languages|Markup languages]] to help you in your workflow of [[:Category:Workflow:Document authoring|document creation]].<br />
<br />
== Communication ==<br />
<br />
* [[ Blogging ]]<br />
* [[ Chat ]]<br />
* [[ Email ]]<br />
* [[ Feed reading ]]<br />
* [[ Microblogging ]]<br />
* [[ Usenet news ]]<br />
<br />
== Web browsing ==<br />
<br />
* Launching and interacting with an [[external browser]] from emacs<br />
* Using [[emacs as a browser's external editor]], either when entering text on web pages or when viewing a web page's source document or both.<br />
<br />
See also [[:Category:Workflow:Browsing|Workflow:Browsing]]<br />
<br />
== Shells and terminal emulation ==<br />
<br />
Within Emacs you can interact with various shells and other command-line/text-mode programs running as a sub-process within an Emacs terminal emulator:<br />
* [[ ansi-term ]]<br />
* [[ shell ]]<br />
* [[ term ]]<br />
* [[ multi-term ]]<br />
<br />
[[ eshell ]] is a shell (not a terminal emulator, nor a process hosted in one) written in pure [[ Emacs Lisp ]]. It is very powerful, flexible and customizable, but poorly documented at time of writing.<br />
<br />
Emacs itself is fully functional either in a terminal or a windowing system. Some keystrokes available under window systems may not work in a terminal and vice versa.<br />
<br />
== Accessibility ==<br />
<br />
* [http://emacspeak.sourceforge.net/ Emacspeak] for the visually impaired.<br />
<br />
== Security and cryptography ==<br />
<br />
* [[ Gnu Privacy Guard ]] (GPG) support and integration<br />
<br />
== Getting Involved ==<br />
* IRC Channel<br />
<br />
* [[ Mailing list archives ]]<br />
<br />
* [http://bzr.savannah.gnu.org/lh/emacs/trunk/files Browsable source repository]<br />
<br />
[[Contributing to Emacs]]<br />
<br />
== Niche Uses ==<br />
<br />
* [[ Media player ]]<br />
* [[ Presentations ]]<br />
* [[ Screencasts ]]<br />
* [[ Statistics ]]<br />
* [[ Binary files]]<br />
* [[ Docview ]]<br />
* [[ Pictures ]]<br />
** [[ Inline Images ]]<br />
** [[ Artist mode ]]<br />
<br />
== Popular Culture and Community ==<br />
<br />
; [http://imgs.xkcd.com/comics/real_programmers.png Real Programmers]<br />
: Try {{Command|butterfly}} on your Emacs right now and unleash its powers.<br />
<br />
* Adding Emacs-style key bindings to other programs and operating systems.<br />
* St Ignucius and the Church of Emacs<br />
* Saving the world from <tt>vi</tt></div>Ccharleshttps://wikemacs.org/index.php?title=Battery&diff=681Battery2012-03-27T02:33:21Z<p>Ccharles: Created page with "If you are using Emacs on a notebook computer you might want to add your battery status to the modeline. Invoking <code>display-battery-mode</code> will do this. Alternat..."</p>
<hr />
<div>If you are using Emacs on a notebook computer you might want to add your battery status to the [[modeline]]. Invoking <code>display-battery-mode</code> will do this.<br />
<br />
Alternatively, if you just wish to output your current battery information to the [[minibuffer]] and your <tt>*Messages*</tt> buffer you can run <code>M-x battery</code>.</div>Ccharleshttps://wikemacs.org/index.php?title=TRAMP&diff=566TRAMP2012-03-26T16:04:20Z<p>Ccharles: </p>
<hr />
<div>Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using a different user account from your main Emacs session, or both.<br />
<br />
Some of the things that TRAMP can do include:<br />
<br />
* Editing files on a remote development server over SSH (e.g. <tt>/ssh:remote-user@remote.box:/path/to/my/file</tt>)<br />
* Editing files on your local machine as root via sudo (e.g. <tt>/sudo::/etc/some/config/file</tt>)<br />
* Editing files on a remote server as root via sudo over an SSH connection from another remote machine that exists within a DMZ (requires some configuration, see below)<br />
<br />
TRAMP is included with Emacs and described in the manual.<br />
<br />
== Multiple hops ==<br />
<br />
To set up multiple hop connections you will need to do a little bit of configuration.<br />
<br />
As an example, let's assume that you want to edit a file located at <tt>/etc/httpd/conf/httpd.conf</tt> as root on a remote server at dev.example.com. You have a regular user account <tt>chris</tt> on the development sever, but you need to use sudo to gain root access before editing the file.<br />
<br />
Put the following into your configuration files:<br />
<br />
;; Guard to ensure that TRAMP is available<br />
(if (locate-library "tramp")<br />
(eval-after-load "tramp"<br />
<br />
;; The actual TRAMP configuration<br />
'(add-to-list 'tramp-default-proxies-alist<br />
'("\\`dev\\.example\\.com\\'"<br />
"\\`chris\\'"<br />
"/ssh:%h:"))))<br />
<br />
After this is evaluated, Emacs knows that the hostname dev.example.com must be accessed over SSH by a user called chris.<br />
<br />
If you now try to find <tt>/sudo:dev.example.com:/etc/httpd/conf/httpd.conf</tt> Emacs will automatically create the SSH connection first, prompting you for your password if necessary. Then it will prompt you for your sudo password. Once this is all done you will be able to modify the buffer as necessary. Saving the buffer will do what you expect: it will update the file on the remote server.<br />
<br />
It is also possible to configure partial domains, for instance in case you need an SSH connection before modifying anything on <tt>*.example.com</tt>.<br />
<br />
Hops can be chained, making this feature extremely powerful.<br />
<br />
== A note for Windows users ==<br />
<br />
TRAMP uses programs that are usually included with GNU/Linux systems under the hood. These are not usually available on a Windows system.<br />
<br />
The <tt>plink</tt> method built into TRAMP can be used as a mostly drop-in replacement for SSH connections. It uses <tt>plink.exe</tt> from the [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY suite of tools], which must be installed separately.</div>Ccharleshttps://wikemacs.org/index.php?title=TRAMP&diff=562TRAMP2012-03-26T16:00:51Z<p>Ccharles: </p>
<hr />
<div>Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using a different user account from your main Emacs session, or both.<br />
<br />
Some of the things that TRAMP can do include:<br />
<br />
* Editing files on a remote development server over SSH (e.g. <tt>/ssh:remote-user@remote.box:/path/to/my/file</tt>)<br />
* Editing files on your local machine as root via sudo (e.g. <tt>/sudo::/etc/some/config/file</tt>)<br />
* Editing files on a remote server as root via sudo over an SSH connection from another remote machine that exists within a DMZ (requires some configuration, see below)<br />
<br />
TRAMP is included with Emacs and described in the manual.<br />
<br />
== Multiple hops ==<br />
<br />
To set up multiple hop connections you will need to do a little bit of configuration.<br />
<br />
As an example, let's assume that you want to edit a file located at <tt>/etc/httpd/conf/httpd.conf</tt> as root on a remote server at dev.example.com. You have a regular user account <tt>chris</tt> on the development sever, but you need to use sudo to gain root access before editing the file.<br />
<br />
Put the following into your configuration files:<br />
<br />
;; Guard to ensure that TRAMP is available<br />
(if (locate-library "tramp")<br />
(eval-after-load "tramp"<br />
<br />
;; The actual TRAMP configuration<br />
'(add-to-list 'tramp-default-proxies-alist<br />
'("\\`dev\\.example\\.com\\'"<br />
"\\`chris\\'"<br />
"/ssh:%h:"))))<br />
<br />
After this is evaluated, Emacs knows that the hostname dev.example.com must be accessed over SSH by a user called chris.<br />
<br />
If you now try to find <tt>/sudo:dev.example.com:/etc/httpd/conf/httpd.conf</tt> Emacs will automatically create the SSH connection first, prompting you for your password if necessary. Then it will prompt you for your sudo password. Once this is all done you will be able to modify the buffer as necessary. Saving the buffer will do what you expect: it will update the file on the remote server.<br />
<br />
It is also possible to configure partial domains, for instance in case you need an SSH connection before modifying anything on <tt>*.example.com</tt>.<br />
<br />
Hops can be chained, making this feature extremely powerful.</div>Ccharleshttps://wikemacs.org/index.php?title=TRAMP&diff=561TRAMP2012-03-26T15:59:37Z<p>Ccharles: </p>
<hr />
<div>Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using a different user account from your main Emacs session, or both.<br />
<br />
Some of the things that TRAMP can do include:<br />
<br />
* Editing files on a remote development server over SSH (e.g. <tt>/ssh:remote-user@remote.box:/path/to/my/file</tt>)<br />
* Editing files on your local machine as root via sudo (e.g. <tt>/sudo::/etc/some/config/file</tt>)<br />
* Editing files on a remote server as root via sudo over an SSH connection from another remote machine that exists within a DMZ (requires some configuration, see below)<br />
<br />
TRAMP is included with Emacs and described in the manual.<br />
<br />
== Multiple hops ==<br />
<br />
To set up multiple hop connections you will need to do a little bit of configuration.<br />
<br />
As an example, let's assume that you want to edit a file located at <tt>/etc/httpd/conf/httpd.conf</tt> as root on a remote server at dev.example.com. You have a regular user account <tt>chris</tt> on the development sever, but you need to use sudo to gain root access before editing the file.<br />
<br />
Put the following into your configuration files:<br />
<br />
;; Guard to ensure that TRAMP is available<br />
(if (locate-library "tramp")<br />
(eval-after-load "tramp"<br />
<br />
;; The actual TRAMP configuration<br />
'(add-to-list 'tramp-default-proxies-alist<br />
'("\\`dev\\.example\\.com\\'"<br />
"\\`chris\\'"<br />
"/ssh:%h:"))))<br />
<br />
After this is evaluated, Emacs knows that the hostname dev.example.com must be accessed over SSH by a user called chris.<br />
<br />
If you now try to find <tt>/sudo:dev.example.com:/etc/httpd/conf/httpd.conf</tte> Emacs will automatically create the SSH connection first, prompting you for your password if necessary. Then it will prompt you for your sudo password. Once this is all done you will be able to modify the buffer as necessary. Saving the buffer will do what you expect: it will update the file on the remote server.<br />
<br />
It is also possible to configure partial domains, for instance in case you need an SSH connection before modifying anything on <tt>*.example.com</tt>.<br />
<br />
Hops can be chained, making this feature extremely powerful.</div>Ccharleshttps://wikemacs.org/index.php?title=TRAMP&diff=558TRAMP2012-03-26T15:58:31Z<p>Ccharles: </p>
<hr />
<div>Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using a different user account from your main Emacs session, or both.<br />
<br />
Some of the things that TRAMP can do include:<br />
<br />
* Editing files on a remote development server over SSH (e.g. <tt>/ssh:remote-user@remote.box:/path/to/my/file</tt>)<br />
* Editing files on your local machine as root via sudo (e.g. <tt>/sudo::/etc/some/config/file</tt>)<br />
* Editing files on a remote server as root via sudo over an SSH connection from another remote machine that exists within a DMZ (requires some configuration, see below)<br />
<br />
TRAMP is included with Emacs and described in the manual.<br />
<br />
== Multiple hops ==<br />
<br />
To set up multiple hop connections you will need to do a little bit of configuration.<br />
<br />
As an example, let's assume that you want to edit a file located at <tt>/etc/httpd/conf/httpd.conf</tt> as root on a remote server at dev.example.com. You have a regular user account <tt>chris</tt> on the development sever, but you need to use sudo to gain root access before editing the file.<br />
<br />
Put the following into your configuration files:<br />
<br />
;; Guard to ensure that TRAMP is available<br />
(if (locate-library "tramp")<br />
(eval-after-load "tramp"<br />
<br />
;; The actual TRAMP configuration<br />
'(add-to-list 'tramp-default-proxies-alist<br />
'("\\`dev\\.example\\.com\\'"<br />
"\\`chris\\'"<br />
"/ssh:%h:"))))<br />
<br />
After this is evaluated, Emacs knows that the hostname dev.example.com must be accessed over SSH by a user called chris.<br />
<br />
If you now try to find <tt>/sudo:dev.example.com:/etc/httpd/conf/httpd.conf</tte> Emacs will automatically create the SSH connection first, prompting you for your password if necessary. Then it will prompt you for your sudo password. Once this is all done you will be able to modify the buffer as necessary. Saving the buffer will do what you expect: it will update the file on the remote server.<br />
<br />
Hops can be chained, making this feature extremely powerful.</div>Ccharleshttps://wikemacs.org/index.php?title=TRAMP&diff=557TRAMP2012-03-26T15:57:39Z<p>Ccharles: </p>
<hr />
<div>Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using a different user account from your main Emacs session, or both.<br />
<br />
Some of the things that TRAMP can do include:<br />
<br />
* Editing files on a remote development server over SSH (e.g. <tt>/ssh:remote-user@remote.box:/path/to/my/file</tt>)<br />
* Editing files on your local machine as root via sudo (e.g. <tt>/sudo::/etc/some/config/file</tt>)<br />
* Editing files on a remote server as root via sudo over an SSH connection from another remote machine that exists within a DMZ (requires some configuration, see below)<br />
<br />
TRAMP is included with Emacs and described in the manual.<br />
<br />
== Multiple hops ==<br />
<br />
To set up multiple hop connections you will need to do a little bit of configuration.<br />
<br />
As an example, let's assume that you want to edit a file located at <tt>/etc/httpd/conf/httpd.conf</tt> as root on a remote server at dev.example.com. You have a regular user account <tt>chris<tt> on the development sever, but you need to use sudo to gain root access before editing the file.<br />
<br />
Put the following into your configuration files:<br />
<br />
;; Guard to ensure that TRAMP is available<br />
(if (locate-library "tramp")<br />
(eval-after-load "tramp"<br />
<br />
;; The actual TRAMP configuration<br />
'(add-to-list 'tramp-default-proxies-alist<br />
'("\\`dev\\.example\\.com\\'"<br />
"\\`chris\\'"<br />
"/ssh:%h:"))))<br />
<br />
After this is evaluated, Emacs knows that the hostname dev.example.com must be accessed over SSH by a user called chris.<br />
<br />
If you now try to find <tt>/sudo:dev.example.com:/etc/httpd/conf/httpd.conf</tte> Emacs will automatically create the SSH connection first, prompting you for your password if necessary. Then it will prompt you for your sudo password. Once this is all done you will be able to modify the buffer as necessary. Saving the buffer will do what you expect: it will update the file on the remote server.<br />
<br />
Hops can be chained, making this feature extremely powerful.</div>Ccharleshttps://wikemacs.org/index.php?title=TRAMP&diff=556TRAMP2012-03-26T15:45:39Z<p>Ccharles: Created page with "Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using ..."</p>
<hr />
<div>Emacs' TRAMP feature (Transparent Remote file Access, Multiple Protocol) is an extremely powerful tool for editing files that exist on remote systems, or require access using a different user account from your main Emacs session, or both.<br />
<br />
Some of the things that TRAMP can do include:<br />
<br />
* Editing files on a remote development server over SSH (e.g. <code>/ssh:remote-user@remote.box:/path/to/my/file</code>)<br />
* Editing files on your local machine as root via sudo (e.g. <code>/sudo::/etc/some/config/file</code>)<br />
* Editing files on a remote server as root via sudo over an SSH connection from another remote machine that exists within a DMZ (requires a little bit of configuration)<br />
<br />
TRAMP is included with Emacs and described in the manual.</div>Ccharleshttps://wikemacs.org/index.php?title=Docview&diff=555Docview2012-03-26T15:39:44Z<p>Ccharles: Created page with "Emacs includes functionality to act as an image and document viewer via its Docview feature. Most usually the way to use this feature is to simply find a file of an appropria..."</p>
<hr />
<div>Emacs includes functionality to act as an image and document viewer via its Docview feature.<br />
<br />
Most usually the way to use this feature is to simply find a file of an appropriate type, e.g. a PNG image or a PDF document.<br />
<br />
When in Docview-mode the <code>C-c C-c</code> command (<code>image-toggle-display</code>) will toggle between viewing the image or document graphically and viewing it in text format. This can be useful for directly modifying PDF files, for instance.<br />
<br />
Docview mode typically works out of the box on GNU/Linux systems. If you are running Emacs on Windows it likely requires some additional libraries to be manually installed.</div>Ccharleshttps://wikemacs.org/index.php?title=XML&diff=548XML2012-03-26T15:04:44Z<p>Ccharles: Created page with "The most prominent mode for editing XML in Emacs is to use nXML mode, which has been included with GNU Emacs since version 23 (?). nXML Mode can also be used with older versio..."</p>
<hr />
<div>The most prominent mode for editing XML in Emacs is to use nXML mode, which has been included with GNU Emacs since version 23 (?). nXML Mode can also be used with older versions of Emacs (version 21.3 or newer) if you install it yourself.<br />
<br />
Homepage: http://www.thaiopensource.com/nxml-mode/</div>Ccharleshttps://wikemacs.org/index.php?title=Frame&diff=541Frame2012-03-26T14:56:17Z<p>Ccharles: Created page with "In Emacs terminology, a "frame" is what most window managers (Windows, OSX, GNOME, KDE, etc.) would call a "window". It will typically have a title bar and some buttons to ic..."</p>
<hr />
<div>In Emacs terminology, a "frame" is what most window managers (Windows, OSX, GNOME, KDE, etc.) would call a "window".<br />
<br />
It will typically have a title bar and some buttons to iconify (minimize), maximize / restore, and close the frame. To see an example, open up a second frame from your running Emacs instance with <code>C-x 5 2</code> (<code>make-frame-command</code>). You can close frames with <code>C-x 5 0</code> (<code>delete-frame</code>), though this will not close the last frame that is open.</div>Ccharles