all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs -- simple
@ 2011-11-02 22:56 Jai Dayal
  2011-11-02 23:03 ` Marko Vojinovic
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Jai Dayal @ 2011-11-02 22:56 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

Hi,

 I have a lot of plugins (CEDET for example) that start up when e-macs
starts.  Sometimes, I just want to open up emacs quickly to edit some
textfile very quickly, and then close it and proceed.  Since I have to SSH
into remote servers, with all of the plugins, the latency is quite
annoying.

Is there a way I can have the regular emacs command open up with all of my
plugins, then have an emacs -s or emacs -simple to open up without the
plugins?

Thanks a lot.

Jai

[-- Attachment #2: Type: text/html, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs -- simple
  2011-11-02 22:56 emacs -- simple Jai Dayal
@ 2011-11-02 23:03 ` Marko Vojinovic
  2011-11-02 23:26 ` Peter Dyballa
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Marko Vojinovic @ 2011-11-02 23:03 UTC (permalink / raw)
  To: help-gnu-emacs

On Wednesday 02 November 2011 22:56:55 Jai Dayal wrote:
>  I have a lot of plugins (CEDET for example) that start up when e-macs
> starts.  Sometimes, I just want to open up emacs quickly to edit some
> textfile very quickly, and then close it and proceed.  Since I have to SSH
> into remote servers, with all of the plugins, the latency is quite
> annoying.
> 
> Is there a way I can have the regular emacs command open up with all of my
> plugins, then have an emacs -s or emacs -simple to open up without the
> plugins?

Would "emacs -q" do what you need? Maybe "man emacs" to read up the basic 
options... ;-)

HTH, :-)
Marko




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs -- simple
  2011-11-02 22:56 emacs -- simple Jai Dayal
  2011-11-02 23:03 ` Marko Vojinovic
@ 2011-11-02 23:26 ` Peter Dyballa
  2011-11-02 23:52 ` Philipp Haselwarter
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Peter Dyballa @ 2011-11-02 23:26 UTC (permalink / raw)
  To: Jai Dayal; +Cc: help-gnu-emacs


Am 02.11.2011 um 23:56 schrieb Jai Dayal:

> Is there a way I can have the regular emacs command open up with all of my
> plugins, then have an emacs -s or emacs -simple to open up without the
> plugins?

Write a little ~/.emacs-light.el or ~/.emacs-fast.el init file and then launch GNU Emacs as 'emacs -l ~/.emacs-fast.el'!

--
Greetings

  Pete

A lot of us are working harder than we want, at things we don't like to do. Why? ...In order to afford the sort of existence we don't care to live.
				– Bradford Angier




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs -- simple
  2011-11-02 22:56 emacs -- simple Jai Dayal
  2011-11-02 23:03 ` Marko Vojinovic
  2011-11-02 23:26 ` Peter Dyballa
@ 2011-11-02 23:52 ` Philipp Haselwarter
  2011-11-03  0:21   ` Drew Adams
  2011-11-03  5:19 ` Jambunathan K
  2011-11-14 20:00 ` S Boucher
  4 siblings, 1 reply; 8+ messages in thread
From: Philipp Haselwarter @ 2011-11-02 23:52 UTC (permalink / raw)
  To: help-gnu-emacs

Proper use of autoload, eval-after-load and some factorization of your
startup files into package specific configuration, plus byte compiling
should reduce startup time significantly. I load some 4.5k lines of
customization in less than 3 seconds.

You should also take a close look at emacsclient and tramp :)


-- 
Philipp Haselwarter




^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: emacs -- simple
  2011-11-02 23:52 ` Philipp Haselwarter
@ 2011-11-03  0:21   ` Drew Adams
  0 siblings, 0 replies; 8+ messages in thread
From: Drew Adams @ 2011-11-03  0:21 UTC (permalink / raw)
  To: 'Philipp Haselwarter', help-gnu-emacs

> You should also take a close look at emacsclient and tramp :)

Yes, emacsclient/server (or gnuclient/server).
Yes, `emacs -Q' sometimes.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs -- simple
  2011-11-02 22:56 emacs -- simple Jai Dayal
                   ` (2 preceding siblings ...)
  2011-11-02 23:52 ` Philipp Haselwarter
@ 2011-11-03  5:19 ` Jambunathan K
  2011-11-03 20:25   ` e20100633
  2011-11-14 20:00 ` S Boucher
  4 siblings, 1 reply; 8+ messages in thread
From: Jambunathan K @ 2011-11-03  5:19 UTC (permalink / raw)
  To: Jai Dayal; +Cc: help-gnu-emacs


> I just want to open up emacs quickly to edit some textfile very
> quickly, and then close it and proceed.

There is an editor named `jmacs' (I think it stands for `joe
emacs'). Good for quick editing of git commit messages or for dong
interactive rebases.

I used to use `vi' for these operations long back. Since discovering
jmacs, I have abandoned vi for my own good.
-- 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs -- simple
  2011-11-03  5:19 ` Jambunathan K
@ 2011-11-03 20:25   ` e20100633
  0 siblings, 0 replies; 8+ messages in thread
From: e20100633 @ 2011-11-03 20:25 UTC (permalink / raw)
  To: Jambunathan K; +Cc: help-gnu-emacs

Jambunathan K <kjambunathan@gmail.com> writes:

>> I just want to open up emacs quickly to edit some textfile very
>> quickly, and then close it and proceed.
>
> There is an editor named `jmacs' (I think it stands for `joe
> emacs'). Good for quick editing of git commit messages or for dong
> interactive rebases.

You can use GNU Zile[1] (208Ko stripped), which is just what you want: a
true emacs with the minimum to quickly edit files.

Reference
1. http://www.gnu.org/s/zile/

-- 
~ #ID: e20100633 <e20100633()inbox!lv> #TTY: 9-8M 4554
~ TYPE 1707-A3 S/N L3-M2812 SLACKWARE 13.0 RLU #527034
,------- They say that Nethack bugs are Seldon planned
`-----------------------{,_,"> http://porneia.free.fr/



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: emacs -- simple
  2011-11-02 22:56 emacs -- simple Jai Dayal
                   ` (3 preceding siblings ...)
  2011-11-03  5:19 ` Jambunathan K
@ 2011-11-14 20:00 ` S Boucher
  4 siblings, 0 replies; 8+ messages in thread
From: S Boucher @ 2011-11-14 20:00 UTC (permalink / raw)
  To: Jai Dayal, help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]

As other mentionned, there's emacsclient, but also pay particular attention to the daemon mode.  Quite cool to run emacs as a daemon (you may have an instance of emacs running without having any associated window).

After that, you can have yourself some shortcuts. e.g. et to start a terminal style emacs (e.g. if you are in a shell and do not want another window), or ew, for a seperate window.


That way, you can keep a daemon running on the remote machine, and when you ssh to the remote machine, you can start a window immediately.


>________________________________
>From: Jai Dayal <dayalsoap@gmail.com>
>To: help-gnu-emacs <help-gnu-emacs@gnu.org>
>Sent: Wednesday, November 2, 2011 6:56:55 PM
>Subject: emacs -- simple
>
>
>Hi, 
>
> I have a lot of plugins (CEDET for example) that start up when e-macs starts.  Sometimes, I just want to open up emacs quickly to edit some textfile very quickly, and then close it and proceed.  Since I have to SSH into remote servers, with all of the plugins, the latency is quite annoying. 
>
>Is there a way I can have the regular emacs command open up with all of my plugins, then have an emacs -s or emacs -simple to open up without the plugins?
>
>Thanks a lot.
>
>Jai
>
>
>

[-- Attachment #2: Type: text/html, Size: 2058 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-11-14 20:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 22:56 emacs -- simple Jai Dayal
2011-11-02 23:03 ` Marko Vojinovic
2011-11-02 23:26 ` Peter Dyballa
2011-11-02 23:52 ` Philipp Haselwarter
2011-11-03  0:21   ` Drew Adams
2011-11-03  5:19 ` Jambunathan K
2011-11-03 20:25   ` e20100633
2011-11-14 20:00 ` S Boucher

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.