Files
2012-02-21 01:15:00 -05:00

1 line
2.8 KiB
JSON

[{"user_id": 3150, "stars": [], "topic_id": 14705, "date_created": 1300893065.9824021, "message": "(resize \"200px\")", "group_id": 83, "id": 418029}, {"user_id": 277, "stars": [], "topic_id": 14705, "date_created": 1300894101.0027649, "message": "And, enlarge-window, which takes a prefix argument is bound to C-x ^. So, C-u 8 C-x ^ enlarges quite a bit at a time", "group_id": 83, "id": 418228}, {"user_id": 7131, "stars": [], "topic_id": 14705, "date_created": 1300893629.499994, "message": "You can call (shrink-window N) or (enlarge-window N) where N is the number of lines to adjust by.", "group_id": 83, "id": 418125}, {"user_id": 3150, "stars": [], "topic_id": 14705, "date_created": 1300893054.363229, "message": "I mean via hotkey or command? like resize \"200px\"", "group_id": 83, "id": 418028}, {"user_id": 277, "stars": [], "topic_id": 14705, "date_created": 1300893929.314707, "message": "I wrote three-quarters-window many years ago to make it easy to \"monitor\" a changing buffer, say irc, without taking too much vertical space:", "group_id": 83, "id": 418195}, {"user_id": 277, "stars": [{"date_created": 1301133491.830555, "user_id": 4937}], "topic_id": 14705, "date_created": 1300893931.3658509, "message": "(defun three-quarters-window ()\n \"Resizes current window big\"\n (interactive)\n (let ((size (- (truncate (* .75 (frame-height))) (window-height))))\n (if (> size 0)\n (enlarge-window size))))\n(global-set-key \"\\C-x7\" 'three-quarters-window)\n", "group_id": 83, "id": 418196}, {"user_id": 18774, "stars": [], "topic_id": 14705, "date_created": 1300897528.0841489, "message": "If you want to resize like 200px with hot key here is how \"M-2 M-0 M-0 C-X }\" this does exactly that", "group_id": 83, "id": 418584}, {"user_id": 3150, "stars": [], "topic_id": 14705, "date_created": 1300899585.1313219, "message": "@developernotes Thx but this hotkey isn't that good. I'm search for something close to @apgwoz solution. I've tried to set this frame-height as \"frame-width\" but didn't work. Any tips?", "group_id": 83, "id": 418872}, {"user_id": 7131, "stars": [], "topic_id": 14705, "date_created": 1300931917.838932, "message": "@tauil you were asking about resizing a pane, which is why I suggested the window functions, not frames which are different in emacs. What exactly are you trying to do?", "group_id": 83, "id": 422806}, {"user_id": 3150, "stars": [], "topic_id": 14705, "date_created": 1300970634.6230309, "message": "@developernotes I asked how to resizes a \"splited pane\", not window. Anyway your solution worked but as I said, the hotkey isn't that good. Maybe if I change ir could be better but @apgwoz solution seems to be smarter than what I asked. I only need to know how to use it setting the pane width and not the height as showed.", "group_id": 83, "id": 426156}]