From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: C K Kashyap Newsgroups: gmane.emacs.help Subject: Couple of automation questions Date: Wed, 27 Jul 2011 11:01:18 +0530 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba6e82e09f368104a9065b3c X-Trace: dough.gmane.org 1311744695 29603 80.91.229.12 (27 Jul 2011 05:31:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2011 05:31:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 27 07:31:31 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QlwiQ-0001d0-Ax for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jul 2011 07:31:30 +0200 Original-Received: from localhost ([::1]:33687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlwiM-00086i-7Z for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jul 2011 01:31:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlwiG-00086X-UX for help-gnu-emacs@gnu.org; Wed, 27 Jul 2011 01:31:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlwiG-0007SB-1R for help-gnu-emacs@gnu.org; Wed, 27 Jul 2011 01:31:20 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:44893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlwiF-0007S7-Nw for help-gnu-emacs@gnu.org; Wed, 27 Jul 2011 01:31:20 -0400 Original-Received: by gxk23 with SMTP id 23so953118gxk.0 for ; Tue, 26 Jul 2011 22:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=dgCKTIsVJAJNeLjKMFFS32IL3B/CJRQe54bnW2lvGzg=; b=oaBdURHUF29Mub9G/6WWrPtHuKs8QOCmnaFw0eaQ1UqQ7LPp5ErbYYM7QGdVFfyo6i qTvGuOXBA4/ytT4M4XqOxtwWAkHKaMUz7UjukpQh6yQFbS9XzaQoggnlLXmkGy3OwO5v s20KqLDQz1nGeQgEGDUxet9iF8g902pcXsGMc= Original-Received: by 10.42.147.3 with SMTP id l3mr186279icv.214.1311744678901; Tue, 26 Jul 2011 22:31:18 -0700 (PDT) Original-Received: by 10.42.172.198 with HTTP; Tue, 26 Jul 2011 22:31:18 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81800 Archived-At: --90e6ba6e82e09f368104a9065b3c Content-Type: text/plain; charset=ISO-8859-1 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? 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. Regards, Kashyap --90e6ba6e82e09f368104a9065b3c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 -=A0
1. K= eyboard 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 s= ave it?

2. Scripting
Whats the recommend= ed way to get started with scripting? Do I open up a buffer and start typin= g? I dont seem to get function name completion in a new buffer.

Regards,
Kashyap

--90e6ba6e82e09f368104a9065b3c--