PNG  IHDRX cHRMz&u0`:pQ<bKGD pHYsodtIME MeqIDATxw]Wug^Qd˶ 6`!N:!@xI~)%7%@Bh&`lnjVF29gΨ4E$|>cɚ{gk= %,a KX%,a KX%,a KX%,a KX%,a KX%,a KX%, b` ǟzeאfp]<!SJmɤY޲ڿ,%c ~ع9VH.!Ͳz&QynֺTkRR.BLHi٪:l;@(!MԴ=žI,:o&N'Kù\vRmJ雵֫AWic H@" !: Cé||]k-Ha oݜ:y F())u]aG7*JV@J415p=sZH!=!DRʯvɱh~V\}v/GKY$n]"X"}t@ xS76^[bw4dsce)2dU0 CkMa-U5tvLƀ~mlMwfGE/-]7XAƟ`׮g ewxwC4\[~7@O-Q( a*XGƒ{ ՟}$_y3tĐƤatgvێi|K=uVyrŲlLӪuܿzwk$m87k( `múcE)"@rK( z4$D; 2kW=Xb$V[Ru819קR~qloѱDyįݎ*mxw]y5e4K@ЃI0A D@"BDk_)N\8͜9dz"fK0zɿvM /.:2O{ Nb=M=7>??Zuo32 DLD@D| &+֎C #B8ַ`bOb $D#ͮҪtx]%`ES`Ru[=¾!@Od37LJ0!OIR4m]GZRJu$‡c=%~s@6SKy?CeIh:[vR@Lh | (BhAMy=݃  G"'wzn޺~8ԽSh ~T*A:xR[ܹ?X[uKL_=fDȊ؂p0}7=D$Ekq!/t.*2ʼnDbŞ}DijYaȲ(""6HA;:LzxQ‘(SQQ}*PL*fc\s `/d'QXW, e`#kPGZuŞuO{{wm[&NBTiiI0bukcA9<4@SӊH*؎4U/'2U5.(9JuDfrޱtycU%j(:RUbArLֺN)udA':uGQN"-"Is.*+k@ `Ojs@yU/ H:l;@yyTn}_yw!VkRJ4P)~y#)r,D =ě"Q]ci'%HI4ZL0"MJy 8A{ aN<8D"1#IJi >XjX֔#@>-{vN!8tRݻ^)N_╗FJEk]CT՟ YP:_|H1@ CBk]yKYp|og?*dGvzنzӴzjֺNkC~AbZƷ`.H)=!QͷVTT(| u78y֮}|[8-Vjp%2JPk[}ԉaH8Wpqhwr:vWª<}l77_~{s۴V+RCģ%WRZ\AqHifɤL36: #F:p]Bq/z{0CU6ݳEv_^k7'>sq*+kH%a`0ԣisqにtү04gVgW΂iJiS'3w.w}l6MC2uԯ|>JF5`fV5m`Y**Db1FKNttu]4ccsQNnex/87+}xaUW9y>ͯ骵G{䩓Գ3+vU}~jJ.NFRD7<aJDB1#ҳgSb,+CS?/ VG J?|?,2#M9}B)MiE+G`-wo߫V`fio(}S^4e~V4bHOYb"b#E)dda:'?}׮4繏`{7Z"uny-?ǹ;0MKx{:_pÚmFמ:F " .LFQLG)Q8qN q¯¯3wOvxDb\. BKD9_NN &L:4D{mm o^tֽ:q!ƥ}K+<"m78N< ywsard5+вz~mnG)=}lYݧNj'QJS{S :UYS-952?&O-:W}(!6Mk4+>A>j+i|<<|;ر^߉=HE|V#F)Emm#}/"y GII웻Jі94+v뾧xu~5C95~ūH>c@덉pʃ1/4-A2G%7>m;–Y,cyyaln" ?ƻ!ʪ<{~h~i y.zZB̃/,雋SiC/JFMmBH&&FAbϓO^tubbb_hZ{_QZ-sύodFgO(6]TJA˯#`۶ɟ( %$&+V'~hiYy>922 Wp74Zkq+Ovn錄c>8~GqܲcWꂎz@"1A.}T)uiW4="jJ2W7mU/N0gcqܗOO}?9/wìXžΏ0 >֩(V^Rh32!Hj5`;O28؇2#ݕf3 ?sJd8NJ@7O0 b־?lldщ̡&|9C.8RTWwxWy46ah嘦mh٤&l zCy!PY?: CJyв]dm4ǜҐR޻RլhX{FƯanшQI@x' ao(kUUuxW_Ñ줮[w8 FRJ(8˼)_mQ _!RJhm=!cVmm ?sFOnll6Qk}alY}; "baӌ~M0w,Ggw2W:G/k2%R,_=u`WU R.9T"v,<\Ik޽/2110Ӿxc0gyC&Ny޽JҢrV6N ``یeA16"J³+Rj*;BϜkZPJaÍ<Jyw:NP8/D$ 011z֊Ⱳ3ι֘k1V_"h!JPIΣ'ɜ* aEAd:ݺ>y<}Lp&PlRfTb1]o .2EW\ͮ]38؋rTJsǏP@芎sF\> P^+dYJLbJ C-xϐn> ι$nj,;Ǖa FU *择|h ~izť3ᤓ`K'-f tL7JK+vf2)V'-sFuB4i+m+@My=O҈0"|Yxoj,3]:cо3 $#uŘ%Y"y죯LebqtҢVzq¼X)~>4L׶m~[1_k?kxֺQ`\ |ٛY4Ѯr!)N9{56(iNq}O()Em]=F&u?$HypWUeB\k]JɩSع9 Zqg4ZĊo oMcjZBU]B\TUd34ݝ~:7ڶSUsB0Z3srx 7`:5xcx !qZA!;%͚7&P H<WL!džOb5kF)xor^aujƍ7 Ǡ8/p^(L>ὴ-B,{ۇWzֺ^k]3\EE@7>lYBȝR.oHnXO/}sB|.i@ɥDB4tcm,@ӣgdtJ!lH$_vN166L__'Z)y&kH;:,Y7=J 9cG) V\hjiE;gya~%ks_nC~Er er)muuMg2;֫R)Md) ,¶ 2-wr#F7<-BBn~_(o=KO㭇[Xv eN_SMgSҐ BS헃D%g_N:/pe -wkG*9yYSZS.9cREL !k}<4_Xs#FmҶ:7R$i,fi!~' # !6/S6y@kZkZcX)%5V4P]VGYq%H1!;e1MV<!ϐHO021Dp= HMs~~a)ަu7G^];git!Frl]H/L$=AeUvZE4P\.,xi {-~p?2b#amXAHq)MWǾI_r`S Hz&|{ +ʖ_= (YS(_g0a03M`I&'9vl?MM+m~}*xT۲(fY*V4x@29s{DaY"toGNTO+xCAO~4Ϳ;p`Ѫ:>Ҵ7K 3}+0 387x\)a"/E>qpWB=1 ¨"MP(\xp߫́A3+J] n[ʼnӼaTbZUWb={~2ooKױӰp(CS\S筐R*JغV&&"FA}J>G֐p1ٸbk7 ŘH$JoN <8s^yk_[;gy-;߉DV{c B yce% aJhDȶ 2IdйIB/^n0tNtџdcKj4϶v~- CBcgqx9= PJ) dMsjpYB] GD4RDWX +h{y`,3ꊕ$`zj*N^TP4L:Iz9~6s) Ga:?y*J~?OrMwP\](21sZUD ?ܟQ5Q%ggW6QdO+\@ ̪X'GxN @'4=ˋ+*VwN ne_|(/BDfj5(Dq<*tNt1х!MV.C0 32b#?n0pzj#!38}޴o1KovCJ`8ŗ_"]] rDUy޲@ Ȗ-;xџ'^Y`zEd?0„ DAL18IS]VGq\4o !swV7ˣι%4FѮ~}6)OgS[~Q vcYbL!wG3 7띸*E Pql8=jT\꘿I(z<[6OrR8ºC~ډ]=rNl[g|v TMTղb-o}OrP^Q]<98S¤!k)G(Vkwyqyr޽Nv`N/e p/~NAOk \I:G6]4+K;j$R:Mi #*[AȚT,ʰ,;N{HZTGMoּy) ]%dHء9Պ䠬|<45,\=[bƟ8QXeB3- &dҩ^{>/86bXmZ]]yޚN[(WAHL$YAgDKp=5GHjU&99v簪C0vygln*P)9^͞}lMuiH!̍#DoRBn9l@ xA/_v=ȺT{7Yt2N"4!YN`ae >Q<XMydEB`VU}u]嫇.%e^ánE87Mu\t`cP=AD/G)sI"@MP;)]%fH9'FNsj1pVhY&9=0pfuJ&gޤx+k:!r˭wkl03׼Ku C &ѓYt{.O.zҏ z}/tf_wEp2gvX)GN#I ݭ߽v/ .& и(ZF{e"=V!{zW`, ]+LGz"(UJp|j( #V4, 8B 0 9OkRrlɱl94)'VH9=9W|>PS['G(*I1==C<5"Pg+x'K5EMd؞Af8lG ?D FtoB[je?{k3zQ vZ;%Ɠ,]E>KZ+T/ EJxOZ1i #T<@ I}q9/t'zi(EMqw`mYkU6;[t4DPeckeM;H}_g pMww}k6#H㶏+b8雡Sxp)&C $@'b,fPߑt$RbJ'vznuS ~8='72_`{q纶|Q)Xk}cPz9p7O:'|G~8wx(a 0QCko|0ASD>Ip=4Q, d|F8RcU"/KM opKle M3#i0c%<7׿p&pZq[TR"BpqauIp$ 8~Ĩ!8Սx\ւdT>>Z40ks7 z2IQ}ItԀ<-%S⍤};zIb$I 5K}Q͙D8UguWE$Jh )cu4N tZl+[]M4k8֦Zeq֮M7uIqG 1==tLtR,ƜSrHYt&QP윯Lg' I,3@P'}'R˪e/%-Auv·ñ\> vDJzlӾNv5:|K/Jb6KI9)Zh*ZAi`?S {aiVDԲuy5W7pWeQJk֤#5&V<̺@/GH?^τZL|IJNvI:'P=Ϛt"¨=cud S Q.Ki0 !cJy;LJR;G{BJy޺[^8fK6)=yʊ+(k|&xQ2`L?Ȓ2@Mf 0C`6-%pKpm')c$׻K5[J*U[/#hH!6acB JA _|uMvDyk y)6OPYjœ50VT K}cǻP[ $:]4MEA.y)|B)cf-A?(e|lɉ#P9V)[9t.EiQPDѠ3ϴ;E:+Օ t ȥ~|_N2,ZJLt4! %ա]u {+=p.GhNcŞQI?Nd'yeh n7zi1DB)1S | S#ًZs2|Ɛy$F SxeX{7Vl.Src3E℃Q>b6G ўYCmtկ~=K0f(=LrAS GN'ɹ9<\!a`)֕y[uՍ[09` 9 +57ts6}b4{oqd+J5fa/,97J#6yν99mRWxJyѡyu_TJc`~W>l^q#Ts#2"nD1%fS)FU w{ܯ R{ ˎ󅃏џDsZSQS;LV;7 Od1&1n$ N /.q3~eNɪ]E#oM~}v֯FڦwyZ=<<>Xo稯lfMFV6p02|*=tV!c~]fa5Y^Q_WN|Vs 0ҘދU97OI'N2'8N֭fgg-}V%y]U4 峧p*91#9U kCac_AFңĪy뚇Y_AiuYyTTYЗ-(!JFLt›17uTozc. S;7A&&<ԋ5y;Ro+:' *eYJkWR[@F %SHWP 72k4 qLd'J "zB6{AC0ƁA6U.'F3:Ȅ(9ΜL;D]m8ڥ9}dU "v!;*13Rg^fJyShyy5auA?ɩGHRjo^]׽S)Fm\toy 4WQS@mE#%5ʈfFYDX ~D5Ϡ9tE9So_aU4?Ѽm%&c{n>.KW1Tlb}:j uGi(JgcYj0qn+>) %\!4{LaJso d||u//P_y7iRJ߬nHOy) l+@$($VFIQ9%EeKʈU. ia&FY̒mZ=)+qqoQn >L!qCiDB;Y<%} OgBxB!ØuG)WG9y(Ą{_yesuZmZZey'Wg#C~1Cev@0D $a@˲(.._GimA:uyw֬%;@!JkQVM_Ow:P.s\)ot- ˹"`B,e CRtaEUP<0'}r3[>?G8xU~Nqu;Wm8\RIkբ^5@k+5(By'L&'gBJ3ݶ!/㮻w҅ yqPWUg<e"Qy*167΃sJ\oz]T*UQ<\FԎ`HaNmڜ6DysCask8wP8y9``GJ9lF\G g's Nn͵MLN֪u$| /|7=]O)6s !ĴAKh]q_ap $HH'\1jB^s\|- W1:=6lJBqjY^LsPk""`]w)󭃈,(HC ?䔨Y$Sʣ{4Z+0NvQkhol6C.婧/u]FwiVjZka&%6\F*Ny#8O,22+|Db~d ~Çwc N:FuuCe&oZ(l;@ee-+Wn`44AMK➝2BRՈt7g*1gph9N) *"TF*R(#'88pm=}X]u[i7bEc|\~EMn}P瘊J)K.0i1M6=7'_\kaZ(Th{K*GJyytw"IO-PWJk)..axӝ47"89Cc7ĐBiZx 7m!fy|ϿF9CbȩV 9V-՛^pV̌ɄS#Bv4-@]Vxt-Z, &ֺ*diؠ2^VXbs֔Ìl.jQ]Y[47gj=幽ex)A0ip׳ W2[ᎇhuE^~q흙L} #-b۸oFJ_QP3r6jr+"nfzRJTUqoaۍ /$d8Mx'ݓ= OՃ| )$2mcM*cЙj}f };n YG w0Ia!1Q.oYfr]DyISaP}"dIӗթO67jqR ҊƐƈaɤGG|h;t]䗖oSv|iZqX)oalv;۩meEJ\!8=$4QU4Xo&VEĊ YS^E#d,yX_> ۘ-e\ "Wa6uLĜZi`aD9.% w~mB(02G[6y.773a7 /=o7D)$Z 66 $bY^\CuP. (x'"J60׿Y:Oi;F{w佩b+\Yi`TDWa~|VH)8q/=9!g߆2Y)?ND)%?Ǐ`k/sn:;O299yB=a[Ng 3˲N}vLNy;*?x?~L&=xyӴ~}q{qE*IQ^^ͧvü{Huu=R|>JyUlZV, B~/YF!Y\u_ݼF{_C)LD]m {H 0ihhadd nUkf3oٺCvE\)QJi+֥@tDJkB$1!Đr0XQ|q?d2) Ӣ_}qv-< FŊ߫%roppVBwü~JidY4:}L6M7f٬F "?71<2#?Jyy4뷢<_a7_=Q E=S1И/9{+93֮E{ǂw{))?maÆm(uLE#lïZ  ~d];+]h j?!|$F}*"4(v'8s<ŏUkm7^7no1w2ؗ}TrͿEk>p'8OB7d7R(A 9.*Mi^ͳ; eeUwS+C)uO@ =Sy]` }l8^ZzRXj[^iUɺ$tj))<sbDJfg=Pk_{xaKo1:-uyG0M ԃ\0Lvuy'ȱc2Ji AdyVgVh!{]/&}}ċJ#%d !+87<;qN޼Nفl|1N:8ya  8}k¾+-$4FiZYÔXk*I&'@iI99)HSh4+2G:tGhS^繿 Kتm0 вDk}֚+QT4;sC}rՅE,8CX-e~>G&'9xpW,%Fh,Ry56Y–hW-(v_,? ; qrBk4-V7HQ;ˇ^Gv1JVV%,ik;D_W!))+BoS4QsTM;gt+ndS-~:11Sgv!0qRVh!"Ȋ(̦Yl.]PQWgٳE'`%W1{ndΗBk|Ž7ʒR~,lnoa&:ü$ 3<a[CBݮwt"o\ePJ=Hz"_c^Z.#ˆ*x z̝grY]tdkP*:97YľXyBkD4N.C_[;F9`8& !AMO c `@BA& Ost\-\NX+Xp < !bj3C&QL+*&kAQ=04}cC!9~820G'PC9xa!w&bo_1 Sw"ܱ V )Yl3+ס2KoXOx]"`^WOy :3GO0g;%Yv㐫(R/r (s } u B &FeYZh0y> =2<Ϟc/ -u= c&׭,.0"g"7 6T!vl#sc>{u/Oh Bᾈ)۴74]x7 gMӒ"d]U)}" v4co[ ɡs 5Gg=XR14?5A}D "b{0$L .\4y{_fe:kVS\\O]c^W52LSBDM! C3Dhr̦RtArx4&agaN3Cf<Ԉp4~ B'"1@.b_/xQ} _߃҉/gٓ2Qkqp0շpZ2fԫYz< 4L.Cyυι1t@鎫Fe sYfsF}^ V}N<_`p)alٶ "(XEAVZ<)2},:Ir*#m_YӼ R%a||EƼIJ,,+f"96r/}0jE/)s)cjW#w'Sʯ5<66lj$a~3Kʛy 2:cZ:Yh))+a߭K::N,Q F'qB]={.]h85C9cr=}*rk?vwV렵ٸW Rs%}rNAkDv|uFLBkWY YkX מ|)1!$#3%y?pF<@<Rr0}: }\J [5FRxY<9"SQdE(Q*Qʻ)q1E0B_O24[U'],lOb ]~WjHޏTQ5Syu wq)xnw8~)c 쫬gٲߠ H% k5dƝk> kEj,0% b"vi2Wس_CuK)K{n|>t{P1򨾜j>'kEkƗBg*H%'_aY6Bn!TL&ɌOb{c`'d^{t\i^[uɐ[}q0lM˕G:‚4kb祔c^:?bpg… +37stH:0}en6x˟%/<]BL&* 5&fK9Mq)/iyqtA%kUe[ڛKN]Ě^,"`/ s[EQQm?|XJ߅92m]G.E΃ח U*Cn.j_)Tѧj̿30ڇ!A0=͜ar I3$C^-9#|pk!)?7.x9 @OO;WƝZBFU keZ75F6Tc6"ZȚs2y/1 ʵ:u4xa`C>6Rb/Yм)^=+~uRd`/|_8xbB0?Ft||Z\##|K 0>>zxv8۴吅q 8ĥ)"6>~\8:qM}#͚'ĉ#p\׶ l#bA?)|g g9|8jP(cr,BwV (WliVxxᡁ@0Okn;ɥh$_ckCgriv}>=wGzβ KkBɛ[˪ !J)h&k2%07δt}!d<9;I&0wV/ v 0<H}L&8ob%Hi|޶o&h1L|u֦y~󛱢8fٲUsւ)0oiFx2}X[zVYr_;N(w]_4B@OanC?gĦx>мgx>ΛToZoOMp>40>V Oy V9iq!4 LN,ˢu{jsz]|"R޻&'ƚ{53ўFu(<٪9:΋]B;)B>1::8;~)Yt|0(pw2N%&X,URBK)3\zz&}ax4;ǟ(tLNg{N|Ǽ\G#C9g$^\}p?556]/RP.90 k,U8/u776s ʪ_01چ|\N 0VV*3H鴃J7iI!wG_^ypl}r*jɤSR 5QN@ iZ#1ٰy;_\3\BQQ x:WJv츟ٯ$"@6 S#qe딇(/P( Dy~TOϻ<4:-+F`0||;Xl-"uw$Цi󼕝mKʩorz"mϺ$F:~E'ҐvD\y?Rr8_He@ e~O,T.(ފR*cY^m|cVR[8 JҡSm!ΆԨb)RHG{?MpqrmN>߶Y)\p,d#xۆWY*,l6]v0h15M˙MS8+EdI='LBJIH7_9{Caз*Lq,dt >+~ّeʏ?xԕ4bBAŚjﵫ!'\Ը$WNvKO}ӽmSşذqsOy?\[,d@'73'j%kOe`1.g2"e =YIzS2|zŐƄa\U,dP;jhhhaxǶ?КZ՚.q SE+XrbOu%\GتX(H,N^~]JyEZQKceTQ]VGYqnah;y$cQahT&QPZ*iZ8UQQM.qo/T\7X"u?Mttl2Xq(IoW{R^ ux*SYJ! 4S.Jy~ BROS[V|žKNɛP(L6V^|cR7i7nZW1Fd@ Ara{詑|(T*dN]Ko?s=@ |_EvF]׍kR)eBJc" MUUbY6`~V޴dJKß&~'d3i WWWWWW
Current Directory: /usr/share/emacs/24.3/lisp
Viewing File: /usr/share/emacs/24.3/lisp/window.elc
;ELC ;;; Compiled by mockbuild@buildfarm01-new.corp.cloudlinux.com on Tue Nov 11 13:00:12 2025 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/window.el ;;; in Emacs version 24.3 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defalias 'internal--before-save-selected-window #[nil "\300 \301\302\303\304\305 \"\"B\207" [selected-window apply append mapcar #[(terminal) "\306!\307!\310\n\203\n\311\n \"B \310\211\203/ @\211\312\f!B B A\211\204* +\207" [terminal alist top-frame frames f --dolist-tail-- frames-on-display-list tty-top-frame nil delq frame-selected-window] 5] terminal-list] 6]) (defalias 'internal--after-save-selected-window #[(state) "A\303\211\203)\n@\304 @!\203\"\305 A!\203\"\306 @ A\307#\210\nA\211\204 *\305@!\2056\310@\307\"\207" [state elt --dolist-tail-- nil frame-live-p window-live-p set-frame-selected-window norecord select-window] 5]) #@731 Execute BODY, then select the previously selected window. The value returned is the value of the last form in BODY. This macro saves and restores the selected window, as well as the selected window in each frame. If the previously selected window is no longer live, then whatever window is selected at the end of BODY remains selected. If the previously selected window of some frame is no longer live at the end of BODY, that frame's selected window is left alone. This macro saves and restores the current buffer, since otherwise its normal operation could make a different buffer current. The order of recently selected windows and the buffer list ordering are not altered by this macro (unless they are altered in BODY). (defalias 'save-selected-window '(macro . #[(&rest body) "\301\302\303\304\305B\306BBDE\207" [body let ((save-selected-window--state (internal--before-save-selected-window))) save-current-buffer unwind-protect progn ((internal--after-save-selected-window save-selected-window--state))] 6 (#$ . 1215)])) (byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put save-selected-window lisp-indent-function 0 edebug-form-spec t] 4) #@156 Normal hook run by `with-temp-buffer-window' before buffer display. This hook is run by `with-temp-buffer-window' with the buffer to be displayed current. (defvar temp-buffer-window-setup-hook nil (#$ . 2384)) #@177 Normal hook run by `with-temp-buffer-window' after buffer display. This hook is run by `with-temp-buffer-window' with the buffer displayed and current and its window selected. (defvar temp-buffer-window-show-hook nil (#$ . 2601)) #@73 Set up temporary buffer specified by BUFFER-OR-NAME. Return the buffer. (defalias 'temp-buffer-window-setup #[(buffer-or-name) "\306 !r\nq\210\307 \210 \310 \210\311\211\312\211\312\313 \210\314\315!\210*\n+\207" [default-directory buffer-or-name buffer old-dir buffer-read-only buffer-file-name get-buffer-create kill-all-local-variables delete-all-overlays nil t erase-buffer run-hooks temp-buffer-window-setup-hook buffer-undo-list inhibit-modification-hooks inhibit-read-only] 4 (#$ . 2837)]) #@130 Show temporary buffer BUFFER in a window. Return the window showing BUFFER. Pass ACTION as action argument to `display-buffer'. (defalias 'temp-buffer-window-show #[(&optional buffer action) "\306\211r\nq\210\307\306!\210\310eb\210\f\311=\204!\f\312=\203% \203%\310\202&\f\313\n\"\211)\205f\314 !\211\315 =\204A\316!\210 \317 \320\"\210\321 !r\322\216\323@\324\"\210\325\326!\210 \203d\327 !\210+ +\207" [frame window buffer buffer-read-only window-combination-limit temp-buffer-resize-mode nil set-buffer-modified-p t temp-buffer temp-buffer-resize display-buffer window-frame selected-frame raise-frame set-window-hscroll 0 internal--before-with-selected-window ((internal--after-with-selected-window save-selected-window--state)) select-window norecord run-hooks temp-buffer-window-show-hook resize-temp-buffer-window action minibuffer-scroll-window save-selected-window--state] 4 (#$ . 3353)]) #@1896 Bind `standard-output' to BUFFER-OR-NAME, eval BODY, show the buffer. BUFFER-OR-NAME must specify either a live buffer, or the name of a buffer (if it does not exist, this macro creates it). This construct makes buffer BUFFER-OR-NAME empty before running BODY. It does not make the buffer current for BODY. Instead it binds `standard-output' to that buffer, so that output generated with `prin1' and similar functions in BODY goes into the buffer. At the end of BODY, this marks the specified buffer unmodified and read-only, and displays it in a window (but does not select it, or make the buffer current). The display happens by calling `display-buffer' with the ACTION argument. If `temp-buffer-resize-mode' is enabled, the relevant window shrinks automatically. This returns the value returned by BODY, unless QUIT-FUNCTION specifies a function. In that case, it runs the function with two arguments - the window showing the specified buffer and the value returned by BODY - and returns the value returned by that function. If the buffer is displayed on a new frame, the window manager may decide to select that frame. In that case, it's usually a good strategy if QUIT-FUNCTION selects the window showing the buffer before reading any value from the minibuffer; for example, when asking a `yes-or-no-p' question. This runs the hook `temp-buffer-window-setup-hook' before BODY, with the specified buffer temporarily current. It runs the hook `temp-buffer-window-show-hook' after displaying the buffer, with that buffer temporarily current, and the window that was used to display it temporarily selected. This construct is similar to `with-output-to-temp-buffer', but runs different hooks. In particular, it does not run `temp-buffer-setup-hook', which usually puts the buffer in Help mode. Also, it does not call `temp-buffer-show-function' (the ACTION argument replaces this). (defalias 'with-temp-buffer-window '(macro . #[(buffer-or-name action quit-function &rest body) "\306\307!\306\310!\306\311!\312\n\313 DD\314\nD F\315\n\316\317\fBE\316 \320\n EEF\321\322D\323 FFF+\207" [value window buffer buffer-or-name body action make-symbol "buffer" "window" "value" let* temp-buffer-window-setup standard-output with-current-buffer setq progn temp-buffer-window-show if functionp funcall quit-function] 10 (#$ . 4282)])) (put 'with-temp-buffer-window 'edebug-form-spec t) #@113 Return WINDOW's right sibling. Return nil if WINDOW is the root window of its frame. WINDOW can be any window. (defalias 'window-right #[(window) "\205 \301!\205 \302!\207" [window window-parent window-next-sibling] 2 (#$ . 6690)]) #@112 Return WINDOW's left sibling. Return nil if WINDOW is the root window of its frame. WINDOW can be any window. (defalias 'window-left #[(window) "\205 \301!\205 \302!\207" [window window-parent window-prev-sibling] 2 (#$ . 6935)]) #@63 Return WINDOW's first child window. WINDOW can be any window. (defalias 'window-child #[(window) "\301!\206 \302!\207" [window window-top-child window-left-child] 2 (#$ . 7177)]) #@68 Return number of WINDOW's child windows. WINDOW can be any window. (defalias 'window-child-count #[(window) "\302\303 !\203\304 !\211\203 \203T\305 !\211\204)\207" [count window 0 windowp window-child window-next-sibling] 3 (#$ . 7365)]) #@63 Return last child window of WINDOW. WINDOW can be any window. (defalias 'window-last-child #[(window) "\301!\203\302!\211\203\303!\203\303!\202\207" [window windowp window-child window-next-sibling] 2 (#$ . 7623)]) #@152 Return buffer specified by BUFFER-OR-NAME. BUFFER-OR-NAME must be either a buffer or a string naming a live buffer and defaults to the current buffer. (defalias 'window-normalize-buffer #[(buffer-or-name) "\204p\207\301!\203\302!\203\207\303\304\"\207\305!\206#\303\306\"\207" [buffer-or-name bufferp buffer-live-p error "Buffer %s is not a live buffer" get-buffer "No such buffer %s"] 3 (#$ . 7860)]) #@97 Return frame specified by FRAME. FRAME must be a live frame and defaults to the selected frame. (defalias 'window-normalize-frame #[(frame) "\203\301!\203\f\207\302\303\"\207\304 \207" [frame frame-live-p error "%s is not a live frame" selected-frame] 3 (#$ . 8282)]) #@247 Return the window specified by WINDOW. If WINDOW is nil, return the selected window. Otherwise, if WINDOW is a live or an internal window, return WINDOW; if LIVE-ONLY is non-nil, return WINDOW for a live window only. Otherwise, signal an error. (defalias 'window-normalize-window #[(window &optional live-only) "\204\302 \207 \203\303!\203\207\304\305\"\207\306!\203 \207\304\307\"\207" [window live-only selected-window window-live-p error "%s is not a live window" window-valid-p "%s is not a valid window"] 3 (#$ . 8564)]) #@304 If non-nil, standard functions ignore window parameters. The functions currently affected by this are `split-window', `delete-window', `delete-other-windows' and `other-window'. An application may bind this to a non-nil value around calls to these functions to inhibit processing of window parameters. (defvar ignore-window-parameters nil (#$ . 9112)) #@84 The absolute minimum number of lines of a window. Anything less might crash Emacs. (defconst window-safe-min-height 1 (#$ . 9471)) #@546 The minimum number of lines of any window. The value has to accommodate a mode- or header-line if present. A value less than `window-safe-min-height' is ignored. The value of this variable is honored when windows are resized or split. Applications should never rebind this variable. To resize a window to a height less than the one specified here, an application should instead call `window-resize' with a non-nil IGNORE argument. In order to have `split-window' make a window shorter, explicitly specify the SIZE argument of that function. (custom-declare-variable 'window-min-height 4 '(#$ . 9609) :type 'integer :version "24.1" :group 'windows) #@86 The absolute minimum number of columns of a window. Anything less might crash Emacs. (defconst window-safe-min-width 2 (#$ . 10267)) #@556 The minimum number of columns of any window. The value has to accommodate margins, fringes, or scrollbars if present. A value less than `window-safe-min-width' is ignored. The value of this variable is honored when windows are resized or split. Applications should never rebind this variable. To resize a window to a width less than the one specified here, an application should instead call `window-resize' with a non-nil IGNORE argument. In order to have `split-window' make a window narrower, explicitly specify the SIZE argument of that function. (custom-declare-variable 'window-min-width 10 '(#$ . 10407) :type 'integer :version "24.1" :group 'windows) #@383 Return non-nil if WINDOW has siblings in a given direction. WINDOW must be a valid window and defaults to the selected one. HORIZONTAL determines a direction for the window combination. If HORIZONTAL is omitted or nil, return non-nil if WINDOW is part of a vertical window combination. If HORIZONTAL is non-nil, return non-nil if WINDOW is part of a horizontal window combination. (defalias 'window-combined-p #[(&optional window horizontal) "\303!\304!\211\205\n\203\305 !\202\306 !)\207" [window parent horizontal window-normalize-window window-parent window-left-child window-top-child] 3 (#$ . 11077)]) #@233 Return largest number of windows vertically arranged within WINDOW. WINDOW must be a valid window and defaults to the selected one. If HORIZONTAL is non-nil, return the largest number of windows horizontally arranged within WINDOW. (defalias 'window-combinations #[(window &optional horizontal) "\304!\305!\203\f\306\207 \203\307!\202\310!\2038\311!\312\211\2035\313 \"\n\\\314 !\211\204&\n*\207\311!\306\211\203Q\313 \"\n]\314 !\211\204B\n*\207" [window horizontal count child window-normalize-window window-live-p 1 window-left-child window-top-child window-child 0 window-combinations window-right] 4 (#$ . 11702)]) #@67 Helper function for `walk-window-tree' and `walk-window-subtree'. (defalias 'walk-window-tree-1 #[(fun walk-window-tree-window any &optional sub-only) "\305 \205=\306 !\211\204\n\203 !\210\204*\307 \310 !\n#\210\307 \311 !\n#\210\f\2034\305\211\202\312 !\211\204\305)\207" [walk-window-tree-buffer walk-window-tree-window any fun sub-only nil window-buffer walk-window-tree-1 window-left-child window-top-child window-right] 5 (#$ . 12354)]) #@700 Run function FUN on each live window of FRAME. FUN must be a function with one argument - a window. FRAME must be a live frame and defaults to the selected one. ANY, if non-nil, means to run FUN on all live and internal windows of FRAME. Optional argument MINIBUF t means run FUN on FRAME's minibuffer window even if it isn't active. MINIBUF nil or omitted means run FUN on FRAME's minibuffer window only if it's active. In both cases the minibuffer window must be part of FRAME. MINIBUF neither nil nor t means never run FUN on the minibuffer window. This function performs a pre-order, depth-first traversal of the window tree. If FUN changes the window tree, the result is unpredictable. (defalias 'walk-window-tree #[(fun &optional frame any minibuf) "\305!\306 \307!\n#\210 \310>\2054\304!\311\f!\2053\312\f!=\2053 \313=\2040\314\f!\2053 \f!)\207" [frame fun any minibuf minibuffer-window window-normalize-frame walk-window-tree-1 frame-root-window (nil t) window-live-p window-frame t minibuffer-window-active-p] 4 (#$ . 12820)]) #@505 Run function FUN on the subtree of windows rooted at WINDOW. WINDOW defaults to the selected window. FUN must be a function with one argument - a window. By default, run FUN only on live windows of the subtree. If the optional argument ANY is non-nil, run FUN on all live and internal windows of the subtree. If WINDOW is live, run FUN on WINDOW only. This function performs a pre-order, depth-first traversal of the subtree rooted at WINDOW. If FUN changes that tree, the result is unpredictable. (defalias 'walk-window-subtree #[(fun &optional window any) "\303!\304 \n\305$\207" [window fun any window-normalize-window walk-window-tree-1 t] 5 (#$ . 13882)]) #@622 Return first window on FRAME with PARAMETER non-nil. FRAME defaults to the selected frame. Optional argument VALUE non-nil means only return a window whose window-parameter value for PARAMETER equals VALUE (comparison is done with `equal'). Optional argument ANY non-nil means consider internal windows too. Optional argument MINIBUF t means consider FRAME's minibuffer window even if it isn't active. MINIBUF nil or omitted means consider FRAME's minibuffer window only if it's active. In both cases the minibuffer window must be part of FRAME. MINIBUF neither nil nor t means never consider the minibuffer window. (defalias 'window-with-parameter #[(parameter &optional value frame any minibuf) "\301\302\303\215)\207" [this-value nil found (walk-window-tree #[(window) "\304 \"\211\205 \203 \n\232\205\305\306\"\207" [window parameter this-value value window-parameter throw found] 3] frame any minibuf)] 2 (#$ . 14559)]) #@169 Return root of atomic window WINDOW is a part of. WINDOW must be a valid window and defaults to the selected one. Return nil if WINDOW is not part of an atomic window. (defalias 'window-atom-root #[(&optional window) "\302!\303\203\304\305\"\203\306!\211\204\n )\207" [window root window-normalize-window nil window-parameter window-atom window-parent] 4 (#$ . 15506)]) #@82 Make WINDOW an atomic window. WINDOW must be an internal window. Return WINDOW. (defalias 'window-make-atom #[(window) "\301!\204 \302\303\"\207\304\305\306#\210\207" [window window-child error "Window %s is not an internal window" walk-window-subtree #[(window) "\301\302\303#\207" [window set-window-parameter window-atom t] 4] t] 4 (#$ . 15896)]) #@1122 Display BUFFER in an atomic window. This function displays BUFFER in a new window that will be combined with an existing window to form an atomic window. If the existing window is already part of an atomic window, add the new window to that atomic window. Operations like `split-window' or `delete-window', when applied to a constituent of an atomic window, are applied atomically to the root of that atomic window. ALIST is an association list of symbols and values. The following symbols can be used. `window' specifies the existing window the new window shall be combined with. Use `window-atom-root' to make the new window a sibling of an atomic window's root. If an internal window is specified here, all children of that window become part of the atomic window too. If no window is specified, the new window becomes a sibling of the selected window. `side' denotes the side of the existing window where the new window shall be located. Valid values are `below', `right', `above' and `left'. The default is `below'. The return value is the new window, nil when creating that window failed. (defalias 'display-buffer-in-atom-window #[(buffer alist) "\306\211\303\236A\302\236A\307\310 !\311 \307\n#\211\205-\312\313 !!\210\314 \303%-\207" [alist new side window window-combination-limit ignore-window-parameters t nil window-normalize-window split-window window-make-atom window-parent window--display-buffer buffer display-buffer-mark-dedicated] 6 (#$ . 16261)]) #@37 Subroutine of `window--atom-check'. (defalias 'window--atom-check-1 #[(window) "\205:\302\303\"\203#\304\305\306\215\204 \307U\203\310\311\312#\210)\2025\313!\2045\314\315!!\210\314\316!!\210\314\317!!\207" [window count window-parameter window-atom 0 reset (walk-window-subtree #[(window) "\302\303\"\203\f T\211\207\304\305\306\"\207" [window count window-parameter window-atom throw reset t] 3] window t) 1 walk-window-subtree #[(window) "\301\302\303#\207" [window set-window-parameter window-atom nil] 4] t window-buffer window--atom-check-1 window-left-child window-top-child window-right] 4 (#$ . 17776)]) #@290 Check atomicity of all windows on FRAME. FRAME defaults to the selected frame. If an atomic window is wrongly configured, reset the atomicity of all its windows on FRAME to nil. An atomic window is wrongly configured if it has no child windows or one of its child windows is not atomic. (defalias 'window--atom-check #[(&optional frame) "\301\302!!\207" [frame window--atom-check-1 frame-root-window] 3 (#$ . 18416)]) #@15 Window sides. (defvar window-sides '(left top right bottom) (#$ . 18843)) (byte-code "\300\301\302\303\304\305\306\307\310\311& \210\300\312\313\314\310\311\315\316\304\317\306\307& \207" [custom-declare-variable window-sides-vertical nil "If non-nil, left and right side windows are full height.\nOtherwise, top and bottom side windows are full width." :type boolean :group windows :version "24.1" window-sides-slots '(nil nil nil nil) "Maximum number of side window slots.\nThe value is a list of four elements specifying the number of\nside window slots on (in this order) the left, top, right and\nbottom side of each frame. If an element is a number, this means\nto display at most that many side windows on the corresponding\nside. If an element is nil, this means there's no bound on the\nnumber of slots on that side." :risky t (list :value (nil nil nil nil) (choice :tag "Left" :help-echo "Maximum slots of left side window." :value nil :format "%[Left%] %v\n" (const :tag "Unlimited" :format "%t" nil) (integer :tag "Number" :value 2 :size 5)) (choice :tag "Top" :help-echo "Maximum slots of top side window." :value nil :format "%[Top%] %v\n" (const :tag "Unlimited" :format "%t" nil) (integer :tag "Number" :value 3 :size 5)) (choice :tag "Right" :help-echo "Maximum slots of right side window." :value nil :format "%[Right%] %v\n" (const :tag "Unlimited" :format "%t" nil) (integer :tag "Number" :value 2 :size 5)) (choice :tag "Bottom" :help-echo "Maximum slots of bottom side window." :value nil :format "%[Bottom%] %v\n" (const :tag "Unlimited" :format "%t" nil) (integer :tag "Number" :value 3 :size 5)))] 12) #@400 Return the major non-side window of frame FRAME. The optional argument FRAME must be a live frame and defaults to the selected one. If FRAME has at least one side window, the major non-side window is either an internal non-side window such that all other non-side windows on FRAME descend from it, or the single live non-side window of FRAME. If FRAME has no side windows, return its root window. (defalias 'window--major-non-side-window #[(&optional frame) "\303!\304\211\305\306\307#\210\n\206\310!+\207" [frame sibling major window-normalize-frame nil walk-window-tree #[(window) "\303\304\"?\205)\305!\211\203\303 \304\"\204&\306!\211\205)\303 \304\"\205)\211\207" [window sibling major window-parameter window-side window-prev-sibling window-next-sibling] 3] t frame-root-window] 4 (#$ . 20479)]) #@141 Return major side window on SIDE. SIDE must be one of the symbols `left', `top', `right' or `bottom'. Return nil if no such window exists. (defalias 'window--major-side-window #[(side) "\304 \305\n\306=\203\307\310\311\305\312$\211\204'\n\313=\203-\307\310\314\305\312$\211\203-\315!\202\272\n\311=\203>\307\310\306\305\312$\211\204O\n\314=\203U\307\310\313\305\312$\211\203U\316!\202\272\n\317>\203\211 \203c \202\272\307\310\313\305\312$\211\203t\316!\202\272\307\310\314\305\312$\211\203\205\315!\202\272 \202\272\n\320>\205\272 \204\227 \202\272\307\310\306\305\312$\211\203\250\316!\202\272\307\310\311\305\312$\211\203\271\315!\202\272 *\207" [window root side window-sides-vertical frame-root-window nil left window-with-parameter window-side right t top bottom window-prev-sibling window-next-sibling (left right) (top bottom)] 5 (#$ . 21311)]) #@445 Display BUFFER in a new window on SIDE of the selected frame. SIDE must be one of `left', `top', `right' or `bottom'. SLOT specifies the slot to use. ALIST is an association list of symbols and values as passed to `display-buffer-in-side-window'. This function may be called only if no window on SIDE exists yet. The new window automatically becomes the "major" side window on SIDE. Return the new window, nil if its creation window failed. (defalias 'display-buffer-in-major-side-window #[(buffer side slot &optional alist) "\306  \307>\310 !\304  \311=\203\312\202# \313=\203\"\314\202# \301\315\316 \315 #\315\205\203\317\320 #\210\317\321#\210\317\322\323#\210\n\203[\324\236A\202`\325\236A\204y\n\203k\324\202l\325\326\306 \n\"\327\245BB\330 \331\301%. \207" [root side left-or-right major selected-window on-side frame-root-window (left right) window--major-side-window top above bottom below nil split-window set-window-parameter window-side window-slot delete-window delete-side-window window-width window-height window-total-size 4 window--display-buffer window window-combination-resize window-combination-limit new fun slot alist buffer] 6 (#$ . 22214)]) #@28 Delete side window WINDOW. (defalias 'delete-side-window #[(window) "\303\304!\305\"\306\307!*\207" [window ignore-window-parameters window-combination-resize window-parameter window-parent window-side t delete-window] 3 (#$ . 23436)]) #@694 Display BUFFER in a window on side SIDE of the selected frame. ALIST is an association list of symbols and values. The following symbols can be used: `side' denotes the side of the existing window where the new window shall be located. Valid values are `bottom', `right', `top' and `left'. The default is `bottom'. `slot' if non-nil, specifies the window slot where to display BUFFER. A value of zero or nil means use the middle slot on the specified side. A negative value means use a slot preceding (that is, above or on the left of) the middle slot. A positive value means use a slot following (that is, below or on the right of) the middle slot. The default is zero. (defalias 'display-buffer-in-side-window #[(buffer alist) "\303\236A\206\306\302\236A\206\307\310\211\311>\204\"\312\313 \"\210\202,\n\247\204,\312\314\n\"\210\315\316 \310\317$\211\205@\310\320\321!\210 \237)\f\205J\322\323\f!]) \324=\203V\307\202q \325=\203`\322\202q \326=\203j\327\202q \306=\205q\330*8+\331 \310\211(,\310\211-.\310\211/0\310\21112\3103+\247\203\246+\307X\203\246\310\202V \204\264\3324 \n$\202V\333\334\215\210,\203\311\3354,\336\303%\206V+\203\326)+W\203A/\203 \337>\203\345\340\202\346\324\30356\341/\3106#(\342(\343\344#\210(*\204,.\203A \345>\203\346\202\326\30357\341.\3107#(\342(\343\344#\210(*\203A\342(\347\n#\203A\3354(\350\303%\206V0\205V\3420\347\n#\210\33540\336\303%.\207" [alist new slot side major windows bottom 0 nil (top bottom left right) error "Invalid side %s specified" "Invalid slot %s specified" window-with-parameter window-side t walk-window-tree #[(window) "\303\304\" =\205\nB\211\207" [window side windows window-parameter window-side] 3] 1 window-child-count left top right 2 3 selected-window display-buffer-in-major-side-window found (byte-code "\306\211\203}\n@\307 \310\"\211\247\203v \fU\203% \311\312\313\"\210\202v \314V\2031\f\314V\204= \314W\203E\f\314W\203E\315\f Z!\202L\315\f!\315 !\\\203[X\204b  \fX\203n \202v\204v \nA\211\204*\306\207" [windows window --dolist-tail-- this-slot slot this-window nil window-parameter window-slot throw found t 0 abs abs-slot best-slot best-window prev-window next-window] 4) window--display-buffer reuse (left right) above split-window set-window-parameter delete-window delete-side-window (left right) below window-slot window slots window-sides-slots max-slots this-window this-slot prev-window next-window best-window best-slot abs-slot new-window buffer window-combination-resize next-side prev-side] 7 (#$ . 23683)]) #@660 Check the side window configuration of FRAME. FRAME defaults to the selected frame. A valid side window configuration preserves the following two invariants: - If there exists a window whose window-side parameter is non-nil, there must exist at least one live window whose window-side parameter is nil. - If a window W has a non-nil window-side parameter (i) it must have a parent window and that parent's window-side parameter must be either nil or the same as for W, and (ii) any child window of W must have the same window-side parameter as W. If the configuration is invalid, reset the window-side parameters of all windows on FRAME to nil. (defalias 'window--side-check #[(&optional frame) "\306\211\211\211\211\211\211\211\f \307\310\215\204/ \204*\f\204* \204*\f\2055 ?\2055\311\312\313#.\207" [parent-side parent side none bottom right nil reset (walk-window-tree #[(window) "\306\307\"\310!\211\205\306\n\307\"\211\203\" =?\205\235\311\312\313\"\207 \2040\314!\205\235\313\211\207 \315>\203<\316!\202?\317!\203G\311\312\313\"\207 \305=\203Z \203V\311\312\313\"\207\313\211\207 \320=\203o\203j\311\312\313\"\207\313\211\207 \321=\203\204\203\311\312\313\"\207\313\211\207 \322=\203\231\203\224\311\312\313\"\207\313\211\207\311\312\313\"\207" [window side parent parent-side none left window-parameter window-side window-parent throw reset t window-buffer (left top) window-prev-sibling window-next-sibling top right bottom] 4] frame t) walk-window-tree #[(window) "\301\302\303#\207" [window set-window-parameter window-side nil] 4] t top left frame] 8 (#$ . 26350)]) #@79 Check atomic and side windows on FRAME. FRAME defaults to the selected frame. (defalias 'window--check #[(&optional frame) "\301!\210\302!\207" [frame window--side-check window--atom-check] 2 (#$ . 28008)]) #@404 Non-nil in a buffer means windows displaying the buffer are fixed-size. 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. Emacs won't change the size of any window displaying that buffer, unless it has no other choice (like when deleting a neighboring window). (defvar window-size-fixed nil (#$ . 28224)) (make-variable-buffer-local 'window-size-fixed) #@71 Return non-nil if IGNORE says to ignore size restrictions for WINDOW. (defalias 'window--size-ignore-p #[(window ignore) "\302!\203\n =\207\207" [ignore window window-valid-p] 2 (#$ . 28725)]) #@672 Return the minimum size of WINDOW. WINDOW must be a valid window and defaults to the selected one. Optional argument HORIZONTAL non-nil means return the minimum number of columns of WINDOW; otherwise return the minimum number of WINDOW's lines. Optional argument IGNORE, if non-nil, means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. If IGNORE is a window, ignore restrictions for that window only. Any other non-nil value means ignore all of the above restrictions for all windows. (defalias 'window-min-size #[(&optional window horizontal ignore) "\303\304! \n#\207" [window horizontal ignore window--min-size-1 window-normalize-window] 4 (#$ . 28929)]) #@41 Internal function of `window-min-size'. (defalias 'window--min-size-1 #[(window horizontal ignore) "\306!\211\203>\307\310 \"\203% \2039\n\311 \f#\\\312 !\211\202 \2039\n\311 \f#]\312 !\211\204)\n)\202r\313!q\210\314\f\"\204Y\315 \"\203Y\316 \"\202\f\317=\204e\f=\203r \203m \202\202 \203\342\320!\321!\322! !\323 \324 @\325!!\"\324 \211\"A@)\325!!\"\3268\327>\203\256A@\202\311\330!\331\"\332>\203\310\324\330!\333\"\206\302\334\325 \"\202\311\307$\314\f\"\204\334#\247\203\334#\202\335\307]+\202\323$\203\356\335\202\357\307%\203\370\335\202\371\307#\314\f\"\204\f&\247\203\f&\202 \307]))\207" [window sub value horizontal ignore window-safe-min-width window-child 0 window-combined-p window--min-size-1 window-right window-buffer window--size-ignore-p window-size-fixed-p window-total-size safe window-frame window-fringes window-scroll-bars + ceiling frame-char-width 2 (left right) frame-parameter vertical-scroll-bars (left right) scroll-bar-width 14 1 window-safe-min-height scroll-bars fringes frame x window-min-width header-line-format mode-line-format window-min-height] 9 (#$ . 29780)]) #@1271 Return DELTA if DELTA lines can be added to WINDOW. WINDOW must be a valid window and defaults to the selected one. Optional argument HORIZONTAL non-nil means return DELTA if DELTA columns can be added to WINDOW. A return value of zero means that no lines (or columns) can be added to WINDOW. This function looks only at WINDOW and, recursively, its child windows. The function `window-resizable' looks at other windows as well. DELTA positive means WINDOW shall be enlarged by DELTA lines or columns. If WINDOW cannot be enlarged by DELTA lines or columns return the maximum value in the range 0..DELTA by which WINDOW can be enlarged. DELTA negative means WINDOW shall be shrunk by -DELTA lines or columns. If WINDOW cannot be shrunk by -DELTA lines or columns, return the minimum value in the range DELTA..0 by which WINDOW can be shrunk. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. If IGNORE is a window, ignore restrictions for that window only. Any other non-nil value means ignore all of the above restrictions for all windows. (defalias 'window-sizable #[(window delta &optional horizontal ignore) "\304! \305W\203\306\n #\307\n\"Z ]\207\310 \"\203 \207 \305V\2031\311\n\"\203/\305\207 \207\305\207" [window delta horizontal ignore window-normalize-window 0 window-min-size window-total-size window--size-ignore-p window-size-fixed-p] 4 (#$ . 30970)]) #@205 Return t if WINDOW can be resized by DELTA lines. WINDOW must be a valid window and defaults to the selected one. For the meaning of the arguments of this function see the doc-string of `window-sizable'. (defalias 'window-sizable-p #[(window delta &optional horizontal ignore) "\304! \305V\203\306 \n $ Y\207\306 \n $ X\207" [window delta horizontal ignore window-normalize-window 0 window-sizable] 5 (#$ . 32584)]) #@46 Internal function for `window-size-fixed-p'. (defalias 'window--size-fixed-1 #[(window horizontal) "\302!\303\304\215)\207" [window sub window-child fixed (byte-code "\203B\304 \"\203(\203#\305 \"\204\306\307\310\"\210\311!\211\204\306\307\312\"\207\205A\305 \"\2038\306\307\312\"\210\311!\211\204,\310\207r\313\n!q\210 \203R \314>\202U \315>)\207" [sub horizontal window window-size-fixed window-combined-p window--size-fixed-1 throw fixed nil window-right t window-buffer (width t) (height t)] 4)] 2 (#$ . 33012)]) #@358 Return non-nil if WINDOW's height is fixed. WINDOW must be a valid window and defaults to the selected one. Optional argument HORIZONTAL non-nil means return non-nil if WINDOW's width is fixed. If this function returns nil, this does not necessarily mean that WINDOW can be resized in the desired direction. The function `window-resizable' can tell that. (defalias 'window-size-fixed-p #[(&optional window horizontal) "\302\303! \"\207" [window horizontal window--size-fixed-1 window-normalize-window] 3 (#$ . 33560)]) #@43 Internal function for `window-min-delta'. (defalias 'window--min-delta-1 #[(window delta &optional horizontal ignore trail noup) "\303!\204\304\207\303!\305 !\306\307\215*\207" [window parent sub window-parent 0 window-child done (byte-code "\306 \"\203@\n\307=\203<\f=\203\n\310=\2024 \2044\311\f \"\204.\312 \"\2044\313\314\"\210\315!\211\204)\202a\203a\f=\204Y\316 \"\317 #Z^\315!\211\204D\203i\207\320 \n%\207" [sub horizontal trail skip window ignore window-combined-p after before window--size-ignore-p window-size-fixed-p throw done window-right window-total-size window-min-size window--min-delta-1 delta noup parent] 7)] 2 (#$ . 34088)]) #@1237 Return number of lines by which WINDOW can be shrunk. WINDOW must be a valid window and defaults to the selected one. Return zero if WINDOW cannot be shrunk. Optional argument HORIZONTAL non-nil means return number of columns by which WINDOW can be shrunk. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE is a window, ignore restrictions for that window only. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. Any other non-nil value means ignore all of the above restrictions for all windows. Optional argument TRAIL restricts the windows that can be enlarged. If its value is `before', only windows to the left of or above WINDOW can be enlarged. If it is `after', only windows to the right of or below WINDOW can be enlarged. Optional argument NOUP non-nil means don't go up in the window tree, but try to enlarge windows within WINDOW's combination only. Optional argument NODOWN non-nil means don't check whether WINDOW itself (and its child windows) can be shrunk; check only whether at least one other window can be enlarged appropriately. (defalias 'window-min-delta #[(&optional window horizontal ignore trail noup nodown) "\306!\307 \"\310 \n# \203!\311\f \n \f&\2028\f U\203+\312\2028\311\f Z \n \f&*\207" [window horizontal ignore minimum size nodown window-normalize-window window-total-size window-min-size window--min-delta-1 0 trail noup] 7 (#$ . 34794)]) #@42 Internal function of `window-max-delta'. (defalias 'window--max-delta-1 #[(window delta &optional horizontal ignore trail noup) "\304!\204 \207\304!\305\n!\306\307\215*\207" [window delta parent sub window-parent window-child fixed (byte-code "\306 \"\203:\n\307=\2036\f=\203\n\310=\202. \204. \311 \"\312 #Z\\\313!\211\204)\202`\203`\f=\204X\314\"\204X\315 \"\203X\316\317 \"\210\313!\211\204>\203g \207\320 \n%\207" [sub horizontal trail skip window delta window-combined-p after before window-total-size window-min-size window-right window--size-ignore-p window-size-fixed-p throw fixed window--max-delta-1 ignore noup parent] 7)] 2 (#$ . 36379)]) #@1276 Return maximum number of lines by which WINDOW can be enlarged. WINDOW must be a valid window and defaults to the selected one. The return value is zero if WINDOW cannot be enlarged. Optional argument HORIZONTAL non-nil means return maximum number of columns by which WINDOW can be enlarged. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE is a window, ignore restrictions for that window only. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. Any other non-nil value means ignore all of the above restrictions for all windows. Optional argument TRAIL restricts the windows that can be enlarged. If its value is `before', only windows to the left of or above WINDOW can be enlarged. If it is `after', only windows to the right of or below WINDOW can be enlarged. Optional argument NOUP non-nil means don't go up in the window tree but try to obtain the entire space from windows within WINDOW's combination. Optional argument NODOWN non-nil means do not check whether WINDOW itself (and its child windows) can be enlarged; check only whether other windows can be shrunk appropriately. (defalias 'window-max-delta #[(&optional window horizontal ignore trail noup nodown) "\306!\307 \"\204\n\204\310 \"\203\311\207\312\311 \f &\207" [window ignore nodown horizontal trail noup window-normalize-window window--size-ignore-p window-size-fixed-p 0 window--max-delta-1] 7 (#$ . 37086)]) #@1679 Return DELTA if WINDOW can be resized vertically by DELTA lines. WINDOW must be a valid window and defaults to the selected one. Optional argument HORIZONTAL non-nil means return DELTA if WINDOW can be resized horizontally by DELTA columns. A return value of zero means that WINDOW is not resizable. DELTA positive means WINDOW shall be enlarged by DELTA lines or columns. If WINDOW cannot be enlarged by DELTA lines or columns, return the maximum value in the range 0..DELTA by which WINDOW can be enlarged. DELTA negative means WINDOW shall be shrunk by -DELTA lines or columns. If WINDOW cannot be shrunk by -DELTA lines or columns, return the minimum value in the range DELTA..0 that can be used for shrinking WINDOW. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE is a window, ignore restrictions for that window only. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. Any other non-nil value means ignore all of the above restrictions for all windows. Optional argument TRAIL `before' means only windows to the left of or below WINDOW can be shrunk. Optional argument TRAIL `after' means only windows to the right of or above WINDOW can be shrunk. Optional argument NOUP non-nil means don't go up in the window tree but check only whether space can be obtained from (or given to) WINDOW's siblings. Optional argument NODOWN non-nil means don't go down in the window tree. This means do not check whether resizing would violate size restrictions of WINDOW or its child windows. (defalias 'window--resizable #[(window delta &optional horizontal ignore trail noup nodown) "\306! \307W\203\310\n \f \n&[ ]\207 \307V\203+\311\n \f \n& ^\207\307\207" [window delta horizontal ignore trail noup window-normalize-window 0 window-min-delta window-max-delta nodown] 7 (#$ . 38678)]) #@219 Return t if WINDOW can be resized vertically by DELTA lines. WINDOW must be a valid window and defaults to the selected one. For the meaning of the arguments of this function see the doc-string of `window--resizable'. (defalias 'window--resizable-p #[(window delta &optional horizontal ignore trail noup nodown) "\306! \307V\203\310 \n \f  & Y\207\310 \n \f  & X\207" [window delta horizontal ignore trail noup window-normalize-window 0 window--resizable nodown] 8 (#$ . 40670)]) #@1148 Return DELTA if WINDOW can be resized vertically by DELTA lines. WINDOW must be a valid window and defaults to the selected one. Optional argument HORIZONTAL non-nil means return DELTA if WINDOW can be resized horizontally by DELTA columns. A return value of zero means that WINDOW is not resizable. DELTA positive means WINDOW shall be enlarged by DELTA lines or columns. If WINDOW cannot be enlarged by DELTA lines or columns return the maximum value in the range 0..DELTA by which WINDOW can be enlarged. DELTA negative means WINDOW shall be shrunk by -DELTA lines or columns. If WINDOW cannot be shrunk by -DELTA lines or columns, return the minimum value in the range DELTA..0 that can be used for shrinking WINDOW. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE is a window, ignore restrictions for that window only. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. Any other non-nil value means ignore all of the above restrictions for all windows. (defalias 'window-resizable #[(window delta &optional horizontal ignore) "\304!\305 \n $\207" [window delta horizontal ignore window-normalize-window window--resizable] 5 (#$ . 41168)]) #@290 Return the total height or width of WINDOW. WINDOW must be a valid window and defaults to the selected one. If HORIZONTAL is omitted or nil, return the total height of WINDOW, in lines, like `window-total-height'. Otherwise return the total width, in columns, like `window-total-width'. (defalias 'window-total-size #[(&optional window horizontal) "\203\302 !\207\303 !\207" [horizontal window window-total-width window-total-height] 2 (#$ . 42511)]) (defalias 'window-height 'window-total-height) #@250 Return t if WINDOW is as high as its containing frame. More precisely, return t if and only if the total height of WINDOW equals the total height of the root window of WINDOW's frame. WINDOW must be a valid window and defaults to the selected one. (defalias 'window-full-height-p #[(&optional window) "\301!\302!\302\303!!U\207" [window window-normalize-window window-total-size frame-root-window] 4 (#$ . 43021)]) #@247 Return t if WINDOW is as wide as its containing frame. More precisely, return t if and only if the total width of WINDOW equals the total width of the root window of WINDOW's frame. WINDOW must be a valid window and defaults to the selected one. (defalias 'window-full-width-p #[(&optional window) "\301!\302\303\"\302\304!\303\"U\207" [window window-normalize-window window-total-size t frame-root-window] 4 (#$ . 43448)]) #@284 Return the height or width of WINDOW's text area. WINDOW must be a live window and defaults to the selected one. If HORIZONTAL is omitted or nil, return the height of the text area, like `window-body-height'. Otherwise, return the width of the text area, like `window-body-width'. (defalias 'window-body-size #[(&optional window horizontal) "\203\302 !\207\303 !\207" [horizontal window window-body-width window-body-height] 2 (#$ . 43883)]) (defalias 'window-width 'window-body-width) #@529 Return the current scroll bar settings for WINDOW. WINDOW must be a live window and defaults to the selected one. The return value is a cons cell (VERTICAL . HORIZONTAL) where VERTICAL specifies the current location of the vertical scroll bars (`left', `right', or nil), and HORIZONTAL specifies the current location of the horizontal scroll bars (`top', `bottom', or nil). Unlike `window-scroll-bars', this function reports the scroll bar type actually used, once frame defaults and `scroll-bar-mode' are taken into account. (defalias 'window-current-scroll-bars #[(&optional window) "\304\305\"\306\307!8\310\211\305=\204 \305=\2032\311\312!!\n\305=\203( @ \305=\2031 A)\n *B\207" [window hor vert fcsb window-normalize-window t 2 window-scroll-bars nil frame-current-scroll-bars window-frame] 4 (#$ . 44381)]) #@1282 Cycle through all live windows, calling FUN for each one. FUN must specify a function with a window as its sole argument. The optional arguments MINIBUF and ALL-FRAMES specify the set of windows to include in the walk. MINIBUF t means include the minibuffer window even if the minibuffer is not active. MINIBUF nil or omitted means include the minibuffer window only if the minibuffer is active. Any other value means do not include the minibuffer window even if the minibuffer is active. ALL-FRAMES nil or omitted means consider all windows on the selected frame, plus the minibuffer window if specified by the MINIBUF argument. If the minibuffer counts, consider all windows on all frames that share that minibuffer too. The following non-nil values of ALL-FRAMES have special meanings: - t means consider all windows on all existing frames. - `visible' means consider all windows on all visible frames on the current terminal. - 0 (the number zero) means consider all windows on all visible and iconified frames on the current terminal. - A frame means consider all windows on that frame only. Anything else means consider all windows on the selected frame and no others. This function changes neither the order of recently selected windows nor the buffer list. (defalias 'walk-windows #[(fun &optional minibuf all-frames) "\306\307 !\203 \310\311 r\312\216\313\n!\203\314\315\n!\316\"\210\317\320\n#\320\211\2057\f@ !\210\fA\211\204(\320-\207" [minibuf save-selected-window--state all-frames walk-windows-window --dolist-tail-- fun window-minibuffer-p selected-window t internal--before-save-selected-window ((internal--after-save-selected-window save-selected-window--state)) framep select-window frame-first-window norecord window-list-1 nil] 5 (#$ . 45218)]) #@236 Return t if WINDOW is at SIDE of its containing frame. WINDOW must be a valid window and defaults to the selected one. SIDE can be any of the symbols `left', `top', `right' or `bottom'. The default value nil is handled like `bottom'. (defalias 'window-at-side-p #[(&optional window side) "\303! \304=\203\305\202) \306=\203\307\202) \310=\203\"\311\202) \312>\205)\313\211\314!8\n\314\315!!8U)\207" [window side edge window-normalize-window left 0 top 1 right 2 (bottom nil) 3 window-edges frame-root-window] 6 (#$ . 47020)]) #@225 Return list of all windows on SIDE of FRAME. FRAME must be a live frame and defaults to the selected frame. SIDE can be any of the symbols `left', `top', `right' or `bottom'. The default value nil is handled like `bottom'. (defalias 'window-at-side-list #[(&optional frame side) "\302!\303\304\305\303\306$\210 \237)\207" [frame windows window-normalize-frame nil walk-window-tree #[(window) "\303 \"\205\f\nB\211\207" [window side windows window-at-side-p] 3] nomini] 5 (#$ . 47568)]) #@45 Support function for `window-in-direction'. (defalias 'window--in-direction-2 #[(window posn &optional horizontal) "\203\305 !\211 V\203\n Z\202\306 \n\307 !#)\207\310 !\211 V\203-\f Z\2024\306 \f\311 !#)\207" [horizontal window top posn left window-top-line - window-total-height window-left-column window-total-width] 6 (#$ . 48069)]) #@664 Return window in DIRECTION as seen from WINDOW. More precisely, return the nearest window in direction DIRECTION as seen from the position of `window-point' in window WINDOW. DIRECTION must be one of `above', `below', `left' or `right'. WINDOW must be a live window and defaults to the selected one. Do not return a window whose `no-other-window' parameter is non-nil. If the nearest window's `no-other-window' parameter is non-nil, try to find another window in the indicated direction. If, however, the optional argument IGNORE is non-nil, return that window even if its `no-other-window' parameter is non-nil. Return nil if no suitable window can be found. (defalias 'window-in-direction #[(direction &optional window ignore) "\306\307\" \310>\204\311\312 \"\210\313! \314>\211\203\"\315!\202%\316!\211 \2031\317!\2024\320!\\\321\322\323!\"8 \203RA\206K\324\316!\\\202]@\206Y\324\315!\\ \325=\203k\326\n!\202x \327=\203w\330\n!\202x\331\211 \203\207\326\n!\202\212\330\n!!\332\211\"#\332$\333\334\n\"\210\"\206\241#.\f\207" [window direction frame hor first last window-normalize-window t (above below left right) error "Wrong direction %s" window-frame (left right) window-left-column window-top-line window-total-width window-total-height 6 posn-at-point window-point 1 below frame-height right frame-width -1 nil walk-window-tree #[(w) "\306!\307! =\206e\310\311\"\203\f?\206e \203\303 X\203d \312!\\W\203d\313=\203E\nX\203E\nV\204Z\314=\205e\nY\205e\nW\205e\n\211\202e\313=\203v\n\315!\\X\204\204\314=\205e\nX\205e\316 #\211\205eW\204\265U\205e\313=\203\256\nV\202\262\nW\205e\n\211\202e\nX\203 \n\315!\\W\203 \317=\203\352 X\203\352 V\204\377\320=\205e Y\205e W\205e \211\202e\317=\203 \312!\\X\204)\320=\205e X\205e\316 #\211\205eW\204ZU\205e\317=\203S V\202W W\205e \211*\207" [w w-top w-left window ignore hor window-top-line window-left-column window-parameter no-other-window window-total-height left right window-total-width window--in-direction-2 above below posn direction first best-edge last best best-diff-2-new best-diff-2 best-edge-2 best-2] 4] posn-cons posn best-edge best-edge-2 best-diff-2 best best-2 best-diff-2-new] 5 (#$ . 48424)]) #@1336 Return a live window satisfying PREDICATE. More precisely, cycle through all windows calling the function PREDICATE on each one of them with the window as its sole argument. Return the first window for which PREDICATE returns non-nil. Windows are scanned starting with the window following the selected window. If no window satisfies PREDICATE, return DEFAULT. MINIBUF t means include the minibuffer window even if the minibuffer is not active. MINIBUF nil or omitted means include the minibuffer window only if the minibuffer is active. Any other value means do not include the minibuffer window even if the minibuffer is active. ALL-FRAMES nil or omitted means consider all windows on the selected frame, plus the minibuffer window if specified by the MINIBUF argument. If the minibuffer counts, consider all windows on all frames that share that minibuffer too. The following non-nil values of ALL-FRAMES have special meanings: - t means consider all windows on all existing frames. - `visible' means consider all windows on all visible frames on the current terminal. - 0 (the number zero) means consider all windows on all visible and iconified frames on the current terminal. - A frame means consider all windows on that frame only. Anything else means consider all windows on the selected frame and no others. (defalias 'get-window-with-predicate #[(predicate &optional minibuf all-frames default) "\300\301\215\207" [found (byte-code "\306\307\310 # #\310\211\203% @\f\n!\203\311\312\n\"\210 A\211\204* \207" [minibuf all-frames window --dolist-tail-- predicate default window-list-1 next-window nil throw found] 6)] 2 (#$ . 50815)]) (defalias 'some-window 'get-window-with-predicate) #@907 Return the least recently used window on frames specified by ALL-FRAMES. Return a full-width window if possible. A minibuffer window is never a candidate. A dedicated window is never a candidate unless DEDICATED is non-nil, so if all windows are dedicated, the value is nil. Avoid returning the selected window if possible. Optional argument NOT-SELECTED non-nil means never return the selected window. The following non-nil values of the optional argument ALL-FRAMES have special meanings: - t means consider all windows on all existing frames. - `visible' means consider all windows on all visible frames on the current terminal. - 0 (the number zero) means consider all windows on all visible and iconified frames on the current terminal. - A frame means consider all windows on that frame only. Any other value of ALL-FRAMES means consider all windows on the selected frame and no others. (defalias 'get-lru-window #[(&optional all-frames dedicated not-selected) "\306\211\211\211\211\307\306\310 #\306 \211\203t@ \204)\311 !\204k\2036 \312 =\204k\313 ! \312 =\204J\314 !\204\\ \203T W\203k \202k \203f W\203k A\211\204*\f\206z\n-\207" [time second-best-time second-best-window best-time best-window all-frames nil window-list-1 nomini window-dedicated-p selected-window window-use-time window-full-width-p window --dolist-tail-- dedicated not-selected] 6 (#$ . 52544)]) #@816 Return the most recently used window on frames specified by ALL-FRAMES. A minibuffer window is never a candidate. A dedicated window is never a candidate unless DEDICATED is non-nil, so if all windows are dedicated, the value is nil. Optional argument NOT-SELECTED non-nil means never return the selected window. The following non-nil values of the optional argument ALL-FRAMES have special meanings: - t means consider all windows on all existing frames. - `visible' means consider all windows on all visible frames on the current terminal. - 0 (the number zero) means consider all windows on all visible and iconified frames on the current terminal. - A frame means consider all windows on that frame only. Any other value of ALL-FRAMES means consider all windows on the selected frame and no others. (defalias 'get-mru-window #[(&optional all-frames dedicated not-selected) "\306\211\211\307\306\310 #\306\211\203E @\311\f!\f\204$\312\f!\204> \2030\f\313 =\204> \203: V\203>\f A\211\204*\n+\207" [time best-time best-window all-frames window --dolist-tail-- nil window-list-1 nomini window-use-time window-dedicated-p selected-window dedicated not-selected] 5 (#$ . 53989)]) #@805 Return the largest window on frames specified by ALL-FRAMES. A minibuffer window is never a candidate. A dedicated window is never a candidate unless DEDICATED is non-nil, so if all windows are dedicated, the value is nil. Optional argument NOT-SELECTED non-nil means never return the selected window. The following non-nil values of the optional argument ALL-FRAMES have special meanings: - t means consider all windows on all existing frames. - `visible' means consider all windows on all visible frames on the current terminal. - 0 (the number zero) means consider all windows on all visible and iconified frames on the current terminal. - A frame means consider all windows on that frame only. Any other value of ALL-FRAMES means consider all windows on the selected frame and no others. (defalias 'get-largest-window #[(&optional all-frames dedicated not-selected) "\306\307\211\310\307\311 #\307\211\203F @\204 \312\f!\204?\203,\f\313 =\204?\314\f!\314\f\315\"_\211\nV\203?\f A\211\204* +\207" [size best-window best-size all-frames window --dolist-tail-- 0 nil window-list-1 nomini window-dedicated-p selected-window window-total-size t dedicated not-selected] 5 (#$ . 55209)]) #@1199 Return list of all windows displaying BUFFER-OR-NAME, or nil if none. BUFFER-OR-NAME may be a buffer or the name of an existing buffer and defaults to the current buffer. Windows are scanned starting with the selected window. MINIBUF t means include the minibuffer window even if the minibuffer is not active. MINIBUF nil or omitted means include the minibuffer window only if the minibuffer is active. Any other value means do not include the minibuffer window even if the minibuffer is active. ALL-FRAMES nil or omitted means consider all windows on the selected frame, plus the minibuffer window if specified by the MINIBUF argument. If the minibuffer counts, consider all windows on all frames that share that minibuffer too. The following non-nil values of ALL-FRAMES have special meanings: - t means consider all windows on all existing frames. - `visible' means consider all windows on all visible frames on the current terminal. - 0 (the number zero) means consider all windows on all visible and iconified frames on the current terminal. - A frame means consider all windows on that frame only. Anything else means consider all windows on the selected frame and no others. (defalias 'get-buffer-window-list #[(&optional buffer-or-name minibuf all-frames) "\306!\307\310\311 \f#\307\211 \203- @\312 !\n=\203$ B A\211 \204* \237*\207" [buffer-or-name windows buffer minibuf all-frames window window-normalize-buffer nil window-list-1 selected-window window-buffer --dolist-tail--] 5 (#$ . 56437)]) #@63 Return t if WINDOW is the currently active minibuffer window. (defalias 'minibuffer-window-active-p #[(window) "\301 =\207" [window active-minibuffer-window] 2 (#$ . 57980)]) #@208 Return the number of live windows on the selected frame. The optional argument MINIBUF specifies whether the minibuffer window shall be counted. See `walk-windows' for the precise meaning of this argument. (defalias 'count-windows #[(&optional minibuf) "\301\302\"G\207" [minibuf window-list-1 nil] 3 (#$ . 58163)]) #@290 Reset resize values for all windows on FRAME. FRAME defaults to the selected frame. This function stores the current value of `window-total-size' applied with argument HORIZONTAL in the new total size of all windows on FRAME. It also resets the new normal size of each of these windows. (defalias 'window--resize-reset #[(&optional frame horizontal) "\302\303\304!! \"\207" [frame horizontal window--resize-reset-1 frame-root-window window-normalize-frame] 4 (#$ . 58488)]) #@46 Internal function of `window--resize-reset'. (defalias 'window--resize-reset-1 #[(window horizontal) "\302\303 \"\"\210\304!\210\305!\203\306\305! \"\210\307!\205%\306\307! \"\207" [window horizontal set-window-new-total window-total-size set-window-new-normal window-child window--resize-reset-1 window-right] 5 (#$ . 58971)]) #@163 Resize minibuffer window WINDOW by DELTA lines. If WINDOW cannot be resized by DELTA lines make it as large (or as small) as possible, but don't signal an error. (defalias 'window--resize-mini-window #[(window delta) "\306!\205I\307!\310 !\311!\311\n!\312\n!Z \\\313X\203) S[\2021 \fV\2031\f\314 !\210\315\n [\316\211\317%\210\320 \\\"\210\321!,\207" [window frame root height min-delta delta window-minibuffer-p window-frame frame-root-window window-total-size window-min-size 0 window--resize-reset window--resize-this-window nil t set-window-new-total resize-mini-window-internal] 6 (#$ . 59316)]) #@1159 Resize WINDOW vertically by DELTA lines. WINDOW can be an arbitrary window and defaults to the selected one. An attempt to resize the root window of a frame will raise an error though. DELTA a positive number means WINDOW shall be enlarged by DELTA lines. DELTA negative means WINDOW shall be shrunk by -DELTA lines. Optional argument HORIZONTAL non-nil means resize WINDOW horizontally by DELTA columns. In this case a positive DELTA means enlarge WINDOW by DELTA columns. DELTA negative means WINDOW shall be shrunk by -DELTA columns. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE is a window, ignore restrictions for that window only. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. Any other non-nil value means ignore all of the above restrictions for all windows. This function resizes other windows proportionally and never deletes any windows. If you want to move only the low (right) edge of WINDOW consider using `adjust-window-trailing-edge' instead. (defalias 'window-resize #[(window delta &optional horizontal ignore) "\306!\307!\302 !\310\311 !=\203\312\313!\202\330\314!\2033\f\203,\312\315!\202\330\316 \"\202\330\f\204Y\317!\203Y\307\n! =\203Y!\203Q\n\320 =\203Y\316\n [\"\202\330\321 \f\"$\203\324\322 \f\"\210\323 \f\"\324%\210#\204\305\325\f\"\203\305\326!\206\206\327!\211\203\305\330 [\f\"$\203\305\331 !\332\333!\f\"\245$\323 [\f\310\324%\210\334\335\f\"$\\\"\210\334 \335 \f\"$Z\"\210)\202\315\336 \f\"$\210\337 \f\"\202\330\312\340\"+\207" [window frame minibuffer-window sibling horizontal delta window-normalize-window window-frame nil frame-root-window error "Cannot resize the root window of a frame" window-minibuffer-p "Cannot resize minibuffer window horizontally" window--resize-mini-window window-full-height-p active-minibuffer-window window--resizable-p window--resize-reset window--resize-this-window t window-combined-p window-right window-left window-sizable-p float window-total-size window-parent set-window-new-normal window-normal-size window--resize-siblings window-resize-apply "Cannot resize window %s" resize-mini-windows ignore window-combination-resize normal-delta] 6 (#$ . 59942)]) #@65 Return non-nil if WINDOW shall be skipped by resizing routines. (defalias 'window--resize-child-windows-skip-p #[(window) "\301!\302>\207" [window window-new-normal (ignore stuck skip)] 2 (#$ . 62331)]) #@524 Recursively set new normal height of child windows of window PARENT. HORIZONTAL non-nil means set the new normal width of these windows. WINDOW specifies a child window of PARENT that has been resized by THIS-DELTA lines (columns). Optional argument TRAIL either `before' or `after' means set values only for windows before or after WINDOW. Optional argument OTHER-DELTA, a number, specifies that this many lines (columns) have been obtained from (or returned to) an ancestor window of PARENT in order to resize WINDOW. (defalias 'window--resize-child-windows-normal #[(parent horizontal window this-delta &optional trail other-delta) "[\306 \n\"U\203\307 !\203\310 \n\"[\202 \311!\306\f\n\"\245\312\f!\313\314=\203] =\203D\315=\202S\204S\310\n\"\\\316!\211\2044\312\f!\314=\203\246 =\203}\315=\202\234\204\234\310\n\"\317\320\211\245 _Z\321]^\"\210)\316!\211\204m \247\203\367\311\306\f\n\"!\306\f\n\" \\\245\312\f!\314=\203\367 =\203\331\315=\202\355\204\355\317\322\323! _\324]^\"\210\316!\211\204\311\317 \325\312\f!\211\2034 =\204*\323!\247\204!\310\n\"\\\202*\323!\\\316!\211\204\326\327Z\330]^)\",\207" [this-delta window horizontal other-delta parent delta-normal window-total-size zerop window-normal-size float window-child 0.0 after before window-right set-window-new-normal 1.0 0.0 1.0 window-new-normal 0.0 0 1.0 1.0 0.0 sub parent-normal trail skip old-normal sum] 7 (#$ . 62542)]) #@1205 Resize child windows of window PARENT vertically by DELTA lines. PARENT must be a vertically combined internal window. Optional argument HORIZONTAL non-nil means resize child windows of PARENT horizontally by DELTA columns. In this case PARENT must be a horizontally combined internal window. WINDOW, if specified, must denote a child window of PARENT that is resized by DELTA lines. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. If IGNORE is a window, ignore restrictions for that window only. Any other non-nil value means ignore all of the above restrictions for all windows. Optional arguments TRAIL and EDGE, when non-nil, restrict the set of windows that shall be resized. If TRAIL equals `before', resize only windows on the left or above EDGE. If TRAIL equals `after', resize only windows on the right or below EDGE. Also, preferably only resize windows adjacent to EDGE. Return the symbol `normalized' if new normal sizes have been already set by this routine. (defalias 'window--resize-child-windows #[(parent delta &optional horizontal window ignore trail edge) "\306!\307!\310 \"\f\\\311\211&'\311()\203\374*\312>\203\374 &\313&!\203U*\314=\203>\315\313&!!\203L*\316=\203U\315&!\203U\313&!&\202'&\203\374 \203*\314=\203u\317&!\310&\320\"\\)U\202\234\317&!)U\202\234*\314=\203\225\321&!\310&!\\)U\202\234\321&!)U\203\374\322&\f $\203\374\323&\f \320*)&\210+\203\354\324&!=\203\354\325&\326\327&!! \245\"\210\325+\330+ \"\331&!\330& \"ZZ\"\210\202\370\332 &\333*\f&\210\334\202\303\n\211&\203k\315&!\204a\204\335& \"\203\325&\336\"\204a\f\333W\203G\325&\337& *\320%\326\310& \"! \245\330& \"ZB\"\210\202a\f\333V\203a\325&\326\310& \"! \245\330& \"Z\"\210\340&!\211&\204\f\333W\203\372\320''\203h\341\f!\204h\n&\311',(&\203\300\331&!:\203\266\341\331&!@!\204\266\331&!A(V\203\266&'\331&!A(\340&!\211&\204\216'\203\310\fT\342'\343\320#\210\325'\331'!@\344U\203\340\345\202\365\331'!@S\326\327'!! \245\330' \"ZB\"\210\202t\f\333V\203h\320''\203h\341\f!\204h\n&\311'-(&\203C\331&!\247\2039\331&!(W\2039&'\331&!(\340&!\211&\204'\203K\fS\342'\344\320#\210\325'\326\327'!! \245\330' \"Z\"\210\202'\205\303\n\211&\205\303\331&!:\204\204\331&!\247\203\211\325&!\210\331&!\336=\204\270\327&!\310& \"Z\341\f!\203\250*\203\267\323&\f \311*)&\210)\340&!\211&\204t\311.\207" [parent first last horizontal delta parent-total window-child window-last-child window-total-size nil (before after) window-right before window--resize-child-windows-skip-p after window-left-column t window-top-line window-sizable-p window--resize-this-window window-parent set-window-new-normal float window-new-total window-normal-size window-new-normal window--resize-child-windows-normal 0 normalized window-size-fixed-p ignore window-min-delta window-left zerop set-window-new-total -1 1 skip sub best-window best-value edge trail window most-negative-fixnum most-positive-fixnum] 9 (#$ . 64088)]) #@962 Resize other windows when WINDOW is resized vertically by DELTA lines. Optional argument HORIZONTAL non-nil means resize other windows when WINDOW is resized horizontally by DELTA columns. WINDOW itself is not resized by this function. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. If IGNORE is a window, ignore restrictions for that window only. Any other non-nil value means ignore all of the above restrictions for all windows. Optional arguments TRAIL and EDGE, when non-nil, refine the set of windows that shall be resized. If TRAIL equals `before', resize only windows on the left or above EDGE. If TRAIL equals `after', resize only windows on the right or below EDGE. Also, preferably only resize windows adjacent to EDGE. (defalias 'window--resize-siblings #[(window delta &optional horizontal ignore trail edge) "\306!\205 \306!\307 !\310\n \"\203\323\f\311=\312\211\n\203]\n=\2036\313\n\314\"\210\f\315=\202U\203C\313\n\314\"\210\202U\316\n\f\"\204R\317\n \"\204U\320\321\n!\211\204#[\322 \"U\203z\203t\202\207\323\202\207\324 \f\f\320&Z\325 !\204\231\326 \327#\210\325!\203\256\330 \f &\210\202\317\331 [ \f\f &\332=\204\314\330 \f &\210 +\202\366\326 \327#\210\n\203\366\n=\204\356\333\n \f\320%\210\321\n!\211\204\336\325!?\205\n\334  \f\f &*\207" [window parent sub horizontal trail other-delta window-parent window-child window-combined-p after nil set-window-new-normal ignore before window--size-ignore-p window-size-fixed-p t window-right window-total-size 0 window--resizable zerop set-window-new-total add window--resize-child-windows-normal window--resize-child-windows normalized window--resize-this-window window--resize-siblings this-delta skip delta edge] 9 (#$ . 67406)]) #@1275 Resize WINDOW vertically by DELTA lines. Optional argument HORIZONTAL non-nil means resize WINDOW horizontally by DELTA columns. Optional argument IGNORE non-nil means ignore restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. If IGNORE equals `safe', live windows may get as small as `window-safe-min-height' lines and `window-safe-min-width' columns. If IGNORE is a window, ignore restrictions for that window only. Any other non-nil value means ignore all of the above restrictions for all windows. Optional argument ADD non-nil means add DELTA to the new total size of WINDOW. Optional arguments TRAIL and EDGE, when non-nil, refine the set of windows that shall be resized. If TRAIL equals `before', resize only windows on the left or above EDGE. If TRAIL equals `after', resize only windows on the right or below EDGE. Also, preferably only resize windows adjacent to EDGE. This function recursively resizes WINDOW's child windows to fit the new size. Make sure that WINDOW is `window--resizable' before calling this function. Note that this function does not resize siblings of WINDOW or WINDOW's parent window. You have to eventually call `window-resize-apply' in order to make resizing actually take effect. (defalias 'window--resize-this-window #[(window delta &optional horizontal ignore add trail edge) "\203\n\306 \n\307#\210\310 !\211?\206C\311 \f\"\203)\312 \n\f\313 &\202C \205C\314 \n\f \307&\210\315 !\211\204-\313)\207" [add window delta sub horizontal ignore set-window-new-total t window-child window-combined-p window--resize-child-windows nil window--resize-this-window window-right trail edge] 9 (#$ . 69442)]) #@393 Resize root window WINDOW vertically by DELTA lines. HORIZONTAL non-nil means resize root window WINDOW horizontally by DELTA columns. IGNORE non-nil means ignore any restrictions imposed by fixed size windows, `window-min-height' or `window-min-width' settings. This function is only called by the frame resizing routines. It resizes windows proportionally and never deletes any windows. (defalias 'window--resize-root-window #[(window delta horizontal ignore) "\304!\205\" \247\205\"\305 \n $\205\"\306\307!\n\"\210\310 \n \311%\207" [window delta horizontal ignore windowp window-sizable-p window--resize-reset window-frame window--resize-this-window t] 6 (#$ . 71160)]) #@461 Resize root window WINDOW vertically by DELTA lines. If DELTA is less than zero and we can't shrink WINDOW by DELTA lines, shrink it as much as possible. If DELTA is greater than zero, this function can resize fixed-size windows in order to recover the necessary lines. Return the number of lines that were recovered. This function is only called by the minibuffer window resizing routines. It resizes windows proportionally and never deletes any windows. (defalias 'window--resize-root-window-vertically #[(window delta) "\304!\305 \247\204\306\202Z\307 !\204Z \306W\203?\310 \"\311\n!\210\312 \305 \313\314\315!\316!\\&\210\317\320\n\313#\210\202Z \306V\203Z\311\n!\210\310 \"\204R\313\312 \305 \313%\210 *\207" [window ignore frame delta window-frame nil 0 zerop window-sizable window--resize-reset window--resize-this-window t before window-top-line window-total-size walk-window-tree #[(window) "\301\302\"\207" [window set-window-new-normal ignore] 3]] 10 (#$ . 71851)]) #@442 Move WINDOW's bottom edge by DELTA lines. Optional argument HORIZONTAL non-nil means move WINDOW's right edge by DELTA columns. WINDOW must be a valid window and defaults to the selected one. If DELTA is greater than zero, move the edge downwards or to the right. If DELTA is less than zero, move the edge upwards or to the left. If the edge can't be moved by DELTA lines or columns, move it as far as possible in the desired direction. (defalias 'adjust-window-trailing-edge #[(window delta &optional horizontal) "\306!\307!\302 !\310\211\310\211)*\311 +\"\203&\312 !\204.\313 !\211\204 \204b+\204b\307\n! =\203b\314\n!A@\315\314!8U\203b,\203Y\n\316 =\203b\317\n-[\"\202. \211\203p\312 !\211\204\201+\203{\320\321!\202.\320\322!\202.\f\203\253\323\f+\"\203\253\324\f!\206\246\313\f!\211\203\243\311\f+\"\203\223\324\f!\211\204\205\f\204\277+\203\273\320\325!\210\202\277\320\326!\210 \203\351\323 +\"\203\351\312 !\206\344\313 !\211\203\341\311 +\"\203\321\312 !\211\204\303 \204\375+\203\371\320\327!\210\202\375\320\330!\210-\331V\203\214\332\f\331+\310\333%*\334 -[+\310\335%)*-W\204+)-[V\2033*)[^-\336-!\204\337 +\"\210\340\f-+#\336 !\204p\341\f +\310\342\335+\203f\343\f!\344\f\342\"\\\202m\345\f!\344\f!\\&\210\346\f-+\310\333+\203\203\343 !\202\206\345 !&\210\202-\331W\203\332 \331+\310\335%*\334\f-+\310\333%)*-[W\204\271)-V\203\301*[)]-\336-!\204\337 +\"\210\340 -[+#\336 !\204\366\341 +\310\342\333+\203\360\343 !\202\363\345 !&\210\346 -[+\310\335+\203\343\f!\344\f\342\"\\\202\345\f!\344\f!\\&\210\336-!?\205.\347 +\"?\205.\320\350\".\207" [window frame minibuffer-window right left this-delta window-normalize-window window-frame nil window-combined-p window-right window-parent window-edges 3 active-minibuffer-window window--resize-mini-window error "No window on the right of this one" "No window below this one" window-size-fixed-p window-left "No resizable window on the left of this one" "No resizable window above this one" "No resizable window on the right of this one" "No resizable window below this one" 0 window--max-delta-1 after window--min-delta-1 before zerop window--resize-reset window--resizable window--resize-this-window t window-left-column window-total-size window-top-line window--resize-siblings window-resize-apply "Failed adjusting window %s" min-delta max-delta horizontal resize-mini-windows delta] 12 (#$ . 72861)]) #@292 Make the selected window DELTA lines taller. Interactively, if no argument is given, make the selected window one line taller. If optional argument HORIZONTAL is non-nil, make selected window wider by DELTA columns. If DELTA is negative, shrink selected window by -DELTA lines or columns. (defalias 'enlarge-window #[(delta &optional horizontal) "\300 \304 !\206q\305\306\n\"\203\307\310!\202q\311 \203-\n\203%\307\312!\202q\313\314 \"\202q\n\204K\315 \203K\316!\317 =\203K \204K\313 [\"\202q\320\306 \n#\203[\321\306 \n#\202q\321\306 \322V\203j\323\306\n\"\202o\324\306\n\"[\n#)\207" [minibuffer-window delta horizontal resize-mini-windows zerop window-size-fixed-p nil error "Selected window has fixed size" window-minibuffer-p "Cannot resize minibuffer window horizontally" window--resize-mini-window selected-window window-full-height-p window-frame selected-frame window--resizable-p window-resize 0 window-max-delta window-min-delta] 5 (#$ . 75379) "p"]) #@341 Make the selected window DELTA lines smaller. Interactively, if no argument is given, make the selected window one line smaller. If optional argument HORIZONTAL is non-nil, make selected window narrower by DELTA columns. If DELTA is negative, enlarge selected window by -DELTA lines or columns. Also see the `window-min-height' variable. (defalias 'shrink-window #[(delta &optional horizontal) "\300 \304 !\206s\305\306\n\"\203\307\310!\202s\311 \203.\n\203%\307\312!\202s\313\314 [\"\202s\n\204K\315 \203K\316!\317 =\203K \204K\313 \"\202s\320\306 [\n#\203]\321\306 [\n#\202s\321\306 \322V\203m\323\306\n\"[\202q\324\306\n\"\n#)\207" [minibuffer-window delta horizontal resize-mini-windows zerop window-size-fixed-p nil error "Selected window has fixed size" window-minibuffer-p "Cannot resize minibuffer window horizontally" window--resize-mini-window selected-window window-full-height-p window-frame selected-frame window--resizable-p window-resize 0 window-min-delta window-max-delta] 5 (#$ . 76370) "p"]) #@145 Maximize WINDOW. Make WINDOW as large as possible without deleting any windows. WINDOW must be a valid window and defaults to the selected one. (defalias 'maximize-window #[(&optional window) "\301!\302\303!\"\210\302\303\304\"\304#\207" [window window-normalize-window window-resize window-max-delta t] 5 (#$ . 77411) nil]) #@145 Minimize WINDOW. Make WINDOW as small as possible without deleting any windows. WINDOW must be a valid window and defaults to the selected one. (defalias 'minimize-window #[(&optional window) "\301!\302\303![\"\210\302\303\304\"[\304#\207" [window window-normalize-window window-resize window-min-delta t] 5 (#$ . 77749) nil]) #@59 Return non-nil if WINDOW is the root window of its frame. (defalias 'frame-root-window-p #[(window) "\301!=\207" [window frame-root-window] 3 (#$ . 78088)]) #@210 Return window subtree rooted at WINDOW. Optional argument NEXT non-nil means include WINDOW's right siblings in the return value. See the documentation of `window-tree' for a description of the return value. (defalias 'window--subtree #[(window &optional next) "\303 \203@\304 !\203\305\306 !\307\304 !\305\"BB\2021\310 !\2030\303\306 !\307\310 !\305\"BB\2021 B\n\205;\311 !\211\204\237)\207" [list window next nil window-top-child t window-edges window--subtree window-left-child window-next-sibling] 6 (#$ . 78254)]) #@761 Return the window tree of frame FRAME. FRAME must be a live frame and defaults to the selected frame. The return value is a list of the form (ROOT MINI), where ROOT represents the window tree of the frame's root window, and MINI is the frame's minibuffer window. If the root window is not split, ROOT is the root window itself. Otherwise, ROOT is a list (DIR EDGES W1 W2 ...) where DIR is nil for a horizontal split, and t for a vertical split. EDGES gives the combined size and position of the child windows in the split, and the rest of the elements are the child windows in the split. Each of the child windows may again be a window or a list representing a window split, and so on. EDGES is a list (LEFT TOP RIGHT BOTTOM) as returned by `window-edges'. (defalias 'window-tree #[(&optional frame) "\301!\302\303!\304\"\207" [frame window-normalize-frame window--subtree frame-root-window t] 3 (#$ . 78795)]) #@886 Select another window in cyclic ordering of windows. COUNT specifies the number of windows to skip, starting with the selected window, before making the selection. If COUNT is positive, skip COUNT windows forwards. If COUNT is negative, skip -COUNT windows backwards. COUNT zero means do not skip any window, so select the selected window. In an interactive call, COUNT is the numeric prefix argument. Return nil. If the `other-window' parameter of the selected window is a function and `ignore-window-parameters' is nil, call that function with the arguments COUNT and ALL-FRAMES. This function does not select a window whose `no-other-window' window parameter is non-nil. This function uses `next-window' for finding the window to select. The argument ALL-FRAMES has the same meaning as in `next-window', but the MINIBUF argument of `next-window' is always effectively nil. (defalias 'other-window #[(count &optional all-frames) "\306  ?\205\f\307\310\"\311\211\312\n!\203\n  \"\202\"\313\314\215,\207" [window ignore-window-parameters function old-window old-count count selected-window window-parameter other-window nil functionp exit (byte-code "\305V\2039\306 \307\n#\211 =\203 \fU\203\310\311\307\"\210\202\312 \313\"\2032 \204 \202S\211\202\305W\203r\314 \307\n#\211 =\203Y\fU\2039\310\311\307\"\210\2029\312 \313\"\203k \2049 \2029T\211\202:\315 !\210\307\207" [count window all-frames old-window old-count 0 next-window nil throw exit window-parameter no-other-window previous-window select-window] 5) all-frames] 4 (#$ . 79719) "p"]) #@997 Return non-nil if the selected window is the only window. Optional arg NOMINI non-nil means don't count the minibuffer even if it is active. Otherwise, the minibuffer is counted when it is active. Optional argument ALL-FRAMES specifies the set of frames to consider, see also `next-window'. ALL-FRAMES nil or omitted means consider windows on the selected frame only, plus the minibuffer window if specified by the NOMINI argument. If the minibuffer counts, consider all windows on all frames that share that minibuffer too. The remaining non-nil values of ALL-FRAMES with a special meaning are: - t means consider all windows on all existing frames. - `visible' means consider all windows on all visible frames on the current terminal. - 0 (the number zero) means consider all windows on all visible and iconified frames on the current terminal. - A frame means consider all windows on that frame only. Anything else means consider all windows on the selected frame and no others. (defalias 'one-window-p #[(&optional nomini all-frames) "\303  \203\304 =\203\305!\305 \205\306\n#)=\207" [base-window nomini all-frames selected-window minibuffer-window next-window arg] 5 (#$ . 81327)]) #@186 Return t if WINDOW can be safely deleted from its frame. WINDOW must be a valid window and defaults to the selected one. Return `frame' if deleting WINDOW should also delete its frame. (defalias 'window-deletable-p #[(&optional window) "\304! \204\305\306\"\203\307!\310!\311!\203;\n\312\n\313\"=\2063\314 \211\2052\n\310 !=)?\205I\302\202I \204H\315\n!=?\205I\316)\207" [window ignore-window-parameters frame minibuf window-normalize-window window-parameter window-atom window-atom-root window-frame frame-root-window-p next-frame 0 active-minibuffer-window window--major-non-side-window t] 5 (#$ . 82547)]) #@66 Return t if WINDOW is either ROOT or a member of ROOT's subtree. (defalias 'window--in-subtree-p #[(window root) " =\206\303!\304\305\215)\207" [window root parent window-parent done (byte-code "\205 =\203\302\303\304\"\210\202\305!\211\204\306\207" [parent root throw done t window-parent nil] 4)] 2 (#$ . 83183)]) #@696 Delete WINDOW. WINDOW must be a valid window and defaults to the selected one. Return nil. If the variable `ignore-window-parameters' is non-nil or the `delete-window' parameter of WINDOW equals t, do not process any parameters of WINDOW. Otherwise, if the `delete-window' parameter of WINDOW specifies a function, call that function with WINDOW as its sole argument and return the value returned by that function. Otherwise, if WINDOW is part of an atomic window, call `delete-window' with the root of the atomic window as its argument. Signal an error if WINDOW is either the only window on its frame, the last non-side window, or part of an atomic window that is its frame's root window. (defalias 'delete-window #[(&optional window) "\305!\306!\307\310\"\311!\312\313 !\210\314\315\215,\207" [window frame function parent atom-root window-normalize-window window-frame window-parameter delete-window window-parent nil window--check done (byte-code "\204_ \306=\204_\307 !\203\310\311 \n!\"\210\202_\312\n\313\"\203H\314\n!\211\203H \n=\204H \315\f!=\203>\316\317!\210\202_\310\311\320 !\"\210\202_ \204S\316\321!\210\202_\n\322\f!=\203_\316\323!\210\324 !(\325\n(\")\326\327\f!\n\"*\330\n!\206|\331\n!+\332\f(\"\210,\204\266+\203\266\333+)\"\203\266\334+)(\335\306%\210\336+\337+(\"\337\n(\"\\\"\210\202\334\340\n)[(\335\211\211\306&\203\322\341\n)[(#\210\202\334\341\n)[(\306$\210\342\n!\210*\203\363\312\327\f!\343\"\203\363\344\345\f\"\210\346\f!\210\347\f!\210,\335\207" [ignore-window-parameters function window atom-root frame parent t functionp throw done window-parameter window-atom window-atom-root frame-root-window error "Root of atomic window is root window of its frame" delete-window "Attempt to delete minibuffer or sole ordinary window" window--major-non-side-window "Attempt to delete last non-side window" window-left-child window-total-size window--in-subtree-p frame-selected-window window-left window-right window--resize-reset window-sizable-p window--resize-this-window nil set-window-new-normal window-normal-size window--resizable-p window--resize-siblings delete-window-internal no-other-window other-window -1 run-window-configuration-change-hook window--check horizontal size frame-selected sibling window-combination-resize] 8)] 3 (#$ . 83523) nil]) #@727 Make WINDOW fill its frame. WINDOW must be a valid window and defaults to the selected one. Return nil. If the variable `ignore-window-parameters' is non-nil or the `delete-other-windows' parameter of WINDOW equals t, do not process any parameters of WINDOW. Otherwise, if the `delete-other-windows' parameter of WINDOW specifies a function, call that function with WINDOW as its sole argument and return the value returned by that function. Otherwise, if WINDOW is part of an atomic window, call this function with the root of the atomic window as its argument. If WINDOW is a non-side window, make WINDOW the only non-side window on the frame. Side windows are not deleted. If WINDOW is a side window signal an error. (defalias 'delete-other-windows #[(&optional window) "\306!\307!\310\311\"\310\303\"\312\211\313 !\210\314\315\215-\207" [window frame function window-side atom-root side-main window-normalize-window window-frame window-parameter delete-other-windows nil window--check done (byte-code "\204h \306=\204h\307 !\203\310\311 \n!\"\210\202h\312\n\313\"\203H\314\n!\211\203H \n=\204H \315\f!=\203>\316\317!\210\202h\310\311\320 !\"\210\202h >\203V\316\321!\210\202h\322\n!\203h\n\315\n!=\204h\316\323!\210\324\305!\203v\325\f!\202{\315\f!\n=\204\220\326\n\"\210\327\f!\210\330\f!\210\331\207" [ignore-window-parameters function window atom-root frame window-side t functionp throw done window-parameter window-atom window-atom-root frame-root-window error "Root of atomic window is root window of its frame" delete-other-windows "Cannot make side window the only window" window-minibuffer-p "Can't expand minibuffer to full frame" window-with-parameter window--major-non-side-window delete-other-windows-internal run-window-configuration-change-hook window--check nil window-sides side-main] 4)] 4 (#$ . 85877) nil]) #@186 Delete the windows in the same column with WINDOW, but not WINDOW itself. This may be a useful alternative binding for \[delete-other-windows] if you often split windows horizontally. (defalias 'delete-other-windows-vertically #[(&optional window) "\206\305 \306!\307\310\n\311\"\211=\2048\306\n!\211@ @U\2034\312\f8\312 8U\2034\n B)\202\313\314 \",\207" [window edges w delenda e selected-window window-edges nil next-window 1 2 mapc delete-window] 4 (#$ . 87761) nil]) #@88 Record WINDOW's buffer. WINDOW must be a live window and defaults to the selected one. (defalias 'record-window-buffer #[(&optional window) "\306\307\"\310!\211\311!\236\312\313\"\210\n\203\"\314\315 \311!\"\"\210\316 !\317H\320=?\205ar q\210\321!\322! \n\203N\nA@\f\313\223\323\n8 \313\223D\202V\324\f!\324 \"DB\314\n\311!B\"++\207" [window buffer entry point start window-point-insertion-type window-normalize-window t window-buffer window-prev-buffers set-window-next-buffers nil set-window-prev-buffers assq-delete-all buffer-name 0 32 window-start window-point 2 copy-marker] 7 (#$ . 88257)]) #@158 Unrecord BUFFER in WINDOW. WINDOW must be a live window and defaults to the selected one. BUFFER must be a live buffer and defaults to the buffer of WINDOW. (defalias 'unrecord-window-buffer #[(&optional window buffer) "\302\303\" \206\f\304!\305\306 \307!\"\"\210\310\311 \312!\"\"*\207" [window buffer window-normalize-window t window-buffer set-window-prev-buffers assq-delete-all window-prev-buffers set-window-next-buffers delq window-next-buffers] 6 (#$ . 88883)]) #@414 Set WINDOW's buffer to BUFFER. WINDOW must be a live window and defaults to the selected one. Optional argument START non-nil means set WINDOW's start position to START. Optional argument POINT non-nil means set WINDOW's point to POINT. If WINDOW is selected this also sets BUFFER's `point' to POINT. If WINDOW is selected and the buffer it showed before was current this also makes BUFFER the current buffer. (defalias 'set-window-buffer-start-and-point #[(window buffer &optional start point) "\306\307\"\211\310 =\311!p=\312 \"\210\n\203 \203 q\210\f\203*\313\f\307#\210 \2052\314 \"*\207" [window current selected buffer start point window-normalize-window t selected-window window-buffer set-window-buffer set-window-start set-window-point] 5 (#$ . 89370)]) #@454 If non-nil, allow switching to an already visible buffer. If this variable is non-nil, `switch-to-prev-buffer' and `switch-to-next-buffer' may switch to an already visible buffer provided the buffer was shown before in the window specified as argument to those functions. If this variable is nil, `switch-to-prev-buffer' and `switch-to-next-buffer' always try to avoid switching to a buffer that is already visible in another window on the same frame. (custom-declare-variable 'switch-to-visible-buffer t '(#$ . 90157) :type 'boolean :version "24.1" :group 'windows) #@576 In WINDOW switch to previous buffer. WINDOW must be a live window and defaults to the selected one. Return the buffer switched to, nil if no suitable buffer could be found. Optional argument BURY-OR-KILL non-nil means the buffer currently shown in WINDOW is about to be buried or killed and consequently shall not be switched to in future invocations of this command. As a special case, if BURY-OR-KILL equals `append', this means to move the buffer to the end of WINDOW's previous buffers list so a future invocation of `switch-to-prev-buffer' less likely switches to it. (defalias 'switch-to-prev-buffer #[(&optional window bury-or-kill) "\306\307\"\310!\311!\312!\313 \314\"\315\211\315\211\316!\2033\317 \211\2043\320\321\"\210\322!\203?\320\323\n#\210\324\325\215\210\203z\326=\205T\n\327!\236\330\331\n\327!\"\"\210\332\333\n \"\"\210 \203v\330\326\327! C\"\"\210)\202\204\332\n\333\n \"B\"\210\203\271\315 \211!\203\270!@ \330\331 \327!\"\"\210\332\333 \312!\"\"\210!A\211!\204\224*. \207" [window frame old-buffer next-buffers pred entry window-normalize-window t window-frame window-buffer window-next-buffers frame-parameter buffer-predicate nil window-minibuffer-p minibuffer-selected-window error "Window %s is a minibuffer window" window-dedicated-p "Window %s is dedicated to buffer %s" found (byte-code "\306!\307\211\203j\n@\211@\211\203c\310 !\204\" \fB\211\204c =\204c\2034 !\203c\204@ >\204c\204S\311 \"\203S \202c\312 A@\313 8$\210\314\315\316\"\210\nA\211\204\n*\203w\317!\202|\317!\237\307\211\203\344\n@\310!\203\335 =\204\335\203\243!\203\335\320!\321H\322=\204\335\204\273>\204\335\311\"\203\320\204\335\202\335\312 \"\210\314\315\316\"\210\nA\211\204\204*\204D\323!\307\211\203C\n@\310!\204\n\fB\211\204< =\204<\203!\203<\306!\236\211\203<\312 A@\313 8$\210\314\315\316\"\210\nA\211\204\366*\203Q\312 \"\210\307\207" [window entry --dolist-tail-- new-buffer killed-buffers old-buffer window-prev-buffers nil buffer-live-p get-buffer-window set-window-buffer-start-and-point 2 throw found t buffer-list buffer-name 0 32 reverse pred bury-or-kill next-buffers switch-to-visible-buffer frame visible buffer] 7) append window-prev-buffers set-window-prev-buffers assq-delete-all set-window-next-buffers delq new-buffer killed-buffers visible bury-or-kill buffer --dolist-tail--] 7 (#$ . 90732) nil]) #@170 In WINDOW switch to next buffer. WINDOW must be a live window and defaults to the selected one. Return the buffer switched to, nil if no suitable buffer could be found. (defalias 'switch-to-next-buffer #[(&optional window) "\306\307\"\310!\311!\312!\313 \314\"\315\211\315\211\316!\2033\317 \211\2043\320\321\"\210\322!\203?\320\323\n#\210\324\325\215\210\326\327 \"\"\210\203\200\315\211\203@\330\331\332!\"\"\210\326\327\312!\"\"\210A\211\204[* . \207" [window frame old-buffer next-buffers pred new-buffer window-normalize-window t window-frame window-buffer window-next-buffers frame-parameter buffer-predicate nil window-minibuffer-p minibuffer-selected-window error "Window %s is a minibuffer window" window-dedicated-p "Window %s is dedicated to buffer %s" found (byte-code "\306\211\203S\n@\307 !\204 B\211\204L \f=\204L \203) !\203L \310!\236\211\203L \311A@\3128$\210\313\314\315\"\210\nA\211\204*\316!\306\211\203\257\n@\307 !\203\250 \f=\204\250 \203x !\203\250\317 !\320H\321=\204\250 \310!\236\204\250\322 \"\203\231 \202\250 \311\"\210\313\314\315\"\210\nA\211\204_*\323\310!!\306\211\203!\n@\211@\211\203\307!\204\332 B\211\204\f=\204 \203\354 !\203\204\322\"\203\204\202\311A@\3128$\210\313\314\315\"\210\nA\211\204\276*\2032\311\"\210\306\207" [next-buffers buffer --dolist-tail-- killed-buffers old-buffer pred nil buffer-live-p window-prev-buffers set-window-buffer-start-and-point 2 throw found t buffer-list buffer-name 0 32 get-buffer-window reverse window entry new-buffer frame visible switch-to-visible-buffer] 7) set-window-next-buffers delq set-window-prev-buffers assq-delete-all window-prev-buffers entry killed-buffers visible buffer --dolist-tail--] 7 (#$ . 93268) nil]) #@405 Search LIST for a valid buffer to display in FRAME. Return nil when all buffers in LIST are undesirable for display, otherwise return the first suitable buffer in LIST. Buffers not visible in windows are preferred to visible buffers, unless VISIBLE-OK is non-nil. If the optional argument FRAME is nil, it defaults to the selected frame. If BUFFER is non-nil, ignore occurrences of that buffer in LIST. (defalias 'get-next-valid-buffer #[(list &optional buffer visible-ok frame) "\206\306 \307\310\"\311\211\n\204S\f\203S\f@ =\204M\312 !\203M \2031 !\203M\313 !\314H\315=\204M\204G\316 \317\"\204M \211\202\fA\202\f@+\207" [frame buf found pred list buffer selected-frame frame-parameter buffer-predicate nil buffer-live-p buffer-name 0 32 get-buffer-window visible visible-ok] 4 (#$ . 95163)]) #@402 Return the last buffer in FRAME's buffer list. If BUFFER is the last buffer, return the preceding buffer instead. Buffers not visible in windows are preferred to visible buffers, unless optional argument VISIBLE-OK is non-nil. Optional third argument FRAME nil or omitted means use the selected frame's buffer list. If no such buffer exists, return the buffer `*scratch*', creating it if necessary. (defalias 'last-buffer #[(&optional buffer visible-ok frame) "\206\304 \305\306!\237 \n$\206#\307\310!\206#\311\310!\312 !\210 )\207" [frame buffer visible-ok scratch selected-frame get-next-valid-buffer buffer-list get-buffer "*scratch*" get-buffer-create set-buffer-major-mode] 5 (#$ . 95994)]) #@227 Function called to automatically hide frames. The function is called with one argument - a frame. Functions affected by this option are those that bury a buffer shown in a separate frame like `quit-window' and `bury-buffer'. (custom-declare-variable 'frame-auto-hide-function '#'iconify-frame '(#$ . 96708) :type '(choice (const :tag "Iconify" iconify-frame) (const :tag "Delete" delete-frame) (const :tag "Do nothing" ignore) function) :group 'windows :group 'frames :version "24.1") #@334 Delete WINDOW if possible. WINDOW must be a live window and defaults to the selected one. Optional argument DEDICATED-ONLY non-nil means to delete WINDOW only if it's dedicated to its buffer. Optional argument KILL means the buffer shown in window will be killed. Return non-nil if WINDOW gets deleted or its frame is auto-hidden. (defalias 'window--delete #[(&optional window dedicated-only kill) "\306\307\" \205 \310!??\205C\311!\211\303=\2039\312!\f\203*\313 !\210\2024\314 !\2034 !\210)\303\202B\n\205B\315!\210\307)\207" [window dedicated-only deletable frame kill frame-auto-hide-function window-normalize-window t window-dedicated-p window-deletable-p window-frame delete-frame functionp delete-window] 4 (#$ . 97201)]) #@466 Put BUFFER-OR-NAME at the end of the list of all buffers. There it is the least likely candidate for `other-buffer' to return; thus, the least likely buffer for \[switch-to-buffer] to select by default. You can specify a buffer name as BUFFER-OR-NAME, or an actual buffer object. If BUFFER-OR-NAME is nil or omitted, bury the current buffer. Also, if BUFFER-OR-NAME is nil or omitted, remove the current buffer from the selected window if it is displayed there. (defalias 'bury-buffer #[(&optional buffer-or-name) "\302!\303 !\210\204$ \304 =\203$\305\306\307\"\204$\310\306\211\"\210\311\306\312\"\210)\306\207" [buffer-or-name buffer window-normalize-buffer bury-buffer-internal window-buffer window--delete nil t set-window-dedicated-p switch-to-prev-buffer bury] 3 (#$ . 97955) nil]) #@47 Switch to the last buffer in the buffer list. (defalias 'unbury-buffer #[nil "\300\301 !\207" [switch-to-buffer last-buffer] 2 (#$ . 98758) nil]) #@43 In selected window switch to next buffer. (defalias 'next-buffer #[nil "\300 \203 \301\302!\207\303 \304=\203\301\305!\207\306 \207" [window-minibuffer-p error "Cannot switch buffers in minibuffer window" window-dedicated-p t "Window is strongly dedicated to its buffer" switch-to-next-buffer] 2 (#$ . 98910) nil]) #@47 In selected window switch to previous buffer. (defalias 'previous-buffer #[nil "\300 \203 \301\302!\207\303 \304=\203\301\305!\207\306 \207" [window-minibuffer-p error "Cannot switch buffers in minibuffer window" window-dedicated-p t "Window is strongly dedicated to its buffer" switch-to-prev-buffer] 2 (#$ . 99234) nil]) #@758 Delete all windows showing BUFFER-OR-NAME. BUFFER-OR-NAME may be a buffer or the name of an existing buffer and defaults to the current buffer. The following non-nil values of the optional argument FRAME have special meanings: - t means consider all windows on the selected frame only. - `visible' means consider all windows on all visible frames on the current terminal. - 0 (the number zero) means consider all windows on all visible and iconified frames on the current terminal. - A frame means consider all windows on that frame only. Any other value of FRAME means consider all windows on all frames. When a window showing BUFFER-OR-NAME is dedicated and the only window of its frame, that frame is deleted when there are other frames left. (defalias 'delete-windows-on #[(&optional buffer-or-name frame) "\306! \204 \307\202 \307=\203\310\202 \311\310\211\n#\310\211\205r @\312\f! =\203e\313\f!\211\301=\203I\314\f!\203I\315\316\f!!\210\202a\307=\203W\317\f!\210\202a\320\f\310\"\210\321\f\322\"\210)\202j\323\f \"\210 A\211\204$\310,\207" [buffer-or-name frame all-frames buffer window --dolist-tail-- window-normalize-buffer t nil window-list-1 window-buffer window-deletable-p window-dedicated-p delete-frame window-frame delete-window set-window-dedicated-p switch-to-prev-buffer bury unrecord-window-buffer deletable] 5 (#$ . 99567) "BDelete windows on (buffer):\nP"]) #@538 Replace BUFFER-OR-NAME with some other buffer in all windows showing it. BUFFER-OR-NAME may be a buffer or the name of an existing buffer and defaults to the current buffer. When a window showing BUFFER-OR-NAME is dedicated, that window is deleted. If that window is the only window on its frame, the frame is deleted too when there are other frames left. If there are no other frames left, some other buffer is displayed in that window. This function removes the buffer denoted by BUFFER-OR-NAME from all window-local buffer lists. (defalias 'replace-buffer-in-windows #[(&optional buffer-or-name) "\304!\305\306\211\307#\306\211\205= @\310\n! =\2030\311\n\307\211#\2045\312\n\306\"\210\313\n\314\"\210\2025\315\n \"\210 A\211\204\306+\207" [buffer-or-name buffer window --dolist-tail-- window-normalize-buffer window-list-1 nil t window-buffer window--delete set-window-dedicated-p switch-to-prev-buffer kill unrecord-window-buffer] 5 (#$ . 100992) "bBuffer to replace: "]) #@1337 Quit WINDOW and deal with its buffer. WINDOW must be a live window and defaults to the selected one. According to information stored in WINDOW's `quit-restore' window parameter either (1) delete WINDOW and its frame, (2) delete WINDOW, (3) restore the buffer previously displayed in WINDOW, or (4) make WINDOW display some other buffer than the present one. If non-nil, reset `quit-restore' parameter to nil. Optional second argument BURY-OR-KILL tells how to proceed with the buffer of WINDOW. The following values are handled: `nil' means to not handle the buffer in a particular way. This means that if WINDOW is not deleted by this function, invoking `switch-to-prev-buffer' will usually show the buffer again. `append' means that if WINDOW is not deleted, move its buffer to the end of WINDOW's previous buffers so it's less likely that a future invocation of `switch-to-prev-buffer' will switch to it. Also, move the buffer to the end of the frame's buffer list. `bury' means that if WINDOW is not deleted, remove its buffer from WINDOW'S list of previous buffers. Also, move the buffer to the end of the frame's buffer list. This value provides the most reliable remedy to not have `switch-to-prev-buffer' switch to this buffer again without killing the buffer. `kill' means to kill WINDOW's buffer. (defalias 'quit-restore-window #[(&optional window bury-or-kill) "\306\307\"\310!\311\302\"\312!\211\211@@)\211 =\2032 A\2053 \211A@)\211 =?\2053 *\313\211$% \204{\nA@\314=\204W\nA@\300=\203{\315!=\204{\316\n8 =\203{\317\313&\320=#\203{\321\322\n8!\203!\323\322\n8!\210\202!\nA@\211$<\203\324$@!\203\316\n8 =\203\316$8\250\203\255\316$8\325!U\204\255\313\326\327\217\210\330\313\"\210\331$@$A@\322$8$\210&\332=\205\315 \312!\236%&\203\350\333\334 \312!\"\"\210\335\336 \337!\"\"\210%\203\371\333\332\312!%C\"\"\210\340\302\313#\210\321\322\n8!\203!\323\322\n8!\210\202!\340\302\313#\210\330\313\"\210\341&\"\210\324 !?\206=&\320=\2035\342 !\202=&\205=\343 !-\207" [window buffer quit-restore prev-buffers x prev-buffer window-normalize-window t window-buffer window-parameter window-prev-buffers nil frame frame-root-window 3 window--delete kill window-live-p 2 select-window buffer-live-p window-total-size (byte-code "\302\303 8\304!Z\"\207" [window quad window-resize 3 window-total-size] 5) ((error)) set-window-dedicated-p set-window-buffer-start-and-point append set-window-prev-buffers assq-delete-all set-window-next-buffers delq window-next-buffers set-window-parameter switch-to-prev-buffer kill-buffer bury-buffer-internal quad entry bury-or-kill] 7 (#$ . 101992)]) #@481 Quit WINDOW and bury its buffer. WINDOW must be a live window and defaults to the selected one. With prefix argument KILL non-nil, kill the buffer instead of burying it. According to information stored in WINDOW's `quit-restore' window parameter either (1) delete WINDOW and its frame, (2) delete WINDOW, (3) restore the buffer previously displayed in WINDOW, or (4) make WINDOW display some other buffer than the present one. If non-nil, reset `quit-restore' parameter to nil. (defalias 'quit-window #[(&optional kill window) "\302 \203\n\301\202 \303\"\207" [window kill quit-restore-window bury] 3 (#$ . 104690) "P"]) #@392 Quit all windows showing BUFFER-OR-NAME. BUFFER-OR-NAME may be a buffer or the name of an existing buffer and defaults to the current buffer. Optional argument KILL non-nil means to kill BUFFER-OR-NAME. KILL nil means to bury BUFFER-OR-NAME. Optional argument FRAME is handled as by `delete-windows-on'. This function calls `quit-window' on all candidate windows showing BUFFER-OR-NAME. (defalias 'quit-windows-on #[(&optional buffer-or-name kill frame) "\306! \204 \307\202 \307=\203\310\202 \311\310\211\n#\310\211\205E @\312\f! =\2038\313 \f\"\210\202=\314\f \"\210 A\211\204$\310,\207" [buffer-or-name frame all-frames buffer window --dolist-tail-- window-normalize-buffer t nil window-list-1 window-buffer quit-window unrecord-window-buffer kill] 5 (#$ . 105323) "BQuit windows on (buffer):\nP"]) #@126 Return minimum height of any window when splitting windows. Optional argument HORIZONTAL non-nil means return minimum width. (defalias 'window-split-min-size #[(&optional horizontal) "\203 \n]\207 \f]\207" [horizontal window-min-width window-safe-min-width window-min-height window-safe-min-height] 2 (#$ . 106155)]) #@2149 Make a new window adjacent to WINDOW. WINDOW must be a valid window and defaults to the selected one. Return the new window which is always a live window. Optional argument SIZE a positive number means make WINDOW SIZE lines or columns tall. If SIZE is negative, make the new window -SIZE lines or columns tall. If and only if SIZE is non-nil, its absolute value can be less than `window-min-height' or `window-min-width'; so this command can make a new window as small as one line or two columns. SIZE defaults to half of WINDOW's size. Interactively, SIZE is the prefix argument. Optional third argument SIDE nil (or `below') specifies that the new window shall be located below WINDOW. SIDE `above' means the new window shall be located above WINDOW. In both cases SIZE specifies the new number of lines for WINDOW (or the new window if SIZE is negative) including space reserved for the mode and/or header line. SIDE t (or `right') specifies that the new window shall be located on the right side of WINDOW. SIDE `left' means the new window shall be located on the left of WINDOW. In both cases SIZE specifies the new number of columns for WINDOW (or the new window provided SIZE is negative) including space reserved for fringes and the scrollbar or a divider column. Any other non-nil value for SIDE is currently handled like t (or `right'). If the variable `ignore-window-parameters' is non-nil or the `split-window' parameter of WINDOW equals t, do not process any parameters of WINDOW. Otherwise, if the `split-window' parameter of WINDOW specifies a function, call that function with all three arguments and return the value returned by that function. Otherwise, if WINDOW is part of an atomic window, "split" the root of that atomic window. The new window does not become a member of that atomic window. If WINDOW is live, properties of the new window like margins and scrollbars are inherited from WINDOW. If WINDOW is an internal window, these properties as well as the buffer displayed in the new window are inherited from the window selected on WINDOW's frame. The selected window is not changed by this function. (defalias 'split-window #[(&optional window size side) "\306! \204\f\307\202 \310>\203 \202\311\211\312>?\313!\314!\315\316\"\315\317\"\320\321 !\210\322\323\215. \207" [window side horizontal frame parent function window-normalize-window below (below above right left) right (below above) window-frame window-parent window-parameter split-window window-side nil window--check done (byte-code "\204\222 \306=\204\222\307 !\203\310\311 \n \f#\"\210\202\222\312\n\313\"\203=\314\n!\211\203= \n=\204=\310\311\315 \f#\"\210\202\2225\304=\204j\312\n\316\"\204c\317\n!\203j\312\317\n!\316\"\204c\312\320\n!\316\"\203j\321\322!\210\202\2225\304=\204\222\323\n!\203\200\312\323\n!\316\"\204\217\324\n!\203\222\312\324\n!\316\"\203\222\30665\306=\203\246 \203\246 \325V\203\246\30667\205\261\32678\"95\205\324\312\n\316\"\204\3075\304=?\205\3246\306=?\205\324\327\n8\":\326\n8\"; \204\3308!:\2039\33178\"Z9\33278\"T\245^\202\n;\333\245;\333\246\\]\202 \325Y\203; Z\202 [<\334\211=> \204r:\203\\\3357<[8#\204\337<\3308!]\211<\203\337\3357<[8#\204\337\321\3367\"\210\202\337<\331\n8\"\\;V\203\337\321\336\n\"\210\202\337 \325Y\203\231 ;Y\204\221<8\203\213?\202\215?W\203\231\321\336\n\"\210\202\337:\203\263\3357<[8#\204\337\321\3367\"\210\202\337<8\203\277?\202\301@W\204\332;<Z8\203\324?\202\326@W\203\337\321\336\n\"\210\337A8\"\2106\306=\206\363\327\n8\"?= \203 \340<!=\203;\202 9\245\202.=\203\341\202.:\203'\342\33278\"T\245\202.\343\n8\"\344\245>:\203k\3457<[8#\210\346>ZB\3177!\211C\203g\347C\343C8\"B_\"\210\350C!\211C\204O*\202\222\351\n;<Z\"\210\352\n<[8#\210\347\n=\203\210\353\202\215\343\n8\">Z\"\210\354\n<\f>$D5\304=\203\343\203\255\202\302\f\355=\203\267\356\202\302\f\357=\203\301\360\202\302\f\361D\316#\210=\203\342\312\n\316\"\203\342\361\362D!\316#\210)\363A!\210\364A!\210D.\207" [ignore-window-parameters function window size side atom-root t functionp throw done window-parameter window-atom window-atom-root split-window window-side window-child window-last-child error "Cannot split side window or parent of side window" window-prev-sibling window-next-sibling 0 window-total-size window-combined-p window-split-min-size window-min-size window-combinations 2 nil window-sizable-p "Window %s too small for splitting" window--resize-reset float 0.5 1.0 window-normal-size 2.0 window--resize-child-windows 1.0 set-window-new-normal window-right set-window-new-total window--resize-this-window 1.0 split-window-internal above top below bottom set-window-parameter window-parent run-window-configuration-change-hook window--check window-combination-resize window-combination-limit parent horizontal parent-size resize old-size new-size new-parent new-normal window-safe-min-width window-safe-min-height frame normal sub new] 7) window-combination-limit window-combination-resize atom-root] 4 (#$ . 106483) "i"]) #@298 If non-nil, \[split-window-below] preserves point in the new window. If nil, adjust point in the two windows to minimize redisplay. This option applies only to `split-window-below' and functions that call it. The low-level `split-window' function always keeps the original point in both windows. (custom-declare-variable 'split-window-keep-point t '(#$ . 111702) :type 'boolean :group 'windows) #@655 Split the selected window into two windows, one above the other. The selected window is above. The newly split-off window is below, and displays the same buffer. Return the new window. If optional argument SIZE is omitted or nil, both windows get the same height, or close to it. If SIZE is positive, the upper (selected) window gets SIZE lines. If SIZE is negative, the lower (new) window gets -SIZE lines. If the variable `split-window-keep-point' is non-nil, both windows get the same value of point as the selected window. Otherwise, the window starts are chosen so as to minimize the amount of redisplay; this is convenient on slow terminals. (defalias 'split-window-below #[(&optional size) "\306 \307 \205 \310!\311\211\211\211\203-\312W\203-[W\203-\313\314!\210\315\311\"\204\221r\316 q\210\212\317 b\210\320\321 !\322\n`\"\210`\307\n!V\203X\323\n`\"\210 \321 U\203e\324\320\325!\210`)\f\203y `X\203y\323 S\"\210\f\203\220\317\n! X\203\220\323\n \"\203\220\326\n!\210)\327\330\"\211\203\243\331\n\330#\210)\n.\207" [size bottom new-window moved moved-by-window-height old-point selected-window window-point prefix-numeric-value nil 0 error "Size of new window too small" split-window window-buffer window-start vertical-motion window-height set-window-start set-window-point t -1 select-window window-parameter quit-restore set-window-parameter old-window window-min-height split-window-keep-point] 8 (#$ . 112105) "P"]) (defalias 'split-window-vertically 'split-window-below) #@594 Split the selected window into two side-by-side windows. The selected window is on the left. The newly split-off window is on the right, and displays the same buffer. Return the new window. If optional argument SIZE is omitted or nil, both windows get the same width, or close to it. If SIZE is positive, the left-hand (selected) window gets SIZE columns. If SIZE is negative, the right-hand (new) window gets -SIZE columns. Here, SIZE includes the width of the window's scroll bar; if there are no scroll bars, it includes the width of the divider column to the window's right, if any. (defalias 'split-window-right #[(&optional size) "\305 \205 \306!\307\203\"\310W\203\"[ W\203\"\311\312!\210\313\307\314#\315\n\304\"\211\2037\316 \304\f#\210) +\207" [size new-window old-window window-min-width quit-restore selected-window prefix-numeric-value nil 0 error "Size of new window too small" split-window t window-parameter set-window-parameter] 5 (#$ . 113647) "P"]) (defalias 'split-window-horizontally 'split-window-right) #@113 Subroutine of `balance-windows-1'. WINDOW must be a vertical combination (horizontal if HORIZONTAL is non-nil). (defalias 'balance-windows-2 #[(window horizontal) "\306!\211\307\310!\211\311\211\311\211\311\211\n\203D T\312\n\"\203< \313\n\"Z\314\n\315\"\210\316\n!\211\204$\317\203\261 \307V\203\261 \245\311 \211\203G\204G\320\n!\204\246\313\n\"Z\321\n#\322\n\\\"\210U\204\246\323 # S\317\314\n\324\"\210\316\n!\211\204`\202G \246 \211\203\334\307V\203\334\320!\204\324\322\n\325\317#\210S\316\n!\211\204\274 \211\203\307V\203\326\n!\315=\204\374\322\n\325\317#\210S\316\n!\211\204\342 \211\2054\314\n\326\n!\315=\203\313\n\"\202\310\n!\327\f!\245\"\210\330\n\"\210\316\n!\211\204\n\311. \207" [window first sub number-of-children parent-size total-sum window-child 0 window-new-total nil window-size-fixed-p window-total-size set-window-new-normal ignore window-right t window--resize-child-windows-skip-p window-sizable set-window-new-total - skip 1 window-new-normal float balance-windows-1 failed size sub-total sub-delta sub-amount rest horizontal] 6 (#$ . 114702)]) #@34 Subroutine of `balance-windows'. (defalias 'balance-windows-1 #[(window &optional horizontal) "\304!\2055\304!\305 \n\"\203\306\n\"\2024\307! \2053\310 \"\210\311 \n\"\210\312 !\211\204 \313))\207" [window sub horizontal size window-child window-combined-p balance-windows-2 window-new-total set-window-new-total balance-windows-1 window-right nil] 4 (#$ . 115906)]) #@303 Balance the sizes of windows of WINDOW-OR-FRAME. WINDOW-OR-FRAME is optional and defaults to the selected frame. If WINDOW-OR-FRAME denotes a frame, balance the sizes of all windows of that frame. If WINDOW-OR-FRAME denotes a window, recursively balance the sizes of all child windows of that window. (defalias 'balance-windows #[(&optional window-or-frame) "\203\n\303!\203\304!\202$\305!\204\306!\203 \202$\307\310\"\311 !\312\311 !!\210\313 !\210\314\n!\210\312\311 !\315\"\210\313 \315\"\210\314\n\315\"*\207" [window-or-frame window frame frame-live-p frame-root-window window-live-p window-child error "Not a window or frame %s" window-frame window--resize-reset balance-windows-1 window-resize-apply t] 3 (#$ . 116294) nil]) #@147 Return t if WINDOW cannot be resized in DIRECTION. WINDOW defaults to the selected window. DIRECTION can be nil (i.e. any), `height' or `width'. (defalias 'window-fixed-size-p #[(&optional window direction) "r\303!q\210\304\301!\205 \205\n\205\n B\305\235?)\207" [window window-size-fixed direction window-buffer boundp ((height . width) (width . height))] 2 (#$ . 117051)]) #@137 Factor by which the window area should be over-estimated. This is used by `balance-windows-area'. Changing this globally has no effect. (defvar window-area-factor 1 (#$ . 117441)) (make-variable-buffer-local 'window-area-factor) #@124 Wrapper around `window-resize' with error checking. Arguments WINDOW, DELTA and HORIZONTAL are passed on to that function. (defalias 'balance-windows-area-adjust #[(window delta horizontal) "\301!\302Y\205\303\304\305\217\210\202\207" [delta abs 1 nil (byte-code "\303 \n#\210\304\303\207" [window delta horizontal window-resize 0] 4) ((error (byte-code "\301\245\301\207" [delta 2] 2)))] 3 (#$ . 117677)]) #@136 Make all visible windows the same area (approximately). See also `window-area-factor' to change the relative size of specific buffers. (defalias 'balance-windows-area #[nil "\306\211\306\307\310\311\312\313\310\314\"\"\"\310\211\315W\205T\nT \310\211\203@\211\316 !\317 !\2042\320!@\320 !@W\321\322 !\323 !\324\325\326 !\"#\321\322!\323!\324\325\326!\"#Z\324\325\326!\"\324\325\326 !\"]\245\203\211\322!\322 !\\\202\221\323!\323 !\\  \245!\327!!\203\254\330_ \315_\245!\327!!\203\326\327!\204\326 \\ \245\211!\331V\204\320!\332W\203\326!\315\245!\327!!\203\345 \\\202\333!#\210\320!B\211\"\f\235\204\"\fB\306\211),A\211\204+*\202.\207" [unchanged carry round wins changelog next 0 delq nil mapcar #[(win) "\301!?\205\207" [win window-fixed-size-p] 2] window-list nomini 2 next-window window-fixed-size-p window-edges * window-height window-width buffer-local-value window-area-factor window-buffer zerop 3 1 -1 balance-windows-area-adjust win --dolist-tail-- horiz areadiff edgesize diff change] 9 (#$ . 118100) nil]) #@41 Helper function for `window-state-get'. (defalias 'window--state-get-1 #[(window &optional writable) "\306!\203\n\307\202\310!\203\311\202\312\313!\314 = \315\316!?\205)\317\320\321!B\322\321\323\"B\324\325!B\326\325\323\"B\327\330!B\257\331!\332\211\3325\2116\203\2076@\2115@7\236A\2118\203}\203s8\333=\203}5@5AB\fB)6A\2116\204V*\3347\236A\2118\203\253\203\2378\333=\203\253\334\f\236\204\253\334B\fB)\f\205\264\305\fBC*\n\205\335!\336!0,\302\337\n!\303 B\340\341!B\342\343!B\344\345!B\346\347!B\350\351!B\352\353!B\354\203\363,\202\373\355,\356\357\n\"\"B\360\2030\202 \3550!B\257 *C$B9 \361>\2057\332\362!\211\2034\363\"\fB\364!\211\204$\f\237):\3159:\"-\207" [window type buffer selected list parameters window-top-child vc window-left-child hc leaf window-buffer selected-window append window-next-sibling ((last . t)) total-height window-total-size total-width t normal-height window-normal-size normal-width combination-limit window-combination-limit window-parameters nil writable clone-of window-point window-start buffer-name hscroll window-hscroll fringes window-fringes margins window-margins scroll-bars window-scroll-bars vscroll window-vscroll dedicated window-dedicated-p point copy-marker buffer-local-value window-point-insertion-type start (vc hc) window-child window--state-get-1 window-right par --dolist-tail-- window-persistent-parameters pers head tail] 21 (#$ . 119231)]) #@784 Return state of WINDOW as a Lisp object. WINDOW can be any window and defaults to the root window of the selected frame. Optional argument WRITABLE non-nil means do not use markers for sampling `window-point' and `window-start'. Together, WRITABLE and the variable `window-persistent-parameters' specify which window parameters are saved by this function. WRITABLE should be non-nil when the return value shall be written to a file and read back in another session. Otherwise, an application may run into an `invalid-read-syntax' error while attempting to read back the value from file. The return value can be used as argument for `window-state-put' to put the state recorded here into an arbitrary window. The value can be also stored on disk and read back in a new session. (defalias 'window-state-get #[(&optional window writable) "\203\302!\203\202\303\304\"\202\305 \306\307!B\310\307\311\"B\312\307\313\311#B\314\307\311\211#B\315\307\313\316#B\317\307\311\316#B\257\320 \"B\207" [window writable window-valid-p error "%s is not a live or internal window" frame-root-window min-height window-min-size min-width t min-height-ignore nil min-width-ignore min-height-safe safe min-width-safe window--state-get-1] 10 (#$ . 120732)]) #@41 Helper variable for `window-state-put'. (defvar window-state-put-list nil (#$ . 122000)) #@41 Helper function for `window-state-put'. (defalias 'window--state-put-1 #[(state &optional window ignore totals) "@A \306=\203\nB B\211\202\323 \307>\205\323 \310=\311\n\f\"\312\313\211\313\211\205\321@\211@\314>\203\307\315\236\203Q\313\202\272 \203f\f\203^\316\202_\317\236A\202w\320 \f\203p\321\202q\322\236A_!\211\f\203\203!\202\205\"]\323\n[\f\324$\203\245\325\236#\326\n\f#)\202\252\327\330\n\"\210\203\272\313\331\n!B B\332\n$ $\210A\211\2048\313.)\207" [state type window window-state-put-list horizontal total leaf (vc hc) hc window-total-size t nil (leaf vc hc) last total-width total-height round normal-width normal-height window-sizable-p safe combination-limit split-window error "Cannot resize window %s" window-parent window--state-put-1 first size new item --dolist-tail-- totals window-safe-min-height window-safe-min-width window-combination-limit ignore] 6 (#$ . 122095)]) #@41 Helper function for `window-state-put'. (defalias 'window--state-put-2 #[(ignore) "\306\211\205\232\n@\211@\305 \236A\304 \236A\307 \236A- \203(\310- \"\210\311-!\306.\211\203H\n@.\312-.@\306#\210\nA\211\2044*\f\203m\f\306.\211\203l\n@.\312-.@.A#\210\nA\211\204V* \203\221\313-\314 @!\"\210r\315-!q\210\316-\317 \236A\"\210\320\321-\322 \236AB\"\210\323 \236A\324-@A#\210)\325 \236A\326-@\3278\3308$\210)\331-\332 \236A\"\210/\333>\203\360\334 \236A\335-!Z\306/0\336-0\"\203\354\337-0\"\210*\202\340-\3061#\2112\341-!Z\2110\342V\203\336-0\3061$\203\337-0\3061$\210*/\343>\203G\344 \236A\345-!Z\306/0\336-0\"\203C\337-0\"\210*\202v\340-\3461#\2112\341-\346\"Z\2110\342V\203u\336-0\3461$\203u\337-0\3461$\210*\347-\350 \236A\"\210\306\351\352\217\210\353 \236A\203\220\354-!\210),\nA\211\204\306*\207" [window-state-put-list item --dolist-tail-- state parameters combination-limit nil buffer set-window-combination-limit window-parameters set-window-parameter set-window-buffer get-buffer-create window-buffer set-window-hscroll hscroll apply set-window-fringes fringes margins set-window-margins scroll-bars set-window-scroll-bars 2 3 set-window-vscroll vscroll (t height) total-height window-total-height window--resizable-p window-resize window-min-size window-total-size 0 (t width) total-width window-total-width t set-window-dedicated-p dedicated (byte-code "\302\303 \236A\"\210\304\305 \236A\"\207" [window state set-window-start start set-window-point point] 4) ((error)) selected select-window window parameter window-size-fixed delta ignore min-size] 7 (#$ . 123078)]) #@425 Put window state STATE into WINDOW. STATE should be the state of a window returned by an earlier invocation of `window-state-get'. Optional argument WINDOW must specify a live window and defaults to the selected one. Optional argument IGNORE non-nil means ignore minimum window sizes and fixed size restrictions. IGNORE equal `safe' means windows can get as small as `window-safe-min-height' and `window-safe-min-width'. (defalias 'window-state-put #[(state &optional window ignore) "\306\307\"\310!\n@\311!\312\n\236AU\205 \311\307\"\313\n\236AU\305 \236A\314 \236A\f\f\204\237 \311!V\204B\f\311\307\"V\203\237\203\230\315 \236A\211\203\237\316 \236A\211\f\203\237 \311!V\204l\f\311\307\"V\203\237\317=\203\230\320 \236A\211\203\237\321 \236A\211\f\203\237 \311!V\204\230\f\311\307\"V\203\237\322\323\"\202\306\nA\324\325\326!rq\210\327\216\330p\"\210\331\n\324\f$\210\332!\210+\333 !-\207" [window frame state head totals min-height window-normalize-window t window-frame window-total-size total-height total-width min-width min-height-ignore min-width-ignore safe min-height-safe min-width-safe error "Window %s too small to accommodate state" nil generate-new-buffer " *temp*" ((byte-code "\301!\203\n\302!\210\301\207" [#1=#:temp-buffer buffer-name kill-buffer] 2)) set-window-buffer window--state-put-1 window--state-put-2 window--check ignore window-state-put-list #1#] 5 (#$ . 124774)]) #@975 Record information for window used by `display-buffer'. TYPE specifies the type of the calling operation and must be one of the symbols 'reuse (when WINDOW existed already and was reused for displaying BUFFER), 'window (when WINDOW was created on an already existing frame), or 'frame (when WINDOW was created on a new frame). WINDOW is the window used for or created by the `display-buffer' routines. BUFFER is the buffer that shall be displayed. This function installs or updates the quit-restore parameter of WINDOW. The quit-restore parameter is a list of four elements: The first element is one of the symbols 'window, 'frame, 'same or 'other. The second element is either one of the symbols 'window or 'frame or a list whose elements are the buffer previously shown in the window, that buffer's window start and window point, and the window's height. The third element is the window selected at the time the parameter was created. The fourth element is BUFFER. (defalias 'display-buffer-record-window #[(type window buffer) "\304=\203<\305 !\n=\203\306 \307\":\205;\306 \307\"\310\240\207r\305 !q\210\311 \307\312p\313 !\314\315 ! \"\316 !F\317 \nF#)\207\301=\203M\311 \307\301\211\317 \nF#\207\320=\205]\311 \307\320\211\317 \nF#\207" [type window buffer window-point-insertion-type reuse window-buffer window-parameter quit-restore same set-window-parameter other window-start copy-marker window-point window-total-size selected-window frame] 9 (#$ . 126236)]) (byte-code "\300\301\302\303\304\305\306\307&\210\310\301\311\312#\210\300\313\302\314\304\315\306\316&\210\300\317\320\321\304\322\306\316&\210\300\323\302\324\304\325\306\307\306\316& \210\310\323\311\312#\210\326\323\327\330#\210\300\331\302\332\304\333\306\307\306\316& \210\310\331\311\312#\210\326\331\327\330#\207" [custom-declare-variable display-buffer-function nil "If non-nil, function to call to handle `display-buffer'.\nIt will receive two args, the buffer and a flag which if non-nil\nmeans that the currently selected window is not acceptable. It\nshould choose or create a window, display the specified buffer in\nit, and return the window.\n\nThe specified function should call `display-buffer-record-window'\nwith corresponding arguments to set up the quit-restore parameter\nof the window used." :type (choice (const nil) (function :tag "function")) :group windows make-obsolete-variable display-buffer-alist "24.3" pop-up-frame-alist "Alist of parameters for automatically generated new frames.\nIf non-nil, the value you specify here is used by the default\n`pop-up-frame-function' for the creation of new frames.\n\nSince `pop-up-frame-function' is used by `display-buffer' for\nmaking new frames, any value specified here by default affects\nthe automatic generation of new frames via `display-buffer' and\nall functions based on it. The behavior of `make-frame' is not\naffected by this variable." (repeat (cons :format "%v" (symbol :tag "Parameter") (sexp :tag "Value"))) frames pop-up-frame-function (lambda nil (make-frame pop-up-frame-alist)) "Function used by `display-buffer' for creating a new frame.\nThis function is called with no arguments and should return a new\nframe. The default value calls `make-frame' with the argument\n`pop-up-frame-alist'." function special-display-buffer-names "List of names of buffers that should be displayed specially.\nDisplaying a buffer with `display-buffer' or `pop-to-buffer', if\nits name is in this list, displays the buffer in a way specified\nby `special-display-function'. `special-display-popup-frame'\n(the default for `special-display-function') usually displays\nthe buffer in a separate frame made with the parameters specified\nby `special-display-frame-alist'. If `special-display-function'\nhas been set to some other function, that function is called with\nthe buffer as first, and nil as second argument.\n\nAlternatively, an element of this list can be specified as\n(BUFFER-NAME FRAME-PARAMETERS), where BUFFER-NAME is a buffer\nname and FRAME-PARAMETERS an alist of (PARAMETER . VALUE) pairs.\n`special-display-popup-frame' will interpret such pairs as frame\nparameters when it creates a special frame, overriding the\ncorresponding values from `special-display-frame-alist'.\n\nAs a special case, if FRAME-PARAMETERS contains (same-window . t)\n`special-display-popup-frame' displays that buffer in the\nselected window. If FRAME-PARAMETERS contains (same-frame . t),\nit displays that buffer in a window on the selected frame.\n\nIf `special-display-function' specifies some other function than\n`special-display-popup-frame', that function is called with the\nbuffer named BUFFER-NAME as first, and FRAME-PARAMETERS as second\nargument.\n\nFinally, an element of this list can be also specified as\n(BUFFER-NAME FUNCTION OTHER-ARGS). In that case,\n`special-display-popup-frame' will call FUNCTION with the buffer\nnamed BUFFER-NAME as first argument, and OTHER-ARGS as the\nsecond.\n\nAny alternative function specified here is responsible for\nsetting up the quit-restore parameter of the window used.\n\nIf this variable appears \"not to work\", because you added a\nname to it but the corresponding buffer is displayed in the\nselected window, look at the values of `same-window-buffer-names'\nand `same-window-regexps'. Those variables take precedence over\nthis one.\n\nSee also `special-display-regexps'." (repeat (choice :tag "Buffer" :value #1="" (string :format "%v") (cons :tag "With parameters" :format "%v" :value (#1#) (string :format "%v") (repeat :tag "Parameters" (cons :format "%v" (symbol :tag "Parameter") (sexp :tag "Value")))) (list :tag "With function" :format "%v" :value (#1#) (string :format "%v") (function :tag "Function") (repeat :tag "Arguments" (sexp))))) put risky-local-variable t special-display-regexps "List of regexps saying which buffers should be displayed specially.\nDisplaying a buffer with `display-buffer' or `pop-to-buffer', if\nany regexp in this list matches its name, displays it specially\nusing `special-display-function'. `special-display-popup-frame'\n(the default for `special-display-function') usually displays\nthe buffer in a separate frame made with the parameters specified\nby `special-display-frame-alist'. If `special-display-function'\nhas been set to some other function, that function is called with\nthe buffer as first, and nil as second argument.\n\nAlternatively, an element of this list can be specified as\n(REGEXP FRAME-PARAMETERS), where REGEXP is a regexp as above and\nFRAME-PARAMETERS an alist of (PARAMETER . VALUE) pairs.\n`special-display-popup-frame' will then interpret these pairs as\nframe parameters when creating a special frame for a buffer whose\nname matches REGEXP, overriding the corresponding values from\n`special-display-frame-alist'.\n\nAs a special case, if FRAME-PARAMETERS contains (same-window . t)\n`special-display-popup-frame' displays buffers matching REGEXP in\nthe selected window. (same-frame . t) in FRAME-PARAMETERS means\nto display such buffers in a window on the selected frame.\n\nIf `special-display-function' specifies some other function than\n`special-display-popup-frame', that function is called with the\nbuffer whose name matched REGEXP as first, and FRAME-PARAMETERS\nas second argument.\n\nFinally, an element of this list can be also specified as\n(REGEXP FUNCTION OTHER-ARGS). `special-display-popup-frame'\nwill then call FUNCTION with the buffer whose name matched\nREGEXP as first, and OTHER-ARGS as second argument.\n\nAny alternative function specified here is responsible for\nsetting up the quit-restore parameter of the window used.\n\nIf this variable appears \"not to work\", because you added a\nname to it but the corresponding buffer is displayed in the\nselected window, look at the values of `same-window-buffer-names'\nand `same-window-regexps'. Those variables take precedence over\nthis one.\n\nSee also `special-display-buffer-names'." (repeat (choice :tag "Buffer" :value #1# (regexp :format "%v") (cons :tag "With parameters" :format "%v" :value (#1#) (regexp :format "%v") (repeat :tag "Parameters" (cons :format "%v" (symbol :tag "Parameter") (sexp :tag "Value")))) (list :tag "With function" :format "%v" :value (#1#) (regexp :format "%v") (function :tag "Function") (repeat :tag "Arguments" (sexp)))))] 10) #@382 Return non-nil if a buffer named BUFFER-NAME gets a special frame. More precisely, return t if `special-display-buffer-names' or `special-display-regexps' contain a string entry equaling or matching BUFFER-NAME. If `special-display-buffer-names' or `special-display-regexps' contain a list entry whose car equals or matches BUFFER-NAME, the return value is the cdr of that entry. (defalias 'special-display-p #[(buffer-name) "\303 \n\235\203\f\304\202\305 \n\"\211\203A\202\306\307\215)\207" [tmp buffer-name special-display-buffer-names nil t assoc found (byte-code "\306\211\205V\n@\211;\203* \306\307 \310 \f#,\203N\311\312\307\"\210\202N :\203N @;\203N @ \306\307 \310 \f#,\203N\311\312 A\"\210\nA\211\204\306*\207" [special-display-regexps regexp --dolist-tail-- buffer-name start string nil t string-match throw found inhibit-changing-match-data] 5)] 3 (#$ . 134594)]) (byte-code "\300\301\302\303\304\305\306\307&\210\310\301\311\312#\207" [custom-declare-variable special-display-frame-alist '((height . 14) (width . 80) (unsplittable . t)) "Alist of parameters for special frames.\nSpecial frames are used for buffers whose names are listed in\n`special-display-buffer-names' and for buffers whose names match\none of the regular expressions in `special-display-regexps'.\n\nThis variable can be set in your init file, like this:\n\n (setq special-display-frame-alist '((width . 80) (height . 20)))\n\nThese supersede the values given in `default-frame-alist'." :type (repeat (cons :format "%v" (symbol :tag "Parameter") (sexp :tag "Value"))) :group frames make-obsolete-variable display-buffer-alist "24.3"] 8) #@669 Pop up a frame displaying BUFFER and return its window. If BUFFER is already displayed in a visible or iconified frame, raise that frame. Otherwise, display BUFFER in a new frame. Optional argument ARGS is a list specifying additional information. If ARGS is an alist, use it as a list of frame parameters. If these parameters contain (same-window . t), display BUFFER in the selected window. If they contain (same-frame . t), display BUFFER in a window of the selected frame. If ARGS is a list whose car is a symbol, use (car ARGS) as a function to do the work. Pass it BUFFER as first argument, and pass the elements of (cdr ARGS) as the remaining arguments. (defalias 'special-display-popup-frame #[(buffer &optional args) "\203@9\203\306@ A#\207\307 \310\"\211\2032\311\n!\312 !\210\313 !\210\314\315\n #\210\n)\206\217\316\236A\203@\317\320\321\217\206\217\322\236A\204N\316\236A\203_\323\317\211\317\324 !,\206\217r q\210\325\326\"!)\327 !\314\303\n #\210 \330\n!=\204\210\331\n \"\210\332\n\317\"\210\333\n\323\"\210\n*)\207" [args buffer window frame pop-up-windows pop-up-frames apply get-buffer-window 0 window-frame make-frame-visible raise-frame display-buffer-record-window reuse same-window nil (byte-code "\301\302\303#\210\304 \207" [buffer switch-to-buffer nil t selected-window] 4) ((error)) same-frame t display-buffer make-frame append frame-selected-window window-buffer set-window-buffer set-window-prev-buffers set-window-dedicated-p special-display-buffer-names special-display-regexps special-display-frame-alist] 5 (#$ . 136260)]) (byte-code "\300\301\302\303\304\305\306\307&\210\310\301\311\312#\210\300\313\314\315\304\316\306\317&\210\300\320\314\321\304\322\306\317&\207" [custom-declare-variable special-display-function 'special-display-popup-frame "Function to call for displaying special buffers.\nThis function is called with two arguments - the buffer and,\noptionally, a list - and should return a window displaying that\nbuffer. The default value usually makes a separate frame for the\nbuffer using `special-display-frame-alist' to specify the frame\nparameters. See the definition of `special-display-popup-frame'\nfor how to specify such a function.\n\nA buffer is special when its name is either listed in\n`special-display-buffer-names' or matches a regexp in\n`special-display-regexps'.\n\nThe specified function should call `display-buffer-record-window'\nwith corresponding arguments to set up the quit-restore parameter\nof the window used." :type function :group frames make-obsolete-variable display-buffer-alist "24.3" same-window-buffer-names nil "List of names of buffers that should appear in the \"same\" window.\n`display-buffer' and `pop-to-buffer' show a buffer whose name is\non this list in the selected rather than some other window.\n\nAn element of this list can be a cons cell instead of just a\nstring. In that case, the cell's car must be a string specifying\nthe buffer name. This is for compatibility with\n`special-display-buffer-names'; the cdr of the cons cell is\nignored.\n\nSee also `same-window-regexps'." (repeat (string :format "%v")) windows same-window-regexps "List of regexps saying which buffers should appear in the \"same\" window.\n`display-buffer' and `pop-to-buffer' show a buffer whose name\nmatches a regexp on this list in the selected rather than some\nother window.\n\nAn element of this list can be a cons cell instead of just a\nstring. In that case, the cell's car must be a regexp matching\nthe buffer name. This is for compatibility with\n`special-display-regexps'; the cdr of the cons cell is ignored.\n\nSee also `same-window-buffer-names'." (repeat (regexp :format "%v"))] 8) #@307 Return non-nil if a buffer named BUFFER-NAME would be shown in the "same" window. This function returns non-nil if `display-buffer' or `pop-to-buffer' would show a buffer named BUFFER-NAME in the selected rather than (as usual) some other window. See `same-window-buffer-names' and `same-window-regexps'. (defalias 'same-window-p #[(buffer-name) ";?\206 \235\206\302 \"\206\303\304\215\206\305\207" [buffer-name same-window-buffer-names assoc found (byte-code "\306\211\205M\n@\211;\203\" \306\307 \310 \f#,\204@ :\203E @;\203E @ \306\307 \310 \f#,\203E\311\312\307\"\210\nA\211\204\306*\207" [same-window-regexps regexp --dolist-tail-- buffer-name start string nil t string-match throw found inhibit-changing-match-data] 5) nil] 3 (#$ . 139992)]) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\302\311\304\312\313\314\306\307& \210\315\310\316\317#\210\300\320\321\322\304\312\306\307&\210\300\323\324\325\304\326\313\327\306\307& \210\300\330\331\332\304\333\313\327\306\307& \210\300\334\335\336\304\337\313\327\306\307& \207" [custom-declare-variable pop-up-frames nil "Whether `display-buffer' should make a separate frame.\nIf nil, never make a separate frame.\nIf the value is `graphic-only', make a separate frame\non graphic displays only.\nAny other non-nil value means always make a separate frame." :type (choice (const :tag "Never" nil) (const :tag "On graphic displays only" graphic-only) (const :tag "Always" t)) :group windows display-buffer-reuse-frames "Non-nil means `display-buffer' should reuse frames.\nIf the buffer in question is already displayed in a frame, raise\nthat frame." boolean :version "21.1" make-obsolete-variable "use a `reusable-frames' alist entry in `display-buffer-alist'." "24.3" pop-up-windows t "Non-nil means `display-buffer' should make a new window." split-window-preferred-function 'split-window-sensibly "Function called by `display-buffer' routines to split a window.\nThis function is called with a window as single argument and is\nsupposed to split that window and return the new window. If the\nwindow can (or shall) not be split, it is supposed to return nil.\nThe default is to call the function `split-window-sensibly' which\ntries to split the window in a way which seems most suitable.\nYou can customize the options `split-height-threshold' and/or\n`split-width-threshold' in order to have `split-window-sensibly'\nprefer either vertical or horizontal splitting.\n\nIf you set this to any other function, bear in mind that the\n`display-buffer' routines may call this function two times. The\nargument of the first call is the largest window on its frame.\nIf that call fails to return a live window, the function is\ncalled again with the least recently used window as argument. If\nthat call fails too, `display-buffer' will use an existing window\nto display its buffer.\n\nThe window selected at the time `display-buffer' was invoked is\nstill selected when this function is called. Hence you can\ncompare the window argument with the value of `selected-window'\nif you intend to split the selected window instead or if you do\nnot want to split the selected window." function "23.1" split-height-threshold 80 "Minimum height for splitting windows sensibly.\nIf this is an integer, `split-window-sensibly' may split a window\nvertically only if it has at least this many lines. If this is\nnil, `split-window-sensibly' is not allowed to split a window\nvertically. If, however, a window is the only window on its\nframe, `split-window-sensibly' may split it vertically\ndisregarding the value of this variable." (choice (const nil) (integer :tag "lines")) split-width-threshold 160 "Minimum width for splitting windows sensibly.\nIf this is an integer, `split-window-sensibly' may split a window\nhorizontally only if it has at least this many columns. If this\nis nil, `split-window-sensibly' is not allowed to split a window\nhorizontally." (choice (const nil) (integer :tag "columns"))] 10) #@1068 Return non-nil if `split-window-sensibly' may split WINDOW. Optional argument HORIZONTAL nil or omitted means check whether `split-window-sensibly' may split WINDOW vertically. HORIZONTAL non-nil means check whether WINDOW may be split horizontally. WINDOW may be split vertically when the following conditions hold: - `window-size-fixed' is either nil or equals `width' for the buffer of WINDOW. - `split-height-threshold' is an integer and WINDOW is at least as high as `split-height-threshold'. - When WINDOW is split evenly, the emanating windows are at least `window-min-height' lines tall and can accommodate at least one line plus - if WINDOW has one - a mode line. WINDOW may be split horizontally when the following conditions hold: - `window-size-fixed' is either nil or equals `height' for the buffer of WINDOW. - `split-width-threshold' is an integer and WINDOW is at least as wide as `split-width-threshold'. - When WINDOW is split evenly, the emanating windows are at least `window-min-width' or two (whichever is larger) columns wide. (defalias 'window-splittable-p #[(window &optional horizontal) "\306!\205Jr\307!q\210 \203)\n\310>\205I \247\205I\311! \f\312]\312_]Y\202I\n\313>\205I \247\205I\314! \203C\312\202D\315]\312_]Y)\207" [window horizontal window-size-fixed split-width-threshold window-min-width split-height-threshold window-live-p window-buffer (nil height) window-width 2 (nil width) window-height 1 window-min-height mode-line-format] 4 (#$ . 144015)]) #@1575 Split WINDOW in a way suitable for `display-buffer'. WINDOW defaults to the currently selected window. If `split-height-threshold' specifies an integer, WINDOW is at least `split-height-threshold' lines tall and can be split vertically, split WINDOW into two windows one above the other and return the lower window. Otherwise, if `split-width-threshold' specifies an integer, WINDOW is at least `split-width-threshold' columns wide and can be split horizontally, split WINDOW into two windows side by side and return the window on the right. If this can't be done either and WINDOW is the only window on its frame, try to split WINDOW vertically disregarding any value specified by `split-height-threshold'. If that succeeds, return the lower window. Return nil otherwise. By default `display-buffer' routines call this function to split the largest or least recently used window. To change the default customize the option `split-window-preferred-function'. You can enforce this function to not split WINDOW horizontally, by setting (or binding) the variable `split-width-threshold' to nil. If, in addition, you set `split-height-threshold' to zero, chances increase that this function does split WINDOW vertically. In order to not split WINDOW vertically, set (or bind) the variable `split-height-threshold' to nil. Additionally, you can set `split-width-threshold' to zero to make a horizontal split more likely to occur. Have a look at the function `window-splittable-p' if you want to know how `split-window-sensibly' determines whether WINDOW can be split. (defalias 'split-window-sensibly #[(&optional window) "\206\303 \304!\203 \305!r\306\216\307 @\310\"\210\311 +\206d\304\312\"\203:\305!r\313\216\307 @\310\"\210\314 +\206d\315\316!!=\205d\317!?\205d\320\304!\205c\305!r\321\216\307 @\310\"\210\311 +))\207" [window save-selected-window--state split-height-threshold selected-window window-splittable-p internal--before-with-selected-window ((internal--after-with-selected-window save-selected-window--state)) select-window norecord split-window-below t ((internal--after-with-selected-window save-selected-window--state)) split-window-right frame-root-window window-frame window-minibuffer-p 0 ((internal--after-with-selected-window save-selected-window--state))] 4 (#$ . 145543)]) #@128 Try to split WINDOW. Return value returned by `split-window-preferred-function' if it represents a live window, nil otherwise. (defalias 'window--try-to-split-window #[(window &optional alist) "\304!\205=\305\306!\307\"?\205= \310=\204* \311=\203.\312\n\236A\204*\313\n\236A\203.\314\202/ \315\316\317\217\304 !\205< *\207" [window window-combination-limit alist new-window window-live-p frame-parameter window-frame unsplittable display-buffer window-size window-height window-width t nil (funcall split-window-preferred-function window) ((error))] 3 (#$ . 147879)]) #@53 Return FRAME if it can be used to display a buffer. (defalias 'window--frame-usable-p #[(frame) "\302!\205\303!\304 !\205\305 !?\205)\207" [frame window frame-live-p frame-root-window window-live-p window-minibuffer-p] 2 (#$ . 148465)]) #@245 If non-nil `display-buffer' will try to even window heights. Otherwise `display-buffer' will leave the window configuration alone. Heights are evened only when `display-buffer' chooses a window that appears above or below the selected window. (custom-declare-variable 'even-window-heights t '(#$ . 148719) :type 'boolean :group 'windows) #@195 Even heights of WINDOW and selected window. Do this only if these windows are vertically adjacent to each other, `even-window-heights' is non-nil, and the selected window is higher than WINDOW. (defalias 'window--even-window-heights #[(window) "\205*\302 !\205*\303\304 !!\305U\205*\304 \304 !=\205*\306 \306 !V\205*\307\310\311\217\207" [even-window-heights window window-combined-p window-child-count window-parent 2 window-total-height nil (byte-code "\301\302!\302 Z\303\245!\207" [window enlarge-window window-total-height 2] 3) ((error))] 3 (#$ . 149065)]) #@294 Display BUFFER in WINDOW. TYPE must be one of the symbols `reuse', `window' or `frame' and is passed unaltered to `display-buffer-record-window'. ALIST is the alist argument of `display-buffer'. Set `window-dedicated-p' to DEDICATED if non-nil. Return WINDOW if BUFFER and WINDOW are live. (defalias 'window--display-buffer #[(buffer window type &optional alist dedicated) "\306!\205\307 !\205\310\n #\210\311 !=\2048\312 \313\"\210\314 \"\210 \203-\312 \"\210\n\315>\2038\316 \313\"\210\317 \320\"\321\f\236A\322\f\236A!\"\n\301=\204`\"@\323=\203\377\"A@\301=\203\377!\203\261!\247\203\245!\250\203v!\202\200\324\325\326 !!!_!\211#\325 !Z$\327 $\313\330$\203\241\331 !\203\241\332 $\313\330$\210*\202\261\333!!\203\261\313\334\335\217\210 \203\377 \247\203\364 \250\203\303 \202\315\324\325\326 !\336\" _!\211%\325 \336\"Z$\327 $\336\330$\203\360\331 \336\"\203\360\332 $\336\330$\210*\202\377\333 !\203\377\313\337\340\217\210+ \207" [buffer window type dedicated alist width buffer-live-p window-live-p display-buffer-record-window window-buffer set-window-dedicated-p nil set-window-buffer (window frame) set-window-prev-buffers window-parameter quit-restore window-height window-width same round window-total-size frame-root-window window--resizable-p safe window-combined-p window-resize functionp (funcall height window) ((error)) t (funcall width window) ((error)) height parameter new-height delta new-width] 6 (#$ . 149642)]) (defalias 'window--maybe-raise-frame #[(frame) "\302!\211?\206\303 =\206\304\305 !\205\306\307 !=?\205$\310!)\207" [frame visible frame-visible-p selected-frame minibuffer-window-active-p selected-window window-frame minibuffer-selected-window raise-frame] 4]) #@164 If non-nil, `display-buffer' marks the windows it creates as dedicated. The actual non-nil value of this variable will be copied to the `window-dedicated-p' flag. (defvar display-buffer-mark-dedicated nil (#$ . 151411)) #@52 Custom type for `display-buffer' action functions. (defconst display-buffer--action-function-custom-type '(choice :tag "Function" (const :tag "--" ignore) (const display-buffer-reuse-window) (const display-buffer-pop-up-window) (const display-buffer-same-window) (const display-buffer-pop-up-frame) (const display-buffer-use-some-window) (function :tag "Other function")) (#$ . 151637)) #@43 Custom type for `display-buffer' actions. (defconst display-buffer--action-custom-type (byte-code "\301\302\303\304\302\305\306\302\307F\257\310BBBB\207" [display-buffer--action-function-custom-type cons :tag "Action" choice "Action functions" repeat "List of functions" ((alist :tag "Action arguments" :key-type symbol :value-type (sexp :tag "Value")))] 11) (#$ . 152030)) #@278 Overriding action to perform to display a buffer. It should be a cons cell (FUNCTION . ALIST), where FUNCTION is a function or a list of functions. Each function should accept two arguments: a buffer to display and an alist similar to ALIST. See `display-buffer' for details. (defvar display-buffer-overriding-action '(nil) (#$ . 152414)) (byte-code "\301\302\303\304#\210\305\306\307\310\311\312\313\314\315\257\316\304\317\320\321\322& \210\305\323\324\325\311\316\304\317\320\321\322& \207" [display-buffer--action-custom-type put display-buffer-overriding-action risky-local-variable t custom-declare-variable display-buffer-alist nil "Alist of conditional actions for `display-buffer'.\nThis is a list of elements (CONDITION . ACTION), where:\n\n CONDITION is either a regexp matching buffer names, or a\n function that takes two arguments - a buffer name and the\n ACTION argument of `display-buffer' - and returns a boolean.\n\n ACTION is a cons cell (FUNCTION . ALIST), where FUNCTION is a\n function or a list of functions. Each such function should\n accept two arguments: a buffer to display and an alist of the\n same form as ALIST. See `display-buffer' for details.\n\n`display-buffer' scans this alist until it either finds a\nmatching regular expression or the function specified by a\ncondition returns non-nil. In any of these cases, it adds the\nassociated action to the list of actions it will try." :type alist :key-type (choice :tag "Condition" regexp (function :tag "Matcher function")) :value-type :risky :version "24.1" :group windows display-buffer-base-action '(nil) "User-specified default action for `display-buffer'.\nIt should be a cons cell (FUNCTION . ALIST), where FUNCTION is a\nfunction or a list of functions. Each function should accept two\narguments: a buffer to display and an alist similar to ALIST.\nSee `display-buffer' for details."] 12) #@226 Default fallback action for `display-buffer'. This is the action used by `display-buffer' if no other actions specified, e.g. by the user options `display-buffer-alist' or `display-buffer-base-action'. See `display-buffer'. (defconst display-buffer-fallback-action '((display-buffer--maybe-same-window display-buffer-reuse-window display-buffer--maybe-pop-up-frame-or-window display-buffer-use-some-window display-buffer-pop-up-frame)) (#$ . 154316)) (put 'display-buffer-fallback-action 'risky-local-variable t) #@110 Retrieve ALIST entry corresponding to BUFFER-NAME. ACTION is the action argument passed to `display-buffer'. (defalias 'display-buffer-assq-regexp #[(buffer-name alist action) "\300\301\215\207" [match (byte-code "\306\211\205F\n@\211@\211;\203) \f\306\f \307\310 \f #,\2047\311 !\203= \f\"\203=\312\313 A\"\210)\nA\211\204\306*\207" [alist entry --dolist-tail-- key buffer-name start nil t string-match functionp throw match string regexp inhibit-changing-match-data action] 5)] 2 (#$ . 154837)]) #@62 A `display-buffer' action for displaying in the same window. (defvar display-buffer--same-window-action '(display-buffer-same-window (inhibit-same-window)) (#$ . 155363)) (put 'display-buffer--same-window-action 'risky-local-variable t) #@60 A `display-buffer' action for displaying in another frame. (defvar display-buffer--other-frame-action '((display-buffer-reuse-window display-buffer-pop-up-frame) (reusable-frames . 0) (inhibit-same-window . t)) (#$ . 155606)) (put 'display-buffer--other-frame-action 'risky-local-variable t) #@3588 Display BUFFER-OR-NAME in some window, without selecting it. BUFFER-OR-NAME must be a buffer or the name of an existing buffer. Return the window chosen for displaying BUFFER-OR-NAME, or nil if no such window is found. Optional argument ACTION, if non-nil, should specify a display action. Its form is described below. Optional argument FRAME, if non-nil, acts like an additional ALIST entry (reusable-frames . FRAME) to the action list of ACTION, specifying the frame(s) to search for a window that is already displaying the buffer. See `display-buffer-reuse-window' If ACTION is non-nil, it should have the form (FUNCTION . ALIST), where FUNCTION is either a function or a list of functions, and ALIST is an arbitrary association list (alist). Each such FUNCTION should accept two arguments: the buffer to display and an alist. Based on those arguments, it should either display the buffer and return the window, or return nil if unable to display the buffer. The `display-buffer' function builds a function list and an alist by combining the functions and alists specified in `display-buffer-overriding-action', `display-buffer-alist', the ACTION argument, `display-buffer-base-action', and `display-buffer-fallback-action' (in order). Then it calls each function in the combined function list in turn, passing the buffer as the first argument and the combined alist as the second argument, until one of the functions returns non-nil. If ACTION is nil, the function list and the alist are built using only the other variables mentioned above. Available action functions include: `display-buffer-same-window' `display-buffer-reuse-window' `display-buffer-pop-up-frame' `display-buffer-pop-up-window' `display-buffer-use-some-window' Recognized alist entries include: `inhibit-same-window' -- A non-nil value prevents the same window from being used for display. `inhibit-switch-frame' -- A non-nil value prevents any other frame from being raised or selected, even if the window is displayed there. `reusable-frames' -- Value specifies frame(s) to search for a window that already displays the buffer. See `display-buffer-reuse-window'. `pop-up-frame-parameters' -- Value specifies an alist of frame parameters to give a new frame, if one is created. `window-height' -- Value specifies either an integer (the number of lines of a new window), a floating point number (the fraction of a new window with respect to the height of the frame's root window) or a function to be called with one argument - a new window. The function is supposed to adjust the height of the window; its return value is ignored. Suitable functions are `shrink-window-if-larger-than-buffer' and `fit-window-to-buffer'. `window-width' -- Value specifies either an integer (the number of columns of a new window), a floating point number (the fraction of a new window with respect to the width of the frame's root window) or a function to be called with one argument - a new window. The function is supposed to adjust the width of the window; its return value is ignored. The ACTION argument to `display-buffer' can also have a non-nil and non-list value. This means to display the buffer in a window other than the selected one, even if it is already displayed in the selected window. If called interactively with a prefix argument, ACTION is t. (defalias 'display-buffer #[(buffer-or-name &optional action frame) "\306!\203\n\202 \307! \205 <? <\204\310\f\203(\f \n\"\202\235\311\312 ! #\313 !\310\314\n\205=\315\205G\316BC\"B \257\317\314\320\321\"\"\317\314\320\322\"\"\310 \323 !\204}\324\325!\210\203\231 \204\231@ \" A\211\204\202 .*\207" [buffer-or-name action inhibit-same-window buffer display-buffer-function display-buffer-alist bufferp get-buffer nil display-buffer-assq-regexp buffer-name display-buffer--special-action append ((inhibit-same-window . t)) reusable-frames apply mapcar #[(x) "@\301!\203\fC\207\207" [x functionp] 2] cdr buffer-live-p error "Invalid buffer" user-action special-action frame extra-action display-buffer-overriding-action display-buffer-base-action display-buffer-fallback-action actions functions alist window] 8 (#$ . 155906) (list (read-buffer "Display buffer: " (other-buffer)) (if current-prefix-arg t))]) #@162 Display buffer BUFFER in another frame. This uses the function `display-buffer' as a subroutine; see its documentation for additional customization information. (defalias 'display-buffer-other-frame #[(buffer) "\302 \303#\207" [buffer display-buffer--other-frame-action display-buffer t] 4 (#$ . 160482) "BDisplay buffer in other frame: "]) #@253 Display BUFFER in the selected window. This fails if ALIST has a non-nil `inhibit-same-window' entry, or if the selected window is a minibuffer window or is dedicated to another buffer; in that case, return nil. Otherwise, return the selected window. (defalias 'display-buffer-same-window #[(buffer alist) "\302\236A\206\303 \206\304 ?\205\305 \306 \307$\207" [alist buffer inhibit-same-window window-minibuffer-p window-dedicated-p window--display-buffer selected-window reuse] 5 (#$ . 160831)]) #@188 Conditionally display BUFFER in the selected window. If `same-window-p' returns non-nil for BUFFER's name, call `display-buffer-same-window' and return its value. Otherwise, return nil. (defalias 'display-buffer--maybe-same-window #[(buffer alist) "\302\303!!\205\f\304 \"\207" [buffer alist same-window-p buffer-name display-buffer-same-window] 3 (#$ . 161344)]) #@873 Return a window that is already displaying BUFFER. Return nil if no usable window is found. If ALIST has a non-nil `inhibit-same-window' entry, the selected window is not eligible for reuse. If ALIST contains a `reusable-frames' entry, its value determines which frames to search for a reusable window: nil -- the selected frame (actually the last non-minibuffer frame) A frame -- just that frame `visible' -- all visible frames 0 -- all frames on the current terminal t -- all frames. If ALIST contains no `reusable-frames' entry, search just the selected frame if `display-buffer-reuse-frames' and `pop-up-frames' are both nil; search all frames on the current terminal if either of those variables is non-nil. If ALIST has a non-nil `inhibit-switch-frame' entry, then in the event that a window on another frame is chosen, avoid raising that frame. (defalias 'display-buffer-reuse-window #[(buffer alist) "\306\236\211\203 A\202*\n\307=\203\310 \202\n\203 \311\202* \203(\311\202*\312  \313 =\203>\314\236A\204>\315 \202H\316\315 \317 \320\f#\"@\321!\205f\322 \323$\324\236A\204f\325\326!!\210+\207" [alist alist-entry pop-up-frames display-buffer-reuse-frames frames buffer reusable-frames graphic-only display-graphic-p 0 last-nonminibuffer-frame window-buffer inhibit-same-window selected-window delq get-buffer-window-list nomini window-live-p window--display-buffer reuse inhibit-switch-frame window--maybe-raise-frame window-frame window] 7 (#$ . 161719)]) #@233 Return special display action for BUFFER, if any. If `special-display-p' returns non-nil for BUFFER, return an appropriate display action involving `special-display-function'. See `display-buffer' for the format of display actions. (defalias 'display-buffer--special-action #[(buffer) "\205!\303\304 !!\211\205 \305\306\307\310\300\301\311\n<\205\nDFEDC)\207" [special-display-function buffer pars special-display-p buffer-name display-buffer-reuse-window lambda (buffer _alist) funcall quote] 9 (#$ . 163242)]) #@360 Display BUFFER in a new frame. This works by calling `pop-up-frame-function'. If successful, return the window used; otherwise return nil. If ALIST has a non-nil `inhibit-switch-frame' entry, avoid raising the new frame. If ALIST has a non-nil `pop-up-frame-parameters' entry, the corresponding value is an alist of frame parameters to give the new frame. (defalias 'display-buffer-pop-up-frame #[(buffer alist) "\306\236A\307 \n\" \310\211 \f\205:\f \211\205:\311 !\211 \205:\312 \305%\313\236A\204:\314 !\210-\207" [alist params pop-up-frame-alist pop-up-frame-function fun frame pop-up-frame-parameters append nil frame-selected-window window--display-buffer inhibit-switch-frame window--maybe-raise-frame window buffer display-buffer-mark-dedicated] 7 (#$ . 163767)]) #@368 Display BUFFER by popping up a new window. The new window is created on the selected frame, or in `last-nonminibuffer-frame' if no windows can be created there. If successful, return the new window; otherwise return nil. If ALIST has a non-nil `inhibit-switch-frame' entry, then in the event that the new window is created on another frame, avoid raising the frame. (defalias 'display-buffer-pop-up-window #[(buffer alist) "\305\306 !\206 \305\307 !\310\311 \312\"\2031 \306 =\205[\307 \211\205[\305 !\205[\311 \312\"?\205[\313\314 \315\"\n\"\206B\313\316 \315\"\n\"\211\205[\317 \300\n\f%\320\n\236A\204[\321\322!!\210*\207" [window frame alist buffer display-buffer-mark-dedicated window--frame-usable-p selected-frame last-nonminibuffer-frame nil frame-parameter unsplittable window--try-to-split-window get-largest-window t get-lru-window window--display-buffer inhibit-switch-frame window--maybe-raise-frame window-frame] 6 (#$ . 164568)]) #@295 Try displaying BUFFER based on `pop-up-frames' or `pop-up-windows'. If `pop-up-frames' is non-nil (and not `graphic-only' on a text-only terminal), try with `display-buffer-pop-up-frame'. If that cannot be done, and `pop-up-windows' is non-nil, try again with `display-buffer-pop-up-window'. (defalias 'display-buffer--maybe-pop-up-frame-or-window #[(buffer alist) "\304=\203 \305 \202\f\203\306 \n\"\206 \205\307 \n\"\207" [pop-up-frames buffer alist pop-up-windows graphic-only display-graphic-p display-buffer-pop-up-frame display-buffer-pop-up-window] 3 (#$ . 165536)]) #@146 Try displaying BUFFER in a window below the selected window. This either splits the selected window or reuses the window below the selected one. (defalias 'display-buffer-below-selected #[(buffer alist) "\304\305\304\306\"\204\307\310 \"\211\203\311\n\300 %\2063\312\313!\211\2053\314!?\2053\311\n\315 %)\207" [window alist buffer display-buffer-mark-dedicated nil frame-parameter unsplittable window--try-to-split-window selected-window window--display-buffer window-in-direction below window-dedicated-p reuse] 6 (#$ . 166129)]) #@223 Try displaying BUFFER in a window at the bottom of the selected frame. This either splits the window at the bottom of the frame or the frame's root window, or reuses an existing window at the bottom of the selected frame. (defalias 'display-buffer-at-bottom #[(buffer alist) "\305\211\306\307!\210\310\305\311\"\204\"\312 \n\"\211\203\"\313 \300\n\f%\206P\310\305\311\"\204<\305\314\315\217\211\203<\313 \300\n\f%\206P \211\205P\316!?\205P\313 \317\n\f%*\207" [window bottom-window alist buffer display-buffer-mark-dedicated nil walk-window-tree #[(window) "\211\207" [window bottom-window] 2] frame-parameter unsplittable window--try-to-split-window window--display-buffer (byte-code "\300\301 !\207" [split-window frame-root-window] 2) ((error)) window-dedicated-p reuse] 6 (#$ . 166683)]) #@873 Display BUFFER in a window previously showing it. If ALIST has a non-nil `inhibit-same-window' entry, the selected window is not eligible for reuse. If ALIST contains a `reusable-frames' entry, its value determines which frames to search for a reusable window: nil -- the selected frame (actually the last non-minibuffer frame) A frame -- just that frame `visible' -- all visible frames 0 -- all frames on the current terminal t -- all frames. If ALIST contains no `reusable-frames' entry, search just the selected frame if `display-buffer-reuse-frames' and `pop-up-frames' are both nil; search all frames on the current terminal if either of those variables is non-nil. If ALIST has a `previous-window' entry, the window specified by that entry will override any other window found by the methods above, even if that window never showed BUFFER before. (defalias 'display-buffer-in-previous-window #[(buffer alist) "\306\236\302\236A \203 A\202/ \307=\203\310 \202 \203%\311\202/\f\203-\311\202/\312 \313\211\313\211\314\315\215\210\316\236A\211\203o\317!\203o\320!\204o\321 =\203k\n\204o\202o\206v\211\205\204\322\323$.\207" [alist alist-entry inhibit-same-window pop-up-frames display-buffer-reuse-frames frames reusable-frames graphic-only display-graphic-p 0 last-nonminibuffer-frame nil best (byte-code "\306\307 \310#\311\211\203=\n@ \312 !\236\2036\313 !\2046 \314 =\203.\f\2046 \2026 \315\316\317\"\210\nA\211\204 *\311\207" [frames window --dolist-tail-- buffer inhibit-same-window second-best-window window-list-1 frame-first-window nomini nil window-prev-buffers window-dedicated-p selected-window throw best t best-window] 5) previous-window window-live-p window-dedicated-p selected-window window--display-buffer reuse entry best-window second-best-window window buffer] 6 (#$ . 167501)]) #@306 Display BUFFER in an existing window. Search for a usable window, set that window to the buffer, and return the window. If no suitable window is found, return nil. If ALIST has a non-nil `inhibit-switch-frame' entry, then in the event that a window in another frame is chosen, avoid raising that frame. (defalias 'display-buffer-use-some-window #[(buffer alist) "\305\236A\306\307 !\206\306\310 !\311\n\312 #\206Q\313 \314\" \205&\f\315 =?\205+\f)\206Q\316\314\312 #\206Q\313 \317\" \205D\f\315 =?\205I\f)\206Q\316\317 \"\320\f!\205o\321 \f\322$\323\f!\210\324\236A\204o\325\326\f!!\210+\207" [alist not-this-window frame buffer window inhibit-same-window window--frame-usable-p selected-frame last-nonminibuffer-frame get-lru-window nil get-buffer-window visible selected-window get-largest-window 0 window-live-p window--display-buffer reuse window--even-window-heights inhibit-switch-frame window--maybe-raise-frame window-frame] 5 (#$ . 169405)]) #@856 Select buffer BUFFER in some window, preferably a different one. BUFFER may be a buffer, a string (a buffer name), or nil. If it is a string not naming an existent buffer, create a buffer with that name. If BUFFER is nil, choose some other buffer. Return the buffer. This uses `display-buffer' as a subroutine. The optional ACTION argument is passed to `display-buffer' as its ACTION argument. See `display-buffer' for more information. ACTION is t if called interactively with a prefix argument, which means to pop to a window other than the selected one even if the buffer is already displayed in the selected window. If the window to show BUFFER is not on the selected frame, raise that window's frame and give it input focus. Optional third arg NORECORD non-nil means do not put this buffer at the front of the list of recently selected ones. (defalias 'pop-to-buffer #[(buffer &optional action norecord) "\306!\211q\210\307 \310\n\"\311 !\211 =\204\312\f \"\210\313 \"\210+\207" [buffer old-frame action window frame norecord window-normalize-buffer-to-switch-to selected-frame display-buffer window-frame select-frame-set-input-focus select-window] 4 (#$ . 170385) (list (read-buffer "Pop to buffer: " (other-buffer)) (if current-prefix-arg t))]) #@673 Select buffer BUFFER in some window, preferably the same one. This function behaves much like `switch-to-buffer', except it displays with `special-display-function' if BUFFER has a match in `special-display-buffer-names' or `special-display-regexps'. Unlike `pop-to-buffer', this function prefers using the selected window over popping up a new window or frame. BUFFER may be a buffer, a string (a buffer name), or nil. If it is a string not naming an existent buffer, create a buffer with that name. If BUFFER is nil, choose some other buffer. Return the buffer. NORECORD, if non-nil means do not put this buffer at the front of the list of recently selected ones. (defalias 'pop-to-buffer-same-window #[(buffer &optional norecord) "\303 \n#\207" [buffer display-buffer--same-window-action norecord pop-to-buffer] 4 (#$ . 171663)]) #@285 Read the name of a buffer to switch to, prompting with PROMPT. Return the name of the buffer as a string. This function is intended for the `switch-to-buffer' family of commands since these need to omit the name of the current buffer from the list of completions and default values. (defalias 'read-buffer-to-switch #[(prompt) "\303 \304\305\306\216\307\310 \"\210\311\n\312p!\313 #+\207" [rbts-completion-table #1=#:setup-hook prompt internal-complete-buffer-except nil #[nil "\304\305\"\210 \306\303!\205 <\205\307\303!\210 B\211\207" [#1# rbts-completion-table minibuffer-completion-table icomplete-with-completion-tables remove-hook minibuffer-setup-hook boundp make-local-variable] 3] ((byte-code "\301\302\"\207" [#1# remove-hook minibuffer-setup-hook] 3)) add-hook minibuffer-setup-hook read-buffer other-buffer confirm-nonexistent-file-or-buffer] 4 (#$ . 172510)]) #@309 Normalize BUFFER-OR-NAME argument of buffer switching functions. If BUFFER-OR-NAME is nil, return the buffer returned by `other-buffer'. Else, if a buffer specified by BUFFER-OR-NAME exists, return that buffer. If no such buffer exists, create a buffer with the name BUFFER-OR-NAME and return that buffer. (defalias 'window-normalize-buffer-to-switch-to #[(buffer-or-name) "\203\302!\206\303!\304 !\210 )\207\305 \207" [buffer-or-name buffer get-buffer get-buffer-create set-buffer-major-mode other-buffer] 2 (#$ . 173403)]) #@656 If non-nil, `switch-to-buffer' tries to preserve `window-point'. If this is nil, `switch-to-buffer' displays the buffer at that buffer's `point'. If this is `already-displayed', it tries to display the buffer at its previous position in the selected window, provided the buffer is currently displayed in some other window on any visible or iconified frame. If this is t, it unconditionally tries to display the buffer at its previous position in the selected window. This variable is ignored if the buffer is already displayed in the selected window or never appeared in it before, or if `switch-to-buffer' calls `pop-to-buffer' to display the buffer. (custom-declare-variable 'switch-to-buffer-preserve-window-point nil '(#$ . 173945) :type '(choice (const :tag "Never" nil) (const :tag "If already displayed elsewhere" already-displayed) (const :tag "Always" t)) :group 'windows :version "24.3") #@1393 Display buffer BUFFER-OR-NAME in the selected window. WARNING: This is NOT the way to work on another buffer temporarily within a Lisp program! Use `set-buffer' instead. That avoids messing with the window-buffer correspondences. If the selected window cannot display the specified buffer (e.g. if it is a minibuffer window or strongly dedicated to another buffer), call `pop-to-buffer' to select the buffer in another window. If called interactively, read the buffer name using the minibuffer. The variable `confirm-nonexistent-file-or-buffer' determines whether to request confirmation before creating a new buffer. BUFFER-OR-NAME may be a buffer, a string (a buffer name), or nil. If BUFFER-OR-NAME is a string that does not identify an existing buffer, create a buffer with that name. If BUFFER-OR-NAME is nil, switch to the buffer returned by `other-buffer'. If optional argument NORECORD is non-nil, do not put the buffer at the front of the buffer list, and do not make the window displaying it the most recently selected one. If optional argument FORCE-SAME-WINDOW is non-nil, the buffer must be displayed in the selected window; if that is impossible, signal an error rather than calling `pop-to-buffer'. The option `switch-to-buffer-preserve-window-point' can be used to make the buffer appear at its last position in the selected window. Return the buffer switched to. (defalias 'switch-to-buffer #[(buffer-or-name &optional norecord force-same-window) "\306!\211\307 =\204s\310 \203#\n\203\311\312!\210\202s\313 \"\210\202s\314 \315=\203=\n\2035\311\316!\210\202s\313 \"\210\202s \317 \236 \320=\205L\321 \322\"\323\324 \"\210\f\203r \315=\204b\203r\325\326 \fA@\315#\210\327\324\330\f8\"\210* \204|\331\326 !\210 q)\207" [buffer-or-name buffer force-same-window norecord entry switch-to-buffer-preserve-window-point window-normalize-buffer-to-switch-to window-buffer window-minibuffer-p user-error "Cannot switch buffers in minibuffer window" pop-to-buffer window-dedicated-p t "Cannot switch buffers in a dedicated window" window-prev-buffers already-displayed get-buffer-window 0 set-window-buffer nil set-window-start selected-window set-window-point 2 select-window displayed] 5 (#$ . 174854) (list (read-buffer-to-switch "Switch to buffer: ") nil 'force-same-window)]) #@794 Select the buffer specified by BUFFER-OR-NAME in another window. BUFFER-OR-NAME may be a buffer, a string (a buffer name), or nil. Return the buffer switched to. If called interactively, prompt for the buffer name using the minibuffer. The variable `confirm-nonexistent-file-or-buffer' determines whether to request confirmation before creating a new buffer. If BUFFER-OR-NAME is a string and does not identify an existing buffer, create a new buffer with that name. If BUFFER-OR-NAME is nil, switch to the buffer returned by `other-buffer'. Optional second argument NORECORD non-nil means do not put this buffer at the front of the list of recently selected ones. This uses the function `display-buffer' as a subroutine; see its documentation for additional customization information. (defalias 'switch-to-buffer-other-window #[(buffer-or-name &optional norecord) "\303\304 \303\n#)\207" [pop-up-windows buffer-or-name norecord t pop-to-buffer] 4 (#$ . 177184) (list (read-buffer-to-switch "Switch to buffer in other window: "))]) #@774 Switch to buffer BUFFER-OR-NAME in another frame. BUFFER-OR-NAME may be a buffer, a string (a buffer name), or nil. Return the buffer switched to. If called interactively, prompt for the buffer name using the minibuffer. The variable `confirm-nonexistent-file-or-buffer' determines whether to request confirmation before creating a new buffer. If BUFFER-OR-NAME is a string and does not identify an existing buffer, create a new buffer with that name. If BUFFER-OR-NAME is nil, switch to the buffer returned by `other-buffer'. Optional second arg NORECORD non-nil means do not put this buffer at the front of the list of recently selected ones. This uses the function `display-buffer' as a subroutine; see its documentation for additional customization information. (defalias 'switch-to-buffer-other-frame #[(buffer-or-name &optional norecord) "\303 \n#\207" [buffer-or-name display-buffer--other-frame-action norecord pop-to-buffer] 4 (#$ . 178231) (list (read-buffer-to-switch "Switch to buffer in other frame: "))]) #@470 Set the height in lines of the text display area of WINDOW to HEIGHT. WINDOW must be a live window and defaults to the selected one. HEIGHT doesn't include the mode line or header line, if any, or any partial-height lines in the text display area. Note that the current implementation of this function cannot always set the height exactly, but attempts to be conservative, by allocating more lines than are actually needed in the case where some error may be present. (defalias 'set-window-text-height #[(window height) "\304\305\" \306!Z\307\n!?\205\310 ^\311\n\"))\207" [window height delta window-min-height window-normalize-window t window-text-height zerop 2 window-resize] 3 (#$ . 179265)]) #@122 Make selected window DELTA columns wider. Interactively, if no argument is given, make selected window one column wider. (defalias 'enlarge-window-horizontally #[(delta) "\301\302\"\207" [delta enlarge-window t] 3 (#$ . 179978) "p"]) #@128 Make selected window DELTA columns narrower. Interactively, if no argument is given, make selected window one column narrower. (defalias 'shrink-window-horizontally #[(delta) "\301\302\"\207" [delta shrink-window t] 3 (#$ . 180220) "p"]) #@802 Return the number of screen lines in the region. The number of screen lines may be different from the number of actual lines, due to line breaking, display table, etc. Optional arguments BEG and END default to `point-min' and `point-max' respectively. If region ends with a newline, ignore it unless optional third argument COUNT-FINAL-NEWLINE is non-nil. The optional fourth argument WINDOW specifies the window used for obtaining parameters such as width, horizontal scrolling, and so on. The default is to use the selected window's parameters. Like `vertical-motion', `count-screen-lines' always uses the current buffer, regardless of which buffer is displayed in WINDOW. This makes possible to use `count-screen-lines' in any buffer, whether or not it is currently displayed in some window. (defalias 'count-screen-lines #[(&optional beg end count-final-newline window) "\204e \204\fd U\203\304\207\212\214~\210 ^\n\2040 ]Sf\305U\2030 ]S\2023 ]}\210eb\210\306\307 \"T*\207" [beg end count-final-newline window 0 10 vertical-motion buffer-size] 3 (#$ . 180466)]) #@141 Return the height (in screen lines) of the buffer that WINDOW is displaying. WINDOW must be a live window and defaults to the selected one. (defalias 'window-buffer-height #[(window) "\301\302\"r\303!q\210\304\305edm$])\207" [window window-normalize-window t window-buffer 1 count-screen-lines] 6 (#$ . 181562)]) (byte-code "\300\301\302\303\304\305\306\307\310\311& \210\300\312\313\314\304\315\306\307\310\316& \207" [custom-declare-variable fit-frame-to-buffer nil "Non-nil means `fit-window-to-buffer' can resize frames.\nA frame can be resized if and only if its root window is a live\nwindow. The height of the root window is subject to the values\nof `fit-frame-to-buffer-max-height' and `window-min-height'." :type boolean :version "24.3" :group help fit-frame-to-buffer-bottom-margin 4 "Bottom margin for the command `fit-frame-to-buffer'.\nThis is the number of lines that function leaves free at the bottom of\nthe display, in order to not obscure any system task bar or panel.\nIf you do not have one (or if it is vertical) you might want to\nreduce this. If it is thicker, you might want to increase this." integer windows] 10) #@432 Adjust height of FRAME to display its buffer contents exactly. FRAME can be any live frame and defaults to the selected one. Optional argument MAX-HEIGHT specifies the maximum height of FRAME. It defaults to the height of the display below the current top line of FRAME, minus `fit-frame-to-buffer-bottom-margin'. Optional argument MIN-HEIGHT specifies the minimum height of FRAME. The default corresponds to `window-min-height'. (defalias 'fit-frame-to-buffer #[(&optional frame max-height min-height) "\306!\307!\310!\311 !Z\n\\\312\313\"\211:\203(\f@\f\211A@)!\202)\f \314! Z\315!\245)Z*\316+\317,\320 !\203\370\321 !\204\370\322 !-r\323\216\324-@\325\"\210.\204g*.\202}.\247\203w.*^.\202}\326\327.\"\210/\204\210 /\202\235/\247\203\227/ ^/\202\235\326\330/\"\210\331 \332\"\333!0\211\203\300@\300=\203\300\3340!\204\3000S+*\335\336+\"\210\337\340\317\211\341#\342 [+#,+m\203\351n\203\351o\204\351\343 \344\316!\"\210\345 e\"\210\346 \316\"\210\317\347\350\217\210,.\207" [frame root window-min-height frame-min-height frame-top x window-normalize-frame frame-root-window frame-height window-total-size frame-parameter top x-display-pixel-height frame-char-height 0 nil window-live-p window-size-fixed-p internal--before-with-selected-window ((internal--after-with-selected-window save-selected-window--state)) select-window norecord error "%s is an invalid maximum height" "%s is an invalid minimum height" window-parameter quit-restore tool-bar-lines-needed zerop message "%s" + count-screen-lines t window-body-size set-window-point line-beginning-position set-window-start set-window-vscroll (byte-code "\304\305! \\\n] ^\"\207" [frame delta min-height max-height set-frame-height frame-height] 4) ((error (byte-code "\301\211\207" [delta nil] 2))) fit-frame-to-buffer-bottom-margin frame-max-height compensate delta save-selected-window--state max-height min-height lines] 6 (#$ . 182716) nil]) #@916 Adjust height of WINDOW to display its buffer's contents exactly. WINDOW must be a live window and defaults to the selected one. Optional argument MAX-HEIGHT specifies the maximum height of WINDOW and defaults to the height of WINDOW's frame. Optional argument MIN-HEIGHT specifies the minimum height of WINDOW and defaults to `window-min-height'. Both MAX-HEIGHT and MIN-HEIGHT are specified in lines and include the mode line and header line, if any. If WINDOW is a full height window, then if the option `fit-frame-to-buffer' is non-nil, this calls the function `fit-frame-to-buffer' to adjust the frame height. Return the number of lines by which WINDOW was enlarged or shrunk. If an error occurs during resizing, return nil but don't signal an error. Note that even if this function makes WINDOW large enough to show _all_ lines of its buffer you might not see the first lines when WINDOW was scrolled. (defalias 'fit-window-to-buffer #[(&optional window max-height min-height) "\306\307\"\310!\206\247\311!\203 \205\247\301\312!!\207\313!r\314\216\315\n@\316\"\210\317 \f\247\2036\f ]\202;\320\321\211\307#\247\203M\317\322!!^\202T \323\321\211#\\\324\325 \326!\204h\203h\327\202i\330\203r\327\202s\330#^\f]\211\317!Z\211 \330V\203\223 \323\321#^\202\234 \331\321#[]!\321\332\333\217\210!. \207" [window fit-frame-to-buffer save-selected-window--state height min-height window-safe-min-height window-normalize-window t window-size-fixed-p window-full-height-p window-frame internal--before-with-selected-window ((internal--after-with-selected-window save-selected-window--state)) select-window norecord window-total-size window-min-size nil frame-root-window window-max-delta + count-screen-lines window-minibuffer-p 1 0 window-min-delta (byte-code "\306!\204`m\203n\203o\204\307 \310\311!\"\210\312 \313 $\210\212db\210n\203/o\204/\314u\210\n\2036\311y\210`)\315 \311\"\210\f W\203_\f\316 U\203_\317 !\204_\312 \320\313 $\210\fT\211\202?)\313\207" [delta window truncate-lines end desired-height max-height zerop set-window-point line-beginning-position 0 window-resize nil -1 set-window-vscroll window-total-size pos-visible-in-window-p 1] 6) ((error (byte-code "\301\211\207" [delta nil] 2))) max-height mode-line-format header-line-format desired-height desired-delta delta] 6 (#$ . 184695) nil]) #@107 Return t if WINDOW can be shrunk without shrinking other windows. WINDOW defaults to the selected window. (defalias 'window-safely-shrinkable-p #[(&optional window) "\303\206\304 !r\305\216\306 @\307\"\210\310 \311\n8\311\310\312 !8U\206*\n@\310\313 !@U,\207" [window save-selected-window--state edges internal--before-with-selected-window selected-window ((internal--after-with-selected-window save-selected-window--state)) select-window norecord window-edges 2 previous-window next-window] 4 (#$ . 187086)]) #@623 Shrink height of WINDOW if its buffer doesn't need so many lines. More precisely, shrink WINDOW vertically to be as small as possible, while still showing the full contents of its buffer. WINDOW must be a live window and defaults to the selected one. Do not shrink WINDOW to less than `window-min-height' lines. Do nothing if the buffer contains more lines than the present window height, or if some of the window's contents are scrolled out of view, or if shrinking this window would also shrink another window, or if the window is the only window of its frame. Return non-nil if the window was shrunk, nil otherwise. (defalias 'shrink-window-if-larger-than-buffer #[(&optional window) "\301\302\"\303!\205\304e\"\205\305\306!\"\207" [window window-normalize-window t window-combined-p pos-visible-in-window-p fit-window-to-buffer window-total-size] 4 (#$ . 187609) nil]) #@57 Kill the current buffer and delete the selected window. (defalias 'kill-buffer-and-window #[nil "\303 p\304\305\216\306\307\310\211$\210\311p!\205\303 \n=\205\312 ,\207" [delete-window-hook buffer-to-kill window-to-delete selected-window #[nil "\300\301\302\217\207" [nil (delete-window) ((error))] 3] ((byte-code "\300\301\302\217\207" [nil (byte-code "rq\210\302\303 \304#\210)\302\207" [buffer-to-kill delete-window-hook remove-hook kill-buffer-hook t] 4) ((error))] 3)) add-hook kill-buffer-hook t kill-buffer delete-window] 5 (#$ . 188501) nil]) #@120 Indicates the last recenter operation performed. Possible values: `top', `middle', `bottom', integer or float numbers. (defvar recenter-last-op nil (#$ . 189068)) #@587 Cycling order for `recenter-top-bottom'. A list of elements with possible values `top', `middle', `bottom', integer or float numbers that define the cycling order for the command `recenter-top-bottom'. Top and bottom destinations are `scroll-margin' lines from the true window top and bottom. Middle redraws the frame and centers point vertically within the window. Integer number moves current line to the specified absolute window-line. Float number between 0.0 and 1.0 means the percentage of the screen space from the top. The default cycling order is middle -> top -> bottom. (custom-declare-variable 'recenter-positions ''(middle top bottom) '(#$ . 189238) :type '(repeat (choice (const :tag "Top" top) (const :tag "Middle" middle) (const :tag "Bottom" bottom) (integer :tag "Line number") (float :tag "Percentage"))) :version "23.2" :group 'windows) #@340 Move current buffer line to the specified window line. With no prefix argument, successive calls place point according to the cycling order defined by `recenter-positions'. A prefix argument is handled like `recenter': With numeric prefix ARG, move current line to window-line ARG. With plain `C-u', move current line to window center. (defalias 'recenter-top-bottom #[(&optional arg) "\203\306!\207 \n=\203 \f\235A\206\f@\202\f@\307 ]\310\311 \312\245!^ \313=\2034\306 \202i \314=\203A\306!\202i \315=\203P\306\316Z!\202i \250\203[\306 !\202i\317 !\205i\306\320 \321 _!!)\207" [arg this-command last-command recenter-last-op recenter-positions scroll-margin recenter 0 truncate window-body-height 4.0 middle top bottom -1 floatp round window-height this-scroll-margin] 4 (#$ . 190107) "P"]) (define-key global-map [12] 'recenter-top-bottom) #@232 Position point relative to window. With a prefix argument ARG, acts like `move-to-window-line'. With no argument, positions point at center of window. Successive calls position point at positions defined by `recenter-positions'. (defalias 'move-to-window-line-top-bottom #[(&optional arg) "\203\306!\207 \n=\203 \f\235A\206\f@\202\f@\307 ]\310\311 \312\245!^ \313=\2035\314\306!\202j \315=\203B\306!\202j \316=\203Q\306\317Z!\202j \250\203\\\306 !\202j\320 !\205j\306\321 \322 _!!)\207" [arg this-command last-command recenter-last-op recenter-positions scroll-margin move-to-window-line 0 truncate window-body-height 4.0 middle call-interactively top bottom -1 floatp round window-height this-scroll-margin] 4 (#$ . 190985) "P"]) (byte-code "\301\302\303#\210\304\305\306\307\310\311\312\313\314\315& \207" [global-map define-key [134217842] move-to-window-line-top-bottom custom-declare-variable scroll-error-top-bottom nil "Move point to top/bottom of buffer before signaling a scrolling error.\nA value of nil means just signal an error if no more scrolling possible.\nA value of t means point moves to the beginning or the end of the buffer\n(depending on scrolling direction) when no more scrolling possible.\nWhen point is already on that position, then signal an error." :type boolean :group windows :version "24.1"] 10) #@435 Scroll text of selected window upward ARG lines; or near full screen if no ARG. If `scroll-error-top-bottom' is non-nil and `scroll-up' cannot scroll window further, move cursor to the bottom line. When point is already on that position, then signal an error. A near full screen is `next-screen-context-lines' less than a full screen. Negative ARG means scroll downward. If ARG is the atom `-', scroll downward by nearly full screen. (defalias 'scroll-up-command #[(&optional arg) "\204\302 !\207 \303=\203\304\305!\207\306 !\307W\203!\304\306 ![!\207m\203)\302 !\207\305\310\311\217\207" [scroll-error-top-bottom arg scroll-up - scroll-down-command nil prefix-numeric-value 0 (scroll-up arg) ((end-of-buffer (byte-code "\203y\207db\207" [arg] 1)))] 3 (#$ . 192350) "^P"]) (put 'scroll-up-command 'scroll-command t) #@428 Scroll text of selected window down ARG lines; or near full screen if no ARG. If `scroll-error-top-bottom' is non-nil and `scroll-down' cannot scroll window further, move cursor to the top line. When point is already on that position, then signal an error. A near full screen is `next-screen-context-lines' less than a full screen. Negative ARG means scroll upward. If ARG is the atom `-', scroll upward by nearly full screen. (defalias 'scroll-down-command #[(&optional arg) "\204\302 !\207 \303=\203\304\305!\207\306 !\307W\203!\304\306 ![!\207o\203)\302 !\207\305\310\311\217\207" [scroll-error-top-bottom arg scroll-down - scroll-up-command nil prefix-numeric-value 0 (scroll-down arg) ((beginning-of-buffer (byte-code "\203[y\207eb\207" [arg] 1)))] 3 (#$ . 193184) "^P"]) (put 'scroll-down-command 'scroll-command t) #@197 Scroll text of selected window upward ARG lines; or one line if no ARG. If ARG is omitted or nil, scroll upward by one line. This is different from `scroll-up-command' that scrolls a full screen. (defalias 'scroll-up-line #[(&optional arg) "\301\206\302!\207" [arg scroll-up 1] 2 (#$ . 194024) "p"]) (put 'scroll-up-line 'scroll-command t) #@195 Scroll text of selected window down ARG lines; or one line if no ARG. If ARG is omitted or nil, scroll down by one line. This is different from `scroll-down-command' that scrolls a full screen. (defalias 'scroll-down-line #[(&optional arg) "\301\206\302!\207" [arg scroll-down 1] 2 (#$ . 194374) "p"]) (put 'scroll-down-line 'scroll-command t) #@100 Scroll the "other window" down. For more details, see the documentation for `scroll-other-window'. (defalias 'scroll-other-window-down #[(&optional lines) "\301\302=?\205\204\302\202\303![!\207" [lines scroll-other-window - prefix-numeric-value] 3 (#$ . 194728) "P"]) #@160 Move point to the beginning of the buffer in the other window. Leave mark at previous position. With arg N, put point N/10 of the way from the true beginning. (defalias 'beginning-of-buffer-other-window #[(arg) "\303 \304 \305\216\306!\210\307\n!\210\310\311!+\207" [window orig-window arg selected-window other-window-for-scrolling ((select-window orig-window)) select-window beginning-of-buffer recenter (t)] 2 (#$ . 195012) "P"]) #@148 Move point to the end of the buffer in the other window. Leave mark at previous position. With arg N, put point N/10 of the way from the true end. (defalias 'end-of-buffer-other-window #[(arg) "\303 \304 \305\216\306!\210\307\n!\210\310\311!+\207" [window orig-window arg selected-window other-window-for-scrolling ((select-window orig-window)) select-window end-of-buffer recenter (t)] 2 (#$ . 195455) "P"]) #@45 Timer used by delayed window autoselection. (defvar mouse-autoselect-window-timer nil (#$ . 195873)) #@63 Last mouse position recorded by delayed window autoselection. (defvar mouse-autoselect-window-position nil (#$ . 195980)) #@55 Last window recorded by delayed window autoselection. (defvar mouse-autoselect-window-window nil (#$ . 196108)) #@252 When non-nil, special state of delayed window autoselection. Possible values are `suspend' (suspend autoselection after a menu or scrollbar interaction) and `select' (the next invocation of `handle-select-window' shall select the window immediately). (defvar mouse-autoselect-window-state nil (#$ . 196227)) #@92 Cancel delayed window autoselection. Optional argument FORCE means cancel unconditionally. (defalias 'mouse-autoselect-window-cancel #[(&optional force) "?\205 \305>\206 \306=\205\307\310\n!8\311>?\205,\312\313\f!\203(\314\f!\210\315\316\317\"\207" [force this-command last-input-event mouse-autoselect-window-state mouse-autoselect-window-timer (handle-select-window handle-switch-frame) scroll-bar-toolkit-scroll 4 event-end (handle end-scroll) nil timerp cancel-timer remove-hook pre-command-hook mouse-autoselect-window-cancel] 3 (#$ . 196541)]) #@274 Start delayed window autoselection. MOUSE-POSITION is the last position where the mouse was seen as returned by `mouse-position'. Optional argument WINDOW non-nil denotes the window where the mouse was seen. Optional argument SUSPEND non-nil means suspend autoselection. (defalias 'mouse-autoselect-window-start #[(mouse-position &optional window suspend) "\n\203\n\f\205 \304\306\307\n!\310\311#\211 \207" [mouse-position mouse-autoselect-window-position window mouse-autoselect-window-window suspend mouse-autoselect-window-state run-at-time abs nil mouse-autoselect-window-select mouse-autoselect-window mouse-autoselect-window-timer] 4 (#$ . 197108)]) #@260 Select window with delayed window autoselection. If the mouse position has stabilized in a non-selected window, select that window. The minibuffer window is selected only if the minibuffer is active. This function is run by `mouse-autoselect-window-timer'. (defalias 'mouse-autoselect-window-select #[nil "\300\301\302\217\207" [nil (byte-code "\300 \306\307\310\217\311 \204 \203!\312A \"\204!\313\306\314#\202\227\n\315=\203-\313!\202\227 \203w \316 =\204w \247\203O \317V\203I \f=\204O \232\203w\320 !\203\\ \321 =\203w\322\314!\210\320\316 !?\205\227\323\324 CDB\211\202\227 \203\202 \316 =\204\215 \247\203\215 \232\203\223\322\314!\202\227\313 \"*\207" [mouse-position window mouse-autoselect-window-state mouse-autoselect-window mouse-autoselect-window-window mouse-autoselect-window-position nil (byte-code "\302\211A@)\211AA)@#\207" [mouse-position x window-at] 5) ((error)) menu-or-popup-active-p coordinates-in-window-p mouse-autoselect-window-start t suspend selected-window 0 window-minibuffer-p active-minibuffer-window mouse-autoselect-window-cancel select select-window unread-command-events] 4) ((error))] 3 (#$ . 197782)]) #@30 Handle select-window events. (defalias 'handle-select-window #[(event) "\305!\211@)\306\n!?\206D\307\310 !\206D\307\n!\203#\311\n!?\206D \247\205D\312 !?\205D\f\313=?\205D\314\315!\210\316\317 \n\"\210\320\321\314\"?\205Y \203R\322\323\324!\210\325\322!\210\326\n!)\207" [event position window mouse-autoselect-window mouse-autoselect-window-state event-start window-live-p window-minibuffer-p selected-window minibuffer-window-active-p zerop select mouse-autoselect-window-cancel t mouse-autoselect-window-start mouse-position add-hook pre-command-hook nil run-hooks mouse-leave-buffer-hook message select-window] 4 (#$ . 198971) "e"]) #@340 Return non-nil if lines in WINDOW are specifically truncated due to its width. WINDOW must be a live window and defaults to the selected one. Return nil if WINDOW is not a partial-width window (regardless of the value of `truncate-lines'). Otherwise, consult the value of `truncate-partial-width-windows' for the buffer shown in WINDOW. (defalias 'truncated-partial-width-window-p #[(&optional window) "\302\303\"\304!?\205\"\305\306\307!\"\211\250\203 \310! W\202! )\207" [window t-p-w-w window-normalize-window t window-full-width-p buffer-local-value truncate-partial-width-windows window-buffer window-width] 5 (#$ . 199628)]) (byte-code "\302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302 \303\327#\207" [ctl-x-map ctl-x-4-map define-key "0" delete-window "1" delete-other-windows "2" split-window-below "3" split-window-right "o" other-window "^" enlarge-window "}" enlarge-window-horizontally "{" shrink-window-horizontally "-" shrink-window-if-larger-than-buffer "+" balance-windows kill-buffer-and-window] 4)