all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs Book Vs Emacs Manuals
Date: Tue, 30 Jun 2015 01:51:53 +0200	[thread overview]
Message-ID: <87h9pqul7q.fsf@nl106-137-147.student.uu.se> (raw)
In-Reply-To: m2y4j2fz02.fsf@fastmail.fm

Filipp Gunbin <fgunbin@fastmail.fm> writes:

> Macros can be viewed as an Emacs-specific way of
> writing programs - by using the benefits of an
> interactive editor.

Macros are even in the *name* of Emacs so they would
seem essential. That christening was a long time ago,
of course.

There are macros in many other tools. Perhaps they are
not editable. Probably the whole thing is not as
refined as in Emacs.

> Resulting code is not that editable, but in my
> practice I didn't usually have to edit that code,
> when it's easier just to re-record a similar macros,
> if needed.

So you don't write code - you write macros to write
the code for you. Now we have ventured far beyond my
horizon. It would be interesting to see you in action.

>> When you have done something with Elisp, you can
>> save that for future use. What it is is clearly
>> defined and easy to read and edit. Not only that,
>> if it is modular, as it should, you can use it for
>> other, unexpected things in the future.
>
> Why then use awk when you always can write
> equivalent program in C?

Answer: because awk is a shell tool which comes with
features and interfaces to fit that particular
habitate, while C is a general-purpose programming
langauge with which you can create any tool,
including awk.

This is awk:

    get-group () { awk '{print $5}' < /proc/$1/stat }

and this is C:

    $ apt-get source gawk

:)

No, I'm not saying you should always use this instead
of that, and in particular you seem to have a style
which is completely based on macros so to you I'm not
saying anything.

Some boxers are boxers, some are punchers on the
outside, while some are body punchers on the inside;
some are brawlers, or even southpaw counter-punchers
that moves forward! Because there are world champions
representing every and each of those styles, plus many
that I haven't mentioned, plus a fewsome from
categories I don't even know about, this all tells me
there is not any one style that is better than all
other. The important thing is to have a style.
When you have it, keep refining it, every day.

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2015-06-29 23:51 UTC|newest]

Thread overview: 137+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 10:06 Emacs Book Vs Emacs Manuals Vaidheeswaran C
2015-05-08 10:36 ` Shakthi Kannan
2015-05-08 10:43   ` Vaidheeswaran C
2015-05-08 11:08     ` tomas
2015-05-08 11:18     ` Shakthi Kannan
2015-05-08 19:10     ` Bob Proulx
2015-05-08 19:35       ` Marcin Borkowski
2015-05-10  2:48         ` Bob Proulx
     [not found]         ` <mailman.2686.1431226098.904.help-gnu-emacs@gnu.org>
2015-05-10  3:22           ` Emanuel Berg
2015-05-10 14:01           ` Rusi
2015-05-10 14:05             ` Pascal J. Bourguignon
2015-05-11 11:17               ` Phillip Lord
     [not found]               ` <mailman.2758.1431343034.904.help-gnu-emacs@gnu.org>
2015-05-11 11:27                 ` Pascal J. Bourguignon
2015-05-10 15:31             ` Drew Adams
2015-05-11 11:08             ` Phillip Lord
2015-05-15 16:15             ` MBR
2015-05-15 18:45               ` Doug Lewan
     [not found]               ` <mailman.3085.1431715560.904.help-gnu-emacs@gnu.org>
2015-05-15 20:18                 ` Emanuel Berg
2015-05-16  4:31                   ` Yuri Khan
2015-05-18 20:57                     ` Bob Proulx
2015-06-25 14:22                   ` Ken Goldman
2015-06-26 15:03                     ` Emanuel Berg
2015-06-26 20:21                       ` Marcin Borkowski
2015-06-26 22:42                         ` Emanuel Berg
2015-06-27 19:29                           ` MBR
2015-06-27 22:48                             ` Emanuel Berg
     [not found]                             ` <mailman.5813.1435445379.904.help-gnu-emacs@gnu.org>
2015-06-28  3:45                               ` Rusi
2015-06-28 14:34                                 ` Marcin Borkowski
2015-06-28 15:31                                   ` Emanuel Berg
2015-06-28 15:36                                     ` Marcin Borkowski
2015-06-28 15:53                                       ` Emanuel Berg
     [not found]                         ` <mailman.5747.1435358641.904.help-gnu-emacs@gnu.org>
2015-06-27  3:15                           ` Rusi
2015-06-27  5:02                             ` Bob Proulx
2015-06-27  8:25                               ` Marcin Borkowski
2015-06-27 11:56                                 ` Robert Thorpe
     [not found]                                 ` <mailman.5780.1435406221.904.help-gnu-emacs@gnu.org>
2015-06-27 14:44                                   ` Rusi
2015-06-27 17:46                                 ` Emanuel Berg
2015-06-27 17:42                             ` Emanuel Berg
2015-06-29 13:03                               ` Filipp Gunbin
2015-06-29 23:51                                 ` Emanuel Berg [this message]
2015-06-30  4:38                                   ` Vaidheeswaran C
2015-06-30 23:26                                     ` Emanuel Berg
     [not found]                                     ` <mailman.6072.1435707010.904.help-gnu-emacs@gnu.org>
2015-07-01  0:32                                       ` Dan Espen
2015-06-30  8:10                                   ` Marcin Borkowski
2015-06-30 23:40                                     ` Emanuel Berg
2015-06-30 16:56                                   ` Filipp Gunbin
2015-07-01  0:00                                     ` Emanuel Berg
     [not found]                             ` <mailman.5799.1435427076.904.help-gnu-emacs@gnu.org>
2015-06-27 18:12                               ` Rusi
2015-06-27 21:55                                 ` Stefan Monnier
2015-06-27 22:25                                   ` Emanuel Berg
2015-06-30 10:56                                   ` keyboard-macro facility recording commands (Was: Emacs Book Vs Emacs Manuals) Steinar Bang
     [not found]                                 ` <mailman.5809.1435442174.904.help-gnu-emacs@gnu.org>
2015-06-27 22:06                                   ` Emacs Book Vs Emacs Manuals Pascal J. Bourguignon
2015-06-27 22:40                                 ` Emanuel Berg
2015-06-28 14:55                                   ` Marcin Borkowski
2015-06-28 15:47                                     ` Emanuel Berg
2015-06-25 14:16               ` Ken Goldman
     [not found]             ` <mailman.3077.1431706537.904.help-gnu-emacs@gnu.org>
2015-05-15 20:15               ` Emanuel Berg
2015-05-08 10:53 ` Tassilo Horn
2015-05-08 13:39   ` Phillip Lord
2015-05-08 14:34     ` Eli Zaretskii
2015-05-08 14:38     ` Tassilo Horn
2015-05-08 15:09       ` Phillip Lord
2015-05-08 15:41         ` Tassilo Horn
2015-05-08 21:54           ` Stefan Monnier
2015-05-09 10:00           ` Vaidheeswaran C
2015-05-10 14:31         ` Steinar Bang
     [not found]     ` <mailman.2604.1431095644.904.help-gnu-emacs@gnu.org>
2015-05-08 14:50       ` Barry Margolin
2015-05-08 15:01         ` Eli Zaretskii
2015-05-08 22:06           ` Stefan Monnier
2015-05-09  9:06             ` Eli Zaretskii
2015-05-09  9:18             ` Vaidheeswaran C
2015-05-09 10:38               ` Eli Zaretskii
2015-05-10  6:47                 ` Vaidheeswaran C
2015-05-10 15:01                   ` Eli Zaretskii
2015-05-11  5:30                     ` Vaidheeswaran C
2015-05-11 16:06                       ` Eli Zaretskii
2015-05-16  5:50                         ` Vaidheeswaran C
2015-05-16  7:32                           ` Eli Zaretskii
2015-05-17 15:35                             ` Vaidheeswaran C
2015-05-17 14:47                               ` Eli Zaretskii
2015-05-18  2:49                                 ` Vaidheeswaran C
2015-05-18 14:15                                   ` Eli Zaretskii
2015-05-19  5:50                                     ` Vaidheeswaran C
2015-05-19 15:07                                       ` Eli Zaretskii
2015-05-19 16:41                                       ` Filipp Gunbin
     [not found]                                     ` <mailman.3246.1432014638.904.help-gnu-emacs@gnu.org>
2015-05-19 23:58                                       ` Emanuel Berg
2015-05-10  2:45             ` Bob Proulx
2015-05-11 10:53           ` Phillip Lord
2015-05-11 15:58             ` Eli Zaretskii
2015-05-11 16:12               ` Stefan Monnier
2015-05-11 16:23                 ` Eli Zaretskii
2015-05-11 16:30                   ` Eli Zaretskii
2015-05-11 18:01                     ` Stefan Monnier
2015-05-11 20:38                     ` Marcin Borkowski
     [not found]                     ` <mailman.2820.1431376739.904.help-gnu-emacs@gnu.org>
2015-05-12  3:22                       ` Rusi
     [not found]                   ` <<83y4kvkrf5.fsf@gnu.org>
2015-05-11 17:12                     ` Drew Adams
2015-05-11 17:11                 ` Drew Adams
2015-05-11 18:06                   ` Stefan Monnier
2015-05-11 18:38                     ` Drew Adams
     [not found]                   ` <mailman.2806.1431367811.904.help-gnu-emacs@gnu.org>
2015-05-12  4:07                     ` Rusi
2015-05-12  8:15                       ` Rasmus
2015-05-12 16:11                       ` Eli Zaretskii
     [not found]                       ` <mailman.2872.1431447128.904.help-gnu-emacs@gnu.org>
2015-05-12 16:55                         ` Rusi
2015-05-12 17:45                           ` Eli Zaretskii
2015-05-13  7:47                             ` tomas
2015-05-13 12:10                               ` Filipp Gunbin
2015-05-13 12:32                                 ` tomas
2015-05-13 15:24                                   ` Filipp Gunbin
2015-05-13 16:37                               ` Eli Zaretskii
     [not found]                               ` <mailman.2958.1431535075.904.help-gnu-emacs@gnu.org>
2015-05-15  2:56                                 ` Rusi
2015-05-15  7:31                                   ` Eli Zaretskii
     [not found]                                   ` <mailman.3052.1431675095.904.help-gnu-emacs@gnu.org>
2015-05-15 11:12                                     ` Rusi
2015-05-15 13:09                                       ` Eli Zaretskii
2015-05-15 13:44                                         ` Phillip Lord
     [not found]                                         ` <mailman.3067.1431697490.904.help-gnu-emacs@gnu.org>
2015-05-15 14:01                                           ` Rusi
2015-05-15 14:36                                             ` Eli Zaretskii
     [not found]                           ` <mailman.2887.1431452758.904.help-gnu-emacs@gnu.org>
2015-05-13  1:09                             ` Rusi
2015-05-13  2:20                               ` Drew Adams
     [not found]                 ` <mailman.2797.1431364316.904.help-gnu-emacs@gnu.org>
2015-05-11 17:27                   ` Rusi
2015-05-20  0:21                 ` Robert Thorpe
2015-05-08 16:35     ` Sivaram Neelakantan
2015-05-09 10:14     ` Vaidheeswaran C
     [not found] ` <mailman.2592.1431081398.904.help-gnu-emacs@gnu.org>
2015-05-08 13:34   ` notbob
2015-05-08 15:50 ` Drew Adams
2015-05-09  9:49   ` Vaidheeswaran C
2015-05-09 14:21     ` Jude DaShiell
2015-05-08 19:10 ` Marcin Borkowski
2015-05-09  7:47   ` Eli Zaretskii
2015-05-09  8:07     ` Marcin Borkowski
2015-05-09  8:27       ` Eli Zaretskii
2015-05-09 17:34         ` Marcin Borkowski
2015-05-11 11:02     ` Phillip Lord
2015-05-11 16:03       ` Eli Zaretskii
2015-05-11 17:20         ` Phillip Lord
2015-05-11 18:04           ` Eli Zaretskii
     [not found]     ` <<87k2wfl6mo.fsf@newcastle.ac.uk>
     [not found]       ` <<83617zm78t.fsf@gnu.org>
2015-05-11 17:11         ` Drew Adams
     [not found] <mailman.2591.1431080443.904.help-gnu-emacs@gnu.org>
2015-05-09 22:59 ` Emanuel Berg
     [not found] <<mii1p5$ho1$1@ger.gmane.org>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9pqul7q.fsf@nl106-137-147.student.uu.se \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.