all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* deleting minibuffer
@ 2007-08-29 11:19 Nikola Skoric
  2007-08-29 12:29 ` sunway
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Nikola Skoric @ 2007-08-29 11:19 UTC (permalink / raw)
  To: help-gnu-emacs

Hi there everybody :-) I'm a brand new emacs user, and I'd like to get
rid of some of some minibuffers that I generate (for instance
*Completions* minibuffer) and then the y get in my way when I do the
C-x -> thing. When I do C-x 0, I get "Attempt to delete minibuffer...".
Why is attempting to delete minibuffer wrong?

Second thing is: how do I force emacs to break lines for me? When I write
news posts, I want my lines to be less than 70 chars. Is there a way to
force emacs to break my lines for me?

And, how do I prevent emacs from showing me introductory screen? If I run
emacs -nw foo, I want to see foo opened, not introductory screen... :-\

-- 
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"

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

* Re: deleting minibuffer
  2007-08-29 11:19 deleting minibuffer Nikola Skoric
@ 2007-08-29 12:29 ` sunway
  2007-08-29 13:25   ` Nikola Skoric
  2007-08-29 13:44   ` Peter Dyballa
  2007-08-29 15:04 ` Piet van Oostrum
  2007-08-30 21:38 ` roodwriter
  2 siblings, 2 replies; 10+ messages in thread
From: sunway @ 2007-08-29 12:29 UTC (permalink / raw)
  To: help-gnu-emacs

Nikola Skoric wrote:
> Hi there everybody :-) I'm a brand new emacs user, and I'd like to get
> rid of some of some minibuffers that I generate (for instance
> *Completions* minibuffer) and then the y get in my way when I do the
> C-x -> thing. When I do C-x 0, I get "Attempt to delete minibuffer...".
> Why is attempting to delete minibuffer wrong?
> 
> Second thing is: how do I force emacs to break lines for me? When I write
> news posts, I want my lines to be less than 70 chars. Is there a way to
> force emacs to break my lines for me?
> 
> And, how do I prevent emacs from showing me introductory screen? If I run
> emacs -nw foo, I want to see foo opened, not introductory screen... :-\
> 
the last one:
(setq inhibit-startup-message t)

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

* Re: deleting minibuffer
  2007-08-29 12:29 ` sunway
@ 2007-08-29 13:25   ` Nikola Skoric
  2007-08-29 13:44   ` Peter Dyballa
  1 sibling, 0 replies; 10+ messages in thread
From: Nikola Skoric @ 2007-08-29 13:25 UTC (permalink / raw)
  To: help-gnu-emacs

Dana Wed, 29 Aug 2007 20:29:49 +0800, 
sunway <sunwayforever@gmail.com> kaze:
> Nikola Skoric wrote:
>> And, how do I prevent emacs from showing me introductory screen? If I run
>> emacs -nw foo, I want to see foo opened, not introductory screen... :-\
>> 
> the last one:
> (setq inhibit-startup-message t)

Sorry for being newbie: where do I put that?

-- 
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"

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

* Re: deleting minibuffer
  2007-08-29 12:29 ` sunway
  2007-08-29 13:25   ` Nikola Skoric
@ 2007-08-29 13:44   ` Peter Dyballa
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2007-08-29 13:44 UTC (permalink / raw)
  To: GNU Emacs List


Nikola Skoric wrote:

> Second thing is: how do I force emacs to break lines for me? When I  
> write
> news posts, I want my lines to be less than 70 chars. Is there a  
> way to
> force emacs to break my lines for me?

Check the variable fill-column.

--
Greetings

   Pete

A blizzard is when it snows sideways.

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

* Re: deleting minibuffer
  2007-08-29 11:19 deleting minibuffer Nikola Skoric
  2007-08-29 12:29 ` sunway
@ 2007-08-29 15:04 ` Piet van Oostrum
  2007-08-29 16:42   ` Nikola Skoric
  2007-08-30 21:38 ` roodwriter
  2 siblings, 1 reply; 10+ messages in thread
From: Piet van Oostrum @ 2007-08-29 15:04 UTC (permalink / raw)
  To: help-gnu-emacs

>>>>> Nikola Skoric <nick-news@net4u.hr> (NS) wrote:

>NS> Hi there everybody :-) I'm a brand new emacs user, and I'd like to get
>NS> rid of some of some minibuffers that I generate (for instance
>NS> *Completions* minibuffer) and then the y get in my way when I do the
>NS> C-x -> thing. When I do C-x 0, I get "Attempt to delete minibuffer...".
>NS> Why is attempting to delete minibuffer wrong?

*Completions* is not a minibuffer. The minibuffer is on the bottom of the
frame (window) and is usually only one line high. It is used for additional
input to commands, e.g. file names. Without minibuffer Emacs cannot
function properly. However, the *Completions* can be deleted without
problems. I don't know what you mean with the C-x -> thing.

>NS> Second thing is: how do I force emacs to break lines for me? When I write
>NS> news posts, I want my lines to be less than 70 chars. Is there a way to
>NS> force emacs to break my lines for me?

menu: Options -> Word wrap in text modes. Don't forget to select Options ->
Save Options if you want to keep it the same for fututre Emacs sessions.
The value 70 can be set by customizing fill-column. Use Options ->
Customize Emacs -> Specific Options and specify fill-column in the
minibuffer.
You can then fill in the value 70 in the dialog window and save it for
future session with the appropriate button.

-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org

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

* Re: deleting minibuffer
  2007-08-29 15:04 ` Piet van Oostrum
@ 2007-08-29 16:42   ` Nikola Skoric
  2007-08-29 17:42     ` Malte Spiess
  2007-08-29 19:01     ` Peter Dyballa
  0 siblings, 2 replies; 10+ messages in thread
From: Nikola Skoric @ 2007-08-29 16:42 UTC (permalink / raw)
  To: help-gnu-emacs

Dana Wed, 29 Aug 2007 17:04:39 +0200, 
Piet van Oostrum <piet@cs.uu.nl> kaze:
>>>>>> Nikola Skoric <nick-news@net4u.hr> (NS) wrote:
>
>>NS> Hi there everybody :-) I'm a brand new emacs user, and I'd like to get
>>NS> rid of some of some minibuffers that I generate (for instance
>>NS> *Completions* minibuffer) and then the y get in my way when I do the
>>NS> C-x -> thing. When I do C-x 0, I get "Attempt to delete minibuffer...".
>>NS> Why is attempting to delete minibuffer wrong?
>
> *Completions* is not a minibuffer. The minibuffer is on the bottom of the
> frame (window) and is usually only one line high. It is used for additional
> input to commands, e.g. file names. Without minibuffer Emacs cannot
> function properly. However, the *Completions* can be deleted without
> problems. I don't know what you mean with the C-x -> thing.

When I have more than one buffer opened, then I go to next buffer with C-x, and
then right arrow. If I have, say, 2 buffers opened, and then use completion, a
3. buffer gets opened. If I go to that buffer, and press C-x 0, I get "Attempt
to delete minibuffer or sole ordinary window". How do I get rid of that buffer?

>>NS> Second thing is: how do I force emacs to break lines for me? When I write
>>NS> news posts, I want my lines to be less than 70 chars. Is there a way to
>>NS> force emacs to break my lines for me?
>
> menu: Options -> Word wrap in text modes. Don't forget to select Options ->
> Save Options if you want to keep it the same for fututre Emacs sessions.
> The value 70 can be set by customizing fill-column. Use Options ->
> Customize Emacs -> Specific Options and specify fill-column in the
> minibuffer.
> You can then fill in the value 70 in the dialog window and save it for
> future session with the appropriate button.

Thank you very much! :-)

-- 
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"

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

* Re: deleting minibuffer
  2007-08-29 16:42   ` Nikola Skoric
@ 2007-08-29 17:42     ` Malte Spiess
  2007-08-29 18:25       ` Nikola Skoric
  2007-08-29 19:01     ` Peter Dyballa
  1 sibling, 1 reply; 10+ messages in thread
From: Malte Spiess @ 2007-08-29 17:42 UTC (permalink / raw)
  To: help-gnu-emacs

Nikola Skoric <nick-news@net4u.hr> writes:
> When I have more than one buffer opened, then I go to next buffer with
> C-x, and then right arrow. If I have, say, 2 buffers opened, and then
> use completion, a 3. buffer gets opened. If I go to that buffer, and
> press C-x 0, I get "Attempt to delete minibuffer or sole ordinary
> window". How do I get rid of that buffer?

Well, you see, the problem is a little different.
(Btw.: You mix up window and buffer here. You want to get rid of the
buffer or the window?)
I think the problem is that your cursor is in the minibuffer. You can't
close that. Maybe try pressing "C-g" instead. Or put the cursor in the
correct window (not buffer) and then you can do your "C-x 0" again.

HTH
Malte

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

* Re: deleting minibuffer
  2007-08-29 17:42     ` Malte Spiess
@ 2007-08-29 18:25       ` Nikola Skoric
  0 siblings, 0 replies; 10+ messages in thread
From: Nikola Skoric @ 2007-08-29 18:25 UTC (permalink / raw)
  To: help-gnu-emacs

Dana Wed, 29 Aug 2007 19:42:06 +0200, 
Malte Spiess <i1tnews@arcor.de> kaze:
> Nikola Skoric <nick-news@net4u.hr> writes:
>> When I have more than one buffer opened, then I go to next buffer with
>> C-x, and then right arrow. If I have, say, 2 buffers opened, and then
>> use completion, a 3. buffer gets opened. If I go to that buffer, and
>> press C-x 0, I get "Attempt to delete minibuffer or sole ordinary
>> window". How do I get rid of that buffer?
>
> Well, you see, the problem is a little different.
> (Btw.: You mix up window and buffer here. You want to get rid of the
> buffer or the window?)
> I think the problem is that your cursor is in the minibuffer. You can't
> close that. Maybe try pressing "C-g" instead. Or put the cursor in the
> correct window (not buffer) and then you can do your "C-x 0" again.

Oh, right. You're right. I confused buffer and window. C-x k did the job.
Thanks for clearing that out.

-- 
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"

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

* Re: deleting minibuffer
  2007-08-29 16:42   ` Nikola Skoric
  2007-08-29 17:42     ` Malte Spiess
@ 2007-08-29 19:01     ` Peter Dyballa
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2007-08-29 19:01 UTC (permalink / raw)
  To: Nikola Skoric; +Cc: help-gnu-emacs


Am 29.08.2007 um 18:42 schrieb Nikola Skoric:

> When I have more than one buffer opened, then I go to next buffer  
> with C-x, and
> then right arrow. If I have, say, 2 buffers opened, and then use  
> completion, a
> 3. buffer gets opened. If I go to that buffer, and press C-x 0, I  
> get "Attempt
> to delete minibuffer or sole ordinary window". How do I get rid of  
> that buffer?

Choose an item from the suggested completions!

--
Greetings

   Pete

’Twas a woman who drove me to drink, and I never had the courtesy
  to thank her for it.         — W.C. Fields

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

* Re: deleting minibuffer
  2007-08-29 11:19 deleting minibuffer Nikola Skoric
  2007-08-29 12:29 ` sunway
  2007-08-29 15:04 ` Piet van Oostrum
@ 2007-08-30 21:38 ` roodwriter
  2 siblings, 0 replies; 10+ messages in thread
From: roodwriter @ 2007-08-30 21:38 UTC (permalink / raw)
  To: help-gnu-emacs

Nikola Skoric <nick-news@net4u.hr> writes:

> 
> Second thing is: how do I force emacs to break lines for
me? When I write
> news posts, I want my lines to be less than 70 chars. Is
there a way to
> force emacs to break my lines for me?
> 

Filling to break lines has been suggested. Possibly a better
method is to use longlines-mode. I understand it's built
into the newest version of Emacs. Those of us with older
versions can get it at emacswiki as an add-on.

Longlines will give you the line-breaking behavior that most
other word processors and text editors will give you.

--Rod
______________________
Author of "Linux for Non-Geeks--Clear-eyed Answers for
Practical
Consumers" and "Boring Stories from Uncle Rod." To reply by
e-mail
take the second "o" out of the e-mail address.

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

end of thread, other threads:[~2007-08-30 21:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29 11:19 deleting minibuffer Nikola Skoric
2007-08-29 12:29 ` sunway
2007-08-29 13:25   ` Nikola Skoric
2007-08-29 13:44   ` Peter Dyballa
2007-08-29 15:04 ` Piet van Oostrum
2007-08-29 16:42   ` Nikola Skoric
2007-08-29 17:42     ` Malte Spiess
2007-08-29 18:25       ` Nikola Skoric
2007-08-29 19:01     ` Peter Dyballa
2007-08-30 21:38 ` roodwriter

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.