all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: "C. K. Kashyap" <ckkashyap@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Couple of automation questions
Date: Wed, 27 Jul 2011 10:27:43 +0300	[thread overview]
Message-ID: <87tya8yyhc.fsf@mithlond.arda> (raw)
In-Reply-To: <CAGdT1gqqzBp=_cVyCdMV27m=ijxXHY7itPerPfv9Mjq9rORScQ@mail.gmail.com> (C. K. Kashyap's message of "Wed, 27 Jul 2011 11:01:18 +0530")

* 2011-07-27T11:01:18+05:30 * C. K. Kashyap wrote:

> Hi,
> I have a situation where I need to "beautify" a log file quite often. I need
> to do the same set of steps.
> What is the recommended best practices for the following approaches -

> 1. Keyboard Macro
> What is the way to save the macro to disk? Do we open a new buffer (or a
> buffer that contains all keyboard macros) and then insert it there and save
> it?

See the info node

    C-h i g (emacs) Save Keyboard Macro RET

> 2. Scripting
> Whats the recommended way to get started with scripting? Do I open up a
> buffer and start typing? I dont seem to get function name completion in a
> new buffer.

"Scripting" in Emacs is actually programming in Emacs Lisp. To get
started with Emacs Lisp I suggest reading "An Introduction to
Programming in Emacs Lisp" and of course the Emacs Lisp reference
manual.

    C-h i g (eintr) Top RET
    C-h i g (elisp) Top RET



  parent reply	other threads:[~2011-07-27  7:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27  5:31 Couple of automation questions C K Kashyap
2011-07-27  7:16 ` Andreas Röhler
2011-07-27  7:27 ` Teemu Likonen [this message]
2011-07-27  8:11   ` C K Kashyap
2011-07-27  8:28     ` Teemu Likonen
2011-07-27 14:26     ` Memnon Anon
2011-07-27 16:52     ` fork
2011-07-27 17:06       ` Teemu Likonen
2011-07-27 17:23         ` fork
2011-07-27 17:28       ` Andreas Röhler
2011-07-28  2:40         ` C K Kashyap
2011-07-28  6:05           ` Teemu Likonen
2011-07-28  6:56           ` Andreas Röhler

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=87tya8yyhc.fsf@mithlond.arda \
    --to=tlikonen@iki.fi \
    --cc=ckkashyap@gmail.com \
    --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.