all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* no questions when quitting
@ 2009-05-07  8:24 Krzysztof Poc
  2009-05-07  8:59 ` Anselm Helbig
  2009-05-07 22:09 ` no questions when quitting Johan Bockgård
  0 siblings, 2 replies; 6+ messages in thread
From: Krzysztof Poc @ 2009-05-07  8:24 UTC (permalink / raw)
  To: help-gnu-emacs

Hello

How can I force emacs to quit immediately after pressing C-x C-c
without asking any questions.
I would like all remaining modified buffers to be not saved and all
running emacs subprocesses to be killed.

I read in info documentation that confirm-kill-emacs variable adjusts
this behaviour.
Unfortunately I don't know to which value I should set it to achieve
what I want since nil value leads me to yes-or-no-p function.

thanks for help


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

* Re: no questions when quitting
  2009-05-07  8:24 no questions when quitting Krzysztof Poc
@ 2009-05-07  8:59 ` Anselm Helbig
  2009-08-04  5:51   ` Emacs terribly slow Maindoor
  2009-05-07 22:09 ` no questions when quitting Johan Bockgård
  1 sibling, 1 reply; 6+ messages in thread
From: Anselm Helbig @ 2009-05-07  8:59 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!

> How can I force emacs to quit immediately after pressing C-x C-c
> without asking any questions.
> I would like all remaining modified buffers to be not saved and all
> running emacs subprocesses to be killed.
> 
> I read in info documentation that confirm-kill-emacs variable adjusts
> this behaviour.
> Unfortunately I don't know to which value I should set it to achieve
> what I want since nil value leads me to yes-or-no-p function.

`confirm-kill-emacs' does something different: you can have it ask for
confirmation even if no buffers need saving. You can achieve this by
binding C-x C-c to `kill-emacs' instead of `save-buffers-kill-emacs':

  (global-set-key (kbd "C-x C-c") 'kill-emacs)

BTW, `save-buffers-kill-emacs' takes a prefix argument in which case
it saves all pending changes automatically - which you said is not
what you want. 

However, you might want to change the way you work: if you need a
buffer with contents you don't want to save, just don't associate a
file with it! Creating sucha buffer is easy, just give switch-buffer
(C-x b) the name of a buffer that doesn't yet exist. You have to set
the major mode you want manually, though.

HTH, 

Anselm


-- 
Anselm Helbig 
mailto:anselm.helbig+news2009@googlemail.com


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

* Re: no questions when quitting
  2009-05-07  8:24 no questions when quitting Krzysztof Poc
  2009-05-07  8:59 ` Anselm Helbig
@ 2009-05-07 22:09 ` Johan Bockgård
  1 sibling, 0 replies; 6+ messages in thread
From: Johan Bockgård @ 2009-05-07 22:09 UTC (permalink / raw)
  To: help-gnu-emacs

Krzysztof Poc <fajfusio@wp.pl> writes:

> How can I force emacs to quit immediately

M-x kill-emacs





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

* Emacs terribly slow
  2009-05-07  8:59 ` Anselm Helbig
@ 2009-08-04  5:51   ` Maindoor
  2009-08-04 16:21     ` Lennart Borgman
  0 siblings, 1 reply; 6+ messages in thread
From: Maindoor @ 2009-08-04  5:51 UTC (permalink / raw)
  To: help-gnu-emacs

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

Hi,
    I'm using emacs 23.0.91.1 and i load a few files using load-file
    in my .emacs file like session, hide-mode-line, uniquify, color-theme
    bs.el etc. but lately its become very very slow. Emacs it seems is
    panting and running out of breath when i open a file or when I browse 
    around the file. Is there any way to optimize for speed ?

Regards,
Maindoor.



      

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

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

* Re: Emacs terribly slow
  2009-08-04  5:51   ` Emacs terribly slow Maindoor
@ 2009-08-04 16:21     ` Lennart Borgman
  2009-08-06  6:46       ` Maindoor
  0 siblings, 1 reply; 6+ messages in thread
From: Lennart Borgman @ 2009-08-04 16:21 UTC (permalink / raw)
  To: Maindoor; +Cc: help-gnu-emacs

On Tue, Aug 4, 2009 at 7:51 AM, Maindoor<sanjeevfiles@yahoo.com> wrote:
> Hi,
>     I'm using emacs 23.0.91.1 and i load a few files using load-file
>     in my .emacs file like session, hide-mode-line, uniquify, color-theme
>     bs.el etc. but lately its become very very slow. Emacs it seems is
>     panting and running out of breath when i open a file or when I browse
>     around the file. Is there any way to optimize for speed ?

Hi Maindoor,

Did you try removing stuff from your .emacs?




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

* Re: Emacs terribly slow
  2009-08-04 16:21     ` Lennart Borgman
@ 2009-08-06  6:46       ` Maindoor
  0 siblings, 0 replies; 6+ messages in thread
From: Maindoor @ 2009-08-06  6:46 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: help-gnu-emacs

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

Yes. But its not much and they don't make a lot of difference.

Is it possible to tell emacs not to load particular set of modules like
i don't ever want to load viper. things like that..so that it becomes 
sleek and fast.

Regards,
Maindoor.

--- On Tue, 8/4/09, Lennart Borgman <lennart.borgman@gmail.com> wrote:

From: Lennart Borgman <lennart.borgman@gmail.com>
Subject: Re: Emacs terribly slow
To: "Maindoor" <sanjeevfiles@yahoo.com>
Cc: help-gnu-emacs@gnu.org
Date: Tuesday, August 4, 2009, 9:51 PM

On Tue, Aug 4, 2009 at 7:51 AM, Maindoor<sanjeevfiles@yahoo.com> wrote:
> Hi,
>     I'm using emacs 23.0.91.1 and i load a few files using load-file
>     in my .emacs file like session, hide-mode-line, uniquify, color-theme
>     bs.el etc. but lately its become very very slow. Emacs it seems is
>     panting and running out of breath when i open a file or when I browse
>     around the file. Is there any way to optimize for speed ?

Hi Maindoor,

Did you try removing stuff from your .emacs?



      

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

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

end of thread, other threads:[~2009-08-06  6:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-07  8:24 no questions when quitting Krzysztof Poc
2009-05-07  8:59 ` Anselm Helbig
2009-08-04  5:51   ` Emacs terribly slow Maindoor
2009-08-04 16:21     ` Lennart Borgman
2009-08-06  6:46       ` Maindoor
2009-05-07 22:09 ` no questions when quitting Johan Bockgård

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.