Emacs

Word processors, spreadsheets, presentations, translation, etc.
Post Reply
Message
Author
emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

Emacs

#1 Post by emil »

Image

I made a pet for the latest emacs (version 23.2) for puppy 431.
http://boxen.math.washington.edu/home/emil/stuff/
never mastered the learning curve myself, but many others swear by it .
emacs tour

build notes:
I just build it with configure, make, new2dir make install - no stripping etc.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Re: Emacs

#2 Post by RetroTechGuy »

emil wrote:Image

I made a pet for the latest emacs (version 23.2) for puppy 431.
http://boxen.math.washington.edu/home/emil/stuff/
never mastered the learning curve myself, but many others swear by it .
emacs tour

build notes:
I just build it with configure, make, new2dir make install - no stripping etc.
BTW, I use "mg" (micro GNU Emacs) which has the "feel" of Emacs editing, with tiny size (this is a command line tool, not GUI). I just installed the .deb file from here:

http://packages.debian.org/squeeze/mg
http://http.us.debian.org/debian/pool/m ... 3_i386.deb
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

mg

#3 Post by emil »

Hi RetroTechGuy, thanks for the pointer.
mg seems small, more puppy size.
I compiled it from source, pet is just 58 kB.
uncompressed 128 kB

build is easy, just "make" - it creates just 1 binary: usr/bin/mg
It has to be started from the commandline though. I wont fix that atm.

User avatar
RetroTechGuy
Posts: 2947
Joined: Tue 15 Dec 2009, 17:20
Location: USA

Re: mg

#4 Post by RetroTechGuy »

emil wrote:Hi RetroTechGuy, thanks for the pointer.
mg seems small, more puppy size.
I compiled it from source, pet is just 58 kB.
uncompressed 128 kB

build is easy, just "make" - it creates just 1 binary: usr/bin/mg
It has to be started from the commandline though. I wont fix that atm.
I just installed the .deb file, which installs to /usr/bin/ and shows up at 122116 bytes.

Also, if you create a ".mg" file in /root/ you can define key functions. Here's what my keymap looks like (I change "forward letter" to "forward word", set "F4" to user definable macro, etc):

Code: Select all

(global-set-key "\^f" 'forward-word)
(global-set-key "\^b" 'backward-word)
(global-unset-key "\^h")                        ; Unhook ^H from help-help
(global-set-key "\^h" 'delete-backward-char)    ; ^H      (delete left)

<...snip... see attached files for more>
<edit - add file examples>

I found this man page, which shows default key bindings:

http://manpages.ubuntu.com/manpages/int ... /mg.1.html

I have bound many keys to F-keys, and other widgets.

Note: mg "knows" your term type, so you may need to change the filename to .mg-xterm (when I got it working under Puppy, I just dumped all my old .mg-??? files into /root/ -- so I have .mg, .mg-sun, .mg-vt100, .mg-xterm ...yeah, I've been using "mg" for a couple decades...).

On the command line, enter "set" and hit return. Look for "TERM=" and you'll know what your window identifies itself as.

Let me paste in the 3 most obvious .mg files (.mg, .mg-vt100, .mg-xterm) -- since I just confirmed that you do need the .mg-xterm under rxvt.

Being "dot" files, they won't be visible unless you "show all files". They adjust key bindings to various functions (and perhaps enough examples that you can do your own character map customization for each terminal type):
Attachments
mgfiles.zip
.mg-&lt;term&gt; files examples.
(1.93 KiB) Downloaded 816 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=58615]Add swapfile[/url]
[url=http://wellminded.net63.net/]WellMinded Search[/url]
[url=http://puppylinux.us/psearch.html]PuppyLinux.US Search[/url]

calgeneva
Posts: 1
Joined: Sun 26 Dec 2010, 02:04

re:mg

#5 Post by calgeneva »

Thanks for the recent posts on Emacs

another solution like mg is a text editor that is out-of-the box with puppy
By invoking e3 from the command line in a command window as follows:

e3em

you get emacs key bindings in e3

To add emacs keybindings to Firefox - try

https://addons.mozilla.org/en-US/firefox/addon/4141/

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

Real Programmers Use Butterflies

#6 Post by emil »

Just had a good laugh, Real programmers and emacs ...
http://xkcd.com/378/

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#7 Post by GustavoYz »

:lol::lol:

Thanks for the pet, downloading...
Regards.

Post Reply