all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Lorenzon <devel@pollock-nageoire.net>
To: fatkasuvayu+linux@gmail.com
Cc: yeosuanaik@gmail.com, Help-gnu-emacs@gnu.org
Subject: Re: How to use Emacs-lisp without editing .emacs file?
Date: Sat, 06 Feb 2010 08:29:57 +0100 (CET)	[thread overview]
Message-ID: <20100206.082957.94871926.devel@pollock-nageoire.net> (raw)
In-Reply-To: <4B6D0584.7080903@gmail.com>

From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Subject: Re: How to use Emacs-lisp without editing .emacs file?
Date: Fri, 05 Feb 2010 22:00:36 -0800

> On Friday 05 February 2010 12:29 PM, sayeo87 wrote:
>>
>> How would I enter emacs-lisp such as
>>
>> """
>> ;; highlight brackets
>> (require 'paren)
>> (show-paren-mode 1)
>> """
>>
>> WITHIN emacs itself? I do not have access to the .emacs file as
>> I am using
>> an emacs instance within another program run as another user.
> 
> I am no expert but maybe you can write all your customisations
> in a file where you have write access and eval the entire file
> at the start of your session?
> 
> If your customisations are a couple of lines then you can
> always write it in the *scratch* buffer, and use `C-j' or mark
> the region and do `M-x eval-region'.

  If the code is particularly short you can type esc : then
  type the code in the minibuffer and finally press enter to
  evaluate. Anyway you'll have to do it each time you start a
  new emacs session.

  Pierre



> 
> Hope this helps.
> -- 
> Suvayu
> 
> Open source is the future. It sets us free.
> 
> 




  reply	other threads:[~2010-02-06  7:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-05 20:29 How to use Emacs-lisp without editing .emacs file? sayeo87
2010-02-06  6:00 ` Suvayu Ali
2010-02-06  7:29   ` Pierre Lorenzon [this message]
2010-02-06 10:00 ` Peter Dyballa
     [not found] ` <mailman.792.1265450452.14305.help-gnu-emacs@gnu.org>
2010-02-06 22:49   ` jpkotta
     [not found] <mailman.787.1265435768.14305.help-gnu-emacs@gnu.org>
2010-02-06  7:21 ` Teemu Likonen

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=20100206.082957.94871926.devel@pollock-nageoire.net \
    --to=devel@pollock-nageoire.net \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=yeosuanaik@gmail.com \
    /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.