Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
window-size-fixed
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Klaus Berndl  
View profile  
 More options Feb 21 2003, 1:00 pm
Newsgroups: gnu.emacs.help
From: Klaus Berndl <klaus.ber...@sdm.de>
Date: 21 Feb 2003 18:51:28 +0100
Local: Fri, Feb 21 2003 12:51 pm
Subject: window-size-fixed

In the elisp-info-manual there is the following description:

 - Variable: window-size-fixed
     If this variable is non-`nil', in any given buffer, then the size
     of any window displaying the buffer remains fixed unless you
     explicitly change it or Emacs has no other choice.  (This feature
     is new in Emacs 21.)

     If the value is `height', then only the window's height is fixed;
     if the value is `width', then only the window's width is fixed.
     Any other non-`nil' value fixes both the width and the height.

     The usual way to use this variable is to give it a buffer-local
     value in a particular buffer.  That way, the windows (but usually
     there is only one) displaying that buffer have fixed size.

     Explicit size-change functions such as `enlarge-window' get an
     error if they would have to change a window size which is fixed.
     Therefore, when you want to change the size of such a window, you
     should bind `window-size-fixed' to `nil', like this:

          (let ((window-size-fixed nil))
             (enlarge-window 10))

     Note that changing the frame size will change the size of a
     fixed-size window, if there is no other alternative.

C-h v displays:

Documentation:
Non-nil in a buffer means windows displaying the buffer are fixed-size.
Emacs won't change the size of any window displaying that buffer,
unless you explicitly change the size, or Emacs has no other choice.
This variable automatically becomes buffer-local when set.

Regardless which not nil value i set in a buffer there seems always be set t.
Example:

(setq window-size-fixed 'width)

After that doing C-h v window-size-fixed RET in that buffer returns t as
value.

Is the distinction between 'width, 'height and t like described in the
info-manual not implemented now??

Thanks a lot,
Klaus

--
Klaus Berndl                    mailto: klaus.ber...@sdm.de
sd&m AG                             http://www.sdm.de
software design & management        
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »