Baloff <[EMAIL PROTECTED]> writes: > Hello > I have this in my ~/.emacs > > (defun edo-vertical-to-horizontal () > (interactive) > (let ((one-buf (window-buffer (selected-window)))) > (other-window 1) > (delete-other-window) > (split-window-horizontally) > (switch-to-buffer one-buf)) > > upone M-x edo-vertical-to-horizontal > it actually do horizontal to vertical which is the opposite to what it > is suppost to do. it was working good last time I used it which was a > year or so ago, I since upgraded my debain. > > not sure why it would do this.
Because that's the way it is: split-window-horizontally splits vertical windows and split-window-vertically splits horizontal windows. -- __Pascal Bourguignon__ http://www.informatimago.com/ Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects. The first system to really do this in an important way is Lisp. -- Alan Kay _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs