help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use Emacs-lisp without editing .emacs file?


From: Pierre Lorenzon
Subject: Re: How to use Emacs-lisp without editing .emacs file?
Date: Sat, 06 Feb 2010 08:29:57 +0100 (CET)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]