Re: Window size?

Richard Martin <[email protected]> Wed, 25 Feb 2004 10:52:37 +0000
Newsgroups gmane.emacs.xemacs.general
Organization AePONA Ltd
Message-ID <[email protected]>
worked perfectly in xemacs!!

Thanks everyone for getting back to me....

On Tue, 2004-02-24 at 15:53, [email protected] wrote:
> This is what I have in my .emacs for GNU emacs (not xemacs).
> Hope it's useful...
> 
> (defun toggle-line-wrap (&optional arg)
>   "Toggle line wrap.
> No argument changes state to opposite of previous state.
> Argument = 0 => don't wrap lines.
> Argument otherwise (1, 2, ...) => Do wrap lines."
>   (interactive "P")
>   (setq truncate-lines
>       (if (null arg) (not truncate-lines)
>         (/= (prefix-numeric-value arg) 0)))
>   (setq truncate-partial-width-windows truncate-lines)
>   (force-mode-line-update))         ; And the screen to redraw.
> 
> 
> [I'm no lisp guru, so there may be a better way of doing this...]
> 
> 
> 
> 
>                                                                                                          
>                       Richard Martin                                                                     
>                       <Richard.Martin@a        To:       xemacs-news <[email protected]>            
>                       epona.com>               cc:                                                       
>                       Sent by:                 Subject:  Window size?                                    
>                       xemacs-news-admin                                                                  
>                       @xemacs.org                                                                        
>                                                                                                          
>                                                                                                          
>                       02/24/04 04:50 AM                                                                  
>                                                                                                          
>                                                                                                          
> 
> 
> 
> 
> Hi
> 
> How do I make the auto-completion (or for that any window) always word
> wrap so I dont have to scroll across to see the rest of the possible
> completions
> 
> Thanks
> Richard
> 
> 
> 
> 
-- 
Richard Martin <[email protected]>
AePONA Ltd